SAS Format
A procedure for defining foramts and informats.
Contents
Usage
To define a custom format, try:
proc format; value NUM_f 1="One" 2="Two"; value $STR_f "1"="One" "2"="Two"; run;
By convention, formats are usually named after the variable with a _f postfix. Note that formats have strict restrictions on names; they cannot end in a number.
InValue
To define an informat, use the INVALUE statement.