LSTDEV/{CRT[,LPT|OS]|LPT|OS|NULL}[,'filename'][,REPL]
This statement specifies the destination or destinations for the output data. The specified listing device remains in effect until changed by the LSTDEV command or program termination which causes the device to default to the CRT.
NOTE: You cannot set LSTDEV to direct output to a file (OS file) when
the GRIP program is executed in BATCH. Please use Grade or the Gripbatch Script
to control the listing device of a Gripbatch program. See Batch Processing.
Parameter |
Description |
CRT |
Minor word which indicates that the new data will be output to the terminal. |
CRT,LPT |
Minor words which indicate that the new data will be output to the terminal and the line printer. |
CRT,OS |
Minor words that indicate that the new data will be output to the terminal and an operating system file. |
NULL |
Minor word which indicates that the output will be suppressed. |
LPT |
Minor word which indicates that the new data will be output to the line printer. To terminate output to the line printer, issue an LSTDEV/CRT command. |
OS |
Minor word which indicates that the new data will be output to an operating system file. To close the file, issue an LSTDEV/CRT command. |
'filename' |
If the output device is OS, 'filename' must be used to specify the name of the OS output file. |
REPL |
Minor word which indicates that the existing OS file is to be replaced. |