MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Deleting multiple PDSs with a single command

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
raveendra_ibm
Beginner


Joined: 02 Apr 2006
Posts: 32
Topics: 10

PostPosted: Mon Apr 03, 2006 11:30 pm    Post subject: Deleting multiple PDSs with a single command Reply with quote

Hi All,

Is there a way out to delete multiple PDS or PS using a single command. Something similar to this :
I want to delete following PDSs' (along with the members in it)

MYPDS.TEST.COB
MYPDS.TEST.JCL
MYPDS.TEST.TST
MYPDS.TEST.LOAD
MYPDS.TEST.OBJ

using MYPDS.TEST.* with a single command, instead of deleting each one of them individually.

Thanks and Regards,
Raveendra.
Back to top
View user's profile Send private message
Phantom
Data Mgmt Moderator
Data Mgmt Moderator


Joined: 07 Jan 2003
Posts: 1056
Topics: 91
Location: The Blue Planet

PostPosted: Tue Apr 04, 2006 12:35 am    Post subject: Reply with quote

You can probably write a small REXX, but there is no command to delete a bunch of datasets together.

Thanks,
Phantom
Back to top
View user's profile Send private message
raveendra_ibm
Beginner


Joined: 02 Apr 2006
Posts: 32
Topics: 10

PostPosted: Tue Apr 04, 2006 12:54 am    Post subject: Reply with quote

Hi Phantom,

Thanks for your prompt reply. I am new to REXX and probably its going to take me sometime for writing a REXX prog.

Thanks once again,
Raveendra.
Back to top
View user's profile Send private message
nevilh
Beginner


Joined: 11 Aug 2004
Posts: 115
Topics: 0

PostPosted: Tue Apr 04, 2006 4:22 am    Post subject: Reply with quote

Use IDCAMS command
DELETE MYPDS.TEST.*
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group