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

Pass dynamic variable to SYSIN card of JCL?


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
itjagadesh

New User


Joined: 05 Dec 2006
Posts: 89
Location: chennai

PostPosted: Mon Nov 17, 2008 7:08 pm
Reply with quote

1) My requirement is Every time i need to pass different value to my sysin card of JCL

Example --

Date Variable- some date passed to JCL

SYSIN CARD

-- select * from table where date = &Date variable


In above example ...
date variable is passed from previous step of JCL or from some file.

is ther any option to pass dynamic value(symbolic variable to SYSIN card of JCL) ? (Note - any one of method thru JCL)

Jagadesh
Back to top
View user's profile Send private message
superk

Global Moderator


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

PostPosted: Mon Nov 17, 2008 7:23 pm
Reply with quote

itjagadesh wrote:
Date Variable- some date passed to JCL ... In above example ... date variable is passed from previous step of JCL or from some file.


How exactly is this "Date Variable" value passed to the JCL?
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Mon Nov 17, 2008 7:27 pm
Reply with quote

This topic has been discussed many many times on the forum. Did you not notice the SEARCH button at the top of the page ?
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 -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts JCL sort card - get first day and las... JCL & VSAM 9
No new posts Using Dynamic file handler in the Fil... COBOL Programming 2
No new posts How to pass the PARM value to my targ... COBOL Programming 8
No new posts Dynamically pass table name to a sele... DB2 2
Search our Forums:

Back to Top