Michael Knigge wrote:
All,
I want to pass multiple parameters to a rexx running in batch, but one
of the parameters can contain spaces (--> multiple words).
I tried
EXEC PGM=IKJEFT01,PARM='MYREXX P1 "P2 IS HERE" P3'
and also
EXEC PGM=IKJEFT01,PARM='MYREXX P1 ''P2 IS HERE'' P3'
but all in vain. no chance?
Thank you all,
Michael
No chance. You only get to pass one string from
the EXEC statement PARM field. You're exec could
test if it's running in batch or TSO and parse
the argument differently in those two cases.
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
==> Check out the Trainer's Friend Store to purchase z/OS <==
==> application developer toolkits. Sample code in four <==
==> programming languages, JCL to Assemble or compile, <==
==> bind and test. <==
==> http://www.trainersfriend.com/TTFStore/index.html <==
----------------------------------------------------------------------
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