On Wed, 2 Dec 2009 12:51:15 -0700, Frank Swarbrick wrote: >So perhaps a combination of the two is in order. Write to a temporary PDS >during the translate and then use DISP=OLD on the copy from the temp PDS in to >the actual PDS. > >Yet another frustating issue in going to z/OS. Oy. > It's even worse than you've learned so far. If you use static (JCL DD DISP=OLD) allocation, the exclusive ENQ will be obtained at job initiation and persist through the last step that mentions the data set, regardless whether SHR or OLD. If you attempt dynamic allocation and the data set is in use, the allocation will fail unless you ask to wait for DSN, which will fail unless you're APF-authorized.
-- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html