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

Converts every value in a dataset to formatted value. More...

Go to the source code of this file.

Detailed Description

Converts every value to it's formatted value. All variables will become character, and will be in the same order as the original dataset.

Lengths will be adjusted according to the format lengths, where applicable.

Usage:

%mp_ds2fmtds(sashelp.cars,work.cars)
%mp_ds2fmtds(sashelp.vallopt,vw_vallopt)
Parameters
[in]libdsThe library.dataset to be converted
[out]outdsThe dataset to create.

SAS Macros

Related Macros

Version
9.2
Author
Allan Bowe

Definition in file mp_ds2fmtds.sas.