Paul Gilmartin wrote:
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
Ah, that's it. The places where I tend to use symbolics
and lower case are in PATH parameters.
--
Kind regards,
-Steve Comstock
The Trainer's Friend, Inc.
303-393-8716
http://www.trainersfriend.com
z/OS Application development made easier
* Our classes include
+ How things work
+ Programming examples with realistic applications
+ Starter / skeleton code
+ Complete working programs
+ Useful utilities and subroutines
+ Tips and techniques
==> Ask about being added to our opt-in list: <==
==> * Early announcement of new courses <==
==> * Early announcement of new techincal papers <==
==> * Early announcement of new promotions <==
----------------------------------------------------------------------
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