Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

File Updating & Locking

Status
Not open for further replies.

oldcoderunner

Programmer
Mar 7, 2007
6
GB
If a CICS program reads a VSAM file with the update option, updates the data, rewrites it and continues with further processing, does the record remain locked until the next syncpoint or is the updated data available to be read (for update) by another CICS program after the first program rewrites the record?

Thanks.
 
It's possible that the answer to this questiion is language dependent.

But from my experience with Cobol and CICS, the record is available for read/locking/update as soon as it is either rewritten or unlocked by the first program, or the first program reads another record for update from the same file, regardless of syncpoints.

Code what you mean,
and mean what you code!
But by all means post your code!

Razalas
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top