What timestamp does the CONTOKEN on a RC/Query Package List report represent?
search cancel

What timestamp does the CONTOKEN on a RC/Query Package List report represent?

book

Article ID: 19580

calendar_today

Updated On:

Products

RC/Query for DB2 for z/OS

Issue/Introduction

When a program is compiled and bound a CONTOKEN is stamped on the package as well as embedded in the load module. During program execution the load
module passes the CONTOKEN to Db2 to find the correct version of the package. If the contokens match, the program works. If they do not match a -805 occurs
and the correct version of the package needs to be found. Using the CONTOKEN or a TIMESTAMP users can check if a match is found in the load module.

What timestamp does the CONTOKEN on a RC/Query for Db2 for z/OS (RCQ) Package List (PK L) report represent?

Resolution

The CONTOKEN shown on the Package Detail Report in RC/Query is from SYSIBM.SYSPACKAGES. This represents the timestamp when the
package program was precompiled. The RC/Query detailed screen also contains the precompiled date. Either the CONTOKEN or precompile
date can be searched for in the load module to ensure there is a match.