gtpi1m0oSystem Installation Support Reference

C Stack Exception Return (TARGET(TPF))

User exit routine UCCCSER is used with C language support and is activated on return from a stack or static exception if the exit point named CSER is active. Exit point CSER is in CSECT CCLANG.

General Conditions at Entry

The registers at entry to UCCCSER are:

R9
Address of the ECB.

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

System Conditions at Entry

System state
Problem

System mask
Unmasked

Protect key
Working storage

Address state
EVM.

Programming Considerations at Entry

  1. It is possible to be in Protect key 0 if a CINFC(CINFC_WRITE) was issued.
  2. The contents of the caller's registers upon entry to the user exit routine , can be retrieved from the stack in R13 by entering the following in the user exit:
     L R5,STKPREV(,R13)
     L R3,STKR0(R5)              THIS GETS R0
    
    These entries must be made before the SLNKC macro statement at the beginning of the exit routine.
  3. This exit will be activated by a STATIC or STACK exception. It is the user's responsibility to determine which occurred.
  4. Some registers saved in the stack have been modified by the exception handlers. See a listing of CCLANG for details.
  5. 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.