The Log Reader Capture Agent reads type "99" records written to the IMS Log. The EXIT Keyword with the * parameter must be specified on either the SEGM or DBD keywords in the IMS Database Descriptor along with the LOG Parameter.
While IBM's IMS documentation is the definitive resource for specific DBDGEN options, the following summarizes the parameters related to the two Connect CDC SQData IMS Data Capture agents.
EXIT=(<exit_name> | *, LOG | NOLOG, KEY, DATA, PATH | NOPATH,(CASCADE,KEY,DATA,PATH|NOPATH))
Keyword | Description |
---|---|
<exit_name> | * required | Identifies either a specific program "exit_name" or when * is used as a placeholder, that No Exit program is used. Only the TM EXIT Capture utilizes an Exit therefore an * must be specified for the IMS Log Reader Capture agent. |
LOG | NOLOG required |
Specifies if IMS Data Capture type 99 records are written to the IMS log. Defaults to LOG when * is specified for <exit_name> parameter. You can specify NOLOG on individual SEGM statements, if these segments do not contain data that is to be captured. Note, both a program "Exit" and Log records can be generated to support multiple concurrent capture methods. LOG is required for the Log Reader Capture. |
KEY | NOKEY optional |
Specifies if the concatenated key is passed along with the changed data. Default is KEY. |
DATA | NODATA optional | Specifies if the changed data is included in the IMS CDC Log records. Default is DATA. |
PATH | NOPATH optional | Specifies if PATH data is to be included in the IMS CDC Log records. Default is NOPATH. |
CASCADE | NOCASCADE optional | Specifies if child segments are captured resulting from a cascade delete to a parent segment. Default is CASCADE. |