Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Passing parm in REXX in JCL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
scorp_rahul23

New User


Joined: 06 May 2008
Posts: 90
Location: Chennai

PostPosted: Sat Jun 02, 2012 2:39 pm    Post subject: Passing parm in REXX in JCL
Reply with quote

I am calling a rexx program in a JCL using parm. But I also want to pass a
variable along with program name. Is there a way to do this.

E.g
I want to pass 20 as another value along with parm.

Code:


//STEP2A   EXEC PGM=IKJEFT01,PARM='GENPAY1'               
//SYSEXEC  DD  DSN=REXX.UTIL.FINAL.BKP1,     
//             DISP=SHR                                   
//SYSTSPRT DD  SYSOUT=*                                   
//SYSTSIN  DD  DUMMY                                       
//*                                                       

Back to top
View user's profile Send private message

Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 1825
Location: UK

PostPosted: Sat Jun 02, 2012 3:29 pm    Post subject:
Reply with quote

Have you read about passing multiple parameters? a simple way would be to pass 'GENPAY1,20' the parse that on the , in your program.
Back to top
View user's profile Send private message
Pandora-Box

Moderator


Joined: 07 Sep 2006
Posts: 1537
Location: Andromeda Galaxy

PostPosted: Sat Jun 02, 2012 3:41 pm    Post subject:
Reply with quote

Also do some search on
Code:

ARG
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts REXX to get the all datasets name parasmalik20 CLIST & REXX 5 Tue Jul 18, 2017 9:10 pm
No new posts How system know which REXX to excute? jackzhang75 CLIST & REXX 14 Thu Jul 06, 2017 1:09 am
No new posts REXX - Dynamic file Creation d_sarlie CLIST & REXX 7 Tue Jun 27, 2017 7:30 pm
No new posts REXX WTO for console message bipinpeter CLIST & REXX 6 Tue Jun 27, 2017 3:56 pm
No new posts Convert CLIST to REXX cvnlynn CLIST & REXX 12 Tue Jun 27, 2017 2:06 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us