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
 

 

4094 abend, return code 00018

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging
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    Post subject: 4094 abend, return code 00018
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

Moderator


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

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

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

Site Director


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

PostPosted: Mon Aug 13, 2012 9:02 pm    Post subject:
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    Post subject: Reply to: 4094 abend, return code 00018
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: 2502
Location: Atlanta, Georgia, USA

PostPosted: Tue Aug 14, 2012 12:44 am    Post subject: Reply to: 4094 abend, return code 00018
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    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts EXIT or RETURN cvnlynn CLIST & REXX 16 Wed Jul 19, 2017 2:50 am
No new posts UNIT=AFF for Easytrieve code gandikk JCL & VSAM 7 Wed Jul 12, 2017 11:42 pm
No new posts C03 ABEND sjiraga PL/I & Assembler 1 Thu Jun 01, 2017 4:51 pm
No new posts DB2 Program abending without giving a... rahulgarg14 DB2 7 Mon May 29, 2017 8:10 pm
No new posts Job failing with USER = 4093 REASON C... Pradeepa S ABENDS & Debugging 1 Wed May 17, 2017 3:35 pm


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