Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Pass dynamic variable to SYSIN card of JCL?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
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    Post subject: Pass dynamic variable to SYSIN card of JCL?
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

Moderator Team Head


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

PostPosted: Mon Nov 17, 2008 7:23 pm    Post subject: Re: Pass dynamic variable to SYSIN card of JCL?
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: 8593
Location: Back in jolly old England

PostPosted: Mon Nov 17, 2008 7:27 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Writing on to GSAM variable length rohanthengal JCL & VSAM 6 Fri Mar 03, 2017 7:46 pm
No new posts Count Trailing Spaces in variable str... Virendra Shambharkar SYNCSORT 10 Thu Feb 02, 2017 12:23 pm
No new posts Sort Card to Remove Duplicate records... raj4neo SYNCSORT 2 Wed Jan 25, 2017 4:44 am
No new posts Dynamic array request/response contai... Suja.Sai CICS 2 Tue Jan 24, 2017 11:37 am
No new posts JES2 JEC: Use UNIX Pipes to Pass Data... Virendra Shambharkar JCL & VSAM 21 Tue Dec 20, 2016 6:55 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us