&APS-OUTPUT-FILE

Contains the name of the output file where the output lines are. Use % SET OUTPUT-FILE to name the output file receiving output lines.
Restriction: This topic applies only when the AppMaster Builder AddPack has been installed, and applies only to Windows platforms.

Syntax:

&APS-OUTPUT-FILE

Alias:

&aps-output-file     &Aps-Output-File
&apsoutputfile       &ApsOutputFile
&APSOUTPUTFILE

Example:

Save the current output file to be reset later, for example, at the end of a macro.

%* SAVE THE NAME OF THE CURRENT FILE
% &SAVE-FILE = &APS-OUTPUT-FILE
% SET OUTPUT-FILE MYDD (MYFILE)
    .
    .
    .
%* RESTORE OUTPUTTING LINES TO PREVIOUS FILE
%* NOTE THAT EVALUATION BRACKETS ARE REQUIRED IN
%* SET STATEMENTS
% SET OUTPUT-FILE MYDD <%(&SAVE-FILE)>