Suggested process to convert TPX VSAM data bases to Pervasive Encrypted files.
*There is no "official" conversion sample/process from a non PE TPX VSAM files to PE TPX VSAM files.
*If you are using L-SERV to manage TPX VSAM files, DO NOT USE the conversion process.
- Before backing up the TPX VSAM files, STOP TPX.
- Backup, the TPX ADMIN, NOTES, MAIL, AND VIEW VSAM using IDCAMS REPRO function to flat (sequential) files, to disk.
- Sort (SORT FIELDS=(9,17,A),FORMAT=BI) the backup files to temporary files.
- Allocate the new Pervasive Encryption parameters of DATACLASS, STORAGECLASS, and KEYLABEL.
These are critical site dependent information, unless the SMS exits are in place to handle these values.
- Load, using IDCAMS REPRO, the new PE files from the sorted temp (sequential) files.
After the load of the VSAM files, it is recommended to run the TPX
batch reset integrity job (BATCHINI).
This is required to delete the VSAM (VSI) control record 0 from each file.
- OR -
Delete record zero after step 3.
NOTE: It is possible that there is no record zero in the MAIL, NOTES OR VIEW files, if there was no 'write' event after the initial load.