The following sections provide instructions for configuring the Capture and Apply programs for Windows NT, and for providing end-user authentication at the source server.
To configure the Capture program:
DB2 CONNECT TO SAMPLE
DB2 BIND @CAPTURE.LST ISOLATION UR BLOCKING ALL
If your system does not support uncommitted read format, substitute CS (cursor stability format) for UR instead.
These commands create a list of packages, the names of which can be found in the CAPTURE.LST file.
To configure the Apply program:
DB2 CONNECT TO SAMPLE
DB2 BIND @APPLYUR.LST ISOLATION UR BLOCKING ALL
DB2 BIND @APPLYCS.LST ISOLATION CS BLOCKING ALL
These commands create a list of packages, the names of which can be found in the APPLYUR.LST and APPLYCS.LST files.
DB2 CONNECT TO COPYDB
DB2 BIND @APPLYUR.LST ISOLATION UR BLOCKING ALL
DB2 BIND @APPLYCS.LST ISOLATION CS BLOCKING ALL
These commands create a list of packages, the names of which can be found in the APPLYUR.LST and APPLYCS.LST files.
For end-user authentication to occur at the source server, you must provide a password file with an AUTH=SERVER scheme for the Apply program to use when connecting to the source server. It is advisable to limit read access of this file to the user ID that will run the Apply program.
The password file must meet the following criteria:
<APPLYQUAL><instname><CNTLSRVR>.PWD
Where:
To create a password file:
SERVER=SAMPLE PWD=password
SERVER=COPYDB PWD=password
For more information about authentication and security, refer to the IBM DB2 Administration Guide for common servers.