ksc_copy_server_client
This command copies a file from the source server environment to the destination client environment.
ksc_copy_server_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. 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. 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 |
Example using ksc_copy_server_client
# Copy a file between source server and # destination client.
ksc_copy_server_client SUB_PATH="[P.P_SUB_DIRECTORY]" FILE_TYPE="[P.P_FILE_TYPE]"