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
 

 

Delete GDG base and generations
Goto page 1, 2  Next
 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
Ankita Maheshwari

New User


Joined: 12 May 2010
Posts: 24
Location: Pune

PostPosted: Wed Jun 30, 2010 6:28 pm    Post subject: Delete GDG base and generations
Reply with quote

how can we delete a GDG base and all its generations using JCL?

Please let me know ASAP.

Thanks
Ankita
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: Wed Jun 30, 2010 6:36 pm    Post subject: Re: Delete GDG base and generations
Reply with quote

Ankita Maheshwari wrote:
Please let me know ASAP.
Any urgency expressed by the poster is just that. YOUR urgency. It isn't my problem.

What have you achieved yourself. I doubt that you have bothered to search the forum as an identical topic has been discussed within the past few weeks.

What have you thought of doing for yourself.

Remember this is a HELP forum and not a DO IT FOR ME forum.
Back to top
View user's profile Send private message
Ankita Maheshwari

New User


Joined: 12 May 2010
Posts: 24
Location: Pune

PostPosted: Wed Jun 30, 2010 6:38 pm    Post subject: Reply to: Delete GDG base and generations
Reply with quote

i have used:

delete a.b.c GDG force

and

delete a.b.c GDG purge

but both of them are not working.

Thanks
Ankita
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: Wed Jun 30, 2010 6:40 pm    Post subject: Re: Reply to: Delete GDG base and generations
Reply with quote

Ankita Maheshwari wrote:
but both of them are not working.

And ..............................

From the information that you bother to post it might be faster for you to perform a forum search.

Any chance whatsoever of letting us know why it didn't work.
Back to top
View user's profile Send private message
Phrzby Phil

Active Member


Joined: 31 Oct 2006
Posts: 961
Location: Richmond, Virginia

PostPosted: Wed Jun 30, 2010 6:42 pm    Post subject:
Reply with quote

Not very useful to tell someone what you "used" when it did not work.

Now, if you tried what should work, but it did not, and you share what the resolution of the problem was - now that might be useful.

Also, telling someone what commands to use without telling them what program you used - how can that help?
Back to top
View user's profile Send private message
Ankita Maheshwari

New User


Joined: 12 May 2010
Posts: 24
Location: Pune

PostPosted: Wed Jun 30, 2010 6:46 pm    Post subject:
Reply with quote

//**********************************************************************
//* S 0 0 2 *
//* DELETE GDG BASES FROM SITE A *
//**********************************************************************
//*
//S002 EXEC PGM=IDCAMS
//*
//SYSIN DD *
DELETE (DM36A.PFB0004.EXTRACT.SHAKS) GDG FORCE
//*
//SYSOUT DD SYSOUT=A
//SYSPRINT DD SYSOUT=A
//SYSUDUMP DD SYSOUT=D
//*

i have used this to delete the GDG and it's members.

Thanks
Ankita
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: Wed Jun 30, 2010 6:50 pm    Post subject:
Reply with quote

So, it worked OK now.
Back to top
View user's profile Send private message
Ankita Maheshwari

New User


Joined: 12 May 2010
Posts: 24
Location: Pune

PostPosted: Wed Jun 30, 2010 6:56 pm    Post subject: Reply to: Delete GDG base and generations
Reply with quote

no it didn't......

it is giving me MAXCC=0, but not deleting the GDG's and it's generations.

Thanks
Ankita
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: Wed Jun 30, 2010 7:00 pm    Post subject:
Reply with quote

OK, so we have seen the input, we know for sure that it does not work.

Were there any silly little messages issued that might just point us in the right direction as to why it did not work.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2422
Location: Netherlands, Amstelveen

PostPosted: Wed Jun 30, 2010 7:03 pm    Post subject:
Reply with quote

SMS managed datasets are scratched by DEL GDG FORCE.
So the question is are they SMS managed?
Back to top
View user's profile Send private message
Ankita Maheshwari

New User


Joined: 12 May 2010
Posts: 24
Location: Pune

PostPosted: Wed Jun 30, 2010 7:04 pm    Post subject: Reply to: Delete GDG base and generations
Reply with quote

got it figured.....

it worked.... thanks to all
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2422
Location: Netherlands, Amstelveen

PostPosted: Wed Jun 30, 2010 7:05 pm    Post subject:
Reply with quote

What did you figure?
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: Wed Jun 30, 2010 7:05 pm    Post subject:
Reply with quote

Oi Peter, this is MY game of 20 questions. Go find your own poster if you want to play

icon_lol.gif icon_biggrin.gif icon_lol.gif icon_biggrin.gif icon_lol.gif
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: Wed Jun 30, 2010 7:06 pm    Post subject: Re: Reply to: Delete GDG base and generations
Reply with quote

Ankita Maheshwari wrote:
got it figured.....
it worked.... thanks to all
Yes, please post the resolution so that others might be helped in the future.

Well, assuming they use the search button icon_rolleyes.gif
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Wed Jun 30, 2010 7:06 pm    Post subject:
Reply with quote

Why are you using "FORCE", it's not required. FORCE is almost always a bad option. And most of the shops have locked it down this option. Locking it down will not prevent GDG deletions; it will prevent their being deleted the wrong way.

So possibly yuou might get a better answer if you post what your SYSPRINT have to say.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2422
Location: Netherlands, Amstelveen

PostPosted: Wed Jun 30, 2010 7:07 pm    Post subject:
Reply with quote

Jees expat, i wouldnt take over your turf.
Next time i will take a poster you didnt yet react to.

icon_biggrin.gif
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: Wed Jun 30, 2010 7:12 pm    Post subject:
Reply with quote

PeterHolland wrote:
Jees expat, i wouldnt take over your turf.
Next time i will take a poster you didnt yet react to.
icon_biggrin.gif

Turf wars on a help forum. Well that brought a smile to my face icon_razz.gif
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2422
Location: Netherlands, Amstelveen

PostPosted: Wed Jun 30, 2010 7:18 pm    Post subject:
Reply with quote

As member of a street gang we used the term a lot to tell people stay away from our territory.

And im sure also in IT there are a lot of territories. icon_confused.gif
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Wed Jun 30, 2010 7:27 pm    Post subject:
Reply with quote

it happens often here,
in response to TS's problem 'I pushed the button, but it did not work'
a new poster will ask a question,
the TS sensing fresh meat
will ignore the previous poster
- who was only asking questions and not providing the effortless solution -
and start communicating with the new poster,
until it becomes obvious
that the new poster is just as stubborn about trying to determine the problem.

often these threads just drop off.
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: Fri Jul 02, 2010 12:43 pm    Post subject:
Reply with quote

dbzTHEdinosauer wrote:
it happens often here,
often these threads just drop off.

Especially after the OP has stated that the problem has been resolved and was then asked to post the resolution to help others icon_evil.gif
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
Goto page 1, 2  Next
Page 1 of 2

 

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 Delete record or Reset RC code using ... mpawan Compuware & Other Tools 4 Tue Jul 26, 2016 3:52 pm
No new posts Compare each GDG Generations to other... Ayyappa1 JCL & VSAM 13 Tue Jun 28, 2016 1:48 pm
No new posts Delete VSAM File Records amitc23 CICS 6 Sun Apr 10, 2016 10:10 am


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