ksc_copy_server_server
This command copies a file from the source server environment to the destination server environment.
ksc_copy_server_server parameters
| Parameter | Default token | Description |
|---|---|---|
| SUB_PATH | [P.P_SUB_PATH] | The sub-directory that should be used to locate the file relative to the base path of each environment |
| SOURCE_BASE | _PATH | [SOURCE_ENV. SERVER_BASE_PATH] The base path of the source server environment to be used instead of what is defined for the current source environment. |
| DEST_BASE_PATH | [DEST_ENV. SERVER_BASE_PATH] | The base path of the destination server environment to be used instead of what is defined for the current destination environment |
| FILENAME | [P.P_FILENAME] | Name of the file to be copied |
| FILE_TYPE | [P.P_FILE_TYPE] | The file type associated with the file (ASCII or BINARY) |
| SOURCE_ENV | [SOURCE_ENV] | Name of the source environment to be used instead of the source environment on the current workflow step |
| DEST_ENV | [DEST_ENV] | Name of the destination environment to be used instead of the destination environment on the current workflow step |
Example using ksc_copy_server_server
# Copy a file between source and destination servers. ksc_copy_server_server FILENAME="[P.P_FILE]"
# Copy a file between the source server and the # destination server overriding the base bath.
ksc_copy_server_server FILENAME=�install_driver.sh�
DEST_BASE_PATH=�/u2/app/drivers�# Copy a form between the �STAGING� and destination servers.
ksc_copy_server_server SOURCE_ENV="STAGING" SUB_PATH="forms" FILENAME="[P.P_MODULE].fmb" FILE_TYPE="BINARY"

