View previous topic :: View next topic
|
Author |
Message |
vinay ng Currently Banned New User
Joined: 30 May 2008 Posts: 13 Location: Mumbai
|
|
|
|
I use either of the following to delete newly created datasets,
1)CA11RM$
2)VOLMANTS
Is there any other way in which we can delete newly created datasets. |
|
Back to top |
|
|
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 1702 Location: Australia
|
|
|
|
Hi,
you can use IDCAMS, IEHPROGM, IEFBR14, ISPF 3.4 (use D or DELETE) just to mention a few if that's what you meant by deleting newly created datasets.
Gerry |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
to delete newly created datasets |
I don't understand why there is a need to delete these Why were they created?
More often, there is a need to delete old, unused datasets. . .
What am i missing? |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
The TS is talking ( inference from the prograam names)
about a way of avoiding jcl errors...
when resubmitting jobs with datasets disp=new....
there are utilities ( I use Gilbert Saint Flour CLEANUP )
which executed as the first step, scan the job for dataset with disp=new and delete them
still the question is not clear,
why in heaven would somebody with a working thing look for something else
furthermore with such a bad wording [/b] |
|
Back to top |
|
|
Craq Giegerich
Senior Member
Joined: 19 May 2007 Posts: 1512 Location: Virginia, USA
|
|
|
|
I usually start my jobs with an IEFBR14 step to delete files. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Quote: |
I usually start my jobs with an IEFBR14 step to delete files. |
Yup, (MOD,DELETE) is your friend. . .
d |
|
Back to top |
|
|
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 1702 Location: Australia
|
|
|
|
Hi,
I would not use IEFBR14 to delete datasets, if the datasets are migrated they will be recalled before they are deleted, also the datasets may not exist which will result in a JCL error unless extra parameters are added such as space and unit, IDCAMS is much better, if the dataset is migrated it will issue a HDELETE.
Gerry |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Yep, IDCAMS rules OK - deals with missing, migrated, tape and DASD in one go. |
|
Back to top |
|
|
vinay ng Currently Banned New User
Joined: 30 May 2008 Posts: 13 Location: Mumbai
|
|
|
|
hi enrico,
could you please let me know in detail about Gilbert Saint Flour CLEANUP |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
You can find it on
file 183 of cbttape or..
search the net for "gilbert saint flour freeware" or
go there directly
review with Your support before using |
|
Back to top |
|
|
|