Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Deletion of GDG Base in REXX

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
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    Post subject: Deletion of GDG Base in REXX
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: 8593
Location: Back in jolly old England

PostPosted: Tue Jul 17, 2007 5:02 pm    Post subject:
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    Post subject: Re: Deletion of GDG Base in REXX
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

Site Director


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

PostPosted: Tue Jul 17, 2007 7:14 pm    Post subject:
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    Post subject: Re: Deletion of GDG Base in REXX
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

Site Director


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

PostPosted: Tue Jul 17, 2007 7:31 pm    Post subject:
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    Post subject: Re: Deletion of GDG Base in REXX
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    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 5 Wed Oct 04, 2017 6:54 am
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 47 Fri Sep 29, 2017 1:08 pm
No new posts ejck thru rexx to multiple jobs insid... Susanta All Other Mainframe Topics 5 Tue Sep 19, 2017 1:39 pm
This topic is locked: you cannot edit posts or make replies. Extract all "IF" Statements... Adarsh Damodaran CLIST & REXX 1 Wed Sep 06, 2017 9:28 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us