On Wed, 1 Jul 2015 08:42:45 -0400, Shmuel Metz (Seymour J.) wrote:
>on 06/26/2015 at 12:12 PM, Paul Gilmartin said:
>
>>Isn't there a timing window right here?
>
>Not unless you add FREE=CLOSE to the DD.
>
No.
>>Anyone else waiting in the queue will grab an ENQ at this point?
>
>At what point? SYSZDSN/data.set.name is held for the life of the job.
>Or does CONSOLIDATE only queue a request rather than doing the work
>itself?
>
Not for the life of the job; only through the last job step containing a
DD statement.
I believe this thread was discussing two steps:
//STEP1 EXEC PGM=IEFBR71
//X DD DISP=OLD,DSN=DATA.SET.NAME
//*
//* STEP 1 concludes; ENQ is freed; timing window occurs.
//*
//STEP2 EXEC PGM=IKJEFT01
//SYSTSIN DD *
HMIGRATE 'DATA.SET.NAME' WAIT
...
-- gil
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN