After allocating an RLS VSAM file to CICS using CA DADS Plus for CICS the open of the file fails with message DADSA559.
search cancel

After allocating an RLS VSAM file to CICS using CA DADS Plus for CICS the open of the file fails with message DADSA559.

book

Article ID: 6428

calendar_today

Updated On:

Products

DADS Plus

Issue/Introduction

After allocating an RLS VSAM file to CICS using CA DADS Plus for CICS the open of the file fails with messages DADSA559 in the DADSLOG and DFHFC0512 in the MSGUSR.

DADSA559 12:56:30 A11IC4S5 TERM=U020 'FILE'='FILERDUP' OPEN FAILED (FDBK='054').

DFHFC0512 A11IC4S5 Non-RLS OPEN of file FILERDUP failed. This CICS has other files open for the data set (or its associated base) with RLS access mode.A CEMT of the file shows two FCT entries pointing to the same VSAM RLS file. 

Environment

Z/OS

CICS

Cause

The open of the RLS file failed since the file was already allocated and opened to one of the two FCT entries. You can only open and allocate a file to one FCT at a time.

Resolution

You must deallocate and close the file for the current allocated FCT entry and then allocate and open the file for the second FCT. 

CA DADS Plus for CICS issues the following command to perform an OPEN for a file: 

EXEC CICS SET FILE(LOCDDN) OPEN 

RESP(LOCRESP) 

RESP2(LOCRESP2) 

This is telling CICS to issue an OPEN against the file who's DDNAME is pointed to by LOCDDN and put the results in LOCRESP and LOCRESP2. 

LOCRESP is similar to a return code, the CICS internal value for this field is EIBRESP. 

LOCRESP2 is similar to a reason code, the CICS internal value for this field is EIBRESP2. 

In our scenario CICS returned 16 (x'10') in EIBRESP and 54 (x'36') in EIBRESP2. 

54 

A file open request cannot be satisfied because of one of the following reasons: 

• The file is being opened in RLS mode and this region has other files open in non-RLS mode against the data set that it references. 

• The file is being opened in non-RLS mode and this region has other files open in RLS mode against the data set that it references. 

• The file is being opened in non-RLS mode and this region has unresolved RLS recovery work against the data set that it references.  

In the CICSLOG you will see message DFHFC0512 and the time and date stamp on that message corresponds to the time – date on the DADS message DADSA559

12.56.30 JOB13347 +DFHFC0512 A11IC4S5 IGD103I SMS ALLOCATED TO DDNAME FILERDUP 

DFHFC0512 A11IC4S5 Non-RLS OPEN of file FILERDUP failed. This CICS has other files open for the data set (or its associated base) with RLS access mode.