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 Iterative use of a REXX script causin... bryonyh CLIST & REXX 3 Fri Jul 28, 2017 12:52 pm
No new posts Passing data from REXX to C programme... chong.zhou CLIST & REXX 3 Wed Jul 26, 2017 9:11 pm
No new posts REXX to get the all datasets name parasmalik20 CLIST & REXX 5 Tue Jul 18, 2017 9:10 pm
No new posts How system know which REXX to excute? jackzhang75 CLIST & REXX 14 Thu Jul 06, 2017 1:09 am
No new posts REXX - Dynamic file Creation d_sarlie CLIST & REXX 7 Tue Jun 27, 2017 7:30 pm


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