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 [email protected] with the message: INFO IBM-MAIN

Reply via email to