Hi Gil, What if the exec is being run from a batch program, what do I need to change? Rexx Exec ID2EMAIL calls via an EX the XMITIP Rexx Exec.
//STEP0030 EXEC PGM=IKJEFT1B,DYNAMNBR=50 //SYSEXEC DD DISP=SHR,DSN=SYS2.LOCAL.CLIST // DD DISP=SHR,DSN=SYS2.LOCAL.REXX //STEPLIB DD DISP=SHR,DSN=SYS2.LOCAL.LINKLIB //SYSPRINT DD SYSOUT=* //SYSTSPRT DD SYSOUT=* //REPORT DD DSN=&&TEMP1, // DISP=(OLD,DELETE,DELETE), // RECFM=VBA, // LRECL=137, // UNIT=SYSDA //SYSTSIN DD * ID2EMAIL GRODRIG //* * * *George Rodriguez* *Specialist II - IT Solutions* *Application Support / Quality Assurance* *PX - 47652* *(561) 357-7652 (office)* *(561) 707-3496 (mobile)* *School District of Palm Beach County* *3348 Forest Hill Blvd.* *Room B-251* *West Palm Beach, FL. 33406-5869* *Florida's Only A-Rated Urban District For Seven Consecutive Years* On Wed, Aug 1, 2012 at 11:57 AM, Paul Gilmartin <paulgboul...@aim.com>wrote: > On Aug 1, 2012, at 06:42, Roger Bolan wrote: > > > The XMITIP doc says that it will handle dsnames the same as TSO, that is, > > partially qualified names get your prefix added, and fully qualified > > dsnames must be inside single quotes. > > > > I think you are just running into the way TSO parses the quotes. You > may > > need to make sure the quotes get passed into XMITIP by doubling them. > For > > example: > > EX 'SYS2.LOCAL.CLIST(XMITIP)' '''TM#T.M.XMITIP.PARMCARD.userid1''' > > > You might benefit by putting SYS2.LOCAL.CLIST in your SYSPROC > concatenation (or using ALTLIB) (SYSEXEC if XMITIP is Rexx). > Then write your script in Rexx instead of CLIST. Rexx allows > both double and single quotes, so the command becomes: > > 'XMITIP' "'TM#T.M.XMITIP.PARMCARD.userid1'" > > ... perhaps more legible. > > -- gil > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN > Home of Florida's first LEED Gold Certified School Under Florida law, e-mail addresses are public records. If you do not want your e-mail address released in response to a public records request, do not send electronic mail to this entity. Instead, contact this office by phone or in writing. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN