MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

TimeStamp Mismatch Fix

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database
View previous topic :: View next topic  
Author Message
ST
Beginner


Joined: 04 Jan 2003
Posts: 24
Topics: 12

PostPosted: Sun Jan 05, 2003 6:49 pm    Post subject: TimeStamp Mismatch Fix Reply with quote

Kolusu,
Thx for ur info reg Timestamps...But When we get Timestamp mismatch how do we fix that?

Suppose after the BIND,if the pgm is abended then do we really need to start from PRECOMPILE again? if not if we just REBIND the program then obviously we get TIMESTAMP mismatches I think..Correct me if am wrong and pls let me know the solution..

Thanks,
ST
Back to top
View user's profile Send private message
Manas Biswal
Intermediate


Joined: 29 Nov 2002
Posts: 382
Topics: 27
Location: Chennai, India

PostPosted: Mon Jan 06, 2003 12:21 am    Post subject: Reply with quote

Hi ST,

You can do a bind as many number of times as you can but you will not get a timestamp mismatch. You get a timestamp mismatch when the DBRM and the load are not in sync. After you have generated the DBRM, you can bind it as many number of times as you can but won't get a timestamp mismatch.

Regards,
Manas
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Nila
Beginner


Joined: 26 Dec 2002
Posts: 20
Topics: 8
Location: Chennai, India

PostPosted: Mon Jan 06, 2003 4:13 am    Post subject: Reply with quote

Normally I am facing this problem while using ENDEVOR.

In ENDEVOR, after updating a program we have to move the program into the ENDEVOR( it automatically compiles while moving) and generate the Bind plan also. Without generating the plan if we execute the program it will abend with timestamp mismatch.
_________________
Cheers Nila..
Back to top
View user's profile Send private message
ST
Beginner


Joined: 04 Jan 2003
Posts: 24
Topics: 12

PostPosted: Mon Jan 06, 2003 1:14 pm    Post subject: Reply with quote

Manas,
Thanks a lot...


ST
Back to top
View user's profile Send private message
ajeykumar
Beginner


Joined: 29 Nov 2002
Posts: 8
Topics: 1
Location: Calcutta India

PostPosted: Tue Jan 07, 2003 12:24 am    Post subject: Reply with quote

Just as an afterthought, the entire process of a timestamp mismatch occuring is:

When the precompile is done, the timestamp is placed in SYSIBM.SYSDBRM when the DBRM is created. Also, this same timestamp is written down for each of the sql call statements (each sql is also assigned a unique sqlid) which appear in the output of a precompile. Now for a plan to run without any problems the dbrm timestamp and the timestamp associated with each sql in the precompile output must be equal.

So, in case you take the precompile output and make changes to purely cobol statements, your program will still run after cobol-compiling & linkediting this version.

In most cases that I have experienced, the timestamp mismatch occurs when you are dealing with multiple versions of the program residing in concatenated libraries.

Hope this gives a good idea of the overall picture regarding timestamps.

Thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group