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
 

 

How to delete gdg base and gdg files?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
zawx

New User


Joined: 28 Feb 2008
Posts: 21
Location: china

PostPosted: Mon Mar 17, 2008 10:01 am    Post subject: How to delete gdg base and gdg files?
Reply with quote

icon_question.gif
I defined a gdg base.
if I coded: delete gdg1.base gdg purge,
delete succeeded.
But when I defined a gdg base and some gdg files,
if I code: delete gdg1.base gdg purge,
delete failed.
If I code:
delete gdg1.base.*
delete gdg1.base gdg purge
delete succeeded.
So I thinked the first statement was used for deleting gdg files,and the second statement was used for deleting gdg base.
Can I delete gdg base and gdg files in only one statement?
What is The statement?
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: Mon Mar 17, 2008 8:03 pm    Post subject:
Reply with quote

Take a look at the IDCAMS manual for the DELETE command, and you can easily find the required syntaxt to do what you want.
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts High CPU consumption Job using IAM fi... aswinir JCL & VSAM 15 Thu Dec 01, 2016 8:28 pm
No new posts JCL to delete component in a package sundaram.naveen Compuware & Other Tools 14 Tue Nov 29, 2016 6:21 pm
No new posts Match or compare two files in VB Format anatol DFSORT/ICETOOL 14 Thu Nov 03, 2016 7:41 pm
No new posts How to delete second instance from Fl... Gunapala CN DFSORT/ICETOOL 6 Tue Oct 18, 2016 11:42 pm
This topic is locked: you cannot edit posts or make replies. How to use 2 input files in control c... Gunapala CN DFSORT/ICETOOL 23 Thu Oct 13, 2016 3:42 pm


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