Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
Need to delete GDG bases

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> SMS & VSAM
Author Message
leat

New User


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

PostPosted: Mon Aug 11, 2008 10:37 pm    Post subject: Need to delete GDG bases
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
References
Robert Sample

Senior Member


Joined: 06 Jun 2008
Posts: 963
Location: Atlanta, GA

PostPosted: Mon Aug 11, 2008 10:45 pm    Post subject:
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: 4
Location: Olympia, WA

PostPosted: Mon Aug 11, 2008 10:49 pm    Post subject:
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: 4
Location: Olympia, WA

PostPosted: Mon Aug 11, 2008 10:52 pm    Post subject:
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
Moved: Mon Aug 11, 2008 11:49 pm by superk From JCL to SMS & VSAM
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> SMS & VSAM All times are GMT + 6 Hours
Page 1 of 1