|
|
| Author |
Message |
subhasis_50
Moderator
Joined: 09 Mar 2005 Posts: 368 Location: Earth
|
|
|
|
Hi,
I am calling a proc through JCL. In that proc there is a sort step which contains 10 datasets as input. My requirement is to override the last two datasets. That is no 9 & 10. How i can i code the override in JCL?? |
|
| Back to top |
|
 |
References
|
Posted: Thu May 26, 2005 9:53 am Post subject: Re: OVERRIDING DATASET IN PROC |
 |
|
|
 |
avalanches
New User
Joined: 10 May 2005 Posts: 28
|
|
|
|
Hi,
To override only the last 2 files, you have got to code the original 8 datasets in your override then you have to give the 2 files you wanna override.
Correct me if im wrong. |
|
| Back to top |
|
 |
Deepa.m Warnings : 1 Active User
Joined: 28 Apr 2005 Posts: 88
|
|
|
|
yes what avalaches says is right. We have to give all the 10 datasets again in the JCL as
procstepname.ddname dd dsn=...........(input dataset) |
|
| Back to top |
|
 |
SteveConway
New User
Joined: 26 May 2005 Posts: 30 Location: Northern VA, USA
|
|
|
|
You don't need to re-enter the first 8 DSNs, just put in a placeholder DD for them.
Remember that anything not overridden will be taken from the proc, which allows us to only change what we need to, like this:
| Code: |
//INPUTDSN DD
// DD
// DD
// DD
// DD
// DD
// DD
// DD
// DD DSN=OVERRIDE.ONE
// DD DSN=OVERRIDE.TWO |
Cheers,,,Steve |
|
| Back to top |
|
 |
|
|