When I asked about options to free datasets that were no longer
used halfway down a very long running SMF-processing NeuMICS (and
therefore SAS) job step,
Ed Gould wrote:
> The problem I think is with SAS (design issue?) . I believe that
with
> any other application when you get to the the end of input you
would
> reasonably close the data set. But I am guessing that SAS does
not
> close the input until it has completed processing .
> I am not familiar with MICS but perhaps it would be faster to
strip
> out the SMF records its needs (Type xx etc). This can be done
with
> IFSADMP or any other utility (perhaps SORT or ICETOOL with IF
control
> cards which certainly be a lot faster).
> If MICS needs ALL SMF records then I would guess you are stuck.
Ed,
thanks for replying. As far as SAS is concerned I know that I can
free allocations using either
filename <dd-name> clear; /* when referring to non-SAS
datasets */
or
libname <dd-name> clear; /* when referring to SAS libraries
*/
>From the discussion in this thread however it seems that
deallocating the input tape dataset (which consists of only the
DB2 SMF records in this case) will not buy me anything when my
prime target is to free the enqueue and not to hold the dataset
until all the time consuming data aggregation has been done.
I'm still hoping that I get this wrong and that infact using
something like
//INPUTSMF DD DISP=OLD,DSN=THE.DB2.SMF.DATA
<MICS input processing here>
filename inputsmf clear; /* point A */
<further MICS processing here>
<further processing done> /* point B */
would free THE.DB2.SMF.DATA (which is not being used in other
steps) for other jobs.
Can anybody confirm in simple words at what point in my example
the dataset (which is on tape) can be used by other jobs? Is it at
point A or at point B?
Thanks again
Robert Bardos
Ansys AG, Zürich, Switzerland
----------------------------------------------------------------------
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