Macros for SAS Application Developers
https://github.com/sasjs/core
Loading...
Searching...
No Matches
mp_cntlout.sas File Reference

Creates a cntlout dataset in a consistent format. More...

Go to the source code of this file.

Detailed Description

The dataset produced by proc format in the cntlout option will vary according to its contents.

When dealing with formats from an ETL perspective (eg in Data Controller for SAS), it is important that the output dataset has a consistent model (and compariable values).

This macro makes use of mddl_sas_cntlout.sas to provide the consistent model, and will left-align the start and end values when dealing with numeric ranges to enable consistency when checking for differences.

usage:

%mp_cntlout(libcat=yourlib.cat,cntlout=work.formatexport)
Parameters
[in]libcatThe library.catalog reference
[in]fmtlist=(0) provide a space separated list of specific formats to extract
[in]iftrue=(1=1) A condition under which the macro should be executed
[out]cntlout=(work.fmtextract) Libds reference for the output dataset

SAS Macros

Related Macros

Version
9.2
Author
Allan Bowe

Definition in file mp_cntlout.sas.