Marks the end of a routine. Format $END_ROUTINE [name=routine-name]
1 – Parameter
name The name of the routine that is ended. This argument is optional. If you specify a name, $END_ROUTINE verifies that the name matches that which was specified with $ROUTINE to begin the routine. If the name does not match, $END_ROUTINE issues a diagnostic message. There is no default. If you omit the name, $END_ROUTINE does not verify a matching name.
2 – Description
You must use this macro at the end of a routine that is defined with the $ROUTINE macro to delimit the end the current routine and to perform final macro processing of the routine.
3 – Example
$END_ROUTINE NAME=FOOZLE