Macros for SAS Application Developers
https://github.com/sasjs/core
mp_distinctfmtvalues.sas File Reference

Creates a dataset containing distinct formatted values. More...

Go to the source code of this file.

Detailed Description

If no format is supplied, then the original value is used instead. There is also a dependency on other macros within the Macro Core library. Usage:

%mp_distinctfmtvalues(libds=sashelp.class,var=age,outvar=age,outds=test)
Parameters
[in]libds=() input dataset
[in]var=(0) variable to get distinct values for
[out]outvar=(formatteed_value) variable to create.
[out]outds=(work.mp_distinctfmtvalues) dataset to create.
[in]varlen=(2000) length of variable to create
Version
9.2
Author
Allan Bowe

Definition in file mp_distinctfmtvalues.sas.