>I'm with John here. Do code the DISP parameter. I especially recommend
this to newcomers. 

>The temporary work file cases you mention are surely candidates 
>for exception but aren't they often (mostly?) coded within 
>PROCs? And obsolete in many cases anyway. 

What difference would it make if they occur in a PROC?  They are hardly
exceptions since they occur regularly (consider SMP/E and utilities).

Why would you encourage newcomers to code a useless parameter under
those circumstances?  The default of NEW,DELETE,DELETE precludes it ever
being referenced again, even in a subsequent step.  Why would you code a
disposition, or even a data set name for such a file?  It quite clearly
is a work file.  Whether you consider them obsolete or not doesn't
really matter, since a DISP parameter is required if you actually intend
to keep the data set anyway (even temporarily), so leaving it off isn't
really an option except in the case outlined.

Regards

Adam  

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to