cancel
Showing results for 
Search instead for 
Did you mean: 

OS Command

Former Member
0 Kudos

Hi,

Shell script command doesnt get executed in sender file adapter

I have mentioned

/export/home/input/runthis.sh

under ' Run Operating system command before Messge processing'.

This shell script is working fine when i try to execute it manually.

Please help me to solve it out.

Regards

Divia

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

>>/export/home/input/runthis.sh

Instead of this,can you please try by giving the complete path,like C:/Mydocuments/export/home...... etc

also try using the below command

cmd.exe C:/Mydocuments/export/home.......

Thanx

Aamir

Former Member
0 Kudos

HI Sridivia,

If you want to send the file name with obsolute path you can use %F .as mentioned by Gaurav.

If the script is not expecting any parameters the no need of that.Your command is correct.

I was facing the same problem last month,script was running fine when i execute it seperatly in UNIX Box,but when i tried to execute from XI.NOT WORKING.

Later i changed it to execute as CRONJOB in UNIX Box itself.

Let me know your usage of script so that i can help you out for scheduling CRONJOB.

Thanks

Prabhakar

Former Member
0 Kudos

Hi

Change to

/export/home/input/runthis.sh%F

Refer for more info

Thanks

Gaurav