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

Want to delete some datasets at one go


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
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
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: 2358
Location: Israel

PostPosted: Thu Jun 14, 2007 10:50 am
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

Senior Member


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

PostPosted: Thu Jun 14, 2007 6:28 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


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