View previous topic :: View next topic
|
Author |
Message |
shantipriya
New User
Joined: 16 Jul 2007 Posts: 8 Location: chennai
|
|
|
|
I need to delete GDG Base using REXX .
Please help in this regard |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Issue the same commands that you would use with IDCAMS, but don't forget to enclose it all in nice double quotes. |
|
Back to top |
|
|
shantipriya
New User
Joined: 16 Jul 2007 Posts: 8 Location: chennai
|
|
|
|
Thanks, It worked
I gave the command in rexx as below
"DELETE 'GDG Base name' GDG PURGE" |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
I must confess confusion as to why a GDG base needs to be deleted in REXX. I have seen all entries deleted and new entries cataloged in both batch and in REXX/clist, but most (if not all) of the time the base should be kept for on-going use.
What process is there that requires GDG base deletion via REXX?
Just curious. . . |
|
Back to top |
|
|
shantipriya
New User
Joined: 16 Jul 2007 Posts: 8 Location: chennai
|
|
|
|
Hi,
We have a requirement where in the user can enter a list of GDG Bases which he wants to create in a CLIST panel
So, along with this requirement i thought of providing additional feature . He will also be provided with an option to delete his GDG Base if he creates by mistake and take back his request. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
I'm not familiar with users creating their own GDGs, but if they can create them, they surely need a way to "clean up" if they make a mistake
Hopefully, their permissions won't let them delete any but their own. . .
Thanks for the clarification |
|
Back to top |
|
|
shantipriya
New User
Joined: 16 Jul 2007 Posts: 8 Location: chennai
|
|
|
|
Sorry for the confusions, i just addressed developers as users, since the present tool is intended for them
so whenever they include new GDG Bases in the New JCLs and procs they developed , they need to care of creating the bases as well |
|
Back to top |
|
|
|