what is consistency token

Answers were Sorted based on User's Feedback



what is consistency token..

Answer / guest

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.

Is This Answer Correct ?    14 Yes 2 No

what is consistency token..

Answer / harsh

Consistency Token is a time stamp.
One can see the token using the following query:
select * from sysibm.syspackage;

The CONTOKEN column gives the consistency token

Is This Answer Correct ?    7 Yes 1 No

what is consistency token..

Answer / vj

The program and its associated SQL package contain a consistency token that is checked when a call is made to the SQL package. The consistency tokens must match or the package cannot be used. It is possible for the program and SQL package to appear to be uncoordinated. Assume the program is on the iSeries system and the application server is another iSeries system. The program is running in session A and it is recreated in session B (where the SQL package is also recreated). The next call to the program in session A might result in a consistency token error. To avoid locating the SQL package on each call, SQL maintains a list of addresses for SQL packages that are used by each session. When session B re-creates the SQL package, the old SQL package is moved to the QRPLOBJ library. The address to the SQL package in session A is still valid. (This situation can be avoided by creating the program and SQL package from the session that is running the program, or by submitting a remote command to delete the old SQL package before creating the program.)

To use the new SQL package, you should end the connection with the remote system. You can either sign off the session and then sign on again, or you can use the interactive SQL (STRSQL) command to issue a DISCONNECT for unprotected network connections or a RELEASE followed by a COMMIT for protected connections. RCLDDMCNV should then be used to end the network connections. Call the program again.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More DB2 Interview Questions

What is SPUFI?

4 Answers  


I use CS and update a page. Will the lock be released after I am done with that page?

2 Answers  


Hi this is sures. i need to practice the ibm mainframes.could u telme how can i get userid from IBM.how much cost they will collect for one user id.can send me the details please.thanq

2 Answers  


What happens to a tablespace when its recovery infromation has been removed and a full recovery is no longer possible?

2 Answers  


What is the use of db2?

0 Answers  






What is explain in db2?

0 Answers  


Name some fields from SQLCA.

2 Answers  


What are db2 error codes -305 and -407. What is the difference between these 2 error codes ?

1 Answers  


we can code COPY DCLGEN or INCLUDE DCLGEN, At which stage of the precompilation , dclgen get expanded if we write 1) copy 2) include one question about dclgen.. Is it mandatory to use declare table in dclgen.. I think no...but it will be used by the precompiler to validate the table name,column name etc.., can one clear my doubt ..is it necessary to include declare table or not?

2 Answers  


What is the maximum No of rows per page?

0 Answers   IBM,


File not opened because library is *PROD and debug is UPDPROD(*NO). ? what may be the reason? how to solve it..?

0 Answers   Infosys,


Is Cursor exicutable ?

3 Answers   TetraSoft,


Categories