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 Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts Issue with NDM process to transmit ES... chetanambi All Other Mainframe Topics 6 Wed May 03, 2017 10:52 am
No new posts File processing vishwakotin Mainframe Interview Questions 9 Fri Apr 28, 2017 11:38 am
No new posts Occurrence of various strings within ... TS70363 JCL & VSAM 1 Thu Apr 27, 2017 8:18 pm


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