Does TPX VSAM dataset backup require that both the INDEX and the DATA component are backed up?
Run REPRO with just the DATA component only if there are errors when doing a REPRO with the full VSAM file including the index.
If a DATA only REPRO is done, then a SORT must also be done on the resulting output before it is used to rebuild the VSAM file.
- SORT FIELDS=(9,17,A),FORMAT=BI
REPRO the sorted file back to the .DATA component of the new VSAM file.
As with any changes to the TPX VSAM files, after the VSAM file has been rebuilt you must also run BATCHINI RESET INTEGRITY. See SAMPLIB member BATCHINI for an example.
tec426250: How do I keep my TPX VSAM files in 'healthy' shape?