The batched repository-update utility connects to a CMAS and submits batched repository updates to run in that CMAS. To make batched repository updates to a particular data repository, you need to run the utility so that it connects to, and submits batched updates to run in, the CMAS that is associated with the data repository you want to update.
In order to run the utility you need to prepare the necessary JCL and to define input parameters for the utility itself, such as the name of the CMAS associated with the data repository you want to update.
Here is an example of JCL to run the batched repository update utility:
//jobname JOB (acct),'name',CLASS=x,MSGCLASS=x
//BTCHUPD EXEC PGM=EYU9XDBC,REGION=2048K
//STEPLIB DD DSN=CICSTS31.CPSM.SEYUAUTH,DISP=SHR
// DD DSN=CICSTS31.CPSM.SEYULOAD,DISP=SHR
//SYSPRINT DD SYSOUT=*
//SYSABEND DD SYSOUT=*
//SYSIN DD *
CMASNAME(EYUCMS1A)
CHECK
INPUTDSN(EXAMPLE.INPUT.DATASET)
INPUTMEMBER(MEMBER1)
OUTPUTUSER(EXUSER)
PRINTNODE(LOCAL)
/*
Here is an example of the output from the batched repository-update utility:
CICSPlex/SM Batched Repository Update Utility Version 310
Parameters specified:
CMASNAME(EYUCMS1A)
CHECK
INPUTDSN(EXAMPLE.INPUT.DATASET)
INPUTMEMBER(MEMBER1)
OUTPUTUSER(EXUSER)
PRINTNODE(LOCAL)
EYUXD0908I A batched repository update has been submitted to run in CMAS EYUCMS1A.
The output of the batched repository-update utility is a short report that lists the input parameters and a message to show the CMAS in which the batched updates have been submitted. You should review this output to verify the utility successfully submitted the batched updates in the CMAS.
The batched updates that run in the CMAS produce output using the standard CICS spooling facilities. You need to review this second output to verify batched updates have run successfully.
This section describes the input parameters that you must specify to use the batched repository update utility. These parameters must be supplied in the SYSIN data set.
The following syntax rules apply:
>>-CMASNAME(data-value)--+-CHECK---+--INPUTDSN(data-value)------> '-EXECUTE-' >--+-------------------------+--+------------------------+------> '-INPUTMEMBER(data-value)-' '-PRINTCLASS(data-value)-' >--PRINTNODE(data-value)--OUTPUTUSER(data-value)----------------> >--+------------+---------------------------------------------->< +-DIAGNOSE---+ '-NODIAGNOSE-'
The parameters can be specified as follows :