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 

Time stamp mismatch error

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


Joined: 30 Mar 2003
Posts: 13
Topics: 11

PostPosted: Wed Apr 30, 2003 9:51 am    Post subject: Time stamp mismatch error Reply with quote

Hi all,

I would like to know about timestamp mismatch error -818 in detail.I would like to know whether timestamp is inserted for every sql statement or only one timestamp for entire load module.Kindly explain in detail.

with regards,

arv.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Wed Apr 30, 2003 11:52 am    Post subject: Reply with quote

Arv,

The SQL precompiler(the first step in preparing an application program) places timestamp 'y' in the DBRM, and time stamp 'x' in the parameter list in the application program for each SQL statement.At BIND time, DB2 stores the DBRM timestamp for run-time use.At run-time, timestamp 'x',for the SQL statement being processed, is compared with timestamp 'y' derived from the DBRM 'z' at BIND time.If the two timestamps do not match, the DBRM and the application program were not the result of the same precompile which will result in -818,when the program execuetes.Timestamps 'x' and 'y' are DB2 internal timestamps.They do not have an external interpretation.

Hope this helps...

cheers

kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
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