CALL procedure command

Calls a procedure that has been defined with the PROCEDURE command.

Read syntax diagramSkip visual syntax diagramCALLprocedure_name;
procedure_name
The name given to a sequence of z/OS® Debugger commands delimited by a PROCEDURE command and a corresponding END command.

Usage notes

  • Because the z/OS Debugger procedure names are always uppercase, the procedure name is converted to uppercase even for programming languages that have mixed-case symbols.
  • The CALL keyword is required even for programming languages that do not use CALL for subroutine invocations.
  • The CALL command is restricted to calling procedures in the currently executing enclave.

Example

Create and call the procedure named proc1.
proc1: PROCEDURE;
  LIST (r, c);
END;
AT 54 CALL proc1;