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
 

 

Pass data from REXX to JCL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
View previous topic :: :: View next topic  
Author Message
nihirdas

New User


Joined: 19 Jan 2010
Posts: 3
Location: bangalore

PostPosted: Tue Jan 19, 2010 12:03 pm    Post subject: Pass data from REXX to JCL
Reply with quote

I have gone throogh many of the Post wich is similar to this but i didn't able to make from that. I am beginner to REXX please explain in detail.

My Requirement:-
Im my REXX pgm i have a variable (FIRST_NAME). I want it to pass to the following library ABC.ABC(JCLJOB).

In JCLJOB i want to use the value of FIRST_NAME which i have defined in my REXX program.

Please let me know how to go about it

thanks
Back to top
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Tue Jan 19, 2010 12:48 pm    Post subject:
Reply with quote

Your question is not clear. You have a value in a variable. What exactly do you want to do with it.

Please give an example of what you want to see.
Back to top
View user's profile Send private message
nihirdas

New User


Joined: 19 Jan 2010
Posts: 3
Location: bangalore

PostPosted: Tue Jan 19, 2010 2:05 pm    Post subject: Reply to: Pass data from REXX to JCL
Reply with quote

For EG: - FIRST_NAME is the variable which store the TSO USER ID of the User. I am using FIRST_NAME in my REXX program several places. Now i also want to pass the same user ID which is stored in FIRST_NAME in my JCL. In my JCL i want to replace it in one of the nodes of dataset.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Tue Jan 19, 2010 3:18 pm    Post subject:
Reply with quote

I assume that you will submit the job from the REXX

Have you read about ISPF file tailoring, which is usually the easiest way of making variable substitutions when building JCL.

Or you can build the JCL "in flight" using the variable name.
Back to top
View user's profile Send private message
nihirdas

New User


Joined: 19 Jan 2010
Posts: 3
Location: bangalore

PostPosted: Wed Feb 03, 2010 4:39 pm    Post subject: Reply to: Pass data from REXX to JCL
Reply with quote

I resolved this Query. Thanks for your kind help
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Wed Feb 03, 2010 8:52 pm    Post subject:
Reply with quote

Hello,

Good to hear it is resolved icon_smile.gif

If you explain how you solved this, it will probably help someone with a similar queston later. . .
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 -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Iterative use of a REXX script causin... Robert Sample CLIST & REXX 1 Fri Jul 28, 2017 12:52 pm
No new posts Paasing symbolic parameter to instrea... Robert Sample JCL & VSAM 2 Thu Jul 27, 2017 1:22 pm
No new posts Passing data from REXX to C programme... chong.zhou CLIST & REXX 3 Wed Jul 26, 2017 9:11 pm
No new posts copying data without knowing location arunsoods DFSORT/ICETOOL 11 Thu Jul 20, 2017 1:03 pm
This topic is locked: you cannot edit posts or make replies. Fetching data from BAI File arunsoods JCL & VSAM 1 Wed Jul 19, 2017 4:28 pm


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