The ENQ is for the same resource name in all jobs? Frankly if it were my code I would look for some basic programmer "oops." The pseudo-code below is obviously bulletproof, and it's hard for me to picture that a simple ENQ is not working as advertised, or that CLOSE would fail to flush everything to disk.
Charles -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Binyamin Dissen Sent: Sunday, July 19, 2015 6:08 AM To: [email protected] Subject: BPAM issue I have code that does the following: (against a standard PDS) ENQ OPEN BLDL POINT TTR READ CHECK WRITE (in place) CHECK STOW R (changing some directory info of the rewritten member)) CLOSE DEQ When running single threaded, works fine. When running in multiple concurrent jobs, it appears that sometimes the STOW data is lost. GTF trace shows that the code is operating properly. What might II be missing? ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
