SET ALTERNATE Command
Directs screen or printer output created with ?, ??, DISPLAY, or LIST to a text file.
SET ALTERNATE ON | OFF -or- SET ALTERNATE TO [FileName [ADDITIVE]]
- Directs output to the text file.
- (Default) Disables output to the text file.
- TO FileName
- Creates the text file, which is assigned the default extension .txt unless you include a different extension with the file name.
If you use SET ALTERNATE TO without FileName, the last file you created using SET ALTERNATE TO FileName is closed.
- Appends output to the end of the file specified with FileName. If you omit ADDITIVE, the contents of the file are overwritten.