Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 973
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 How to delete large data. Mounika Nemani DB2 1 Wed Jun 13, 2018 1:58 pm
This topic is locked: you cannot edit posts or make replies. Unavailable RECON datasets while exec... abdulrafi JCL & VSAM 10 Fri Apr 06, 2018 12:45 pm
No new posts Creation of Datasets dynamically on t... Raghu M N DFSORT/ICETOOL 8 Fri Mar 16, 2018 12:56 am
No new posts load and delete table through JCL wit... ram_vizag JCL & VSAM 9 Thu Feb 01, 2018 12:47 am
No new posts Enterprise PL/I - dynamic allocation ... prino PL/I & Assembler 1 Mon Jan 29, 2018 10:17 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us