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

Error calling subprogram


IBM Mainframe Forums -> Compuware & Other Tools
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
chitra_chaturvedi

New User


Joined: 24 Jul 2007
Posts: 18
Location: india

PostPosted: Sat Feb 20, 2010 12:41 am
Reply with quote

Hi All,

I have a main program A(non -DB2) which calls another program B(DB2)
which further calls program C(DB2)
A--> calls B --> calls C

when I try to get into the subprogram B via expeditor I get the following message
SOURCE LISTING TIME STAMP DOES NOT MATCH LOAD MODULE

Also i found that there is mismatch in compile date and time of DDIO member and the compile date and time stored in the load module (CHGMAN.STAGE.XWZ1.#99999.LOD) for both the subprograms. The load library name is correct and same DDIO file is used for all three programs.

I recompiled all the programs with expd option as Y, but it still gives me the same message.

Can someone let me know how to get it resolved.

Thankyou for the help in advance!
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


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

PostPosted: Sat Feb 20, 2010 12:50 am
Reply with quote

Possibility 1: the DDIO the source is being stored in is not the DDIO your debugging session points to.

Possibility 2: there are concatenated load libraries in your execution JCL and the modules are not coming from the library you think they are.

Possibility 3: the subprograms are being linked into your A program using a library (concatenated possibly) that is not the one you compiled them into.

Possibility 4: you are not compiling program C, then program B, then program A.

The SOURCE LISTING TIME STAMP DOES NOT MATCH LOAD MODULE message means
Quote:
there is mismatch in compile date and time of DDIO member and the compile date and time stored in the load module
You have to figure out why the difference -- the 4 possibilities I suggested are good places to start (but there are always other things that might have happened).
Back to top
View user's profile Send private message
Kjeld

Active User


Joined: 15 Dec 2009
Posts: 365
Location: Denmark

PostPosted: Sat Feb 20, 2010 2:03 am
Reply with quote

Quote:
I recompiled all the programs with expd option as Y, but it still gives me the same message.
A recompile alone will not solve the issue, you will have to run the linkage editor to link the 3 objects into a new loadmodule where the timestamps matches those of the DDIO Xpeditor source.
Back to top
View user's profile Send private message
chitra_chaturvedi

New User


Joined: 24 Jul 2007
Posts: 18
Location: india

PostPosted: Sat Feb 20, 2010 3:13 am
Reply with quote

Thanks for the prompt response..

I am compiling all the programs via changeman. I so am presuming that they will be link edited at that time only..

I still trying to get this issue resolved..
Back to top
View user's profile Send private message
chitra_chaturvedi

New User


Joined: 24 Jul 2007
Posts: 18
Location: india

PostPosted: Sat Feb 20, 2010 4:12 am
Reply with quote

I managed to get in working by including another load library which was getting created.
In changeman, I could see two libraries created for the three programs -
CHGMAN.STAGE.XWZ1.#99999.LOD and
CHGMAN.STAGE.XWZ1.#99999.LDC

I had used CHGMAN.STAGE.XWZ1.#99999.LOD as a load library for expeditor. I changed it to CHGMAN.STAGE.XWZ1.#99999.LDC and it is working fine now.

Thanks Robert and Kjeld for your suggestions! icon_smile.gif
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


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

PostPosted: Sat Feb 20, 2010 4:30 am
Reply with quote

Glad to hear you got it working!
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 -> Compuware & Other Tools

 


Similar Topics
Topic Forum Replies
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
No new posts Calling Java method from batch COBOL ... COBOL Programming 5
Search our Forums:

Back to Top