Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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 REXX cdoe to purge a JOB from spool a... Sulabh Agrawal CLIST & REXX 11 Thu Mar 09, 2017 11:36 am
No new posts Overriding PS data in rexx Shaheen Shaik CLIST & REXX 8 Fri Mar 03, 2017 5:08 pm
No new posts REXX compiled via RXTCOMP sergeyken CLIST & REXX 7 Tue Feb 07, 2017 9:41 pm
This topic is locked: you cannot edit posts or make replies. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm
No new posts REXX DB2: Dynamic allocation of DB2.D... BHAS CLIST & REXX 3 Mon Dec 19, 2016 8:26 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us