On Tue, 17 Sep 2013 07:56:09 -0400, Shmuel Metz (Seymour J.) wrote:

> on 09/16/2013 at 04:34 PM, Paul Gilmartin 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?
> 
You didn't read my code example.  Or perhaps you simply don't
understand the meaning of the word "before".

>>Why does DYNALLOC do that?
>
>Because you told it to.
>
No.

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to