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

U4038 Abend after made changes to the called program


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

New User


Joined: 27 Dec 2006
Posts: 2
Location: Chennai,India

PostPosted: Thu Dec 28, 2006 11:27 am
Reply with quote

Hi all

I got U4038 Abend.Since I have a called program in my cobol program and i made changes to the called program and when compiled it again along with calling program.It showed the ABEND 4038.
But when i run the program with unmodified version of the called program.It works fine i.e. no Abends.
My requirement is such that i need the called program and i cant compile without the called program.

Please revert back soon
Back to top
View user's profile Send private message
priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1448
Location: Chicago, IL

PostPosted: Thu Dec 28, 2006 11:41 am
Reply with quote

Quote:
i made changes to the called program and when compiled it again along with calling program.It showed the ABEND 4038.

Did you get that while compiling the modified code for called program ??
Back to top
View user's profile Send private message
prashantmadhav

New User


Joined: 27 Dec 2006
Posts: 2
Location: Chennai,India

PostPosted: Thu Dec 28, 2006 12:06 pm
Reply with quote

No i got it while running the code
Back to top
View user's profile Send private message
Rajen

New User


Joined: 05 May 2005
Posts: 61

PostPosted: Thu Dec 28, 2006 12:54 pm
Reply with quote

Hi Madhav,
If main program or called program are DB2 Program?
If yes then make sure you have bind these 2 correctly. Also you need to check both programs are using which version of Cobol.

Can you please SQLCODE for abend job. If it is -805 then it should be because you didnot bind them properly.

SQLCODE -805

-805 DBRM OR PACKAGE NAME
location-name.collection-id.dbrm-name.consistency -token NOT FOUND
IN PLAN plan-name. REASON reason

Explanation: An application program attempted to use a DBRM or package
'location-name.collection-id.dbrm-name.consistency-token' that was not
found.
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: Fri Dec 29, 2006 1:14 am
Reply with quote

Hello,

What did you change in the called program?

If you re-compile the UNCHANGED version of the called program and run the same test(?) job, does the abend still occur?
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Fri Dec 29, 2006 1:42 am
Reply with quote

For what its worth, I was getting the same thing because I kept messing around with the input and output file recform and lrecl.......
Back to top
View user's profile Send private message
Bitneuker

CICS Moderator


Joined: 07 Nov 2005
Posts: 1104
Location: The Netherlands at Hole 19

PostPosted: Thu Jan 04, 2007 4:46 am
Reply with quote

William Thompson wrote:
For what its worth, I was getting the same thing because I kept messing around with the input and output file recform and lrecl.......


Bill......... thou shall not mess around icon_wink.gif
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Thu Jan 04, 2007 4:57 am
Reply with quote

Bitneuker wrote:
William Thompson wrote:
For what its worth, I was getting the same thing because I kept messing around with the input and output file recform and lrecl.......
Bill......... thou shall not mess around icon_wink.gif
As my old Okie friends would say, "su** eggs"....grin....
Back to top
View user's profile Send private message
Bitneuker

CICS Moderator


Joined: 07 Nov 2005
Posts: 1104
Location: The Netherlands at Hole 19

PostPosted: Thu Jan 04, 2007 3:17 pm
Reply with quote

My guess is the problem is solved; no reaction from TS. Probably corrected the AMODE/RMODE.
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 Using API Gateway from CICS program CICS 0
No new posts ISAM and abend S03B JCL & VSAM 10
No new posts DB2 Event passed to the Application P... DB2 1
No new posts How to pass the PARM value to my targ... COBOL Programming 8
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
Search our Forums:

Back to Top