cancel
Showing results for 
Search instead for 
Did you mean: 

Run operating system command for sender File adpter (NFS)

Former Member
0 Kudos

Hi All,

iam doing a file to RFC scenario, using 'Run operating system command' in sender file adapter to change the file name while archiving (after processing completed).

I mention OS command like this:

"
sample_server\scripts\Test\Rename.bat"

Rename.bat file calls a 'perl script' code.

when i run interface, could see below statement in adapter log ->

"Execute OS command "
sample_server\scripts\Test\Rename.bat"

but the script was not run and file name was not changed.

Please advice what could be the problem?

Does this mean script executed successfully?

Do i need install perl software on XI server, even perl script (.bat file) is executing on sample_server?

Thanks in advance..

Regards,

Rajesh

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Rajesh,

Please Follow as mentioned in the link:

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/sapXIFileAdapterOSCommandLine+Feature

Former Member
0 Kudos

Hi,

Mention it like

/sample_server/scripts/Test/Rename.bat %F

It will work

Regards

Kulwinder

Former Member
0 Kudos

Hi,

Just check the following URL and give it a try again :-

Hope this info Helps..

Regards,

Aditya