/OUTPUT
/OUTPUT, Fname
, Ext
, --
, Loc
Redirects text output to a file or to the screen.
Fname
Filename and directory path (248 character maximum, including directory) to which text output will be redirected (defaults to Jobname if
Ext
is specified). For interactive runs,Fname
= TERM (or blank) redirects output to the screen. For batch runs,Fname
= blank (with all remaining command arguments blank) redirects output to the default system output file.Ext
Filename extension (eight-character maximum).
--
Unused field.
Loc
Location within a file to which output will be written:
(blank)
—
Output is written starting at the top of the file (default).
APPEND
—
Output is appended to the existing file.
Command Default
Text output is written to the screen for interactive runs and to the system output file for batch runs (see the Basic Analysis Guide).
Notes
Text output includes responses to every command and GUI function, notes,
warnings, errors, and other informational messages. Upon execution of /OUTPUT,Fname
, Ext
, ...
, all subsequent text output is redirected
to the file Fname.Ext
.
To redirect output back to the default location, issue /OUTPUT (no
arguments).
Note: When using the GUI, output from list operations (NLIST, DLIST, etc.) is always sent to a list window regardless of the /OUTPUT setting. The output can then be saved on a file or copied to the /OUTPUT location using the File menu in the list window.
This command is valid in any processor.