Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 -> JCL & VSAM
View previous topic :: :: View next topic  
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

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8165
Location: East Dubuque, Illinois, USA

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
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 Skip file from delete pema_yozer All Other Mainframe Topics 3 Tue Aug 29, 2017 3:19 pm
No new posts Delete IMS remote transaction when MO... Sam Singh IMS DB/DC 0 Wed Aug 23, 2017 9:12 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 How to delete second instance from Fl... Gunapala CN DFSORT/ICETOOL 6 Tue Oct 18, 2016 11:42 pm
No new posts Delete record or Reset RC code using ... mpawan Compuware & Other Tools 4 Tue Jul 26, 2016 3:52 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us