View previous topic :: View next topic
|
Author |
Message |
hailashwin
New User
Joined: 16 Oct 2008 Posts: 74 Location: Boston
|
|
|
|
Hi,
Consider an ideal situation where I have a step in a proc using 255 datasets(PS) in concatenation. If I have to ignore only the 3rd dataset in concatenation while still picking the rest of the 254 datasets for processing from my JCL, how would I do it?
One round about way, but relatively easier way I see is to create an empty dataset and override it as below.
Code: |
//STEP010.XXX DD
// DD
// DD DSN=MY.EMPTY.FILE,DISP=SHR
|
But would like to know if there would be any other way of doing it without me having to unnecessarily create an empty file nor specify all of my concatenated datasets in my Jcl during the override?
Thanks,
Ashwin. |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
As far as I know for standard io there is no other way to do it than you have shown. The "trap" in an Interview Question is that if you DUMMY/NULLFILE it you get EOF at that point and 4th-and-onwards don't get read... |
|
Back to top |
|
|
hailashwin
New User
Joined: 16 Oct 2008 Posts: 74 Location: Boston
|
|
|
|
Thanks for your thought, Bill |
|
Back to top |
|
|
|