Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

ways to delete newly created datasets

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: ways to delete newly created datasets
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: 1703
Location: Australia

PostPosted: Fri Jun 06, 2008 5:02 pm    Post subject:
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

Site Director


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

PostPosted: Fri Jun 06, 2008 8:52 pm    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10232
Location: italy

PostPosted: Fri Jun 06, 2008 9:00 pm    Post subject: Reply to: ways to delete newly created datasets
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    Post subject:
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

Site Director


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

PostPosted: Fri Jun 06, 2008 9:12 pm    Post subject: Reply to: ways to delete newly created datasets
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: 1703
Location: Australia

PostPosted: Sat Jun 07, 2008 6:39 am    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Sat Jun 07, 2008 3:25 pm    Post subject:
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    Post subject: there are utilities ( I use Gilbert Saint Flour CLEANUP )
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10232
Location: italy

PostPosted: Tue Jun 24, 2008 11:55 am    Post subject: Reply to: ways to delete newly created datasets
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    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 DUMP DATASETS VS TRACE DATASETS! lind sh CICS 4 Tue Dec 06, 2016 11:31 pm
No new posts JCL to delete component in a package sundaram.naveen Compuware & Other Tools 14 Tue Nov 29, 2016 6:21 pm
No new posts How to delete second instance from Fl... Gunapala CN DFSORT/ICETOOL 6 Tue Oct 18, 2016 11:42 pm
No new posts Single COPY CICS TS datasets and when... Kyle Carroll CICS 2 Tue Oct 11, 2016 9:47 pm
No new posts Delete record or Reset RC code using ... mpawan Compuware & Other Tools 4 Tue Jul 26, 2016 3:52 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us