cancel
Showing results for 
Search instead for 
Did you mean: 

How to run Operating system command in receiver JDBC Adapter

Former Member
0 Kudos

Hi All,

We have a scenario where we need to execute a script in receiver JDBC adapter.

script is lying SAP File server.

It's location is /techdata/xi/programs/scripts/file_count.sh

I have mentioned the same in Run Operating System Command as /bin/sh/techdata/xi/programs/scripts/file_count.sh

when i run the scenario, the script doesn't execute.

#!/bin/ksh93

#

    1. Program: file_count.sh*

#

#DT=`date +"%Y%m%d %H:%M:%S"`

#echo $DT>>/techdata/xi/programs/scripts/file_count.log

exit 0

Pls advice

Regards,

XIER

Accepted Solutions (0)

Answers (2)

Answers (2)

Shabarish_Nair
Active Contributor
0 Kudos

have u used the right OS command to call the script?

Ref:

/people/michal.krawczyk2/blog/2005/08/17/xi-operation-system-command--error-catching

Former Member
0 Kudos

hi xier,

Try to catch the error

this blog might help you

/people/michal.krawczyk2/blog/2005/08/17/xi-operation-system-command--error-catching

reference blog

/people/sameer.shadab/blog/2005/09/21/executing-unix-shell-script-using-operating-system-command-in-xi

Regards

Ramesh P