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 JES2 JEC: Use UNIX Pipes to Pass Data... Virendra Shambharkar JCL & VSAM 21 Tue Dec 20, 2016 6:55 pm
No new posts DDNAME parameter mistah kurtz JCL & VSAM 6 Mon Dec 19, 2016 4:41 pm
No new posts Execessive parameter issue Sumeendar JCL & VSAM 5 Mon Dec 19, 2016 4:35 pm
No new posts SQL query to run through list of valu... Ni3-db2 DB2 14 Wed Dec 14, 2016 9:52 am
No new posts Performing arithmetic on input field zh_lad DFSORT/ICETOOL 31 Tue Dec 06, 2016 8:04 pm


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