gtpi1m0wSystem Installation Support Reference

Create Macro Control Point

User exit routine UCCCMCP is called whenever a create macro (CREDC, CREEC, CREMC, CRESC, CRETC, CREXC, or SWISC) is executed and the exit point named CMCP is active. Exit point CMCP is contained in CSECT CCNUCL.

UCCCMCP allows user information to be passed from a parent to a child entry control block (ECB). It is independent of macro servicing user exits. For calls from the $FORKC macro, passing information from a parent to a child ECB must be done in UCCCMCP because the UCCCMPI user exit will not be invoked.

General Conditions at Entry

The registers at entry to UCCCMCP are:

R2
Pointer to a 4-byte user data field.

R6

For calls from the $FORKC macro, R6 contains the address of the child ECB. For other calls, the content of R6 is undefined.

R9
Address of the ECB that issued the macro.

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

System Conditions at Entry

System state
Supervisor

System mask
Masked for I/O interrupts

Protect key
0

Address Space

EVM, except for calls from the $FORKC macro in which case the address space is in SVM.

Programming Considerations at Entry

  1. Except for calls from $FORKC, the 4-byte user data field is initialized to zero when UCCCMCP is entered. For calls from the $FORKC macro, the 4-byte user data field is initialized to 3 and must not be changed.
  2. If you perform CRETCM processing, the 4-byte user data field is set to 1. If you perform CRETCS processing, the 4-byte user data field is set to 2. It is your responsibility to reset the field to its initial value.
  3. See User Exit Routines - Common Entry Conditions.
  4. 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.