arv Beginner
Joined: 30 Mar 2003 Posts: 13 Topics: 11
|
Posted: Wed Apr 30, 2003 9:51 am Post subject: Time stamp mismatch error |
|
|
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. |
|
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Wed Apr 30, 2003 11:52 am Post subject: |
|
|
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 |
|