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.

There's a principle that utilities should be discreet, do nothing they
aren't required to, and return the caller's evironment with as little
change as possible.

OTOH, there's a contrary principle that common chores should be left
in subroutines, avoiding redundant code in callers.

Which should prevail?

-- gil

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

Reply via email to