Creates a dataset containing distinct formatted values. More...
Go to the source code of this file.
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)
libds | input dataset |
var | variable to get distinct values for |
outvar | variable to create. Default: formatted_value |
outds | dataset to create. Default: work.mp_distinctfmtvalues |
varlen | length of variable to create (default 200) |
Definition in file mp_distinctfmtvalues.sas.