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: 4648
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 SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm
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 File Aid to File Manager conversion murali3955 IBM Tools 4 Thu Nov 24, 2016 3:41 pm


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