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: 8280
Location: Dubuque, Iowa, 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: 8280
Location: Dubuque, Iowa, 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 3270 Data stream error Benchwarmer CICS 6 Tue Apr 17, 2018 12:06 am
No new posts Handling result sets in the calling N... Rusikesh DB2 7 Fri Apr 13, 2018 12:25 am
No new posts VSAM file NOT Found error while proce... SumaReva CICS 5 Wed Apr 11, 2018 9:54 pm
No new posts IMS error U4038 while executing my PL... abdulrafi IMS DB/DC 2 Thu Feb 08, 2018 1:05 pm
No new posts CICS called and calling program rizwanaccy CICS 1 Thu Feb 01, 2018 4:34 pm

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