The RETURN command in a CL procedure or OPM program removes that procedure or OPM program from the call stack.
If the procedure containing the RETURN command was called by a CALLPRC command, control is returned to the next sequential statement after that CALLPRC command in the calling program.
If a MONMSG command specifies an action that ends with a RETURN command, control is returned to the next sequential statement after the statement that called the procedure or program containing the MONMSG command.
The RETURN command has no parameters.
(C) Copyright IBM Corporation 1992, 2005. All Rights Reserved.