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
 

 

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: 7931
Location: Bellevue, IA

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: 7931
Location: Bellevue, IA

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 OO COBOL compile error Virendra Shambharkar COBOL Programming 3 Tue Jan 10, 2017 6:05 pm
This topic is locked: you cannot edit posts or make replies. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm
No new posts S922 Error yuvan ABENDS & Debugging 3 Fri Dec 02, 2016 6:58 pm
No new posts Invoke Webservice Fails with DFHPI100... divated CICS 2 Thu Nov 24, 2016 5:57 pm
No new posts Error during restore rename archanamuthukrishnan All Other Mainframe Topics 2 Fri Oct 14, 2016 3:30 pm


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