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.