On Sun, 19 Jul 2015 06:53:29 -0700 Charles Mills <[email protected]> wrote:

:>The ENQ is for the same resource name in all jobs?

Yes. The GTF trace show that the ENQs were serialized. I did not include an IO
trace - that will be the next step.

:>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.

That is why I did GTF.

:>-----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

--
Binyamin Dissen <[email protected]>
http://www.dissensoftware.com

Director, Dissen Software, Bar & Grill - Israel


Should you use the mailblocks package and expect a response from me,
you should preauthorize the dissensoftware.com domain.

I very rarely bother responding to challenge/response systems,
especially those from irresponsible companies.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to