I was just using the supplied JCL in the post I was responding to. So PARM1 has no play in my example of the use of SET statement
However, You could do the same thing with BPXBATCH JCL // SET P1=' echo sftp -b /u/bpxbatch/mccheckftp' // SET P2=' fis-depot-test.ucdavis.edu |su -s bpxbtch' //* //PS082 EXEC PGM=BPXBATCH,PARM='&P1&P2' //* //SYSPRINT DD SYSOUT=* //STDOUT DD SYSOUT=* //STDERR DD SYSOUT=* Lizette > -----Original Message----- > From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On > Behalf Of John Norgauer > Sent: Tuesday, August 05, 2008 5:28 PM > To: IBM-MAIN@BAMA.UA.EDU > Subject: Re: PARM problem - HELP > > Lizette - > > // SET P1='abc/def/ghi -sh' > // SET P2='continue away' > //STEP1 EXEC PGM=IEFBR14,PARM=(PARM1,'&P1&P1') > > not understanding your statement : PARM=(PARM1,'&P1&P2') > Where does PARM1 get defined? > ---------------------------------------------------------------------- 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