WRITE FORMATS

WRITE FORMATS changes variable write formats. Write formats are output formats and control the form in which values are written by the WRITE command.

WRITE 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

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