Table of Contents

Search

  1. Preface
  2. Part 1: PowerExchange CDC Introduction
  3. Part 2: PowerExchange CDC Components
  4. Part 3: PowerExchange CDC Data Sources
  5. Part 4: Change Data Extraction
  6. Part 5: Monitoring and Tuning
  7. Appendix A: DTL__CAPXTIMESTAMP Time Stamps

CDC Guide for Linux, UNIX, and Windows

CDC Guide for Linux, UNIX, and Windows

PWXCCL Command Syntax

PWXCCL Command Syntax

The pwxccl command that is used to start the PowerExchange Logger has the following syntax:
pwxccl [coldstart={Y|
N
}] [specialstart={Y|
N
}] [config=
path
/
pwx_config_file
] [cs=
path
/
pwxlogger_config_file
] [license=
path
/
license_file
] [encryptepwd=
encrypted_password
]
Use the following rules and guidelines when you enter the pwxccl command:
  • To cold start the PowerExchange Logger, set the coldstart parameter to Y. The default is N.
  • To special start the PowerExchange Logger from a specific point in the change stream, set the specialstart parameter to Y. The default is N. You must also specify the SEQUENCE_TOKEN and RESTART_TOKEN parameters in the pwxccl.cfg file.
  • All parameters on the pwxccl command are optional. However, if you specify the config or license parameter, the cs parameter is required.
  • In the config, cs, and license parameters, the full path is required only if the file is not in the default location.
  • On Linux and UNIX, append an ampersand (&) at the end of the statement to run the PowerExchange Logger in background mode. For example:
    pwxccl [coldstart=Y|
    N
    ] [specialstart={Y|
    N
    }] [config=
    directory
    /
    myconfig_file
    ] [cs=
    directory
    /
    mycondense_config_file
    ] [license=
    directory/mylicense_key_file
    ] &
For more information about pwxccl syntax, see the
PowerExchange Command Reference
.
If you run PowerExchange and PowerCenter on the same machine and with the same user account, you must create separate environments for PowerExchange and PowerCenter. To create the appropriate PowerExchange environment and start the PowerExchange Logger, run the pwxsettask.bat script on Windows or the pwxsettask.sh script on Linux or UNIX.
On Windows, use the following syntax:
pwxsettask pwxccl ["coldstart={Y|
N
}"] ["config=
path
/
pwx_config_file
"] ["cs=
path
/
pwxlogger_config_file
"] ["license=
path
/
license_file
"] ["encryptepwd=
encrypted_password
"]
The quotation marks are required on Windows.
On Linux and UNIX, use the following syntax:
pwxsettask.sh pwxccl [coldstart={Y|
N
}] [config=
path
/
pwx_config_file
] [cs=
path
/
pwxlogger_config_file
] [license=
path
/
license_file
] [encryptepwd=
encrypted_password
]
The quotation marks are optional on Linux and UNIX.

Back to Top

0 COMMENTS

We’d like to hear from you!