But the exit points 'count' as program DCBs ... as they execute first and override what is in the JCL. I don't check "Using Data Sets"; but that is how things were in the days of MVS OS/VS SP1 (1985): if things have 'changed' since then, so be it.

Tom Marchant wrote:

On Tue, 26 Jul 2011 22:47:16 +0100, CM Poncelet wrote:

When opening for output, the DCB used is (a) the one
specified in the program; (b) the one in the JCL; (c) the one on DASD -
in that order of priority.

Correct, but incomplete. There are exits points that can alter the DCB attributes too.

When opening for input, the priority order is
reversed (DASD, JCL, program).

I don't think so, and Using Data Sets seems to say otherwise. Can you cite a reference?


----------------------------------------------------------------------
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