On Tue, 22 Dec 2015 21:59:19 -0600, Paul Gilmartin wrote:

>Aargh!  It's documented!:
>
>Location in the JCL
>z/OS MVS JCL Reference
>SA23-1385-00
>    ...
>    It cannot appear immediately after the first DD statement within a 
> concatenation.
>
>YTF!?  Does anyone believe it was specified that way, or instead that a coder
>wrote the code and when someone stumbled on the behavior it was documented
>as a restriction?  I wonder if it was documented that way in the earliest JCL
>reference in which SET was described?

No, it wasn't. I looked in a JCL reference for MVS/ESA V5 and found simply:

<quote>
25.6 Location in the JCL 
 
  A SET statement can appear anywhere in the job after the JOB statement.
 
  Place a SET statement in the job's JCL before the intended use of the
  symbolic parameter.
</quote>

-- 
Tom Marchant

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

Reply via email to