OOPS, you need to escape the parens. //RUNSHELL EXEC PGM=BPXBATCH, // PARM='SH export SYSPRM=USER1.PDS.PARMLIB\(CMDPRM00\); /u/myprog' //STDOUT DD PATH='/u/resul', // PATHOPTS=(OCREAT,OTRUNC,OWRONLY) //*SYSRPM DD DSN=USER1.PDS.PARMLIB(CMDPRM00),DISP=SHR //* //SYSOUT DD SYSOUT=* //SYSPRINT DD SYSOUT=*
the \ will not show up in the environment variable. My bad. -- John McKown Senior Systems Programmer HealthMarkets Keeping the Promise of Affordable Coverage Administrative Services Group Information Technology The information contained in this e-mail message may be privileged and/or confidential. It is for intended addressee(s) only. If you are not the intended recipient, you are hereby notified that any disclosure, reproduction, distribution or other use of this communication is strictly prohibited and could, in certain circumstances, be a criminal offense. If you have received this e-mail in error, please notify the sender by reply and delete this message without copying or disclosing it. > -----Original Message----- > From: IBM Mainframe Discussion List > [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] > Sent: Monday, September 03, 2007 10:46 AM > To: [email protected] > Subject: Re: BPXBATCH utility, how to access to PDS member ? > > > Thank's for your reply, but unfortunately for me it's not working. > I have the following message about SH in my resul file: > > FSUM7332 syntax error: got (, expecting New line > > ---------------------------------------------------------------------- > 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 > ---------------------------------------------------------------------- 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

