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 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: 4650
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 Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am
No new posts Garbage on output file Hervey Martinez SYNCSORT 4 Wed Sep 27, 2017 12:50 am
No new posts File Aid tool to compare numeric data balaji81_k Compuware & Other Tools 2 Tue Sep 26, 2017 3:35 am
No new posts Compare yesterday's date to the one o... migusd SYNCSORT 11 Fri Sep 22, 2017 11:35 pm

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