Creating an Output Data Set from a Format
Create a simple format in the work library:
To output a format to a data set, use the CNTLOUT option with Proc Format, as shown below:
Program:
Log:
Note that the name of the format specified on the SELECT statement does not require a period.
Having output the format to a data set, you can use data step code to change the format definition in some way. Then simply re-create the Format by using the CNTLIN option on the Proc Format statement.