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

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


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Sep 27, 2007 4:58 pm
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
Reply with quote

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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Sep 27, 2007 5:11 pm
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
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 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