How to update the CA DADS Plus CICS DADSBIF MAXWAIT parameter located on the APPLID record using a batch job?

Document ID : KB000111673
Last Modified Date : 20/08/2018
Show Technical Document Details
Introduction:
The client has to update 200 APPLE ID records on the DADSBIF file changing the MAXWAIT=0 to MAXWAIT=1200. You can sign on to CICS and change each MAXWAIT parameter individually but this will take a long time.
Since the clients change window is very small they would like to setup and test the JCL ahead of time.
How do you update the MAXWAIT using the CA DADS Plus CICS batch utility program DADS utility program?
 
Environment:
Z/OS
Instructions:
The following JCL can be used to update the CA DADS Plus MAXWAIT parameter using batch utility program DADBBIS.
 
JOBCARD
//UPDTAPPL EXEC PGM=DADBBIS,REGION=700K
//STEPLIB DD DSN=DADSPL40.GA.LOADLIB,DISP=SHR
//DADSBIF DD DSN=DADSPL40.DADSBIF.V3,DISP=SHR
//SYSPRINT DD SYSOUT=A,DCB=(LRECL=133,RECFM=FBA,BLKSIZE=133)
//SYSIN DD *
FUNCTION=CHANGE,APPLID=(APPLE001),MAXWAIT=1200
FUNCTION=CHANGE,APPLID=(APPLE002),MAXWAIT=1200
FUNCTION=CHANGE,APPLID=(APPLE003),MAXWAIT=1200
FUNCTION=CHANGE,APPLID=(APPLE004),MAXWAIT=1200
FUNCTION=CHANGE,APPLID=(APPLE005),MAXWAIT=1200
/*
//