View previous topic :: View next topic
|
Author |
Message |
mighty
New User
Joined: 21 May 2008 Posts: 26 Location: chennai
|
|
|
|
How to delete a VSAM file which is not cataloged ? |
|
Back to top |
|
|
Gnanas N
Active Member
Joined: 06 Sep 2007 Posts: 792 Location: Chennai, India
|
|
|
|
Please use VOL-SER to find & delete it out. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
IDCAMS DELETE VVR |
|
Back to top |
|
|
mighty
New User
Joined: 21 May 2008 Posts: 26 Location: chennai
|
|
|
|
mighty wrote: |
How to delete a VSAM file which is not cataloged ? |
Actually,this question was about a KSDS file.
Actual KSDS file is on a volume say for eg: xxxxxx,
Only the data component of the KSDS file is on a different volume say yyyyyy and is uncataloged.
How do I get rid of the duplicate one on yyyyyy. I wanted to try the following jcl:
//DD1 DD VOL=SER=DV000E,DISP=SHR,UNIT=DISK
//SYSIN DD *
DELETE **.KSDS.DATA -
VVR FILE(DD1) -
CATALOG(CATALOG.ICFUSER.USER4)
Please let me know if this works. What do I do incase of 'Duplicate Dataset name' failures in this case.Please advise. |
|
Back to top |
|
|
Bill Dennis
Active Member
Joined: 17 Aug 2007 Posts: 562 Location: Iowa, USA
|
|
|
|
Your JCL looks like mine, if yyyyyy is volume DV000E, except I specify the full component name (no asterisks). |
|
Back to top |
|
|
|