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

Storage exception in CICS region


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
mlp

New User


Joined: 23 Sep 2005
Posts: 91

PostPosted: Fri Nov 19, 2010 1:12 pm
Reply with quote

I am getting a storage exception while executing a transction in our CICS test region. The CICS transaction is going fine but the job corresponding the CICS region is recording an exception for storage violation.

I serached web and got reason for the COMMAREA length mismatch. And rightly so, we did some copybook changes due to which the COMMAREA length was changed. But all of the modules were recompiled and loaded into CICS region. Still we are getting the same issue.

Can anybody suggest possible root causes?
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Fri Nov 19, 2010 1:52 pm
Reply with quote

Storage Violations can occur for a variety of reasons.

Download the following PDF from IBM and you'll find varied reasons and explanations regarding SV's (DFHSM0102 and DFHSM0103) along with their associated abend-codes. They can be difficult to find, especially if the abended-task suffers from "Sympathy Sickness", when another task in the mix at the same time (the culprit) actually caused the abended-task to go belly-up. Meanwhile, the culprit just keeps on truckin, not knowing what had transpired.

Common SV's I've seen relate to an SAA or SCZ being compromised/overwritten, which prevents CICS from successfully issuing /completing a FREEMAIN.

The more program's involved in the task, where GETMAIN's are issued (implicit and explicit) the more difficult it is to find the SV. In many cases, the SV is detected at the tail-end of task-termination (during a FREEMAIN), but the actual SV could have occurred long before this detection.

www-01.ibm.com/support/docview.wss?uid=swg27007891&aid=1

Bill
Back to top
View user's profile Send private message
mlp

New User


Joined: 23 Sep 2005
Posts: 91

PostPosted: Mon Nov 22, 2010 8:45 am
Reply with quote

I guess, it was not as difficult as it seemed. The root cause was found and it was a foolish mistake. In one of the programs the length of the COMMAREA was harcoded which should not have been the case and instead of that always length of the copybook (01 level var) should be quoted over there. We fixed that length and the problem was resolved.

Anyways, thanks for the help.
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 -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts Check data with Exception Table DB2 0
No new posts Calling an Open C library function in... CICS 1
No new posts How to 'Ping' a CICS region in JCL CICS 2
Search our Forums:

Back to Top