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: 964
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 REXX to get the all datasets name parasmalik20 CLIST & REXX 5 Tue Jul 18, 2017 9:10 pm
This topic is locked: you cannot edit posts or make replies. SDSF multiple spool datasets extracte... PJAlarcon CLIST & REXX 1 Fri Apr 21, 2017 10:50 pm
No new posts Edit large number of datasets (QSAM) zh_lad TSO/ISPF 3 Tue Apr 04, 2017 6:08 pm
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


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