DADS batch interface job fails with error messages DADSB959 and DADSB961.
search cancel

DADS batch interface job fails with error messages DADSB959 and DADSB961.

book

Article ID: 381634

calendar_today

Updated On:

Products

DADS Plus

Issue/Introduction

Nightly production DADS Plus for CICS batch interface jobs started to fail with error messages 

DADSB959 09:16:52 H160Q3VC SCAN=FUNCTION DADSBIF  READ  ERR= NOTOPEN                                 
DADSB961 09:16:52 H160Q3VC SCAN=FUNCTION CA-DADS/PLUS BATCH INTERFACE STOPPED BECAUSE OF FILE ERRORS.  

Environment

CICS

Z/OS

DADS Plus for CICS

Cause

User ID IN04LFY issued a CEMT command in CICS to close the DADS Batch Interface file FCT DADSBIF at 09:16:38. Below is the message in the CICS log showing the CEMT command being issued by user ID IN04LFY .

DFHAP1900 10/20/2024 09:16:38 H160Q3VC P2300062 IN04LFY CEMT SET FILE(DADSBIF) NOWAIT OPENSTATUS(CLOSED) RESP(NORMAL) RESP2(0)

This caused the batch interface facility to fail when the next DADS scan Interval was done 15 seconds later and the DADSBIF file was closed. Below are the batch interface failure messages.

DADSB959 09:16:52 H160Q3VC SCAN=FUNCTION DADSBIF  READ  ERR= NOTOPEN                                 
DADSB961 09:16:52 H160Q3VC SCAN=FUNCTION CA-DADS/PLUS BATCH INTERFACE STOPPED BECAUSE OF FILE ERRORS.

.

Resolution

The DADS batch Interface file FCT DADSBIF should never be closed while CICS and the batch interface is active. To restart the DADS batch interface, issue a CEMT command to open the FCT DADSBIF. Once the DADSBIF is open use the DADB transaction to restart the batch interface facility.

At a clear screen in CICS enter transaction DADB and press enter. The following screen will appear.

 APPLID XXXXXXXX                 CA-DADS/PLUS  4.0         DATE      TIME 
                    BATCH INTERFACE FACILITY STATUS DISPLAY                    
                                                                               
                                                                                
 COMMAND  ===>                                                                 
                                                                               
                    S = START  BATCH INTERFACE FACILITY                        
                    P = STOP   BATCH INTERFACE FACILITY                        
                BLANK = STATUS BATCH INTERFACE FACILITY    

Next select option S to start the batch Interface facility.     

 S = START  BATCH INTERFACE FACILITY