gtpi1m1ySystem Installation Support Reference

SNAPC Error

User exit routine UCCSPX is called from SNAPC error processing at the end of processing just before returning to the calling program. UCCSPX will not be called when the return to CPU loop option has been set at the UCCSNP user exit. Exit point SPX is in CSECT CCCPSE.

General Conditions at Entry

The registers at entry to UCCSPX are:

R1
Address of a 1-byte return flag that is used to show whether control should return to the CPU loop or skip the SNAP dump processing.

R2
For a SNAPC (with return), the address of a doubleword field that contains the PSW for the NSI. For a SNAPC (with exit), the address of the SNAP9000 routine in CPSM.

R3
Pointer to an address that contains the program old PSW at the time of the SNAPC, followed by 16 fullwords that contain the registers at the time of the SNAPC.

R4
The SVA address of the ECB, or 0 if the SNAPC took place without an ECB.

R11-R15
See User Exit Routines - Common Entry Conditions.

Refer to a listing of CCCPSE for the contents of the remaining registers.

System Conditions at Entry

System state
Supervisor

System mask
Masked

Protect key
0

Address space
SVM.

Programming Considerations at Entry

  1. Do not issue the TIMEC and CWRTC macros or others which issue the $MONTC macro.
  2. Do not issue macros which can give up control.
  3. See User Exit Routines - Common Programming Considerations for other considerations.

Programming Considerations on Return

See User Exit Routines - Common Return Conditions.

General Conditions on Return

See User Exit Routines - Common Return Conditions.