on 08-07-2007 11:28 PM
All,
we have a script recindicator.sh in the root of the unix server. This script take 1 parameter.
In the File adapter - "Run Operatning System Command After Message Processing" - we put the following,
recindicator.sh %f
we see the adapter working, but we are not seeing the effects of the script which is supposed to create 2 different files.
Can we run scripts in the "Run Operatning System Command After Message Processing" ? If yes, what is wrong with our configuration?
When we run the script directly on the server, with the parameter - it is working. so no issue in the script.
Thanks,
Hi,
Change recindicator.sh %f to <b>recindicator.sh %F</b> and give a shot. Also you can run the script only when it is in XI server only.
Regards,
---Satish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
check for any file created by the XI file adapter at unix level using command ls-ltr and it will display the user who created the file. This will be the user which will be used for exceuting the shell script from file adapter. This user should have permissions to execute the script. You can try executing the script from the file adapter by giving full permissions to execute the shell script (777).
Make sure you give the full path. Since you said its a unix system also check the path, whether it uses the backslash/forward slash.
Thanks,
ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.