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

Returns a distinct list of formats from a table. More...

Go to the source code of this file.

Detailed Description

Reads the dataset header and returns a distinct list of formats applied.

  %put NOTE- %mf_getfmtlist(sashelp.prdsale);
  %put NOTE- %mf_getfmtlist(sashelp.shoes);
  %put NOTE- %mf_getfmtlist(sashelp.demographics);

returns:

DOLLAR $CHAR W MONNAME
$CHAR BEST DOLLAR
BEST Z $CHAR COMMA PERCENTN
Parameters
[in]libdsTwo part library.dataset reference.

SAS Macros

Version
9.2
Author
Allan Bowe

Definition in file mf_getfmtlist.sas.