A DADS Plus for CICS batch HPO job queued immediately with CICS active instead of running
search cancel

A DADS Plus for CICS batch HPO job queued immediately with CICS active instead of running

book

Article ID: 45253

calendar_today

Updated On:

Products

DADS Plus

Issue/Introduction

A DADS Plus for CICS batch HPO job has been in running in development for several months and runs without error. The first step is a deallocate of a file and the next step requests exclusive control of the file. This week a problem surfaced when running this job. When the batch job is submitted it queues immediately as if CICS is not active and ends with a return code of zero. The next step runs and requests exclusive control of the file. Since the file is still allocated to CICS the batch job fails. In the DADSLOG, it is seen that the batch job is executed the next time the batch interface SCAN interval executes. But by then the batch job has already failed due to the delay in deallocating the file.

Environment

Release: 4.0
Component: DADS Plus for CICS

Cause

Hourglass was being used and batch time forwarding was being used when this job ran.

Resolution

DADS Plus for CICS is not compatible with date warping products.

Date warping products have caused this type of behavior in the past with the batch interface. DADS Plus for CICS uses the APPLID last scan interval date and time stamp and the batch job time and date stamp to determine if the batch interface is active. If the calculation determines the batch interface is not active, the batch request queues for the APPLID. Then the batch request runs after the batch job queues for the APPLID.