ksc_copy_client_client

This command copies a file from the source client environment to the destination client environment.

ksc_copy_client_client 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. CLIENT_BASE_PATH] The base path of the source client environment to be used instead of what is defined for the current source environment
DEST_BASE_PATH [DEST_ENV. CLIENT_BASE_PATH] The base path of the destination client 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

Examples using ksc_copy_client_client

Example 1

# Copy a file between source and destination clients. 
ksc_copy_client_client SUB_PATH="forms"
  FILENAME="[P.P_MODULE].fmb" FILE_TYPE="BINARY"
# Copy a file between the client defined in the ‘STAGING’
# environment and the destination client.
ksc_copy_client_client DEST_ENV=”STAGING”

Example 2

# Override the base path of the destination directory.
ksc_copy_client_client DEST_BASE_PATH=”/u1/datatree/ex1” SUB_ 
PATH=”.” FILENAME="[P.P_MODULE].fmb" FILE_TYPE="BINARY"