TPX uses "control record 0" to guarantee that the VSAM control information, maintained on each system, is in sync. Doing this avoids possible index problems if and when CA/CI splits occur on the VSAM files. If a TPX VSAM file is Restored, Reorged or Copied/Moved, the control record 0 on the file will probably contain incorrect information. This should be deleted by running the BATCHINI job found in the sample library, before any image of TPX is started.
The Reset Integrity batch job (BATCHINI) must be executed anytime you REORG, COPY, MOVE or catalog the TPX VSAM Databases (ADMIN1, ADMIN2, MAIL, VIEW and NOTES). It should also be run when you observe VSAM Integrity Errors in the TPX LOG.
If the VSAM file control record 0 is deleted, and the reset Integrity job runs with Condition Code 08, this is considered normal and not an error situation.
Sample BATCHINI JCL is provided in the TPX install Sample Library, CB0VSRC. 'TPXPROCNAME' in this sample should be changed to the TPX procedure name for the Started task.