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 

How to delete data & index components of a KSDS?

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Data Management
View previous topic :: View next topic  
Author Message
gore
Beginner


Joined: 10 Dec 2002
Posts: 46
Topics: 20
Location: Providence, RI

PostPosted: Fri Apr 04, 2003 7:02 am    Post subject: How to delete data & index components of a KSDS? Reply with quote

How to delete data & index components of a KSDS when the base entry of cluster does not exist? It is indeed the case in my shop.
_________________
Gore
Back to top
View user's profile Send private message
satjag
Beginner


Joined: 19 Dec 2002
Posts: 19
Topics: 2

PostPosted: Fri Apr 04, 2003 7:26 am    Post subject: Reply with quote

Hello Gaurav,

Do you have File Aid in your shop ?If so, you may try deleting the data/index components through it.
_________________
Regards,
satjag
Back to top
View user's profile Send private message
gore
Beginner


Joined: 10 Dec 2002
Posts: 46
Topics: 20
Location: Providence, RI

PostPosted: Fri Apr 04, 2003 7:36 am    Post subject: Reply with quote

yes
_________________
Gore
Back to top
View user's profile Send private message
satjag
Beginner


Joined: 19 Dec 2002
Posts: 19
Topics: 2

PostPosted: Fri Apr 04, 2003 7:40 am    Post subject: Reply with quote

Were you able to delete using fileaid ?
_________________
Regards,
satjag
Back to top
View user's profile Send private message
gore
Beginner


Joined: 10 Dec 2002
Posts: 46
Topics: 20
Location: Providence, RI

PostPosted: Fri Apr 04, 2003 7:42 am    Post subject: Reply with quote

File-aid worked fine.

Is there some other way as well?
_________________
Gore
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12375
Topics: 75
Location: San Jose

PostPosted: Fri Apr 04, 2003 8:22 am    Post subject: Reply with quote

gore,

You can use IDCAMS

Kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
gore
Beginner


Joined: 10 Dec 2002
Posts: 46
Topics: 20
Location: Providence, RI

PostPosted: Fri Apr 04, 2003 8:36 am    Post subject: Reply with quote

Dear Kolusu,

I tried using IDCAMS to deleteby giving the data component's name,but that didn't work.Can you send me the jcl. Remember I do not have the base cluster.
_________________
Gore
Back to top
View user's profile Send private message
Manas Biswal
Intermediate


Joined: 29 Nov 2002
Posts: 382
Topics: 27
Location: Chennai, India

PostPosted: Sun Apr 06, 2003 11:28 pm    Post subject: Reply with quote

How did you manage to delete the base cluster without deleting the data and index components...
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
gore
Beginner


Joined: 10 Dec 2002
Posts: 46
Topics: 20
Location: Providence, RI

PostPosted: Mon Apr 07, 2003 7:41 am    Post subject: Reply with quote

i didn't do that it was just like that when i saw it, i have know idea how it happened.
_________________
Gore
Back to top
View user's profile Send private message
raj051076
Beginner


Joined: 05 Dec 2002
Posts: 64
Topics: 21

PostPosted: Mon Apr 07, 2003 12:14 pm    Post subject: Reply with quote

Hi Gaurav I am not sure whether you have the condition called orphan datasets...where an entry is still in the VVR...In that case you will have to delete the VVR..The IDCAMS control card for that is

DELETE VSAM.DATA PURGE VVR.

I think I am missing one thing here, the reference of the VVDS which contains the VVR...Please check that and find out..
_________________
Rajib
Back to top
View user's profile Send private message
warp5
Intermediate


Joined: 02 Dec 2002
Posts: 429
Topics: 18
Location: Germany

PostPosted: Tue Apr 08, 2003 12:48 am    Post subject: Reply with quote

You can also define the cluster again and then having a complete vsam dataset delete it. You need to know where it was cataloged, on which volume it exists, etc.

//RECAT EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
DEFINE CLUSTER( -
NAME(LMNPU1.TMON30.CBFILE) -
RECATALOG -
VOLUMES(MVSS1P)) -
CATALOG(UCAT.LMP.VMVSS1P)
Back to top
View user's profile Send private message Visit poster's website
gore
Beginner


Joined: 10 Dec 2002
Posts: 46
Topics: 20
Location: Providence, RI

PostPosted: Tue Apr 08, 2003 7:40 am    Post subject: Reply with quote

Thanks to all for all the constructive suggestions. Rajib's solution worked fine.
_________________
Gore
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 -> Data Management 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