Here are some tips for How to share your SAS knowledge with your professional network.
Using PROC CONTENTS and a Macro to Convert Internal Data Values to their Associated Format Values
Working with formatted data can be cumbersome and error-prone. Presented here is a method for using PROC CONTENTS and a macro to generate data-driven code that can be used to effectively convert the numeric internal data values to the character values dictated by the associated format.
- Using PROC CONTENTS and a Macro to Convert Internal Data Values to their Associated Format Values, by Mary F. O. Rosenbloom
This paper was presented at the Western Users of SAS Software (WUSS) 2011 Conference in San Francisco, California.
This is an example of using a control file to generate macro code. I look forward to your comments!