![]() |
Production Ready Macros for SAS Application Developers
https://github.com/sasjs/core
|
Create a dataset from a metadata definition. More...
Go to the source code of this file.
This macro was built to support viewing empty tables in https://datacontroller.io - a free evaluation copy is available by contacting the author (Allan Bowe).
The table can be retrieved using LIBRARY.DATASET reference, or directly using the metadata URI.
The dataset is written to the WORK library.
usage:
mm_createdataset(libds=metlib.some_dataset)
or
mm_createdataset(tableuri=G5X8AFW1.BE00015Y)
libds= | library.dataset metadata source. Note - table names in metadata can be longer than 32 chars (just fyi, not an issue here) |
tableuri= | Metadata URI of the table to be created |
outds= | The dataset to create, default is work.mm_createdataset . The table name needs to be 32 chars or less as per SAS naming rules. |
mdebug= | set DBG to 1 to disable DEBUG messages |
Definition in file mm_createdataset.sas.