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
 

 

Want to delete some datasets at one go

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
vikram

New User


Joined: 08 Mar 2005
Posts: 8

PostPosted: Thu Jun 14, 2007 1:49 am    Post subject: Want to delete some datasets at one go
Reply with quote

Hi,

Is there any option in 3.4 that can delete 100 datasets in one command such as block delete command DD in the beginning and DD in the end.
Back to top
View user's profile Send private message

ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Thu Jun 14, 2007 10:50 am    Post subject:
Reply with quote

No, there are no block commands in DSLIST. However, you can use "=" for repeating command.

O.
Back to top
View user's profile Send private message
Phrzby Phil

Active Member


Joined: 31 Oct 2006
Posts: 962
Location: Richmond, Virginia

PostPosted: Thu Jun 14, 2007 6:28 pm    Post subject:
Reply with quote

If you are daring, and know that only the ones you want to delete are listed, you might want to turn confirmation off.

Why not, though, create a job using IEFBR14 with many delete dd statements, then cut&paste the names onto them. With 20 names per screen, this is just five screens.

//DD1 DD DISP=(OLD,DELETE),DSN=

By putting the DISP first, you can paste names of varying lengths.

Then you've got a job to do it that can be reviewed/saved for audit purposes.
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 -> TSO/ISPF 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