Using repos_copy

Note:
IBM WebSphere adapters, IBM WebSphere InterChange Server tools, and the repos_copy program are clients of WebSphere InterChange Server and cannot interact with it if it is not running.
  1. Launch a command line interface tool.

    For example, to open a command prompt in Windows follow the appropriate guide below:

    Click Start > Programs > Accessories > Command Prompt.

    Click Start > Programs > Command Prompt.
    
  2. Run the repos_copy program with the -i switch to import the repository file, the -s switch to specify the case-sensitive name of IBM WebSphere InterChange Server, the -u switch to specify the user name, the -p switch to specify the password, and the -ar switch to replace any duplicate components.
    Note:
    Other switches may be necessary depending on the environment; the repos_copy program is documented in the System Administration Guide.

    An example is provided below for an environment where the arguments for the various switches are set to the values specified in the table in the section Hints on benchmarking and where the input file named contactsyncrepos.in is in the Samples\\BenchMark\\ContactSyncBenchmark subdirectory of the IBM WebSphere InterChange Server directory. The variables that must be changed for specific environments are the directory in which IBM WebSphere InterChange Server is installed, the name of WebSphere InterChange Server, and the path to the input file. Press the Enter key after providing the proper values.

    D:\\CrossWorlds400Dev\Samples\\BenchMark\\ContactSyncBenchmark>repos_copy 
    -icontactsyncrepos.in -sCW400DEV -uadmin -pnull -ar
    

The repos_copy program reads the component definitions from the file and imports them into the repository database. When the import is complete in Windows, repos_copy presents a prompt with the text "Press any key to continue", so do so at that time.

Copyright IBM Corp. 1997, 2004