Hi all,

Just wanting to make sure I understand this correctly.  I have a small VSAM 
ESDS that is going to be used by both CICS and batch.  What's happening is the 
CICS region writes (appends) a record to the ESDS, then submits a batch job to 
read the ESDS and pick up the record that was just written, using the 
information in the record to go out and do additional processing against other 
datasets.  The batch process is only reading the ESDS, using a parameter the 
CICS process passed to the batch job to know which record to further process.  
My thinking is that if I specify SHR(4,3) this should work.  I'm being promised 
the process will only involve 10-20 records a day.  Am I correct in my reading 
of this:

Cross-region SHAREOPTIONS 4: The data set can be fully shared by any number of 
users, and buffers used for direct processing are refreshed for each request. 
This setting does not allow any type of non-RLS access when the data set is 
already open for RLS processing. With this option, as in SHAREOPTIONS 3, each 
user is responsible for maintaining both read and write integrity for the data 
the program accesses. See the description of SHAREOPTIONS 3 for ENQ/DEQ and 
warning information that applies equally to SHAREOPTIONS 4.

I'm thinking that with a buffer flush every time a program accesses the file, I 
should be ok.  Am I right?

Thanks,

Rex

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN
  • LLM (AI) Progress David L. Craig
    • DFSMS/dfp SHROPTIONS validation question Pommier, Rex

Reply via email to