on 06-15-2008 1:10 PM
what is command?why it is used?
Hi,
To do some action we can use the command, actually OS commands we can use in the XI/PI.
In the communication channel we have one option that is OS command, here we can give the command names. This commands are two types before XI process execute the command second is after the process.
We want to create the dynamic file name/directory then we can use
the OS command before output.
Follow this link
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/sapXIFileAdapterOSCommandLine+Feature
/people/sameer.shadab/blog/2005/09/23/an-interesting-usage-of-variable-substitution-in-xi
/people/sravya.talanki2/blog/2005/08/11/solution-to-the-problem-encountered-using-variable-substitution-with-xi-sp12
/people/sap.user72/blog/2005/07/15/copy-a-file-with-same-filename-using-xi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Reddy,
Check one of the secnarios using OS command:
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/sapXIFileAdapterOSCommandLine+Feature
cheers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
General explanation for os commmand:
execute program/script/command at operating system level.
Since you registered under XI/PI, you have options with os commands in the
communication channels.
One example:
If you create a file and want to send a mail that it has been done.
There are thousands of scenarios where you might want to use a os command.
General question gives general answers, you know.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can use operating system command in many scenarios. forex:
If you want to rename the file after reading the file, you can go for operating system command.
You need to find some text ina file and based onthat do some processing.
You need to make a copy of your file.
Need to read the date/timestamp of the file when it was placed.
Reward points if find useful
Thanks
Amit
Hi,
See if this thread helps:
Using OS command
sure you can but you need a ZIP program that will
work with command line
in side adapter you can specify a command
to call it with the filename of the just create file
and that's all
Thanks
Vikranth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
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.