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 a gdg base file

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
bijumon

New User


Joined: 14 Aug 2006
Posts: 20
Location: Pune,India

PostPosted: Fri Aug 18, 2006 7:14 pm    Post subject: How to delete a gdg base file
Reply with quote

How to delete a gdg base file and how to create the first generation
Back to top
View user's profile Send private message

senman

New User


Joined: 17 Aug 2006
Posts: 17
Location: Chennai

PostPosted: Fri Aug 18, 2006 8:14 pm    Post subject:
Reply with quote

you can delete the GDG using fileaid option.

And a first generation GDG can be created in JCL or in TSO using 3.2 option.

Use the name as A7105AB.GDG.NEWGEN(+1)
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4649
Location: Raleigh, NC, USA

PostPosted: Fri Aug 18, 2006 8:29 pm    Post subject: Re: GDG
Reply with quote

You can delete the GDG base using the Access Method Services DELETE command, as described here.

To create the first generation, you can use either absolute or relative generations. See Chapter 29. Processing Generation Data Groups in the z/OS V1R6.0 DFSMS: Using Data Sets manual.
Back to top
View user's profile Send private message
Sahoo

New User


Joined: 08 Jun 2006
Posts: 53

PostPosted: Sat Aug 19, 2006 12:14 pm    Post subject: Re: How to delete a gdg base file
Reply with quote

Goto 3.4 and type DELETE against the dataset name instead of typing "D". This will delete the GDG Base.
Back to top
View user's profile Send private message
puneet478

New User


Joined: 03 Jan 2006
Posts: 13
Location: Bangalore india

PostPosted: Mon Aug 21, 2006 8:54 am    Post subject: Re: How to delete a gdg base file
Reply with quote

Hi Sahoo,

Writing 'D' against the GDG base will not delete it as GDG base entry is not treated as ordinary entry.

Try 'DE' and it should work. 'DE" is short for "DELETE'. This is for extra safety so you delete accidently and loose all the generations. 'DE' you will write only intentionally.

Cheers,
Puneet
Back to top
View user's profile Send private message
shreevamsi

Active User


Joined: 23 Feb 2006
Posts: 305
Location: Hyderabad,India

PostPosted: Mon Aug 21, 2006 10:19 am    Post subject: Re: How to delete a gdg base file
Reply with quote

hi,
U have another option to delete the GDGBASE using IDCAMS utility.

Pass the parameter

'DELETE YOUR.GDG.BASE PURGE' thru SYSIN



~Vamsi
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 Split file based on comparsion to 2 f... Div Grad DFSORT/ICETOOL 3 Thu Jul 27, 2017 9:16 pm
No new posts Extra character appears in file when ... Balu5491 All Other Mainframe Topics 1 Wed Jul 26, 2017 2:39 pm
No new posts SSH - known_hosts file configuration vasanthz All Other Mainframe Topics 2 Wed Jul 26, 2017 2:10 am
This topic is locked: you cannot edit posts or make replies. Fetching data from BAI File arunsoods JCL & VSAM 1 Wed Jul 19, 2017 4:28 pm
No new posts Write out NODUPS but just from one file Jay Villaverde DFSORT/ICETOOL 8 Fri Jul 14, 2017 12:44 am


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