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

4094 abend, return code 00018


IBM Mainframe Forums -> ABENDS & Debugging
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Art Evans

New User


Joined: 10 Aug 2012
Posts: 1
Location: US

PostPosted: Mon Aug 13, 2012 8:47 pm
Reply with quote

We have a background CICS transaction that is sporadically getting LE user abend 4094. The CICS log indicates return code 00018. Does anyone know how to locate the storage that LE is indicating has been overlaid?
Back to top
View user's profile Send private message
Pandora-Box

Global Moderator


Joined: 07 Sep 2006
Posts: 1590
Location: Andromeda Galaxy

PostPosted: Mon Aug 13, 2012 8:56 pm
Reply with quote

Are you sure 4094 is the abend?
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19245
Location: Inside the Matrix

PostPosted: Mon Aug 13, 2012 9:02 pm
Reply with quote

Hello and welcome to the forum,

It is quite likely that there is a different "real" problem that leads to the U4094.

Look in your code for an array that gets written beyond the end of the array. Or some data that arrives longer than the expected length.
Back to top
View user's profile Send private message
Peter cobolskolan

Active User


Joined: 06 Feb 2012
Posts: 104
Location: Sweden

PostPosted: Tue Aug 14, 2012 12:29 am
Reply with quote

Tip: Compiler option SSRANGE will make it easier to solve such a problem, because the compiler generates code to check if subscript/index is valid.
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


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

PostPosted: Tue Aug 14, 2012 12:44 am
Reply with quote

Also, the LE option CHECK(ON) must be set. Because you might have an AMODE issue, set option ALL31(OFF).

If it's an index/subscript out of range, it's easy enough to calculate the max value/hibound in program housekeeping and use this as the max-hibound throughout the logic. Hard-coded max-hibounds can then be eliminated.
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 -> ABENDS & Debugging

 


Similar Topics
Topic Forum Replies
No new posts Cobol code- to find a string in a str... COBOL Programming 3
No new posts IEF085I REGION UNAVAILABLE,ERROR CODE... Java & MQSeries 0
No new posts S722 abend and ESTAE ABENDS & Debugging 1
No new posts How to convert RESP code 12 to text? CICS 9
No new posts Execute step regardless of previous s... JCL & VSAM 2
Search our Forums:

Back to Top