The easiest way to customize a user exit is to copy and modify the code that is supplied by CA. Always read the source code of the exit and the additional information included in comment lines. These lines are placed where you would need to enter code to customize the exit for a specific need or function.
The steps that are involved in customizing any user exit are as follows:
Most user exits are called with RUNTIME-PARM1 and RUNTIME-PARM2 as the first two parameters. Under IMS, the RUNTIME-PARM parameters are mapped to the IO-PCB and ALT-IOPCB, respectively. If an exit is modified to use the IO-PCB, the ALT-IOPCB, or both, remember to remove the corresponding RUNTIME-PARM from the LINKAGE SECTION and the PROCEDURE DIVISION USING statement.
Under CICS, the RUNTIME-PARM parameters are mapped to the CICS EXEC Interface Block (EIB) and the COMMAREA, respectively. If an exit is modified to use DFHEIBLK, FHCOMMAREA, or both remember to remove the corresponding RUNTIME-PARM from the LINKAGE SECTION and the PROCEDURE DIVISION USING statement. In addition, remove these parameters if the modified exit is processed by the CICS translator as the CICS translator automatically includes a reference to DFHEIBLK and DFHCOMMAREA.
Information about the presence and use of RUNTIME-PARM parameters is included in the SAMPLIB member for each exit and is covered in this chapter if relevant.
The remaining parameters are unique to each exit and is not modified.
Ensure that the new runtime modules are placed in the proper data sets as follows:
As delivered, the Exits contain no SQL and no DBRMs. If a User Exit calls another routine that does database access, add that routine's DBRM to the installation control file so the routine can be found. The best way to accomplish this is to modify the Installation CLIST, TICINSTX, so that it adds the DBRM to the DBRM list.
The following table identifies the z/OS JCL procedures that are used to compile and bind each of the z/OS Server Manager User Exits into their respective DLLs. These JCL procedures are located in the CA Gen SAMPLIB library.
Each DLL contain other user exits that are not directly in support of the processing of a z/OS Distributed Processing Server (DPS). Additionally, the list of z/OS user exits also be used to support z/OS block mode and batch operation.
|
JCL Procedure |
DPS User Exit Name |
Description |
|---|---|---|
|
MKORUN |
TIRDCRYP, TIRNCRYP, TIRSECR, TIRSECV, TIRSYSID, TIRUSRID, TIRALLOC, TIRPROUT, TIRPTOKN, TIRCSGN, TIRELOG, TIRSIPEX |
Incorporates customized user exits into the following z/OS DLLs: TIRORUNC TIRODCMC TIRORUNI TIRORUNT TIRBRUNB TIRBRUNT |
|
MKORUNX |
|
Incorporates customized user exits into the following z/OS DLLs: TIRTERAZ TIRMTQBZ TIRPRFQZ |
|
MKCRUN |
TIRXINFO |
Incorporates customized user exits into the following z/OS DLLs: TIRCRUNC TIRCRUNI |
Note: For more information about the user exits, see the User Exit Reference Guide.
|
Copyright © 2014 CA.
All rights reserved.
|
|