manojkumar.sesuraj
New User
Joined: 15 Apr 2009 Posts: 43 Location: Mumbai
|
|
|
|
Hi,
I have a job, which is using 6 temporary files. The DISP of the temporary files are DISP=(OLD,PASS) at the last step. I know that the temporary files will be deleted when the JOB completes.
But, I want to know the impact of keeping the temporary dataset's DISP=(OLD,PASS) and DISP=(OLD,DELETE).
Will it use more space on DASD? Or which kind of impact it will cause?
Why should we use DISP=(OLD,DELETE) at the end? |
|
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 1702 Location: Australia
|
|
|
|
Hi,
just delete the file in which ever step the file is last used, this will release the space it's occupying.
Failure to do so will result in unnecessary waste of space until job end.
It makes no difference whether you use (OLD,PASS) or (OLD,DELETE) if it's done in the last step.
Gerry |
|