What does the TPX RESET INTEGRITY batch job BATCHINI provide and when should it be run ?

Document ID : KB000026440
Last Modified Date : 23/02/2018
Show Technical Document Details
Question:

What does the TPX RESET INTEGRITY batch job BATCHINI provide and when should it be run ?

Environment:
CA TPX for z/OS
Answer:

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.

Note:
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.

Additional Information:

Information on format of the RESET INTEGRITY statement, can be found in TPX 5.4 - Batch Administration - VSAM Data Sets.