View previous topic :: View next topic |
Author |
Message |
arvibala Beginner

Joined: 12 Feb 2008 Posts: 142 Topics: 67
|
Posted: Mon Jun 23, 2008 8:50 am Post subject: Explicitly Deleting Temp datasets |
|
|
Hi,
Many of our Jobs create Temprorary Flat files, like in Intermediate Sort steps, we need these files for debuging so these are created in DASD. But since these will not be needed after our next run, these needs to be deleted before our next run. Instead of having a Dummy step that deletes these files, I heard we have a feature in CA7 which does this automatically. Can any one share those features? _________________ Arvind
"You can make a difference with your smile. Have that with you always" |
|
Back to top |
|
 |
Terry_Heinze Supermod
Joined: 31 May 2004 Posts: 391 Topics: 4 Location: Richfield, MN, USA
|
Posted: Mon Jun 23, 2008 10:06 am Post subject: |
|
|
If I remember correctly, it's a step (PROC) entitled UCC11 or CA11 and is placed at the start of the production JCL. It deletes all data sets that are defined in your job as DISP=(NEW,CATLG). Usually the systems programmers take care of that for you. _________________ ....Terry |
|
Back to top |
|
 |
expat Intermediate

Joined: 01 Mar 2007 Posts: 475 Topics: 9 Location: Welsh Wales
|
Posted: Wed Jun 25, 2008 7:49 am Post subject: |
|
|
Why not delete them at the end of the batch job. That way the space is freed up immediately and available for other jobs to use, and also reduces the chances of Sx37 abends. _________________ If it's true that we are here to help others,
then what exactly are the others here for ? |
|
Back to top |
|
 |
Terry_Heinze Supermod
Joined: 31 May 2004 Posts: 391 Topics: 4 Location: Richfield, MN, USA
|
Posted: Wed Jun 25, 2008 2:36 pm Post subject: |
|
|
As expat says, deleting them at the end of the job WILL free up DASD sooner. The downside is that rerunning a portion of a successfully completed job (yes, sometimes that's desireable) becomes more difficult. In either case, shops that have CA-7 will nearly always include the CA-11 step at the beginning of a production job stream. After all, it can't hurt to try to delete a non-existent file. _________________ ....Terry |
|
Back to top |
|
 |
|
|