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

ways to delete newly created datasets


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
vinay ng
Currently Banned

New User


Joined: 30 May 2008
Posts: 13
Location: Mumbai

PostPosted: Fri Jun 06, 2008 4:46 pm
Reply with quote

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

Senior Member


Joined: 28 Jul 2006
Posts: 1702
Location: Australia

PostPosted: Fri Jun 06, 2008 5:02 pm
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Fri Jun 06, 2008 8:52 pm
Reply with quote

Hello,

Quote:
to delete newly created datasets
I don't understand why there is a need to delete these icon_confused.gif Why were they created?

More often, there is a need to delete old, unused datasets. . .

What am i missing?
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Fri Jun 06, 2008 9:00 pm
Reply with quote

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
View user's profile Send private message
Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Fri Jun 06, 2008 9:02 pm
Reply with quote

I usually start my jobs with an IEFBR14 step to delete files.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Fri Jun 06, 2008 9:12 pm
Reply with quote

Quote:
I usually start my jobs with an IEFBR14 step to delete files.
Yup, (MOD,DELETE) is your friend. . . icon_smile.gif

d
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1702
Location: Australia

PostPosted: Sat Jun 07, 2008 6:39 am
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Sat Jun 07, 2008 3:25 pm
Reply with quote

Yep, IDCAMS rules OK - deals with missing, migrated, tape and DASD in one go.
Back to top
View user's profile Send private message
vinay ng
Currently Banned

New User


Joined: 30 May 2008
Posts: 13
Location: Mumbai

PostPosted: Tue Jun 24, 2008 11:11 am
Reply with quote

hi enrico,
could you please let me know in detail about Gilbert Saint Flour CLEANUP
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue Jun 24, 2008 11:55 am
Reply with quote

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
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 DELETE SPUFI DB2 1
No new posts DSNTIAUL driven delete IBM Tools 0
No new posts How to delete a user's alias from the... JCL & VSAM 11
No new posts Merging 2 datasets into one DFSORT/ICETOOL 1
No new posts Delete file row if blanks in the firs... DFSORT/ICETOOL 5
Search our Forums:

Back to Top