Program Commands ($PROGRAM/$ENDPGM)

$PROGRAM ProgramCode

$ENDPGM

The $PROGRAM/$ENDPGM command pair marks the beginning and ending of the report definitions for a program. ProgramCode is the five-character label for the program that creates the reports (for example, PR110).

The $PROGRAM/$ENDPGM command pair can occur once in a report definition file.