Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 1542
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: 2504
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 Speed-up/reduce CPU use of code prino PL/I & Assembler 0 Tue Sep 26, 2017 12:05 am
No new posts Return a Non Numeric value from REXX Learncoholic CLIST & REXX 3 Fri Sep 01, 2017 8:33 pm
This topic is locked: you cannot edit posts or make replies. how to code for GDG in Rexx cvnlynn CLIST & REXX 13 Wed Aug 09, 2017 9:13 pm
This topic is locked: you cannot edit posts or make replies. rexx code to create a ps file Bharath Vikraman CLIST & REXX 4 Mon Aug 07, 2017 10:30 am
No new posts I want to retire TRX and use only Rex... Abhinav Sharma CLIST & REXX 6 Sat Jul 29, 2017 2:53 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us