On Sat, 2 Jan 2010 18:08:21 -0800, Charles Mills wrote:

>Thanks! That was one of the variations I tried. Fails on a JCL error:
>
Tough!:

  5.4.4.3 "z/OS V1R10.0 MVS JCL Reference"
    5.4.4.3 Coding Symbols in Apostrophes

   You can code symbols in apostrophes
   on the following keywords:
     * The DD statement AMP parameter
     * The DD statement PATH parameter
     * The DD statement SUBSYS parameter
     * The EXEC statement ACCT parameter
     * The EXEC statement PARM parameter.

(and no other. -- gil)

Your problem in this instance is that JCL makes the colossal
design blunder of interpreting metacharacters _after_
symbol substitution.  Rexx, for example, knows better.

I hate JCL!

Whenever I want to do anything serious, I keep my JCL as a
here-document in a POSIX shell script.  The designers of shell
gave some consideration to what programmers need to do.  The
designers of JCL apparently wanted only to collect their
paychecks and go home on Friday evening.

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

Reply via email to