OUTFILE Subcommand (PRINT command)
OUTFILE specifies
a file for the output from the PRINT command. By default, PRINT output
is included with the rest of the output from the session.
-
OUTFILEmust be specified before the slash that precedes the start of the variable specifications. - The output from
PRINTcannot exceed 132 characters, even if the external file is defined with a longer record length.
Example
PRINT OUTFILE=PRINTOUT
/1 EMPLOYID DEPT SALARY /2 NAME.
EXECUTE.
-
OUTFILEspecifies PRINTOUT as the file that receives thePRINToutput.