On Thu, 5 Jun 2008 10:05:22 -0400, Hillock, Timothy wrote:
>Ok,I think that I know what the errors are.
>
> You spelt SYMBOL2 as SYSBOL2 in the parm statement.
>
Good catch. The IBM support person also missed it. But no
matter; even absent the typo, JCL fails to perform the substitution.
However, this provides elegant accidental support for my assertion
that use of an undefined symbol should be reported as a JCL error.
>You can only use up to 71 characters on a line for JCL. To Continue the
>parm use a x in col 72 such as my sample below.
>
I had not used more than 71 characters (plus a continuation mark) in
any line in my example. You may have been misled by embellishments
by other contributors in following plies, or by indention introduced
in the JESJCL listing.
>----+----1----+----2----+----3----+----4----+----5----+----6----+----7--
>//*---------------------------------------------------------------------
>//STEP1 EXEC PGM=IEFBR14,
>// PARM=('&SYMBOL1.&SYMBOL1.&SYMBOL1.&SYMBOL1.&SYMBOL1.X&SYMBOL2.YX
>// &SYMBOL3.Z')
>//SYSUDUMP DD SYSOUT=D
>//*---------------------------------------------------------------------
>
And that's a PITA to do when generating JCL from a program.
-- gil
----------------------------------------------------------------------
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