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

How to pass parm value dynamically


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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: 8797
Location: Welsh Wales

PostPosted: Fri Jul 17, 2009 11:08 am
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts JCL EXEC PARM data in C Java & MQSeries 2
No new posts Need to specify PARM='POSIX(ON) Java & MQSeries 4
No new posts How to pass the PARM value to my targ... COBOL Programming 8
No new posts Dynamically pass table name to a sele... DB2 2
No new posts FD Section to Create FB or Vb File Dy... COBOL Programming 1
Search our Forums:

Back to Top