I'm afraid that in this circumstance you are stuck. If you are using an ESDS file, then you are adding records at the end. So, some alternative programming techniques suggest themselves:
- The first is to use two ESDS and then get CICS to read the Batch one after update and adding the records at the end of the CICS ESDS.
- The second is to use my EXCI SupportPac and get batch to send the individual records to CICS for appending to the file.
- Something else which you may care to investigate is the new(ish) Transactional VSAM support but I'm not sure if this works for an ESDS.
Dig deeper on Mainframe operating systems and management
Related Q&A from Robert Crawford
With 3270 bridge, you can't stack input messages into one structure. The bridge can't process them all at once. It takes a little more work.continue reading
CICS expert Robert Crawford offers advice on determining the connection between CICS transactions and MQ Queue name.continue reading
CICS expert Robert Crawford discusses if a program can use IXLLIST macros in CICS when IXLLIST are APF.continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.