Examine the existing CDCzLog Publisher Agent configuration (.cab) file. In our example, the new VSAM file had already been added to the capture process and the Publisher Agent but was directed to an existing Engine. The Publisher Agent configuration must now be updated to publish the captured data to the new Engine. The sqdconf utility, with JCL similar to sample member SQDCONVP included with the distribution will be used to update the CAB file using the add command specifying the VSAMDD and the new target datastore.
Syntax
add --key=<VSAMDD>
--datastore=cdc:////<engine_agent_alias>
--active | --inactive
<cab_file_name>
Example
//*----------------------------------------
//*- ADD ENGINE TO THE CONFIG FILE
//*----------------------------------------
//ADDENG EXEC SQDCONF,OWNER=&SYSUID
//SQDPARMS DD *
add --key=FILEB
--datastore=cdc:///VSAMPUB/VSAM2ORA
--active
/home/sqdata/VSAMPUB/vsampub.cab
A SQDCONF display job can then be run to review the complete content of the updated CAB file.
//*-----------------------------------
//* DISPLAY CONFIG FILE
//*-----------------------------------
//DISPLAY EXEC SQDCONF
//SQDPARMS DD *
display /home/sqdata/VSAMPUB/vsampub.cab
//*