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
 
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: 8666
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 Duplicate PARM on OUTFIL sancraig16 SYNCSORT 11 Thu Apr 05, 2018 10:25 pm
No new posts Creation of Datasets dynamically on t... Raghu M N DFSORT/ICETOOL 8 Fri Mar 16, 2018 12:56 am
No new posts IPCONFIG SEGMENTATIONOFFLOAD parm in ... Keith Hays TSO/ISPF 0 Wed Jan 03, 2018 11:42 pm
No new posts ICETOOL - RESIZE DYNAMICALLY kranthikumarb DFSORT/ICETOOL 0 Tue Nov 21, 2017 5:30 pm
This topic is locked: you cannot edit posts or make replies. Need help how to pass the ESP variabl... Venkichaitu JCL & VSAM 12 Thu Nov 02, 2017 3:53 am

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