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

U4038 abend at runtime


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

New User


Joined: 21 Oct 2008
Posts: 4
Location: chennai

PostPosted: Tue Oct 21, 2008 5:24 pm
Reply with quote

hi,
i added the cobbatch program as cb3batch program with out any changes to prod1 .while adding i didnot face any problem but while running i am getting an user abend U4038.
please help me in solving this problem.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8697
Location: Dubuque, Iowa, USA

PostPosted: Tue Oct 21, 2008 5:48 pm
Reply with quote

U4038 is usually a Language Environment error. Without more details from the error message, that's about all we can say about it.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Wed Oct 22, 2008 3:07 am
Reply with quote

Hello,

Can you please be more cryptic ? UXXXX abends are user abends, they can have many reasons behind. You may opt to search on 4038 in this forum or post the SYSOUT of failed JOB.

I didn't get, what does this
Quote:
added the cobbatch program as cb3batch program with out any changes to prod1
mean, did you mean - you have given a new name to the load module of an existing program ?
Back to top
View user's profile Send private message
arunasai

New User


Joined: 21 Oct 2008
Posts: 4
Location: chennai

PostPosted: Wed Oct 22, 2008 11:39 am
Reply with quote

hi anuj thanks for reply.
actually the program was present in production as a COBBATCH program
now we need to convert this COBBATCH to CB3BATCH program generally a tool will be available to convert the COBBATCH to CB3BATCH.
but in our application we are not using any tools we are just adding this COBBATCH program as CB3BATCH program(while adding we just mention type as CB3BATCH instead of COBBATCH) to production and they were working fine only.
but this program was giving U4038 error.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed Oct 22, 2008 11:47 am
Reply with quote

You are just adding noise....
the thing about COBBATCH CB3BATCH is irrelevant ...
You got a U4038 abend full stop
look at the execution log to see which component issued the abend
and afterwards at the manuals for the component involved
a user abend is a user abend and is not unique
( the same user abend could be issued by different programs/components)
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Wed Oct 22, 2008 12:51 pm
Reply with quote

Hi,

Please post the SYSOUT of failed JOB, with the information so far in hand we can not provide you much (at least I can not).
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Wed Oct 22, 2008 7:31 pm
Reply with quote

Hello,

Quote:
we can not provide you much (at least I can not).
No one can. Many, many things can cause a U4038.

The good news is that there is almost always more diagnostic info available than merely the abend code.

When more info is posted, we may be able to offer more assistance.
Back to top
View user's profile Send private message
arunasai

New User


Joined: 21 Oct 2008
Posts: 4
Location: chennai

PostPosted: Sat Nov 01, 2008 12:25 pm
Reply with quote

hi,
the sysout offthis job was

An attempt was made to pass a parameter address above 16 megabytes to AMODE(24) program ARUN335
From compile unit ARUN135 at entry point ARUN135 at compile unit offset +00000F1E at entry offset +00000F1E at address 1D901DEE

brief discription of functionality of a job.
IN this job we will pass a few parameter to the program ARUN135. Based on that parameter the program wil call different program.
generally we hard coded the one of the parameter with the program name ARUN335.so always the program ARUN135 will be call ARUN335 only.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8697
Location: Dubuque, Iowa, USA

PostPosted: Sat Nov 01, 2008 9:16 pm
Reply with quote

You're passing a 31-bit address to a 24-bit program. To fix this requires either (1) recompile and relink ARUN335 to be a 31-bit program, or (2) change the calling routine to only pass 24-bit addresses to ARUN335.
Back to top
View user's profile Send private message
Terry Heinze

JCL Moderator


Joined: 14 Jul 2008
Posts: 1249
Location: Richfield, MN, USA

PostPosted: Sun Nov 02, 2008 7:06 am
Reply with quote

The typical procedure at many shops which have this AMODE/RMODE problem is to recompile and link all of the CALLED programs first (as AMODE 31, RMODE ANY) then recompile all the CALLING programs. Check with your systems programmers.
Back to top
View user's profile Send private message
arunasai

New User


Joined: 21 Oct 2008
Posts: 4
Location: chennai

PostPosted: Tue Nov 04, 2008 1:10 pm
Reply with quote

hi,
please let me know how we can change the routine to 24 bit.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue Nov 04, 2008 1:26 pm
Reply with quote

in your first post you talked about cobbatch and cb3batch...
speak to your support to check the differences between the two

why the change for example
why change the subroutines to 24 bits ( downgrading )
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 ISAM and abend S03B JCL & VSAM 10
No new posts Abend S0C4 11 (Page Translation Excep... PL/I & Assembler 16
No new posts WER999A - UNSUCCESSFUL SORT 8ED U Ab... SYNCSORT 5
No new posts the system or user abend SF0F R=NULL COBOL Programming 0
No new posts Need to get an DLI abend like U0200 IMS DB/DC 2
Search our Forums:

Back to Top