DISCUSSION |
 |
If more than one OUTPUT command is issued, only the last one is effective.
If no output command is issued, SORT/XL creates an output file with the name OUTPUT.
If a file already exists with the same name as that specified in the >OUTPUT command, during an interactive session, the following message is displayed:
PURGE OLD OUTPUT FIle filename ?
|
If you respond YES, the old file is purged. If you respond NO or press the Return key, the following message is displayed:
ENTER NEW NAME FOR OUTPUT FILE
|
You should then enter a new name for the output file.
In batch mode, the old file is not disturbed. Instead a new permanent file, OUTPUTnn (n is a non-negative integer) is created and the following message is displayed:
OUTPUT FILE CLOSED WITH FILE NAME OUTPUT nn
|
The Job Control Word (JCW) is set to FATAL.