Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Reg: U4038 abend

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
bala.sachin

New User


Joined: 27 Feb 2013
Posts: 9
Location: India

PostPosted: Wed Feb 27, 2013 6:13 pm    Post subject: Reg: U4038 abend
Reply with quote

Hello All,

I received an U4038 abend when i tried to run my job,this is the sysout message

"Invalid character was found in column 8 in argument-1 for function NUMVAL in the program at displacement X'2092'.

I searched the column 8 and found the junk data in one of the records and it resolved the abend but jus curious to know what does X'2092' imply and is there way to find the error record without going one by one?

Thanks
Back to top
View user's profile Send private message

Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1789
Location: Bloomington, IL

PostPosted: Wed Feb 27, 2013 6:34 pm    Post subject: Reply to: Reg: U4038 abend
Reply with quote

You should have mentioned that the message number was IGZ0152S.

General abend method: find the statement in the PMAP that begins at the highest relative address that is less than or equal to the program displacement. Find that statement; note the variables used and find their base register(s) and offsets in the DMAP. Find them in the dump, note the values, and deduce from there. Some of these steps may be simplified if your shop has some such tool as Abend-AID or Fault Analyzer.
Back to top
View user's profile Send private message
Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7312

PostPosted: Wed Feb 27, 2013 6:48 pm    Post subject: Reply to: Reg: U4038 abend
Reply with quote

Quote:
in the program at displacement X'2092'.


Means the code causing the problem was at displacement X'2092' in the program identified as containing that code. In the case of a function call, it will be the instruction which "branched" to the function.

Follow Mr Akatsukami's advice. The DMAP is the "Data Division Map". The PMAP is the "Procedure Division Map", although an Enterprise Cobol compile listing fails to mention that.

For the OFFSET listing, the PMAP starts at the first line which has
Code:
"LINE #  HEXLOC  VERB"

starting in column one.

For the LIST listing (which includes the generated pseudo-assembler code) it starts after the LITERAL POOL MAP, but the first part is not directly related to your code, which will start when column starts with a line number which is the number of the first line of code (from the compile listing, not the source) in your program.

You get the OFFSET listing by using compile options OFFSET,NOLIST

You get the LIST listing by using compile options NOOFFSET,LIST
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 -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts End the job into error / abend state wik123 JCL & VSAM 2 Wed Sep 11, 2019 6:37 pm
No new posts How to check ASRA ABEND TivyaWorld CICS 2 Fri Aug 09, 2019 1:08 pm
No new posts S0C7 abend while running a Cobol Program amitc23 COBOL Programming 2 Tue May 07, 2019 4:06 pm
No new posts Additional PCB denied abend prasun007 IMS DB/DC 1 Tue Feb 26, 2019 2:46 am
No new posts Problem with Return or Exit from DCB ... Vishnu Priya M R PL/I & Assembler 6 Thu Aug 23, 2018 9:43 am

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