|
|
| Author |
Message |
mighty
New User
Joined: 21 May 2008 Posts: 17 Location: chennai
|
|
|
|
| How to delete a VSAM file which is not cataloged ? |
|
| Back to top |
|
 |
References
|
Posted: Thu May 22, 2008 4:56 pm Post subject: Re: How to delete a VSAM file which is not cataloged |
 |
|
|
 |
Gnanas SNG
Senior Member
Joined: 06 Sep 2007 Posts: 416 Location: India
|
|
|
|
| Please use VOL-SER to find & delete it out. |
|
| Back to top |
|
 |
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 2817 Location: Brussels once more ...
|
|
|
|
| IDCAMS DELETE VVR |
|
| Back to top |
|
 |
mighty
New User
Joined: 21 May 2008 Posts: 17 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 User
Joined: 17 Aug 2007 Posts: 241 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 |
|
 |
|
|