z/OS Communications Server exits
The z/OS® Communications Server exits SYNAD (DFHZSYX) or LERAD (DFHZLEX) might be driven during persistent sessions recovery.
In DFHZGRP, before INQUIRE OPTCD=PERSIST is issued, or in DFHZGUB before CLSDST or TERMSESS are issued, CICS® sets the RPL user field to -2 to indicate to the exits that they must do no processing at all, because these macros might be issued under the concurrent TCB.
In DFHZGRP, before OPNDST OPTCD=RESTORE is issued, CICS sets the RPL user field to -1 to indicate to the exits that they must try minimum recovery; that is, they set the return code to TCZSYXPR if an error can be retried, or TCZSYXCF if it is a permanent error.
If an error occurs in DFHZGSL for SETLOGON OPTCD=PERSIST, DFHZSYX returns immediately (as for RPL user field = -2).
If MNPS is in use and the Communications Server crashes, DFHZTPX is driven with a code of 8. If the system initialization parameter PSTYPE=MNPS was specified, DFHZTPX does not schedule the autoinstalled TCTTEs for deletion. They are scheduled for CLSDST CLEANUP instead by DFHZSHU.
See z/OS Communications Server: SNA Programming for general Communications Server exit information.