IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to delete the GDG entry in VTOC?


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
SnailMao

New User


Joined: 23 Jan 2008
Posts: 2
Location: Shanghai, PRC

PostPosted: Thu Jan 24, 2008 8:33 pm
Reply with quote

I'm studying GDG these days and got a problem. I created a GDG base first and deleted by using IDCAMS, just one control statement, DELETE GDG01. After that, when I tried to create another GDG dataset using the same name GDG01, my job said duplicate dataset. So I use IEHLIST to list VTOC, the GDG entry GDG01 was there, but when I tried to use IDCAMS to delete it again, said dataset not found. I know the entry should be deleted in VTOC, but how? Thanks in advance!
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Thu Jan 24, 2008 8:37 pm
Reply with quote

IDCAMS DELETE NVR
Back to top
View user's profile Send private message
SnailMao

New User


Joined: 23 Jan 2008
Posts: 2
Location: Shanghai, PRC

PostPosted: Fri Jan 25, 2008 5:30 pm
Reply with quote

thanks expat
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts DELETE SPUFI DB2 1
No new posts DSNTIAUL driven delete IBM Tools 0
No new posts How to delete a user's alias from the... JCL & VSAM 11
No new posts Delete file row if blanks in the firs... DFSORT/ICETOOL 5
No new posts volume mass delete RMM JCL & VSAM 2
Search our Forums:

Back to Top