Lucy_zhang

CA Tuesday Tip: (CA ESP) New Parm CCCHKSTP to Customize CCCHK Step

Discussion created by Lucy_zhang Employee on Apr 10, 2012
Latest reply on Apr 11, 2012 by MaryGreening
CA Tuesday Tip by Lucy Zhang, Principal Support Engineer for 04/10/2012

PTF RO26726 has introduced a new parm and OPER command CCCHKSTP, it can be used to customize the inserted CCCHK step.

The CCCHKSTP allows the ESPCCCHK step to execute a JCL procedure that is tailored to each system. The expansion of the JCL procedure takes place at execution time on the execution system, not on the system from which a batch job is submitted. Without the CCCHKSTP parm, the ESPCCCHK step is generated programmatically and its STEPLIB is the STEPLIB concatenation of the master that submits a batch job. The master's STEPLIB concatenation might contain names of libraries that are different or don't exist on the remote system where an internodal job runs.
The CCCHKSTP command is not required if ESP does not submit any internodal jobs that use CCCHK or if the STEPLIB that is generated programmatically for the ESPCCCHK step is acceptable on all remote systems where internodal jobs run.

This command has the following format:
CCCHKSTP ('//ESPCCCHK EXEC procname,GROUP=')

procname
Specifies the name of a member containing a catalogued JCL procedure for the ESPCCCHK step. For example,
CCCHKSTP ('//ESPCCCHK EXEC ESPCCCHK,GROUP=')

A sample JCL procedure can be found in CYBESS40:
//ESPCCCHK PROC GROUP=
//*------------------------------------------------------------------
//* This is the ESPCCCHK step which is inserted into each job
//* whose definition contains one or more CCCHK statement.
//* The name of this step must be ESPCCCHK.
//* Change the STEPLIB statement as required.
//*------------------------------------------------------------------
//ESPCCCHK EXEC PGM=CYBES080,PARM='&GROUP'
//STEPLIB DD DSN=<CAI>.SSCPLINK,DISP=SHR
//SYSIN DD DDNAME=PARMS
//SYSPRINT DD SYSOUT=(,)

GROUP
The GROUP parameter, of the ESPCCCHK step, corresponds to the value of the ESPGROUP initialization parameter. ESP inserts it automatically at job submission time. If the ESPGROUP initialization parameter is omitted, the default group name is the ESP subsys name. A master and its proxies must have the same ESPGROUP value. If a master submits an internodal job containing an ESPCCCHK step, the ESP Master and proxies on the remote system must have the same ESPGROUP value.

Outcomes