Following is the trscopy command for Microsoft Windows:
trscopy source_DirectConnect source_Service_Library destination_DirectConnect destination_Service_Library
Following is the trscopy command for UNIX platforms:
trscopy.sh source_DirectConnect source_Service_Library destination_DirectConnect destination_Service_Library [-a] [-l] [-v]
Table 2-2 describes the parameters and options in the trscopy command.
Parameter |
Description |
---|---|
source_DirectConnect |
(Required) Name of the server that contains the source TRS files. It is located in the directory under the following name:
%SYBASE% or $SYBASE is the Sybase environment variable. It points to the Sybase product directory structure that contains DirectConnect for both the source and target TRS service libraries. |
source_TRS_Library |
(Required) The name of the source TRS library associated with this server. It must exist under the source DirectConnect server name. |
destination_DirectConnect |
(Required) Name of the target DirectConnect server, located in the directory under %SYBASE%\%SYBASE_ECON%. |
destination_TRS_Library |
(Required) Name of the target TRS library. Follow these guidelines:
|
-a |
(Optional and for UNIX only) Option that generates new service names for the new service library and adds these new services to the interfaces file. |
-l |
(Optional and for UNIX only) A “softlink” option. When possible, use softlinks instead of copying a file. |
-v |
(Optional and for UNIX only) Verbose option, which displays a description of each operation while it runs. |
Copyright © 2005. Sybase Inc. All rights reserved. |