If you use commas thus: EXEC PGM=IKJEFT01,PARM='PARMTST P1,P2 IS HERE,P3'
and in the exec, use parse arg T1 ',' T2 ',' T3 . That should do it. Brian -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Michael Knigge Sent: 25 March 2009 15:56 To: [email protected] Subject: Pass Parameter containing spaces to Rexx in BATCH 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? ---------------------------------------------------------------------- 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

