Whether it is a good idea or not to free the ddname, each API that intends 
to be called with user-allocated DD's (rather than with system-allocated 
DD's) should document its behavior in this regard.

I differentiate the two cases because if the only expected environment is 
"EXEC PGM=" (and yes some utilities do expect such an environment, even if 
you might like to "call" from your program) I don't think that the 
behavior is of interest.

Peter Relson
z/OS Core Technology Design


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

Reply via email to