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
 

 

U4038 Abend after made changes to the called program

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging
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    Post subject: problem still persists....
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: 1452
Location: Chicago, IL

PostPosted: Thu Dec 28, 2006 11:41 am    Post subject: Re: U4038 Abend after made changes to the called program
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    Post subject: reply
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    Post subject: Re: U4038 Abend after made changes to the called program
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

Site Director


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

PostPosted: Fri Dec 29, 2006 1:14 am    Post subject:
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: 3158
Location: Tucson AZ

PostPosted: Fri Dec 29, 2006 1:42 am    Post subject:
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: 1105
Location: The Netherlands at Hole 19

PostPosted: Thu Jan 04, 2007 4:46 am    Post subject:
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: 3158
Location: Tucson AZ

PostPosted: Thu Jan 04, 2007 4:57 am    Post subject:
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: 1105
Location: The Netherlands at Hole 19

PostPosted: Thu Jan 04, 2007 3:17 pm    Post subject:
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    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 Executing OO COBOL program invoking J... Virendra Shambharkar COBOL Programming 2 Tue Jan 10, 2017 6:37 pm
No new posts Need Suggestion on COBOL program vickey_dw COBOL Programming 5 Thu Jan 05, 2017 10:55 pm
No new posts I can not compile my program PL1 V3.R... Miguel Fernandez PL/I & Assembler 13 Tue Dec 06, 2016 8:30 pm
No new posts How does a called pgm know if its cal... Graeme Westerman COBOL Programming 4 Tue Nov 29, 2016 9:25 pm
No new posts IMS BMP program causes 878 system abend Artemk IMS DB/DC 7 Tue Nov 22, 2016 8:26 pm


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