Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Error calling subprogram

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Compuware & Other Tools
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    Post subject: Error calling subprogram
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: 8165
Location: East Dubuque, Illinois, USA

PostPosted: Sat Feb 20, 2010 12:50 am    Post subject:
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    Post subject:
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    Post subject:
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    Post subject:
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: 8165
Location: East Dubuque, Illinois, USA

PostPosted: Sat Feb 20, 2010 4:30 am    Post subject:
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    IBMMAINFRAMES.com Support Forums -> Compuware & Other Tools All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts FTP Skip or ignore error and process ... AJAYREDDY All Other Mainframe Topics 3 Wed Sep 27, 2017 8:12 pm
No new posts Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am
No new posts FUSE - IBM MQ - CICS integration error Kevin Vaz CICS 1 Mon Sep 18, 2017 4:31 pm
No new posts Reply MQ open error Vignesh Sid COBOL Programming 6 Thu Sep 07, 2017 6:02 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us