on 07-20-2007 8:35 AM
hi.
just i want to know what is the purpose of run operating system command before message processing,after message processing under file sender adapter.
waiting for your great answer.
bye.
regards.
seeta ram.
Hey,
To give a simple example suppose you have have a requirement to execute a system / os level command before or after a file is processed for some further operation then wht will you do ? Solution is that you specify the command to be executed in COMMAND LINE parameter.
One of the best examples is demonstrated by <b>Michal</b>l where you have to zip a target file but don't want to use payloadzip bean then you can use command at the system level which can do the job.
/people/michal.krawczyk2/blog/2007/02/08/xipi-command-line-sample-functions
Hope its usefull.
<b>Cheers,
*RAJ*
*REWARD POINTS IF FOUND USEFULL*</b>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Seeta,
let me see if I give it using a simple scenario that I implamented : i nedd to transfer a very large file from one server to the other by XI.
to save space and network traffic I use an OS command before picking up the file to run a zip command to zip the file.
after I transfer the file to the target server I run another OS command after the transfer to unzip the file.
now to your second question:
the before Os command on the target server is used mostly for checks (make sure there isn't a file by that name or backing up existing data)
and the after sender OS command is usualy for backing up or erasing existing files (cause it is done only after the first part was finished succesfully).
Uri Lifshitz.
p.s.
there was a blog obout this titled "XI as a huge file mover"
and you can see a description and my scripts at https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/03/additionaltipsforusingXIasahugefiletransfer%28withbatchscripts%29&
u want to execute any script at OS level u have the option.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have a look here under "Run Operating System Command Before/After Message Processing"
http://help.sap.com/saphelp_nw70/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm
Regards,
Prateeek
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
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.