OPTIONS (Runtime)
The OPTIONS
instruction inside program blocks
controls program behavior at runtime.
Syntax
OPTIONS options-clause [
,...]
Usage
Use the OPTIONS
instruction inside a function block to control the
behavior of the runtime system for the rest of the program execution.
A program can execute successive OPTIONS
statements at different places in
the code.
The runtime OPTIONS
statement allows for control of the following runtime
features:
- Defining the position of reserved lines
- Defining default TTY attributes
- Defining field tabbing order method
- Defining the field input loop
- Application termination
- Front-end termination
- Defining the message file
- Defining control keys
- Setting default screen modes for sub-programs
- Enabling/disabling SQL interruption