OUTFILE Subcommand (WRITE command)
OUTFILE
specifies
the target file for the output from the WRITE
command.
By default, the output is included with the rest of the output from the session.
-
OUTFILE
must be specified before the slash that precedes the start of the variable specifications.
Example
WRITE OUTFILE='/data/writeout.txt'
/1 EMPLOYID DEPT SALARY /2 NAME.
EXECUTE.
-
OUTFILE
specifies writeout.txt as the file that receives theWRITE
output.