
Chapter 5 409
Command Definitions L-O
OPTION
The LIST/NOLIST option specifies whether command lines in a UDC are printed before
execution of each command. RECURSION/ NORECURSION determines the search order for
commands cataloged.
RECURSION starts the UDC search at the beginning of the cataloged commands.
NORECURSION, the default setting, starts the search at the command currently executing.
RECURSION and NORECURSION do not have any meaning in a command file, because
command files are not cataloged. The default is NORECURSION.
Nesting of IF and WHILE blocks in UDC's is limited to a combined total of 30 levels. Each
IF or WHILE block read by the Command Interpreter increments the nesting count even if
it resides within a different UDC. It is especially important to remember this when using
the recursion option which may make it easy to increment the nesting count beyond 30.
Use
This command is available in a session, job, program, or in BREAK. Pressing Break has no
effect on this command.
Example
To send a line-by-line listing of the command file to $STDLIST as it executes, within the
command file, enter:
OPTION LIST
Related Information
Commands SETCATALOG, SHOWCATALOG, UDC header for static options
Manuals None