cancel
Showing results for 
Search instead for 
Did you mean: 

passing mulitple parameters to unix shell script via File adapter

Former Member
0 Kudos

Hi,

I have the following usecase.

I have a set of files A, B, C, D etc in a directory dir. I also have a EOT ( end of transaction file).

I need to merge this file once the EOT file is present in XI application server ( using NFS with File adpter).

I have a script which can take the following paramters:

1. EOT file name

2. File names for A,B,C,D

3. Directory names.

Is it possible to send muliple parameters to the unix script from the File adapter?

please share any blogs which do so.

Thanks in advance,

Best Regards

Abhishek

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

You can always call script from file adapter using "OS command" functionality, pass additional parameter like you do in unix for existing script (exact command which you type on unix prompt).

Adapter will simply pass your OS command to operating system, so from XI point of view nothing is changed and it is your script which should take care of parameters.

Regards,

Gourav

Answers (0)