In <[email protected]>, on
09/16/2013
at 04:34 PM, Paul Gilmartin <[email protected]> said:
>So the "free" usurps the DDNAME in use by the caller.
The ddname is a resource associated with the allocation. What do you
expect to happen when you free a resource? I'd hardly call that a
usurpation.
>I suppose I could use BPXWDYN 'info ...' before the second call;
>determine whether the returned DD2 was previously allocated,
If you freed it then why would "info" tell you that it was allocated?
>Why does DYNALLOC do that?
Because you told it to.
--
Shmuel (Seymour J.) Metz, SysProg and JOAT
Atid/2 <http://patriot.net/~shmuel>
We don't care. We don't have to care, we're Congress.
(S877: The Shut up and Eat Your spam act of 2003)
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN