on 07-18-2007 1:04 PM
Hi,
I want to split file at sender side in XI using Shell Script and then after i want to do
Mapping.
Can anyone tell me what exactly it means "write a script in UNIX shell on XI SERVER"?
Regards,
Akshay.
Hi Akshay,
UNIX Shell script can written at the Command Line in the Communication channel of File Adaper.. There you will be the logic related to Splitting of file.
Let supporse i written like this as follwoing in one of my file Adapter scenarios
/mqm/bin/MoveIVO1.sh %f
This program has information like how can i split my data from the source file .Generally we will you when we format the data in file adapter before coming in to XI.
Warm Regards,
Vijay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
a shell script a set of unix commands that run on the XI server if it runs on unix.
Your BASIS guy should help you to create the shell scripe
regards
krishna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Akshay !
Yes, XI can run on unix.
An important point about execution an OS command after or before message processing in the communication channel in file adapter is that the scripts is executed by XI and runs in the XI server..if your XI is installed over Unix, you will need to develop a unix shell script (e.g. ".sh" file) or similar, and if your XI is installed over a Windows server, you will need to develop a windows shell script (e.g. ".bat" or ".cmd" file).
If your script needs to access data on the sender service or receiver service, you need to establish some type of connection inside the script to be able to access those servers from the script. Another aproach is to create a mount or drive letter mapping in your XI server, that links to the sender and/or receiver server and use that reference inside your script.
Regards,
Matias.
Hi,
You can execute a Unix script running in the XI server from the File communication channel. Ie. if you want to do something which was not part of XI adapter configuation , then you can make use of external unix script and you can execute those from the XI.
For this, write a unix script and place in the XI OS level provided that path is accessible from PI Channel.
E.g
So u can use this in either Sender Channel to modify the data before it reaches into the Integration Server or in Receiver channel it is generally used to transfer the files into different location via Secure FTP
SAP help: http://help.sap.com/saphelp_nw2004s/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm
Blog:/people/sameer.shadab/blog/2005/09/21/executing-unix-shell-script-using-operating-system-command-in-xi
XI can be in any OS.
Hope this helps,
Rgds,
Moorthy
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.