The following is a sample exit handler definition:
Sample system exit handler definition
LONG Rexx_IO_exit( LONG ExitNumber, /* code defining the exit function */ LONG Subfunction, /* code defining the exit subfunction */ PEXIT ParmBlock); /* function dependent control block */
ExitNumber
The exit parameter list contains exit-specific information. See the exit descriptions following parameter list formats.
Note: Some exit subfunctions do not have parameters. ParmBlock is set to null for exit subfunctions without parameters.