View previous topic :: View next topic |
Author |
Message |
shance7 Beginner
Joined: 06 Dec 2006 Posts: 1 Topics: 1
|
Posted: Wed Dec 06, 2006 8:55 pm Post subject: JCL Parameters |
|
|
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 |
|
|
semigeezer Supermod
Joined: 03 Jan 2003 Posts: 1014 Topics: 13 Location: Atlantis
|
Posted: Wed Dec 06, 2006 10:38 pm Post subject: |
|
|
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 |
|
|
|
|