Ramya A
Active User
Joined: 26 Jul 2004 Posts: 104
|
|
|
|
Hi,
I'm working on a change to our existing CICS program. For this change, I have to read a VSAM file (defined in the online region). Although this VSAM file is being read in the program already, I want to use another read because the records that I want to read is different from what is currently being read.
i.e,
EXEC CICS READ (File1, Record type1)
.
.
.
EXEC CICS READ (File1, Record type2)
.
.
.
EXEC CICS READ (File1, Record type1)
Note: File1 is a multiple layout VSAM dataset
In the above example, the first 2 reads already exists and I'm introducing the last read. Even though the compilation goes fine, the program abends during execution with the RC 16. From what I see, RC 16 means "Too many device files open".
I'm not sure why this is happening. But somehow I have to have the new read statement.
Could someone help? Thanks. |
|