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: 2284
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 XML Parse for large file muralikrishnan_new COBOL Programming 3 Mon Jun 12, 2017 12:50 pm
No new posts SMTP the current generation number of... Jyothi Kulunde JCL & VSAM 4 Thu May 04, 2017 4:08 pm
No new posts Sort Large record length cmsmoon DFSORT/ICETOOL 14 Tue Apr 11, 2017 5:49 pm
No new posts Edit large number of datasets (QSAM) zh_lad TSO/ISPF 3 Tue Apr 04, 2017 6:08 pm
No new posts how to mask the phone number kumarinfy DB2 4 Mon Apr 03, 2017 5:23 pm


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