IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Need to delete GDG bases


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
leat

New User


Joined: 20 May 2006
Posts: 3
Location: Olympia, WA

PostPosted: Mon Aug 11, 2008 10:37 pm
Reply with quote

I can't seem to find an IBM or File Aid command to remove a GDG base.
Any ideas?
[/list]
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Mon Aug 11, 2008 10:45 pm
Reply with quote

IDCAMS DELETE will do it.
Back to top
View user's profile Send private message
leat

New User


Joined: 20 May 2006
Posts: 3
Location: Olympia, WA

PostPosted: Mon Aug 11, 2008 10:49 pm
Reply with quote

I get a JCL PREP ERROR:
1 ERROR MESSAGE(S)
.JCPA JCP0429E 'FILE NAME' IS AN INVALID VALUE FOR 'DE
LETE' - LINE: 1 -- (J)13(P)2(A)2

When I try to use IDCAMS DELETE. I'm using my standard:
//STEP01 EXEC IDCAMS,COND=(0,NE)
//SYSPRINT DD SYSOUT=(,)
//SYSIN DD *
DELETE PDTEST.FILE
IF MAXCC = 8 THEN -
SET MAXCC = 0

Do you have some sample code that's different?
Back to top
View user's profile Send private message
leat

New User


Joined: 20 May 2006
Posts: 3
Location: Olympia, WA

PostPosted: Mon Aug 11, 2008 10:52 pm
Reply with quote

OMG....
I should have known it was just a PREP #@%!.

You are 100%

I ran it anyway and it wiped the base without a JCL error.

Thank you!
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts DELETE SPUFI DB2 1
No new posts DSNTIAUL driven delete IBM Tools 0
No new posts How to delete a user's alias from the... JCL & VSAM 11
No new posts Delete file row if blanks in the firs... DFSORT/ICETOOL 5
No new posts volume mass delete RMM JCL & VSAM 2
Search our Forums:

Back to Top