IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Delete GDG base and generations


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Ankita Maheshwari

New User


Joined: 12 May 2010
Posts: 23
Location: Pune

PostPosted: Wed Jun 30, 2010 6:28 pm
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: 8797
Location: Welsh Wales

PostPosted: Wed Jun 30, 2010 6:36 pm
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: 23
Location: Pune

PostPosted: Wed Jun 30, 2010 6:38 pm
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: 8797
Location: Welsh Wales

PostPosted: Wed Jun 30, 2010 6:40 pm
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

Senior Member


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

PostPosted: Wed Jun 30, 2010 6:42 pm
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: 23
Location: Pune

PostPosted: Wed Jun 30, 2010 6:46 pm
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: 8797
Location: Welsh Wales

PostPosted: Wed Jun 30, 2010 6:50 pm
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: 23
Location: Pune

PostPosted: Wed Jun 30, 2010 6:56 pm
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: 8797
Location: Welsh Wales

PostPosted: Wed Jun 30, 2010 7:00 pm
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: 2481
Location: Netherlands, Amstelveen

PostPosted: Wed Jun 30, 2010 7:03 pm
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: 23
Location: Pune

PostPosted: Wed Jun 30, 2010 7:04 pm
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: 2481
Location: Netherlands, Amstelveen

PostPosted: Wed Jun 30, 2010 7:05 pm
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: 8797
Location: Welsh Wales

PostPosted: Wed Jun 30, 2010 7:05 pm
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: 8797
Location: Welsh Wales

PostPosted: Wed Jun 30, 2010 7:06 pm
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

Superior Member


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

PostPosted: Wed Jun 30, 2010 7:06 pm
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: 2481
Location: Netherlands, Amstelveen

PostPosted: Wed Jun 30, 2010 7:07 pm
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: 8797
Location: Welsh Wales

PostPosted: Wed Jun 30, 2010 7:12 pm
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: 2481
Location: Netherlands, Amstelveen

PostPosted: Wed Jun 30, 2010 7:18 pm
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
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: 8797
Location: Welsh Wales

PostPosted: Fri Jul 02, 2010 12:43 pm
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
Anuj Dhawan

Superior Member


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

PostPosted: Fri Jul 02, 2010 4:33 pm
Reply with quote

Boys - I'm totally ignored! icon_cry.gif ... icon_lol.gif
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


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

PostPosted: Fri Jul 02, 2010 5:44 pm
Reply with quote

Anuj,

now you know how that feels. It hurts like hell, believe me. icon_cry.gif
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Fri Jul 02, 2010 5:46 pm
Reply with quote

Anuj Dhawan wrote:
Boys - I'm totally ignored! icon_cry.gif ... icon_lol.gif

Only because we can't think of anything nice to say about you icon_lol.gif
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


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

PostPosted: Fri Jul 02, 2010 5:48 pm
Reply with quote

Come on expat, you can think only nice, I know. icon_smile.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts DELETE SPUFI DB2 1
No new posts DSNTIAUL driven delete IBM Tools 0
No new posts How to delete a user's alias from the... JCL & VSAM 11
No new posts Delete file row if blanks in the firs... DFSORT/ICETOOL 5
No new posts volume mass delete RMM JCL & VSAM 2
Search our Forums:

Back to Top