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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Using Dynamic file handler in the Fil... COBOL Programming 2
No new posts JCL Dynamic System Symbols JCL & VSAM 3
No new posts Synctool-dynamic split job for varyin... JCL & VSAM 7
No new posts JCL with variables JCL & VSAM 1
No new posts JCL Variables JCL & VSAM 1
Search our Forums:

Back to Top