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

How to pass variables from Rexx to JCL


IBM Mainframe Forums -> JCL & VSAM
Post new topic   This topic is locked: you cannot edit posts or make replies.
View previous topic :: View next topic  
Author Message
Sonal Chittarka

New User


Joined: 26 Mar 2013
Posts: 1
Location: Banglore

PostPosted: Tue Mar 26, 2013 3:29 pm
Reply with quote

Hi.. I have to pass values from Rexx varaibles to JCL. Could you please help me in this. I have below piece of Rexx and JCL. Have a look:

1) Rexx:

/*REXX*/
SAY "ENTER YOUR NAME"
PULL NAME

REF_JCL:
ADDRESS TSO
SUBMIT "DATABASE(JCLNAME)"

2) JCL:

//JOBA JOB ,CLASS=B,MSGCLASS=A
//STEP01 EXEC PGM=IKJEFT01,DYNAMNBR=30
//SYSPRINT DD SYSOUT=*
//SYSEXEC DD DISP=SHR,DSN=MYREXX PDS
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD *
&PARM1
/*
//

Queries:

Let me know if I am using correct way to pass variable value from rexx to jcl.
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Tue Mar 26, 2013 3:36 pm
Reply with quote

You've already asked this on the Beginner's forum, and received a reply. If you are still stuck, continue the process there, please.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   This topic is locked: you cannot edit posts or make replies. View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
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
No new posts Execute secondary panel of sdsf with ... CLIST & REXX 1
Search our Forums:

Back to Top