File adapter OS command line - Calling a command remotely ??

Hi,
We have a scenario where in which receiver file adapter after putting a file on the FTP  , a subsequent XML loader needs to be called which would load data into the client legacy ERP system.
There seems to be some idea about doing it through file adapter OS command line.
The problem is the how to call this loader command remotely from our file adapter OS command line.
Any help would be appreciated ???

>> The problem is the how to call this loader command remotely from our file adapter OS command line.
The below link might be helpful ...
http://wiki.sdn.sap.com/wiki/display/XI/SAPXIFileAdapterOSCommandLine+Feature

Similar Messages

  • Command line calling

    Hello everyone,
    I am a PhD student in Stockholm, studying VoIP technology. I am in the middle of writing my dissertation, about command line calling.
    As I'm doing my researches, I've already found some very interesting research material, such as this page:
    XxXwww.voip-sip-sdk.com/p_251-how-to-use-the-command-line-caller-example-with-ozeki-voip-sip-sdk-voipXxX (cancel the X-s)
    It would be great to find someone to discuss this program, or maybe a whole group, because it would really help me with moving on.
    Any advice is welcome!
    Thx
    gemma

    >> The problem is the how to call this loader command remotely from our file adapter OS command line.
    The below link might be helpful ...
    http://wiki.sdn.sap.com/wiki/display/XI/SAPXIFileAdapterOSCommandLine+Feature

  • Hide oracle password on Unix command line call?

    Does anyone know whether you can hide the password for a command line call to rwrun60 under Unix? For other Oracle products like sqlplus you can hide the password by supplying it using the redirection operator. i.e. sqlplus userid @script <<EOD and then put the password or password@sid on the next line and then EOD on the 3rd line to end the redirection. This virtually hides the password from anyone able to look at processes on the system. Can this also be done for rwrun60? If you just put the userid after userid= will reports prompt you for a password?

    Take a look at http://java.sun.com/features/2002/09/pword_mask.html.
    Hope this helps,

  • I will starting afresh website in my iWeb, it shows only the head or the command line and the command new website is inactive - what do I need to start over

    Help........
    I will starting afresh website in my iWeb, when I start the program it only shows the head or the command line and the command new website is inactive - what do I need to start over - what have I done wrong

    Don't quite understand what you mean, but it says at the bottom that you are still using iWeb 08 so depending on what OSX you are running, you might consider upgrading to iWeb 09.  This works with Lion, Mountain Lion and Mavericks.
    Apple no longer sells iWeb so if you decide to upgrade, then you'll need to purchase iWeb by going to Amazon and buying the iLife 09 or 11 boxed sets, both of which contain iWeb 09.
    Install this on your Mac and it might solve your problems, or just ditch iWeb and start again with one of the newer programmes out there that are still being supported and updated, such as RapidWeaver, Sandvox, Freeway Pro/Express, Flux 4, WebAcapella 4 and EverWeb (http://www.everwebapp.com).

  • File Adapter 7.11 - set operating system command line dynamically

    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
    holger

    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.
    think about this approach:
    you put the XSL values into the filename after the real name of the file
    in the batch script you use those values in order to execute a dynamic exe command
    after processing you just change the name of the file in the script by removing the xsl values
    simple ? I think so
    Regards,
    Michal Krawczyk

  • MS SSIS command line call "Argument for option 'set' is not valid"

    Hi all,
    I'm tring to execute a SSIS package from command line. Here's the code:
    dtexec.exe /file "E:\TestIS\IntegrationServicesProject1\IntegrationServicesProject1\Package.dtsx" /set \Package.Variables[User::Name].Properties[Value];20150314
    and it return a error saying  "Argument for option 'set' is not valid". I've configure the package and generated a XML file. And do exactly as the official doc says. However, this line of code just doesn't work. If I delete the set option
    and run the package alone, it can be ran. So anyone can help me out? Thank you in advance.

    Hi NoahdeArk,
    In SQL Server Integration Services, string literals must be enclosed in quotation marks. The expression language provides a set of escape sequences for commonly escaped characters such as nonprinting characters and quotation marks. A string literal consists
    of zero or more characters surrounded by quotation marks. If a string contains quotation marks, these must be escaped in order for the expression to parse. For more details, please see:
    https://msdn.microsoft.com/en-us/library/ms141001.aspx
    So to troubleshoot this issue, please refer to the following command:
    dtexec.exe /file "E:\TestIS\IntegrationServicesProject1\IntegrationServicesProject1\Package.dtsx" /set \Package.Variables[User::Name].Properties[Value]; \"20150314\"
    Or
    dtexec.exe /file "E:\TestIS\IntegrationServicesProject1\IntegrationServicesProject1\Package.dtsx" /set \Package.Variables[User::Name].Properties[Value]; \""20150314"\"
    The following similar threads are for your references:
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/af4f62e1-b600-49d7-98c2-4a35c9fef404/escape-character-for-set-option-of-dtexec
    http://stackoverflow.com/questions/9612471/dtexec-error-setting-multiple-variables
    Thanks,
    Katherine Xiong
    If you have any feedback on our support, please click
    here.
    Katherine Xiong
    TechNet Community Support

  • Sender File Adapter Ignore Last Line

    Hi All,
    Like in Sender File Adapter configuration like we have Document Offset to specify the number of starting lines to be ignored,
    Like the same way can we ignore the last line of a text file .
    Regards,
    Rahul

    Rahul,
    ><i>I somehow wait for your answer,</i>
    Is that a compliment
    I guess there is no standard way to ignore the last line . Like you pointed out, read the line and ignore it in the mapping!
    ><i>btw ..
    suppose in a flat file..
    i just want to read the 4th line??
    is there any way i can do this?</i>
    Again no straight forward way to do this. You can use KeyFields etc , but there is no direct way to do this and every solution would depend on the exact requirements!
    Regards
    Bhavesh
    PS Are the alerts issues resolved?

  • SOA Suite 11g File Adapter End Of Line problem

    I am using a file adapter to read(using an NXSD to convert from flat file to XML) a file do some filtering and then write the file in the original format using the same NXSD.
    The records in my file are separated by End Of Line. i.e. each line is one record.
    I created a fixed length NXSD and it picks up '${eol}' as the cellSeparatedBy attribute.
    When I read the file, it reads fine for both Unix(LF) and PC(CR+LF) formats. But when I write it automatically takes unix format most probably because the server is running on a Unix machine.
    Now the problem is that when I receive a flat file in PC format, the output comes as Unix format. The end system can not process it.
    So, I tried using '&#xD;&#xA;' (Equivalent to CR+LF) instead of '${eol}' as the value of attribute cellSeparatedBy. With this it is not able to read the file at all, if I keep it only '&#xA;' then it reads. It seems that while reading FIle Adapter automatically converts the file to Unix format first and then reads it with unix EOL.
    As a work around I separated the NXSD for read and write, keep read NXSD with '${eol}' while keeping write NXSD as '&#xD;&#xA;' then my problem is solved but now I have two NXSDs to maintain.
    What I want to know is if there is a way I can use the same NXSD and still be able to write the file in PC format. May be some attribute or switch in NXSD which I dont know of to control the value of ${eol}?

    Hi Daniel,
    you can try to use this adapter module:
    localejbs/SAP XI Sample/ConvertCRLFfromToLF
    http://help.sap.com/saphelp_nw04/helpdata/en/32/43d84072378031e10000000a1550b0/content.htm
    Hope this help.
    Francesco

  • File adapter: End of line issue in unix receiver

    Hi all,
    We are sending flat files using File Adapter (FTP) with the File content conversion functionality and we can see the file right in our windows system, but when it arrives to the Unix receiver, they give us an error regarding the End of line.
    It has a ^M character in every line so it cannot be processed.
    Does anyone know how to skip this end of line character in our file keeping the same format?
    Thanks in advance.

    Hi Daniel,
    you can try to use this adapter module:
    localejbs/SAP XI Sample/ConvertCRLFfromToLF
    http://help.sap.com/saphelp_nw04/helpdata/en/32/43d84072378031e10000000a1550b0/content.htm
    Hope this help.
    Francesco

  • File Adapter inserting New Line

    All -
    I'm stuck on this one.  Would anyone know why the File adapter would insert a New Line at the beginning of my file?  The file is output correctly with the exception of a blank line at the very beginning of the file.
    Are there any conversion parameters I need to supply for the receiver file adapter?  I currently have:
    data.endSeparator = 'nl'
    data.fieldFixedLenths = 30,30,15,3
    data.fieldNames = F1,F2,F3,F4
    data.fixedLengthTooShortHandling = Cut
    Thanks,
    Dave

    Ok, found the issue!
    The File Adapter is configured as FTP and when the file is FTP'd to the target directory and viewed using Internet Explorer, a carriage return/line feed is added to the beginnig of the file.  When I FTP the file from the remote directory to my local directory and then view the file, it's fine.  Not sure why Internet Explorer changes the formatting of the file.
    Bottom line - the remote file is fine.
    Cheers,
    Dave

  • Command line enable of VNC/Remote Management?

    I have a situation where I need to enable remove mgmt (VNC) on my Mac at work, so I can get to it over VPN at home, to access my Parallels, etc. I can ssh to the system, but can't figure out how to enable the Remote Desktop (and it's specific parameters) via the command line. I believe it would be a defaults write.
    Can someone point me in the right direction? I just want to restrict VNC with a Password, then disable it when I'm done.
    Thanks.

    Hi
    Difficult to see why you're hesitating to use the kickstart utility as that will do what you originally asked. Just because it does not specifically mention VNC does not mean VNC is not running or working.
    VNC Server and Client is built into OSX since 10.5. If you enable Remote Management it will open ports 5900 and 3283 on that workstation. Port 5900 is the VNC Port and port 3283 is the special control port Apple add to the built in VNC/ARD Agent to allow their dedicated management VNC Server application - Apple Remote Desktop - to offer a lot more than simple control for remote clients. You don't have to buy ARD to do what you want.
    Enabling Screen Sharing only opens port 5900. On a Mac all you need is the local admin's name and password of the client workstation you're trying to control. If you're trying to control a mac from a PC then you'd need a dedicated VNC Viewer installing on the PC. Something like RealVNC Viewer. To allow the PC to control the mac you would have to add a VNC password option which should not be the same as the local admin's password.
    Tony

  • Host OS command line call from dbs procedure

    Hi
    I am using Win2000 server and 8i, I want to execute a host os command in the middle of a database procedure but do not know how.
    I did a search here and did not find anything.
    Any help greatfully received.
    cheers
    Tony

    You just did search hard enough :)
    Host commands

  • SQL*Loader command line call with spaces in path

    I need to call a remote control file and am attempting this:
    sqlldr USER/password@SERVER \\servername\drivename\Folder Name Messing Me Up\PLACE\Programs\QC2\Data\StandardRawFileRAW.ctlIt keeps telling me the file cannot be found, but it is there! How should I write this so it can find the file?
    Thank you so much!

    Wrap your path name in single quotes
    sqlldr USER/password@SERVER '\\servername\drivename\Folder Name Messing Me Up\PLACE\Programs\QC2\Data\StandardRawFileRAW.ctl'Regards,
    Phiri

  • Command line call of sqlplus with system-privileges

    Hello,
    I have the following problem: I like to run a sqlplus-command on sun-solaris with a 8.1.7 database which needs system-privileges. It works with every other user. When I use system I'll get an ORA-01017 (Invalid username/password).
    When I start this from DOS-Client it works, but I must run it from sun-solaris.
    Has anyone an idea?
    Thanks!!!
    Andreas Orth

    how are you connecting to the sun box from dos
    like this?
    connect system/manager@remote_db
    are you sure you have connected to the correct database?
    try select name from v$database after you have connected.
    do you have more than one instance on the sun box? have you st SID and HOME
    correctly to point you to the correct instance? If you can connect with another user
    from the sun box again verify that you are connected to the correct instance
    with select name from v$database
    steve

  • Problem with receiver file adapter printing data line by line in .txt file

    We are working on e-payments integration with one of the bank. As part of text file generation, we have a written a UDF which accumulates all Invoice details( 10 input fields information ) into one string and then sends output line by line with a delimiter separation for each invoice.
    H
    D
    E
    E
    E
    T
    Bank requires a file in above format separating invoice in separate E band.( one invoice collection in one E band)
    As per our scenario, multiple invoice details from an idoc(PAYEXT) have to be written to a text file line by line.  i.e one invoice details per one row.
    After the execution of the scenario, in SXMB_MONI, the message display clearly showing that the invoice details are printed line by line. A java function used in message mapping for the writing the invoice details line by line.
    But actual file that is written to a text file is showing all the invoice details in written in single row.
    When I enable the option Word wrap in the notepad, then only I can see the details in desired format.
    Please guide us where we are going wrong.
    Can notepad settings make any difference while displaying the text file???
    Is there any way to write the file as desired without enabling the word wrap in notepad.
    Thanks in advance.
    Nagendar

    Hi venkatnrj,
    i hope this UDF might be its helps
    public void CombineText(String[] var1, String[] var2, String[] var3, String[] var4, String[] var5, ResultList result, Container container) throws StreamTransformationException{
    String s = "";
    for( int i = 0 ; i < var1.length ; i++)
         if ( var1<i> != ResultList.CC)
         s = s +  var1<i> + "," + var2<i> + "," + var3<i> + "," + var4<i> + "," + var5<i>  + "\n" ;
    result.addValue( s );
    Output diplay like below the format by using above udf:
    aaa,bbb,cccc,dddd,eee,fff,
    aaa,bbb,cccc,dddd,eee,fff,
    aaa,bbb,cccc,dddd,eee,fff,
    aaa,bbb,cccc,dddd,eee,fff,

Maybe you are looking for