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
 

 

deleting a large number gdg bases

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Compuware & Other Tools
View previous topic :: :: View next topic  
Author Message
Gursharan Khalsa

New User


Joined: 04 Sep 2007
Posts: 33
Location: Salinas

PostPosted: Thu Feb 19, 2009 12:38 pm    Post subject: deleting a large number gdg bases
Reply with quote

how can we delete more than one GDG base in a single go using file-aid???
Back to top
View user's profile Send private message

Arun Raj

Moderator


Joined: 17 Oct 2006
Posts: 2238
Location: @my desk

PostPosted: Thu Feb 19, 2009 2:14 pm    Post subject:
Reply with quote

AFAIK File-aid makes use of IDCAMS to get this job done.

If you want to delete multiple gdg bases in batch, you can try something like this.
Code:
//JS10     EXEC PGM=IDCAMS                   
//SYSPRINT DD  SYSOUT=*                     
//SYSIN    DD  *                             
    DELETE XXXXXXX.TEST.BASE1 GDG FORCE PURGE
    DELETE XXXXXXX.TEST.BASE2 GDG FORCE PURGE
    DELETE XXXXXXX.TEST.BASE3 GDG FORCE PURGE
    DELETE XXXXXXX.TEST.BASE4 GDG FORCE PURGE
/*                                           
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 -> Compuware & Other Tools All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts what is meaning of the number in dcl Martylin PL/I & Assembler 2 Thu Mar 09, 2017 7:18 am
No new posts Extract set of records matching on ac... bhaskar_kanteti DFSORT/ICETOOL 3 Mon Mar 06, 2017 7:19 am
No new posts GDG version number PANDU1 JCL & VSAM 4 Sat Mar 04, 2017 8:28 pm
No new posts Not able to compress a very large PDS Hervey Martinez JCL & VSAM 7 Fri Nov 04, 2016 5:57 pm
No new posts VSAM define for large file jerryte JCL & VSAM 9 Wed Oct 05, 2016 1:51 am


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