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
 

 

How to pass parm value dynamically

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
ranjithmainframe

New User


Joined: 21 Jan 2008
Posts: 39
Location: chennai

PostPosted: Fri Jul 17, 2009 10:48 am    Post subject: How to pass parm value dynamically
Reply with quote

Hi,

Could you please help on this?.

I need to replace a symbolic with values in one step based on the value from the previous step.

In detail:

In a JCL, I am executing a huron module (objectstar rule) which displays a value in the hrnout (similar to sysout in cobol).
I need to extract that value from the hrnout and replace the parm parameter with this value that passing into another huron rule in the next step.

I can extract the value in the first step but I am struggling to replace the symbolic in the next step with this extracted value.

Any inputs would be more helpful.

Thanks in Advance!
Ranjith
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: Fri Jul 17, 2009 11:08 am    Post subject:
Reply with quote

You can not do this dynamically because once the JCL has been interpreted by JES it is unchangeable. The interpretation takes place a t job entry time, before it runs.

If you can extract the value, write it to a dataset and then use that dataset as input to the following step(s)
Back to top
View user's profile Send private message
ranjithmainframe

New User


Joined: 21 Jan 2008
Posts: 39
Location: chennai

PostPosted: Fri Jul 17, 2009 11:18 am    Post subject: Reply to: How to pass parm value dynamically
Reply with quote

Thanks for your input Expat!

Since the step expect only the value instead of dataset, I have to read the extract the value and go for round about replacing the symbolic and submit the step in separete jcl.

Thanks Again.
Ranjith
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
No new posts JES2 JEC: Use UNIX Pipes to Pass Data... Virendra Shambharkar JCL & VSAM 21 Tue Dec 20, 2016 6:55 pm
This topic is locked: you cannot edit posts or make replies. How to pass the previous month date i... Suganya87 DFSORT/ICETOOL 5 Mon Oct 31, 2016 4:13 pm
No new posts Using 'parm' to vary SORTOUT record v... Sysaron DFSORT/ICETOOL 13 Wed Sep 07, 2016 9:24 pm
No new posts how to DYNAMICALLY write sort cond to... mohamedmubee COBOL Programming 13 Fri Aug 26, 2016 11:46 pm
No new posts PL/I: opening file w/ dynamically det... Sam Dodgers PL/I & Assembler 6 Wed Jul 27, 2016 4:05 pm


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