twincommit check
twincommit check verifies every source requirement for the tables in a pipeline and prints the exact command that fixes anything that is not met. Run it before the first snapshot and after any change to the source.
twincommit check -config pipeline.yaml| Flag | Description |
|---|---|
-config |
Path to the pipeline file (required) |
-json |
Print results as JSON |
Example
Section titled “Example”✓ archive logging LOGARCHMETH1=DISK:/db2/archive✓ authority DBADM granted to TWINCOMMIT✓ code page 1208 (UTF-8)✗ SALES.ORDER_NOTES DATA CAPTURE NONE fix: ALTER TABLE SALES.ORDER_NOTES DATA CAPTURE CHANGES;✗ SALES.ORDER_NOTES column NOTE_BODY is CLOB (unsupported) fix: add NOTE_BODY to exclude_columns2 problems foundThe exit code is 0 when all checks pass and 1 otherwise, which makes it usable in CI.