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 values to symbolic parameter from an input DSN

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

New User


Joined: 08 Jul 2008
Posts: 11
Location: chennai

PostPosted: Tue Jun 23, 2009 11:08 am    Post subject: How to pass values to symbolic parameter from an input DSN
Reply with quote

Hi all,

I have a requirement in which i have to read an input file and have to pass the value to one of the symbolic parameter. Could anyone help me ??
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 Jun 23, 2009 11:10 am    Post subject:
Reply with quote

No, because once the JCL has been resolved by the JES interpreter you can not change anything.

You could use the job that processes the file to submit another job though.
Back to top
View user's profile Send private message
sanjay kumar tripathi

New User


Joined: 08 Jul 2008
Posts: 11
Location: chennai

PostPosted: Tue Jun 23, 2009 12:06 pm    Post subject: Reply to: How to pass values to symbolic parameter from an i
Reply with quote

Actually the problem description is as follows:

we have a job running for different countries in which we are paasing the country value through a symbolic parameter. But now what we want is to take the country value from some other input DSN and then pass it to the symbolic parameter.

Is this possible?
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Tue Jun 23, 2009 3:12 pm    Post subject: Reply to: How to pass values to symbolic parameter from an i
Reply with quote

Yes, again as expat already stated, you'll need to read that symbolic parameter from the dataset and then build and submit a new job in order to use it.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Tue Jun 23, 2009 3:43 pm    Post subject:
Reply with quote

Did you understand what Expat has suggested. If not, re-read his suggestion then read what Kevin has told and if still not sure RTFM and tell us what did you try at your end so far?
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1288
Location: Chennai, India

PostPosted: Tue Jun 23, 2009 3:50 pm    Post subject: Reply to: How to pass values to symbolic parameter from an i
Reply with quote

Hi,

Quote:
you'll need to read that symbolic parameter from the dataset and then build and submit a new job in order to use it.


Will go for REXX to build and submit a job.
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 Sorting of hex values Saurabh_mi DFSORT/ICETOOL 11 Thu May 25, 2017 3:49 pm
No new posts Replace values in the input data Vikas Maharnawar DFSORT/ICETOOL 10 Thu May 11, 2017 2:18 pm
No new posts LISTCAT on a dataset with symbolic pa... shreya19 JCL & VSAM 5 Fri Apr 07, 2017 5:43 pm
No new posts Compare two files and subtract values ameetmund DFSORT/ICETOOL 7 Fri Mar 31, 2017 3:35 pm
No new posts Check Binary Values for symbols gandikk CA Products 3 Tue Mar 21, 2017 5:11 am


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