The commands in single quotes are submitted when the user selects
For
Dept01
or
For Dept02
. The END command ends the current window
and returns to the PROGRAM EDITOR window so that further commands can be submitted.
The INCLUDE command includes the SAS statements that print the report. See
Printing a Program .
The CHANGE command modifies the PROC PRINT step in the included program so
that it prints the correct data set. The SUBMIT command submits the PROC PRINT
program.
selection prt1
'end;pgm;include prt;change xx 01 all;submit';
selection prt2
'end;pgm;include prt;change xx 02 all;submit';