View previous topic :: View next topic |
Author |
Message |
arvibala Beginner
Joined: 12 Feb 2008 Posts: 142 Topics: 67
|
Posted: Mon May 18, 2009 10:16 am Post subject: Batch Jcl to Empty PDS |
|
|
Hi,
I did search on this topic before Posting this, but cudnt get any info.
We have a process that will create Temp members in 16 PDS. But at the end of the process we need to cleanup the 16 PDS.
I was wondering if we have some simple Jcl that empties any specified PDS.
I was told the best option is to Delete / Create the PDS.
Thanks _________________ Arvind
"You can make a difference with your smile. Have that with you always" |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12376 Topics: 75 Location: San Jose
|
|
Back to top |
|
|
semigeezer Supermod
Joined: 03 Jan 2003 Posts: 1014 Topics: 13 Location: Atlantis
|
Posted: Mon May 18, 2009 1:05 pm Post subject: Re: Batch Jcl to Empty PDS |
|
|
arvibala wrote: |
I was told the best option is to Delete / Create the PDS.
| Alternatively, if this is all one job or rexx, use temporary data sets. If the only reason that these data sets exist is to hold this temporary data, then there is no need to have them take up space on disk and backups. _________________ New members are encouraged to read the How To Ask Questions The Smart Way FAQ at http://www.catb.org/~esr/faqs/smart-questions.html. |
|
Back to top |
|
|
arvibala Beginner
Joined: 12 Feb 2008 Posts: 142 Topics: 67
|
Posted: Tue May 19, 2009 8:48 am Post subject: |
|
|
Thanks All. Never thought this will be so complex. Expected a simple utility to solve this . _________________ Arvind
"You can make a difference with your smile. Have that with you always" |
|
Back to top |
|
|
|
|