Amicuk Programming Answers

Operating  System commands in FTP adapter

2015-10-11   Views:0


Hi I have a requirement to use "Operating System Command" option in the Sender/Receiver side File Adapter. And in they have brief notes on this.

I have a requirement to use "Operating System Command" option in the Sender/Receiver side File Adapter.
And in they have brief notes on this.
When I tried to execute some valid DOS commands like MKDIR,RENAME etc it didn't work at all.
But process has been sucessfully completed without any error!!!
System : XI 3.0 SP 11
Can anyone has any inputs on this ? Pls share me some ideas with example. Is there is any limitations on this feature?
Note: When I tried to give invalid commands hfjkhfkasdjfh,asdjdhas etc, still it is not giving any error!!. Still my File Adapter as well as entire process is successfully completed.

The replay answer
A couple of cautionary notes.
The OS command is executed after the file has been processed, e.g. read successfully by a sender adapter or created successfully by a receiver adapter.
The file name processed can be accessed using %f in the OS command.
The OS command must include the full directory path, or XI will assume the current directory which may not be where your command resides.

Go to See the other 5 answers

Operating  System commands in FTP adapter

Category:DefaultRelease time:2015-10-11Views:130

Hi I have a requirement to use "Operating System Command" option in the Sender/Receiver side File Adapter. And in they have brief notes on this.[More]

What is Operating System commands in Adapter Configuration??

Category:DefaultRelease time:-0001-11-30Views:130

Hi Frnds, When we will use Operating system commands Option in Adapter Configuration?? Regards, RajHi, Go through this blogs.. /people/michal.krawczyk2/blog/2005/08/17/xi-operation-system-command--error-catching /people/sameer.shadab/blog/2005/09/21/[More]

Run Operating Systems command.

Category:DefaultRelease time:2015-10-11Views:130

Hi Experts, Please provide information on Run Operating Systems commands for File adapter. I have gone through t he below mentioned link already: [] Also , pl[More]

Run Operating System Commands

Category:DefaultRelease time:2015-10-11Views:130

Hi, There is an urgent requirement, i want to know about Run Operating System Commands in file adapter. What are all possible commands for windows operating system? and how it works? Kindly send me your suggestions and links at the earliest. Your hel[More]

Unzip file using operating system command in file/ftp receiver adapter

Category:DefaultRelease time:2015-10-11Views:130

Hi, I'm wonderdering how to unzip a zip-file in the receiver file/ftp adapter. I know it is possible to do it using the 'Operating system command' feature, but somehow the command I use seems to be ignored! (I'm using SP14, unix). The command I enter[More]

Operating system command in file receiver adapter

Category:DefaultRelease time:2015-10-11Views:130

Hi, How to use the Run Operating system command after message processing option in the parameters tab of the file receiver adapter. I am working on a scenario wherein a batch file needs to be invoked after the file is written on the file system. So h[More]

File Adapter 7.11 - set operating system command line dynamically

Category:DefaultRelease time:2015-10-11Views:130

Hi, is there any way to set the "Operating System Command Line" in the file adapter as ASMA / dynamic attribute? I need to set  a command line exec depending on some XSL mapping values. thx holgerhi, >>>is there any way to set the "[More]

File Receiver Adapter:Run Operating System COmmand after message Processig:

Category:DefaultRelease time:2015-10-11Views:130

Dear All, I have gone through this link [] But i have a problem. In the scenario which we have, File name is DYNAMICALLY GENERATED by a UDF I want to call th[More]

Operating System Command After File Processing in Sender File Adapter

Category:DefaultRelease time:2015-10-11Views:130

Hello guys, actually we have different interfaces, and the client to take all the files from only one directory, for example D:/DPI. Unitl now we had one adapter for every file with the content conversion, so we didn't have problems with that. Now we[More]

File adapter operating system command exit code

Category:DefaultRelease time:2015-10-11Views:130

Hello, If you call an operating system command in the file adapter, how is the exit code of the command handled? The documentation says nothing about this. If I call 'true', I expect the file adapter to succeed. If I call 'false', I expect the file a[More]

OS commands in FTP adapter

Category:DefaultRelease time:2015-10-11Views:130

Hi Experts, we are trying to use the OS command in the sender FTP adapter to compress the huge text files(approx 2 GB) before we pick the file to avoid the server issues. for which we are using the OS command, ssh -n -l user targetserver "cd /tagetdi[More]

DEAR ABAPERS, how can i see that exception, when iam excuting Regards, veerahi Veera, Based on SY-SUBRC value we can handle those exception in this way ..   if sy-subrc = 1.                         raise file_write_error.              elseif sy-subrc [More]
Due for an upgrade in dec/Jan. Currently using 3GS. Is the 4S still having problems?Usually i hate all caps in a post, but, GET AN IPHONE 4S. Seriously. If your getting a device on 2 year contract you are only asking $100 more of yourself to have a b [More]
I tried to call the Server1.class from the password program, but I failed. The password program source code is as follows: class PasswordDialog extends java.awt.Dialog implements java.awt.event.ActionListener      * Constructor. Create this visual di [More]
Hello -- I am currently working on a spider application that will have the ability to login to sites of interest and then begin crawling. I thought an easy place to start would be to login to java forums. However, I have run into a bit of a snag with [More]
Hi all, I'm doing a generic search program for all the objects.. Is there any function module to read Lock objects.... that is to know wat r all the tables and Lock parameters are there in a lock objectHi Gayathri Please read the table DD25L with AGG [More]
Hi All, I am trying to install OBIEE using the Advanced installation type. The option says it requires "Oracle Application Server or greater". I installed Oracle Application Server and tried installing OBIEE. It as [More]
Dear Friends, Kindly , i facing error when deploy an ADF sample application to weblogic Managed server error in oracle/adf/share/logging/ADFlogger however the JRF templated applied to the managed server . Please advise Thanks & Regards,How do you thi [More]
Here are several issues that I have noted since my install last week: *ACTIVITY MONITOR: Wouldn't load, kept indicating that it had "quit unexpectedly" and wouldn't relaunch, reset or ignore. *SPACES: I'm using six spaces. I had a lot of trouble [More]
I amd working on a web dynpro applicaiton for PA action request and process action in the background. We have manu concurrent employees. When the main assignemnt is terminated, I need to switch the main pernr to another pernr. I sue HR_INFOTYPE_OPERA [More]
Hi.  I'm trying to reinstall a weather app I deleted off my iPhone recently, but I keep hitting a brick wall be it either through iCould on my iPhone, or via 'unexpected quitting' of iTunes.  I'm focussing on the latter problem as I like to manage my [More]