IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

JCL - TEMP files


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
manojkumar.sesuraj

New User


Joined: 15 Apr 2009
Posts: 43
Location: Mumbai

PostPosted: Thu Oct 22, 2009 10:27 am
Reply with quote

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?
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1702
Location: Australia

PostPosted: Thu Oct 22, 2009 10:45 am
Reply with quote

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
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 2
No new posts Compare 2 files(F1 & F2) and writ... JCL & VSAM 8
No new posts Write line by line from two files DFSORT/ICETOOL 7
No new posts Compare only first records of the fil... SYNCSORT 7
No new posts Merge two VSAM KSDS files into third ... JCL & VSAM 6
Search our Forums:

Back to Top