Pervasive Encryption or Dataset Access Encryption for TPX VSAM data bases

Document ID : KB000122277
Last Modified Date : 17/12/2018
Show Technical Document Details
Question:
Does TPX require any maintenance for Pervasive Encryption or Dataset Access Encryption?
Are there any samples or conversion process that can be applied to accomplish the encryption?
Answer:
No TPX maintenance required for Pervasive Encryption or Dataset Access Encryption.
Additional Information:
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 this.
  1. Before backing up the TPX VSAM files, STOP TPX.
  2. Backup, the TPX ADMIN, NOTES, MAIL, AND VIEW VSAM using IDCAMS REPRO function to flat (sequential) files, to disk.
  3. Sort (SORT FIELDS=(9,17,A),FORMAT=BI) the backup files to temporary files.
  4. 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.
  5. 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 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.