At 14:04 -0600 on 07/10/2015, Paul Gilmartin wrote about Re: HMIGRATE vs. ENQ:
On 2015-07-10 12:48, Robert A. Rosenberg wrote:
Perhaps I missed it, but why not use DISP=(PASS) if you want to
keep the DataSet enqueued until the Job end?
The system may be smart enough to spot that the file is not
received by a later step (ie: Ignore the possibility that while it
does not appear again in JCL that it may be dynamically accessed by
a following step).
Having an IEFBR14 step to receive the PASS'ed file as the last
step handles this situation.
Except that I want to issue HMIGRATE, which requires that the
DSN not be ENQueued
My suggestion was to the question of how to insure the dataset was
still ENQ'ed until job end not how to do an early DEQ while the job
was still running.
-- gil
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN