Some commands can produce output of more than one type—display, print, or output file. In these cases, the selection is made on the Output parameter. Table 77 lists the values supported by the Output parameter.
* |
Display only |
---|---|
*NONE |
No output is generated |
|
Spooled output is generated |
*OUTFILE |
An output file is generated |
*BOTH |
Both spooled output and an output file are generated. |
Commands that support OUTPUT(*) that can also run in batch are required to support the other forms of output as well.
Commands called from a program or submitted to batch with a specification of OUTPUT(*) default to OUTPUT(*PRINT). Displaying a panel during batch processing or when called from another program would otherwise fail.
With the exception of messages generated as a result of running a command, commands that support OUTPUT(*NONE) will generate no other forms of output.
Commands that support combinations of output values do not support OUTPUT(*) in combination with other output values.