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
 
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 How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
No new posts Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 5 Wed Oct 04, 2017 6:54 am
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am

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