Previous Topic: DEFAULT PROGRAM Statement ParametersNext Topic: Example: DEFAULT PROGRAM Statement


DEFAULT PROGRAM Statement Usage

Permanent and Temporary Defaults

You can designate DEFAULT PROGRAM statement defaults as permanent or temporary:

Defaults established with the DEFAULT PROGRAM statement apply to all PROGRAM statements following the DEFAULT PROGRAM statement. The system generation compiler maintains a list of all defaults in effect. The compiler updates the list each time the defaults are changed with a DEFAULT PROGRAM statement. The DISPLAY/PUNCH PERMANENT/TEMPORARY DEFAULT PROGRAM statement can be used to view the current list.