When you use the OUTPUT statement to save a design in a data set, and you rename and recode a factor, the type and length of the new variable are determined by whether you use the NVALS= or CVALS= ...
This example demonstrates how you can create an output data set with the ODS OUTPUT statement and also use data set selection keywords to limit the output that ODS writes to a SAS data set. The ...