View previous topic :: View next topic
|
Author |
Message |
prashantmadhav
New User
Joined: 27 Dec 2006 Posts: 2 Location: Chennai,India
|
|
|
|
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 |
|
|
priyesh.agrawal
Senior Member
Joined: 28 Mar 2005 Posts: 1448 Location: Chicago, IL
|
|
|
|
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 |
|
|
prashantmadhav
New User
Joined: 27 Dec 2006 Posts: 2 Location: Chennai,India
|
|
|
|
No i got it while running the code |
|
Back to top |
|
|
Rajen
New User
Joined: 05 May 2005 Posts: 61
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
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 |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
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 |
|
|
Bitneuker
CICS Moderator
Joined: 07 Nov 2005 Posts: 1104 Location: The Netherlands at Hole 19
|
|
|
|
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 |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
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 |
As my old Okie friends would say, "su** eggs"....grin.... |
|
Back to top |
|
|
Bitneuker
CICS Moderator
Joined: 07 Nov 2005 Posts: 1104 Location: The Netherlands at Hole 19
|
|
|
|
My guess is the problem is solved; no reaction from TS. Probably corrected the AMODE/RMODE. |
|
Back to top |
|
|
|