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'''
That may be hard to see, so here is what that is:
1. One set of single quotes around the whole parameter value
2. 2 sets of single quotes (not double quotes) around the dsname so that
XMITIP will see 1 set of single quotes.
for a total of 3 single quotes on each side of the dsname.

Or, if you allocate 'SYS2.LOCAL.CLIST' to your SYSPROC ddname, you should
be able to do this:
%XMITIP 'TM#.M.XMITIP.PARMCARD'
and use only a single set of quotes.

When you are calling certain tools, the quote doubling may depend on how
many levels of CLIST or REXX are nested.  I once had a tool where I had to
put 6 single quotes on each side of a fully qualified dsname to be able to
pass a fully qualified dsname with a single set of single quotes all the
way to the inside.  It depends on how the clists or rexx expect to see the
quotes.

Regards,
--Roger


On Tue, Jul 31, 2012 at 9:55 AM, Elardus Engelbrecht <
elardus.engelbre...@sita.co.za> wrote:

> George Rodriguez wrote:
>
> >Boy do I need help!
>
> There are (hot!) girls lurking too on IBM-MAIN... ;-D
>
> >In my Rexx exec I extract the userid ...
>
> from where? Just curious.
>
> >I then start building the file that has all the XMITIP parameter cards,
>
> >Now this is where I need your help... If what follows is what I'm doing
> in the Rexx exec what are the needed parameters?
>
> >"EX 'SYS2.LOCAL.CLIST(XMITIP)' how and what do I say here...
>
> Based on what you wrote, I think (?) you want to execute your REXX program
> with the dataset as a [single] parameter.
>
> If so, try this: EX 'DSN.HOLDING.THE.EXEC(<REXX EXEC>)' 'Parm1 parm2 parm3
> etc'
>
> Using your posted example, try this (using only one parameter):
>
> EX 'SYS2.LOCAL.CLIST(XMITIP)' 'TM#T.M.XMITIP.PARMCARD.userid'
>
> In Batch you can do this:
>
> //PLAY   EXEC PGM=IKJEFT01
> //SYSPRINT DD  SYSOUT=*
> //SYSTERM  DD  SYSOUT=*
> //SYSTSPRT DD  SYSOUT=*
> //SYSTSIN  DD  *
>  EX 'SYS2.LOCAL.CLIST(XMITIP)' 'TM#T.M.XMITIP.PARMCARD.userid1'
>  EX 'SYS2.LOCAL.CLIST(XMITIP)' 'TM#T.M.XMITIP.PARMCARD.userid2'
>  ...etc...
>
>
> HTH!
>
> Groete / Greetings
> Elardus Engelbrecht
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>

----------------------------------------------------------------------
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