MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

JCL Parameters

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
shance7
Beginner


Joined: 06 Dec 2006
Posts: 1
Topics: 1

PostPosted: Wed Dec 06, 2006 8:55 pm    Post subject: JCL Parameters Reply with quote

Hi Everyone

I have a JCL in the first Step I generate a file this file have a dynamical name. I need to put the name of this file in a parameter on the next Step of my JCL. How can i obtain this name or set this parameter since my Cobol Code.


Thanks & Regards
Back to top
View user's profile Send private message
semigeezer
Supermod


Joined: 03 Jan 2003
Posts: 1014
Topics: 13
Location: Atlantis

PostPosted: Wed Dec 06, 2006 10:38 pm    Post subject: Reply with quote

The easiest way would be to write the generated data set name to a temporary data set in step1 and read that dataset containing the name (see referbacks) in step2. JCL is interpreted before any steps run so you can't refer to the generated data set directly.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group