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: 1529
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 How to Capture the Max return code of... anilkumar922 All Other Mainframe Topics 0 Thu Jan 12, 2017 12:02 pm
This topic is locked: you cannot edit posts or make replies. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm
No new posts PL/I code tuning/Performance improvement Virendra Shambharkar PL/I & Assembler 4 Mon Dec 05, 2016 11:57 am
No new posts What is the code in CLIST to enable t... jackzhang75 CLIST & REXX 1 Fri Dec 02, 2016 3:02 am
No new posts IDEAL - Code Retrieval yugendran CA Products 0 Fri Nov 25, 2016 3:27 pm


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