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

Deletion of GDG Base in REXX


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
shantipriya

New User


Joined: 16 Jul 2007
Posts: 8
Location: chennai

PostPosted: Tue Jul 17, 2007 4:26 pm
Reply with quote

I need to delete GDG Base using REXX .


Please help in this regard
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Tue Jul 17, 2007 5:02 pm
Reply with quote

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
View user's profile Send private message
shantipriya

New User


Joined: 16 Jul 2007
Posts: 8
Location: chennai

PostPosted: Tue Jul 17, 2007 6:38 pm
Reply with quote

Thanks, It worked

I gave the command in rexx as below

"DELETE 'GDG Base name' GDG PURGE"
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Tue Jul 17, 2007 7:14 pm
Reply with quote

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. . . icon_confused.gif
Back to top
View user's profile Send private message
shantipriya

New User


Joined: 16 Jul 2007
Posts: 8
Location: chennai

PostPosted: Tue Jul 17, 2007 7:21 pm
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Tue Jul 17, 2007 7:31 pm
Reply with quote

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 icon_cool.gif

Hopefully, their permissions won't let them delete any but their own. . .

Thanks for the clarification icon_smile.gif
Back to top
View user's profile Send private message
shantipriya

New User


Joined: 16 Jul 2007
Posts: 8
Location: chennai

PostPosted: Tue Jul 17, 2007 7:36 pm
Reply with quote

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
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 -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Compile Several JCL JOB Through one r... CLIST & REXX 4
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Error to read log with rexx CLIST & REXX 11
No new posts isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
No new posts run rexx code with jcl CLIST & REXX 15
Search our Forums:

Back to Top