PRINT FORMATS

PRINT FORMATS changes variable print formats. Print formats are output formats and control the form in which values are displayed by a procedure or by the PRINT command.

PRINT FORMATS varlist(format) [varlist...]

This command takes effect immediately. It does not read the active dataset or execute pending transformations. See the topic Command Order for more information.

Example

PRINT FORMATS SALARY (DOLLAR8) / HOURLY (DOLLAR7.2) 
           / RAISE BONUS (PCT2).