Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Deletion of Output Files/Work Files in Production Proc

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
meenakshi_forum
Warnings : 1

Active User


Joined: 27 May 2008
Posts: 121
Location: India

PostPosted: Thu Aug 07, 2008 11:28 pm    Post subject: Deletion of Output Files/Work Files in Production Proc
Reply with quote

In a Production Proc, do we always need to have a step which will delete the work files, especially the output files.

I have two output files which are not further being used in the Proc.

Do i need to delete them?

I generally see in the code---
******************************************
DELETE OUTPUT DATASETS IN CASE OF RERUN
***********************************************
//STEP10 EXEC PGM=IEFBR14,COND=(0,NE)
//DD01 DD DSN=&PROD..&ADB..SNDD160N.SNG,
// DISP=(MOD,DELETE,DELETE)
//


Please suggest what shall i do, the proc i am handling now was coded by someone else, and all the output files except 2 files were not put under the above step. I have to move this code to production, please guide.


I have seen in some procs which are already there in Production, some output files are always not deleted .


Please suggest.
Back to top
View user's profile Send private message

Arun Raj

Moderator


Joined: 17 Oct 2006
Posts: 2285
Location: @my desk

PostPosted: Fri Aug 08, 2008 12:01 am    Post subject:
Reply with quote

Quote:
do we always need to have a step which will delete the work files, especially the output files


I think work files are different from output files. Work files are intermediate files which'll eventually lead to the creation of final output files.

Work files which are no longer required after the job execution are normally deleted within the same job for next run. It's upto you to decide which file you should keep/delete.

Thanks,
Arun
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Fri Aug 08, 2008 1:09 am    Post subject:
Reply with quote

Hello,

Quote:
I have seen in some procs which are already there in Production, some output files are always not deleted
Sometimes a file might be used after the completion of the job sometimes not. Some research may be necessary to determine which applies to this dataset.

It is a good practice to delete datasets that are used by a job and not ever needed by any more processing. This can help better manage he dasd.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Subtract the ZD fields to provide neg... Balaryan DFSORT/ICETOOL 4 Wed Oct 11, 2017 10:51 pm
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am
No new posts Where is output from PARM ABEXIT (SNA... packerm CA Products 3 Thu Sep 28, 2017 4:06 pm
No new posts FTP Skip or ignore error and process ... AJAYREDDY All Other Mainframe Topics 3 Wed Sep 27, 2017 8:12 pm
No new posts Garbage on output file Hervey Martinez SYNCSORT 4 Wed Sep 27, 2017 12:50 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us