George 

Try to run your exec to build the file first and then execute the XMITIP in the 
batch job as separate execs: 
(Somewhat like the following - not actually tested).

//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  <=== Use to build config file referenced in the line below.
XMITIP  your.email@youraddress config config.file.name
//*

This leverages the example from the XMITIP manual I show below.

//TSOB EXEC PGM=IKJEFT1B
//SYSEXEC DD DISP=SHR,DSN=rexx.exec
//SYSPRINT DD SYSOUT=*
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD *
xmitip your.email@address -
config test.config.file -
/*


I
Jerry Whitteridge
Lead Systems Programmer
Safeway Inc.
925 951 4184

If you feel in control
you just aren't going fast enough.


-----Original Message-----
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of George Rodriguez
Sent: Wednesday, August 01, 2012 10:49 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Rexx Exec Help Desperately Sought!

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


"Email Firewall" made the following annotations.
------------------------------------------------------------------------------

Warning: 
All e-mail sent to this address will be received by the corporate e-mail 
system, and is subject to archival and review by someone other than the 
recipient.  This e-mail may contain proprietary information and is intended 
only for the use of the intended recipient(s).  If the reader of this message 
is not the intended recipient(s), you are notified that you have received this 
message in error and that any review, dissemination, distribution or copying of 
this message is strictly prohibited.  If you have received this message in 
error, please notify the sender immediately.   
 
==============================================================================

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to