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 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: 4650
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 Working with hex values in Filemanage... Emile Straker IBM Tools 0 Tue Sep 12, 2017 1:42 am
No new posts DB2 NULL Values display V S Amarendra Reddy DB2 3 Thu Sep 07, 2017 6:59 pm
No new posts Moving values to a variable of copybo... Vignesh Sid COBOL Programming 6 Wed Sep 06, 2017 1:04 pm
No new posts Regarding time parameter shanthi gude JCL & VSAM 7 Mon Sep 04, 2017 2:31 pm
No new posts SORT Trailer Count - LRECL Output co... amorante DFSORT/ICETOOL 5 Tue Aug 29, 2017 8:57 pm

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