you can use hex(contoken)
primary key of a package = collid,name,contoken or collid,name,version
thus different contoken = different package. => -805
This is a standard confusion: Most site let DB2 decide the Version and this looks like a timestamp (but really isn't)
so each time you precompile you get a new VERSION.
But you can also specify the VERSION in the precompile options.
so each time you precompile your version (and contoken) remain the same. f.e IBM sometimes uses fixpack numbers or APARnumbers as Version.
Somewhere in the DBRM there is also a real timestamp_precompile.
and if this is different you get -818
I can explain it to you, but i can not understand it for you.