On Thu, 17 Jul 2008 02:21:29 -0500, William H. Blair 
<[EMAIL PROTECTED]> wrote:


>Note that page 12-14 of the "z/OS V1R9.0 MVS JCL Reference" SRL
>_still_ states:
>
> "To override more than one DD statement in a procedure, place the
> overriding DD statements in the same order as the overridden DD
> statements in the procedure."
>
However, on page 5-4 of that same manual it says:

"Place modifying OUTPUT JCL and DD statements in the following order, after 
the EXEC statement that calls the procedure: 
  For each procedure step in the invoked procedure: 
   1. Overriding statements can appear in any order when they explicitly
       specify the step that is being overridden. Added statements can appear
      in any order when they specify the step explicitly.
   2. Overriding and added statements that do not explicitly specify the step
       are applied to the step named in the previous overriding or added
      OUTPUT JCL or DD statement. If no previous override statement named a
      step, then they are applied to the first step in the procedure.
  For all procedure steps in the invoked procedure, place the modifying
  statements for each procedure step in the same order in which the 
  procedure steps are specified."

The 1.7 version of the manual reads the same. I have not looked to see how 
far back this section of the manual has read this way.

It appears to me that the change brought about in z/OS 1.8 in response to 
APAR OA05951 (which was accepted in 2004 for inclusion in a future release) 
brings the behavior of the JCL interpreter in compliance with page 5-4. IMO 
page 5-4 describes the syntax for overrides in the JCL and page 12-14 
describes the best practive for coding overrides. 

Note that APAR OA05951 gave as a "local fix" coding the JCL as described on 
page 12-14.

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