On 20 November 2015 at 13:58, retired mainframer <[email protected]>
wrote:

> > In a program, I am passed a DDNAME allocated by another program.
> >
> > I'd like to use it twice, once as IEBGENER SYSUT1 and once as
> > TSO RECEIVE INDD.  Either works by itself.  But each utility seems to
> > FREE its DDNAME before returning (is this documented, or perhaps
> > common knowledge?), so I can't use it for the other.
>
> Given IEBGENER's age, this would be surprising.  Have you verified this is
> indeed the case?  It should be simple enough to verify the DDNAME is
> allocated before you call IEBGENER and not after it returns with no other
> processing to muddy up the waters.  Might it also depend on how you invoke
> IEBGENER?


You're sure your caller didn't allocate with FREE=CLOSE ?

Tony H.

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

Reply via email to