I need the exact syntax to call a .ksh script as part of MQFTE presource call.
I am aware of the -presrc argument in the fteCreateTransfer command, but need to know how to use this -presrc argument to call a korn shell script(.ksh) or a shell script(.sh)
Does this help? Although below command is for Windows, I am sure you will be able to modify it to suit Unix. I don't have access to a Unix box to try it.
The hello.bat contains the following:
You need to set the commandPath property in source agent's agent.properties file to point to the path where the shell script exists. For example: