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

How to pass values to symbolic parameter from an input DSN


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

PostPosted: Tue Jun 23, 2009 11:10 am
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
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

Global Moderator


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

PostPosted: Tue Jun 23, 2009 3:12 pm
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

Superior Member


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

PostPosted: Tue Jun 23, 2009 3:43 pm
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: 1287
Location: Chennai, India

PostPosted: Tue Jun 23, 2009 3:50 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts TRIM everything from input, output co... DFSORT/ICETOOL 1
No new posts INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts How to pass the PARM value to my targ... COBOL Programming 8
Search our Forums:

Back to Top