Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 93
Location: Delhi

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: 2002
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: 1544
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
This topic is locked: you cannot edit posts or make replies. GDG gen check using REXX raghuraman123 CLIST & REXX 6 Wed Apr 18, 2018 9:18 pm
No new posts Duplicate PARM on OUTFIL sancraig16 SYNCSORT 11 Thu Apr 05, 2018 10:25 pm
No new posts How to control Panel Attributes throu... rsshanmugam CLIST & REXX 3 Mon Feb 26, 2018 9:51 pm
No new posts java.io.FileNotFoundException - passi... Virendra Shambharkar Java & MQSeries 5 Mon Feb 26, 2018 11:41 am
No new posts Find a string in PS file opened in br... mukkas CLIST & REXX 3 Sat Feb 24, 2018 2:15 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us