Previous Topic: PRINT CommandNext Topic: REPORT Command


PROC Command

(Area 3)

The PROC command causes the Reporting Facility to initialize the beginning of a subroutine. The PROC command must be paired with an ENDPROC command. Any valid Reporting Facility (Area 3) commands can be placed between a PROC command and an ENDPROC command.

►►─ label: ─ PROC ────────────────────────────────────────────────────────────►◄
label:

Specifies a required identifying label that will be referenced in a PERFORM command.

The PROC and ENDPROC commands must be the last group of statements immediately before the REPORT section. A GOTO TEST command is automatically generated before the first PROC.