Setting the TSINSTANCE environment variable
You can set the TSINSTANCE environment variable to the name of your CDC Replication instance so that you don't have to specify it every time you issue commands.
Before using CDC Replication commands, you can set the TSINSTANCE environment variable to the name of your CDC Replication instance.
After you set the TSINSTANCE environment variable, you no longer have to specify the instance name when issuing commands.
Windows
Issue the following command at the command prompt:
SET TSINSTANCE=<instance_name>where <instance_name> is the name of your CDC Replication instance.
UNIX or Linux®
The following command is for kshell. You can run similar commands in other shells:
export TSINSTANCE=<instance_name>where <instance_name> is the name of your CDC Replication instance.