Running the CHCCLP commands in batch mode

You can run the CHCCLP commands in batch mode by using an input file.

About this task

A CHCCLP input file is known as a script. A CHCCLP script contains the same commands used in interactive mode. Each command ends with a semicolon (;). The script can also contain comments. These lines start with a pound sign (#). The first command, excluding comments, in a script must be CHCCLP session set to cdc in order to identify the script for CDC Replication.

Commands are executed in sequence. If a command returns an error, batch processing terminates.

Procedure

  1. Follow the instructions for your operating system to open a system command prompt and locate the CHCCLP program.
  2. Issue the following command:
    CHCCLP –f <file>

    where <file> is the fully qualified file name.