Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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: 8593
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 JCL to delete component in a package sundaram.naveen Compuware & Other Tools 14 Tue Nov 29, 2016 6:21 pm
No new posts How to delete second instance from Fl... Gunapala CN DFSORT/ICETOOL 6 Tue Oct 18, 2016 11:42 pm
No new posts Automation of data entry using Rexx i... zingy.rajeev CLIST & REXX 4 Mon Aug 22, 2016 4:13 pm
This topic is locked: you cannot edit posts or make replies. Automation of data entry using Rexx i... zingy.rajeev CICS 0 Mon Aug 22, 2016 4:11 pm
No new posts Delete record or Reset RC code using ... mpawan Compuware & Other Tools 4 Tue Jul 26, 2016 3:52 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us