Production Ready Macros for SAS Application Developers File Reference

Convert all library members to CARDS files. More...

Go to the source code of this file.

Detailed Description

Gets list of members then calls the mp_ds2cards() macro. Usage:

    , outloc= C:\temp )

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:

    , outloc= /tmp
    , outfile=
    , maxobs= 1000

SAS Macros

[in]lib=Library in which to convert all datasets
[out]outloc=Location in which to store output. Defaults to WORK library. No quotes.
[out]outfile=Optional output file NAME - if provided, then will create a single output file instead of one file per input table.
[in]maxobs=limit output to the first maxobs observations
Allan Bowe

Definition in file