IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Passing parm in REXX in JCL


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
scorp_rahul23

New User


Joined: 06 May 2008
Posts: 96
Location: Delhi

PostPosted: Sat Jun 02, 2012 2:39 pm
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: 2455
Location: Hampshire, UK

PostPosted: Sat Jun 02, 2012 3:29 pm
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

Global Moderator


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

PostPosted: Sat Jun 02, 2012 3:41 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Compile Several JCL JOB Through one r... CLIST & REXX 4
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Error to read log with rexx CLIST & REXX 11
No new posts isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
No new posts run rexx code with jcl CLIST & REXX 15
Search our Forums:

Back to Top