You can only put one command on the ksc_local_exec special command. In this case, that one command is the sh command to invode the Bourne shell. The parameters for the sh command are specified in double quotes. The parameter string specifies two commands separated by a semicolon. Since the current working directory is $PPM_HOME (or $ITG_HOME), the first command moves to the bin directory. The second command executes the cache manager script.
ksc_local_exec sh "cd bin;./kRunCacheManager.sh A"
This special command does not create a connection to the server so the ksc_exit command is not needed and, in fact, will generate an error if it is present.
sh "cd bin;$PPM_HOME/bin/kRunCacheManager.sh A" sh: SHELLOPTS: readonly variable sh: cd bin;$PPM_HOME/bin/kRunCacheManager.sh A: No such file or directory exit code = 127 Errors occurred during command execution.