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
 

 

MAXCC = 12 when I am trying to delete the GDG base

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

Active User


Joined: 21 Mar 2007
Posts: 203
Location: India

PostPosted: Thu Sep 27, 2007 4:54 pm    Post subject: MAXCC = 12 when I am trying to delete the GDG base
Reply with quote

Hi All,

Currently I am using the following piece of code to generate a GDG.
Code:
//STEP01    EXEC PGM=IDCAMS                                     
//SYSPRINT  DD  SYSOUT=*                                       
//SYSIN     DD  *                                               
  DEF GDG (NAME(PV5240A.GDGTEST) LIMIT(10))                     
/*                                                             
//GDGCRFIL EXEC PGM=IEFBR14                                     
//FILEOUT  DD DSN=PV5240A.GDGTEST(-1),DISP=(MOD,DELETE,DELETE), 
//           DCB=(SYS2.GDG,RECFM=FB,LRECL=133,BLKSIZE=0),       
//           SPACE=(CYL,(10,10),RLSE)                           


But when I am trying to delete the GDG base, I am not able to run the job successfully. Moreover the job is abending with MAXCC = 12
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10232
Location: italy

PostPosted: Thu Sep 27, 2007 4:58 pm    Post subject: Reply to: GDG Deletion
Reply with quote

Don' t You thing that to avoid useless traffic on the forum
it would have been wiser to post the jcl and the sysout for the delete job???

regards

e.s
Back to top
View user's profile Send private message
swapnadeep.ganguly

Active User


Joined: 21 Mar 2007
Posts: 203
Location: India

PostPosted: Thu Sep 27, 2007 5:01 pm    Post subject:
Reply with quote

I have posted the JCL...
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10232
Location: italy

PostPosted: Thu Sep 27, 2007 5:11 pm    Post subject: Reply to: GDG Deletion
Reply with quote

Quote:
I have posted the JCL...


it was the wrong one... useless to analyze Your problem
probably You were trying to delete a non empty gdg base

here are the pointers to possible solutions
( You could have found them yourself looking at the manual )

case 1
delete all the gdg entries ( files ) and the gdg base
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/DGT1I204/3.19.2.11?SHELF=DGT1BK23&DT=19970513140242&CASE=

case 2
delete only the gdg base and keep the files
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/DGT1I204/3.19.2.12?SHELF=DGT1BK23&DT=19970513140242&CASE=

regards

e.s

PS before replying read the answers
Back to top
View user's profile Send private message
swapnadeep.ganguly

Active User


Joined: 21 Mar 2007
Posts: 203
Location: India

PostPosted: Thu Sep 27, 2007 5:14 pm    Post subject:
Reply with quote

I am sorry.

Thank you for your reply.
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 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
No new posts Delete VSAM File Records amitc23 CICS 6 Sun Apr 10, 2016 10:10 am
No new posts DB2 Stored Procedure - Dynamic SQL - ... GuyC DB2 2 Wed Feb 17, 2016 5:10 pm


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