Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
How to delete the GDG entry in VTOC?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: How to delete the GDG entry in VTOC?
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: 8645
Location: Back in jolly old England

PostPosted: Thu Jan 24, 2008 8:37 pm    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts load and delete table through JCL wit... ram_vizag JCL & VSAM 9 Thu Feb 01, 2018 12:47 am
No new posts Need to obtain VTOC information via R... djeffbland CLIST & REXX 10 Thu Jan 11, 2018 4:13 am
No new posts Skip file from delete pema_yozer All Other Mainframe Topics 3 Tue Aug 29, 2017 3:19 pm
No new posts Delete IMS remote transaction when MO... Sam Singh IMS DB/DC 0 Wed Aug 23, 2017 9:12 pm
No new posts JCL to delete component in a package sundaram.naveen Compuware & Other Tools 14 Tue Nov 29, 2016 6:21 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us