> -----Original Message-----
> From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
> Behalf Of Paul Gilmartin
> Sent: Friday, November 20, 2015 9:15 AM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Should utilities FREE DDNAMEs?
> 
> 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?

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to