My users are reporting slow response times for batch jobs using the the DADS Plus Batch Interface Facility executing program DADBBI. Research shows long execution times occur randomly, sometimes it's fast, sometimes it's very slow.
The client needs to add the DADS Plus PLTSD program DADSPLTS to the CICS shutdown table.
The client will add the DADS Plus program DADSPLTS to the CICS PLTSD shutdown table as shown below.
When DADSPLTS runs at shutdown you will see the messages below in the CICS log.
+DADSI150 - CA-DADS/PLUS SHUTDOWN PLT PROGRAM STARTING
+DADSI155 - DADS APPLID=A11IC4S5 BATCH INTERFACE TIMESTAMP RESET
+DADSI151 - CA-DADS/PLUS SHUTDOWN PLT COMPLETED
The DADS Plus APPLID parameter CICSWAIT = 15 minutes is the default. When CICS is shutdown batch jobs WILL NOT run for 15 minutes which is based on the valid of the CICSWAIT parameter.This is a timing issue and you will see different behavior. If batch jobs run immediately after CICS shuts down you will see a long delay in processing batch jobs. Jobs submitted after 15 minutes will not experience delay and run immediately.
The DADSPLTS program stops the DADS Plus batch interface transaction DADB and resets the CICSWAIT so batch jobs can run immediately after CICS terminates and not wait 15 minutes.
More on the DADSPLTS program is located in the DADS Plus User's Guide at the link below.
See Page 12-5 Topic Shutdown
At the end of the day, if CICS is shut down or canceled and a batch job is started immediately, the batch job will wait the full 15 minutes before queuing therequest. However, any batch jobs started after CICS has been down for 15 minutes will process immediately. This will hold true until the next CICS startup. To eliminate this 15 wait time when CICS is shutdown, implement the Advantage CA-DADS Plus for CICS PLT shutdown program, DADSPLTS. See the DADS Plus Installation Guide for information on implementing DADSPLTS.