Do an IEFBR14 before and after? Or would that lock the dataset out from the ADRDSSU?
On Fri, Jun 26, 2015 at 12:12 PM, Paul Gilmartin <[email protected]> wrote: > On Fri, 26 Jun 2015 11:58:32 -0500, Mike Schwab wrote: > >>http://www-01.ibm.com/support/knowledgecenter/SSLTBW_2.1.0/com.ibm.zos.v2r1.adru000/cnscs.htm >>//STEP01 EXEC PGM=IEFBR14 >>//DD1 DD DISP=OLD,DSN=data.set.name (wait until free) >> > Isn't there a timing window right here? Anyone else waiting in the > queue will grab an ENQ at this point? > >>//STEP01 EXEC PGM=ADRDSSU >>//SYSIN DD * >> CONSOLIDATE DS(INCLUDE(data.set.name)) >> > But that's actually a small risk because most of the users are foreground > and can't S99WTDSN. But can I put DISP=OLD on STEP01? > (But I got HMIGRATE WAIT to work with a very simliar technique. > Crisis over.) > > Thanks, > gil > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN -- Mike A Schwab, Springfield IL USA Where do Forest Rangers go to get away from it all? ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
