View previous topic :: View next topic
|
Author |
Message |
Ankita Maheshwari
New User
Joined: 12 May 2010 Posts: 23 Location: Pune
|
|
|
|
how can we delete a GDG base and all its generations using JCL?
Please let me know ASAP.
Thanks
Ankita |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
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 |
|
|
Ankita Maheshwari
New User
Joined: 12 May 2010 Posts: 23 Location: Pune
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
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 |
|
|
Phrzby Phil
Senior Member
Joined: 31 Oct 2006 Posts: 1042 Location: Richmond, Virginia
|
|
|
|
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 |
|
|
Ankita Maheshwari
New User
Joined: 12 May 2010 Posts: 23 Location: Pune
|
|
|
|
//**********************************************************************
//* 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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
So, it worked OK now. |
|
Back to top |
|
|
Ankita Maheshwari
New User
Joined: 12 May 2010 Posts: 23 Location: Pune
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
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 |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
SMS managed datasets are scratched by DEL GDG FORCE.
So the question is are they SMS managed? |
|
Back to top |
|
|
Ankita Maheshwari
New User
Joined: 12 May 2010 Posts: 23 Location: Pune
|
|
|
|
got it figured.....
it worked.... thanks to all |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
What did you figure? |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Oi Peter, this is MY game of 20 questions. Go find your own poster if you want to play
|
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
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 |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
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 |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
Jees expat, i wouldnt take over your turf.
Next time i will take a poster you didnt yet react to.
|
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
PeterHolland wrote: |
Jees expat, i wouldnt take over your turf.
Next time i will take a poster you didnt yet react to.
|
Turf wars on a help forum. Well that brought a smile to my face |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
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. |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
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 |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Boys - I'm totally ignored! ... |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
Anuj,
now you know how that feels. It hurts like hell, believe me. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Anuj Dhawan wrote: |
Boys - I'm totally ignored! ... |
Only because we can't think of anything nice to say about you |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Come on expat, you can think only nice, I know. |
|
Back to top |
|
|
|