1
0
mirror of https://github.com/sasjs/core.git synced 2025-12-10 22:14:35 +00:00

chore: header section for mp_lib2cards.sas

This commit is contained in:
2021-03-04 14:20:04 +01:00
parent 2a894419ab
commit fdc2e8ac8a
2 changed files with 18 additions and 0 deletions

View File

@@ -4027,6 +4027,15 @@ create table &outds (rename=(
The output will be one cards file in the `outloc` directory per dataset in the
input `lib` library. If the `outloc` directory does not exist, it is created.
To create a single SAS file with the first 1000 records of each table in a
library you could use this syntax:
%mp_lib2cards(lib=sashelp
, outloc= /tmp
, outfile= myfile.sas
, maxobs= 1000
)
<h4> SAS Macros </h4>
@li mf_mkdir.sas
@li mf_trimstr.sas

View File

@@ -10,6 +10,15 @@
The output will be one cards file in the `outloc` directory per dataset in the
input `lib` library. If the `outloc` directory does not exist, it is created.
To create a single SAS file with the first 1000 records of each table in a
library you could use this syntax:
%mp_lib2cards(lib=sashelp
, outloc= /tmp
, outfile= myfile.sas
, maxobs= 1000
)
<h4> SAS Macros </h4>
@li mf_mkdir.sas
@li mf_trimstr.sas