Interview Questions   Tutorials   Discussions   Programs   

DB2 - What is consistency token?

asked mar August 21, 2014 11:41 AM  

What is consistency token?


1 Answers

answered By Mswami   0  
Consistency token is a timestamp generated by the precompiler and passed on to the DBRM and the load module for synchronization purposes. The program will execute only when the DBRM and load module contoken matches. 

If we remember during precompilation process, the SQL part and COBOL part  are separated.While doing so, compiler engraves a time stamp to each part, so that later they can identify each other. at run time. This time stamp is what we call  consistency token. We get SQL code of -818 when the Consistency Token placed by DB2 precompilation Step  does not match between the DBRM and the Load Module.
   add comment

Your answer

Join with account you already have



 Write A Tutorials
Online-Classroom Classes

  1 person following this question

  1 person following this tag

  Question tags

Asked 2 years and 3 months ago ago
Number of Views -315
Number of Answers -1
Last updated
3 years and 3 months ago ago

Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!