Look at Note 1 of the HELP.

1.   If you are executing a CMS EXEC or EXEC 2 file, the arguments you enter  
     on the RUN command line are assigned to the variable symbols &1, &2,     
     and so on. If you are executing a REXX program, the arguments you enter  
     on the RUN command line are available through the arg instruction.       
                                                                              
     The RUN command passes only the file name (fn) of an exec to the EXEC    
     processor. Therefore, you cannot use "fm" to select a particular exec.   
                                                                              

The last sentence is a killer.

Regards, 
Richard Schuh 

 

> -----Original Message-----
> From: The IBM z/VM Operating System 
> [mailto:[email protected]] On Behalf Of Frank M. Ramaekers
> Sent: Friday, July 17, 2009 11:55 AM
> To: [email protected]
> Subject: Re: Invoking a pre-processor EXEC
> 
> Found the RUN command...works like a charm.
> 
> Frank M. Ramaekers Jr.
> Systems Programmer                   MCP, MCP+I, MCSE & RHCE
> American Income Life Insurance Co.   Phone: (254)761-6649
> 1200 Wooded Acres Dr.                Fax:   (254)741-5777
> Waco, Texas  76710
>       
> 
>  
> 
> 
> -----Original Message-----
> From: The IBM z/VM Operating System 
> [mailto:[email protected]] On Behalf Of Schuh, Richard
> Sent: Friday, July 17, 2009 1:48 PM
> To: [email protected]
> Subject: Re: Invoking a pre-processor EXEC
> 
> 'EXECLOAD EXECA EXEC Z EXECX EXEC (PUSH USER' 
> 'EXEC EXECX'
> 'EXECDROP EXECX'
> 
> Regards,
> Richard Schuh 
> 
>  
> 
> > -----Original Message-----
> > From: The IBM z/VM Operating System
> > [mailto:[email protected]] On Behalf Of Frank M. Ramaekers
> > Sent: Friday, July 17, 2009 11:36 AM
> > To: [email protected]
> > Subject: Invoking a pre-processor EXEC
> > 
> > I'd like to write a pre-processor EXEC of an existing EXEC with the 
> > same name.  How do you make sure that the pre-processor 
> EXEC doesn't 
> > invoke
> > itself and invokes the original EXEC.   (It finds the pre-processor
> > first because of disk access order.)
> > 
> > Frank M. Ramaekers Jr.
> > Systems Programmer                   MCP, MCP+I, MCSE & RHCE
> > American Income Life Insurance Co.   Phone: (254)761-6649
> > 1200 Wooded Acres Dr.                Fax:   (254)741-5777
> > Waco, Texas  76710
> > 
> > _____________________________________________________ This message 
> > contains information which is privileged and confidential and is 
> > solely for the use of the intended recipient. If you are not the 
> > intended recipient, be aware that any review, disclosure, copying, 
> > distribution, or use of the contents of this message is strictly 
> > prohibited. If you have received this in error, please destroy it 
> > immediately and notify us at [email protected].
> > 
> 
> _____________________________________________________ This 
> message contains information which is privileged and 
> confidential and is solely for the use of the intended 
> recipient. If you are not the intended recipient, be aware 
> that any review, disclosure, copying, distribution, or use of 
> the contents of this message is strictly prohibited. If you 
> have received this in error, please destroy it immediately 
> and notify us at [email protected].
> 

Reply via email to