Please enable JavaScript to view this site.

Navigation: Change Data Capture > Keyed Files > Operating Scenarios > Capture New Data

Reconfigure CDCzLog Publisher Agent

Scroll

Next, examine the existing CDCzLog Publisher Agent configuration (.cab) file. Both the changes themselves and the implementation or activation of the changes must be considered. In our example, changes to a new Keyed file will be captured.  The Publisher Agent must be similarly updated to manage the new captured data in the LogStream using the SQDCONF utility and add command:

add --active | --inactive --key=<RECALIAS>

  --datastore=cdc:///<engine_agent_alias>

  <cab_file_name>

 

The sqdconf utility, with JCL similar to sample member SQDCONVP included in the distribution can be used to update the CAB file using the add command specifying the new RECALIAS and the target datastore:

//*---------------------------------------------------

//*  Publish File FILEB to Subscription KFITOKFI

//*---------------------------------------------------

//ADD2     EXEC SQDCONF                

//SQDPARMS DD *                                      

add --key=FILEB

     --datastore=cdc:////KFITOKFI

    --active                                        

    /home/SQD/kfilepub1/KFILEPUB1.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/SQD/kfilepub1/KFILEPUB1.cab

//*