VSAM File With New BDAM File?

Document ID : KB000033246
Last Modified Date : 14/02/2018
Show Technical Document Details

Question:

We need to allocate a new backup file using TSSMAINB. I commented out the VSAMFILE DD, but I am bet a JCL error no steps for the job. Can I leave the VSAMFILE DD coded with the original backup file?

 

Answer:

The BDAM and VSAM files are paired together and cannot be mixed and matched. In other words, if you allocate a new BDAM file, you need to allocate a new VSAM file. The VSAMDEF6 job in the CA Top Secret r15 CAKOJCL0 library should be used to allocate the backup VSAM file. (VSAMDEF3 is used for the primary VSAM file. The difference is VSAMDEF6 has REUSE.) The VSAM file needs to be allocated before the BDAM file. 

 

Additional Information:

See the CA Top Secret r15 Installation Guide for more information on allocating the CA Top Secret files.

See members VSAMDEF3, VSAMDEF6, TSSMAINS, and TSSMAINB in the CA Top Secret r15 CAKOJCL0 library for sample jcl to allocate the VSAM security file, VSAM backup file, BDAM security file, and BDAM backup file, respectively.