The batched repository-update utility connects to a CMAS and submits batched repository (BATCHREP) updates to run in that CMAS.
To make batched repository updates to a particular data repository, 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.
To run the utility, prepare the necessary JCL and define the input parameters for the utility itself, such as the name of the CMAS associated with the data repository you want to update.
//jobname JOB (acct),'name',CLASS=x,MSGCLASS=x
//BTCHUPD EXEC PGM=EYU9XDBC,REGION=2048K
//STEPLIB DD DSN=CICSTS51.CPSM.SEYUAUTH,DISP=SHR
// DD DSN=CICSTS51.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)
/*
CICSPlex/SM Batched Repository Update Utility Version 320
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. 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 must also review this second output to verify batched updates have run successfully.