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

Assigning Dynamic variables in JCL


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ashikrim

New User


Joined: 18 Aug 2006
Posts: 12

PostPosted: Fri Jan 12, 2007 11:11 am
Reply with quote

My requirement is I have to use a job to run a query which has dynamic variables.

My proposed solution is I can give all the host variables required in a control card and can pass it to the JCL after splitting the values from the control card.

But in this case also i am wondering how can I assign the values retrieved from the control card to the host variables of the query.
In short, How can I assign values to a dynamically changing variable in JCL.
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Fri Jan 12, 2007 3:02 pm
Reply with quote

You can use sets and parms but how do you intend to execute the query?
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Any way to prevent dynamic allocation? DFSORT/ICETOOL 6
No new posts Substitution of JCL variables CLIST & REXX 10
No new posts Repeat n times by substuting SEQNUM i... DFSORT/ICETOOL 2
No new posts Preserve changes to ISPF Panel Variables TSO/ISPF 5
No new posts Using Dynamic file handler in the Fil... COBOL Programming 2
Search our Forums:


Back to Top