> FREE=CLOSE is ignored when:
> ...
> - The data set is referenced by another DD statement in the same or
> subsequent step.
That's the problem, the OP has a third long-running
step that references the same dataset.
> Date: Thu, 3 Jul 2008 11:46:32 -0400
> From: [EMAIL PROTECTED]
> Subject: Re: want to read a dataset in use
> To: IBM-MAIN@BAMA.UA.EDU
>
> Have you tried adding FREE=CLOSE to the dataset?
> The FREE parameter indicates when MVS is to free the resource(s)
> allocated to this DD statement. The resource(s) can be device(s),
> volume(s), or data set(s).
>
> FREE=CLOSE is ignored when:
>
> - The data set is a member of a concatenated group.
>
> - The task using the data set abnormally terminates.
>
> - The data set is referenced by another DD statement in the same or
> subsequent step.
>
> Lizette
_________________________________________________________________
Don't get caught with egg on your face. Play chicktionary!
http://club.live.com/chicktionary.aspx?icid=chick_wlhmtextlink1_feb
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html