Comments and Examples
BR suspends the originating procedure when it finds the SubProc command in a procedure file. All active procedure files remain open and BR executes the entire sub-procedure before returning control to the originating procedure. Up to 9 levels of procedures may be nested.
The following example starts execution of the SAMPLE procedure file:
SUBPROC <file name>
SubProc requires the file name parameter, which specifies the file to be executed as a sub-procedure.
It is important to keep in mind that each open procedure or subprocedure file counts as one open file on the system, thereby reducing the number of other files that can be opened.