Command Line Parameter in File Adapter in SAP PI

Hi
Can any body explaine me what is the purpose of 'Command Line' parameter in File Adapter (Sender/Receiver).
Regards,

Hi,
Refer below two links for more help!
SAP XI File Adapter OS Command Line Feature     
https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/sapXIFileAdapterOSCommandLine+Feature
More with the File Adapter      
https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/morewiththeFileAdapter
Regards,
Jilan

Similar Messages

  • Command Line Scripts in File Adapter

    Hi,
    In the file adapter, does the command line script support "PERL" Scripts.
    thanks.
    Krishnan

    YES It will support.
    For clarification check below one.
    /people/sameer.shadab/blog/2005/09/21/executing-unix-shell-script-using-operating-system-command-in-xi
    FTP channel - not processing files, coz one of the files is wrong,

  • Command line feature in File Adapter

    Hi  Experts,
          Can any one please explain how to use command line feature present in FTP.
          Thanks in advance for you help!
          Regards,
          Ravi Kiran L

    Hi,
    By openning SAP Help (!): [http://help.sap.com/saphelp_nwpi711/helpdata/en/44/556cb799c93677e10000000a114a6b/frameset.htm]
    And by using search button on SDN web site (!!), for instance with terms "PI OS command", there are several info...
    [http://wiki.sdn.sap.com/wiki/display/XI/RuntimeOScommand]
    [http://wiki.sdn.sap.com/wiki/display/XI/SAPXIFileAdapterOSCommandLine+Feature]
    etc...
    Regards.
    Mickael

  • Command line in XI file reciver adapter

    Hello,
    I need to debug calling to command line in XI reciver adapter.
    I saw an artical telling how to write logs of error in the XI server.
    Please show me the link,
    Thanks in advance

    Dear Elad,
    This might help you
    Page- 36 onwards
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/ee5bc490-0201-0010-e9b5-a258cf083bca
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/1eb928a1-0601-0010-f890-be9169f0d856
    Regards
    Agasthuri Doss

  • Password not to be a command line parameter within scripts

    Hi,
    We have a few batch programs wherein the database passwords are stored as a command line parameter in an environment variable script.
    But the customer wants to avoid this.
    What are the options of storing password externally but which should be accessible to the batch programs.
    Please advise.
    Regards,
    Narayan

    user7202581 wrote:
    Hi,
    We have a few batch programs wherein the database passwords are stored as a command line parameter in an environment variable script.
    But the customer wants to avoid this.
    What are the options of storing password externally but which should be accessible to the batch programs.
    Please advise.
    Regards,
    Narayan
    Might solution depend upon OS name & version?
    Might solution depend upon Oracle version (to 4 decimal places)?
    Might solution depend upon where script file resides on DB Server or remote client system?
    Yes, options exist, but I refuse to speculate based upon total & complete lack necessary details.
    How do I ask a question on the forums?
    https://forums.oracle.com/message/9362002#9362002

  • [svn:osmf:] 14412: Added the Syndication. swc to the command line build config file for the AkamaiPluginSample project .

    Revision: 14412
    Revision: 14412
    Author:   [email protected]
    Date:     2010-02-24 17:48:22 -0800 (Wed, 24 Feb 2010)
    Log Message:
    Added the Syndication.swc to the command line build config file for the AkamaiPluginSample project.
    Modified Paths:
        osmf/trunk/apps/samples/plugins/AkamaiPluginSample/AkamaiPluginSample-build-config.xml

    I think it is not supported through ant script and you may have to contact Oracle Support. Please go through below thread (hisaak's reply) -
    Re: Export OSB configuration jar file using Ant
    Regards,
    Anuj

  • [svn:osmf:] 14411: Adding command line build config files for the syndication library.

    Revision: 14411
    Revision: 14411
    Author:   [email protected]
    Date:     2010-02-24 17:45:22 -0800 (Wed, 24 Feb 2010)
    Log Message:
    Adding command line build config files for the syndication library.
    Added Paths:
        osmf/trunk/libs/Syndication/syndication-build-config.flex
        osmf/trunk/libs/Syndication/syndication-build-config.flexcov
        osmf/trunk/libs/Syndication/syndication-build-config.xml

    Revision: 14411
    Revision: 14411
    Author:   [email protected]
    Date:     2010-02-24 17:45:22 -0800 (Wed, 24 Feb 2010)
    Log Message:
    Adding command line build config files for the syndication library.
    Added Paths:
        osmf/trunk/libs/Syndication/syndication-build-config.flex
        osmf/trunk/libs/Syndication/syndication-build-config.flexcov
        osmf/trunk/libs/Syndication/syndication-build-config.xml

  • Firefox always start it self when windows start (around 5 - 6mb ram) with process explorer i got this [Path C:\Program Files\Mozilla Firefox\firefox.exe} [Command line "C:\Program Files\Mozilla Firefox\firefox.exe" -requestPending -osint -url "%1"]

    firefox always start it self when windows start (firefos.exe around 5 - 6mb ram) with process explorer i got this
    [Path >> C:\Program Files\Mozilla Firefox\firefox.exe]
    [Command line >> "C:\Program Files\Mozilla Firefox\firefox.exe" -requestPending -osint -url "%1"]
    is this a bug or a virus?? Thank you..
    == windows start

    Certain Firefox problems can be solved by performing a ''Clean reinstall''. This means you remove Firefox program files and then reinstall Firefox. Please follow these steps:
    '''Note:''' You might want to print these steps or view them in another browser.
    #Download the latest Desktop version of Firefox from http://www.mozilla.org and save the setup file to your computer.
    #After the download finishes, close all Firefox windows (click Exit from the Firefox or File menu).
    #Delete the Firefox installation folder, which is located in one of these locations, by default:
    #*'''Windows:'''
    #**C:\Program Files\Mozilla Firefox
    #**C:\Program Files (x86)\Mozilla Firefox
    #*'''Mac:''' Delete Firefox from the Applications folder.
    #*'''Linux:''' If you installed Firefox with the distro-based package manager, you should use the same way to uninstall it - see [[Installing Firefox on Linux]]. If you downloaded and installed the binary package from the [http://www.mozilla.org/firefox#desktop Firefox download page], simply remove the folder ''firefox'' in your home directory.
    #Now, go ahead and reinstall Firefox:
    ##Double-click the downloaded installation file and go through the steps of the installation wizard.
    ##Once the wizard is finished, choose to directly open Firefox after clicking the Finish button.
    Please report back to see if this helped you!

  • Multiple Header line in Receiver File adapter

    Hi,
    I have an issue in Receiver File adapter with multiple header lines. I am able to get only 1 header lines in the receiver file but not multiple header lines with 'nl' since it is static in file mode
    [CommunityTag:Header]
    empNo,EmpName,Age
    [CommunityTag]
    I tried with the below in content conversion one as below with no luck
    Root.addHeaderLine=1
    Root.headerLine=[CommunityTag:Header] 'nl' empNo,EmpName,Age 'nl' [CommunityTag]
    Root.fiedSeparator=,
    Root.endSeparator='nl'
    I am getting the Header line as same row as static text.
    Can you advise this.

    Hi Gabriel, I suggest to produce the header lines from additional nodes in the message payload. That means you need to modify the data type of the target message in order to generate an extra structure in the payload. Use constants in message mapping to generate the header column names, e.g.
    <Header>
      <H1>CommunityTag:Header</H1>
      <H2>empNo,EmpName,Age</H2>
      <H3>CommunityTag</H3>
    </Header>
    In content conversion you have to convert the Header row with
    Header.endSeparator='nl'
    You won't need parameter addHeaderLine anymore then.
    Regards, Martin

  • Simple command line parameter does not seem to work; options?

    All,
    I asked an earlier question about getting an application (Olyvia) to work as a remote app.  Specifically, we were having issues with it not wanting to run for more than one user at a time.
    I found that I needed to add the "-m" (multi-user switch) to enable it to run for more than one user at a time.  I tested this by logging on to the server by two different people, bringing up a command prompt, and adding the "-m"
    to execute line.  so, "xvViewer.exe -m"  Worked great.
    Unfortunately this solution does NOT work when setting the same "-m" option in the command line parameters "Always use the following command line parameters"
    I do note that the published app name is Olyvia, but the actual application file is "xvViewer" and is called an "alias."  I'm wondering if the parameter is not being passed to the actual executable?
    Am I going to have to create a vbscript/powershell/whatever that calls the executable with the correct parameter and publish that script instead?
    Thanks,
    GeoffW

    Hi,
    Generally by passing the command line it must work but if for any specific application you are facing any error then you can try for the script\batch file and then publish as RemoteApp and check the result.
    Thanks.
    Dharmesh Solanki
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Desktop command line parameter problem

    We have just completed an upgrade from Discoverer 4i to 10g. We use the desktop version installed on a windows 2000 terminal server to run a batch file nightly (using the windows task scheduler to call the batch file). This runs the reports, then exports them in xls format to a public directory. During my testing I installed the 10g desktop version on my win xp machine to test the command line capabilities - we have about 50 reports that run nightly, and everything ran fine. Now I have installed the 10g Desktop and Admin versions on the terminal server, and need to use this new version to run the reports nightly. I did the install as an admin, and I am running the scheduled task as an admin. The reports are failing, complaining about the parameter values. With the exception of the path to the dis51usr.exe file, I'm using the exact same command line on my pc as I'm using on the terminal server.
    Here's the command line I'm using on my pc, which runs fine:
    c:\oracle\BIToolsHome_1\bin\DIS51USR.EXE /connect it_reports/password@prod /opendb "Order Shipments" /parameter "From Date" "01-APR-2006" /parameter "To Date" "30-APR-2006" /parameter "Sales Territory" "North America" /export xls "\\docserve\rhonda\Discoverer\DiscovererReporting\SalesReporting\North America\Order Shipments Apr 2006.xls" /batch
    Here's the command line I'm using on the terminal server:
    d:\oracle10g\BIToolsHome_1\bin\DIS51USR.EXE /connect it_reports/password@prod /opendb "Order Shipments" /parameter "From Date" "01-APR-2006" /parameter "To Date" "30-APR-2006" /parameter "Sales Territory" "North America" /export xls "\\docserve\rhonda\Discoverer\DiscovererReporting\SalesReporting\North America\Order Shipments Apr 2006.xls" /batch
    This fails, with the following noted in the log file:
    4/25/2006 1:54:09 PM
    d:\oracle10g\BIToolsHome_1\bin\DIS51USR.EXE /connect it_reports/password@prod /opendb Order Shipments /parameter From Date 01-APR-2006 /parameter To Date 30-APR-2006 /parameter Sales Territory North America /export xls \\docserve\rhonda\Discoverer\DiscovererReporting\SalesReporting\North America\Order Shipments Apr 2006.xls /batch
    Invalid value "From Date" for parameter "01-APR-2006"
    Invalid value "To Date" for parameter "30-APR-2006"
    Invalid value "Sales Territory" for parameter "North America"
    4/25/2006 1:54:10 PM
    I've been trying to figure this out for a couple of days now. Just got my copy of the new Discoverer 10g Handbook in the mail today (great book, by the way!) - I was hoping it would shed some light on this problem, but I'm still stuck. I'm hoping I'm missing something really simple here, and appreciate any help I can get.
    Thanks
    Rhonda

    Hello Ott,
    Yes, I tried that, because that is what the error message indicates. I also tried using single quotes instead of double around the parameter names and/or parameter values, and using no quotes at all. The confusing thing is that the same command works on my pc installation. I have also looked at all the option settings between the 2 installations, and made sure they are the same. The only difference is the operating system - for the life of me I can't figure out why 10g would act any different than 4i installed on the same OS, or for that matter why 10g would act any different installed on XP vs Terminal Server. I've got to be missing something simple here.
    thanks
    Rhonda

  • Cisco Jabber MSI Install Command lines/ Orca MST file

    Greetings....
    We are trying to deploy cisco jabber 9.7.4 either by using msi command line or configuring a custom installer using Orca. Both options have worked partially. 2 places we are getting stuck.  The EULA is prompting to accept (which if we run in quiet mode, it stalls and fails) and after the install I am prompted to select account type and server. The server is populated with the correct address but it defaults to the "use default server". It seems to work with the default server but I still need to select "Cisco IM and Presence" from the account type.
    I followed the deployment guide for jabber to create the installer file.
    I am pretty new to CUCM and CUP. So feel free to answer me like I am a 4th grader.
    Attached are screen shots of the msi command line and the settings in Orca I was playing around with.
    Any help and guidance is appreciated.

    In your doc you have:
    msiexec /i CiscoJabberSetup.msi TPYPE=CUP ADDRESS=10.21.0.10 DOMAIN=chi-sd.com
    TYPE=CUP is mispelled.
    Regards
    Aaron

  • How to create multiple files with Receiver File Adapter in SAP PI 7.31 Java Stack

    Dear Friends,
    I am using Sender JDBC Adapter and Receiver File Adapter in Integration Flow in SAP PI 7.3 EHP 1 SP08 Java Stack environment. The requirement is that we need to create multiple files based on the row count in jdbc resultset. If there are 5 rows in resultset, we need to create 5 XML files with one row elements in one file. Similarly if there are 10 rows, we need to create 10 XML files.
    So how can we create multiple files in this scenario. I tried placing a for loop in the Java Mapping as below in the transform method:
    DynamicConfiguration conf = arg0.getDynamicConfiguration();
    StringBuffer sbFileData = new StringBuffer();
    for (int i =0; i < record.size(); i++ {
         . // Create XML for each row and Marshal the object into to the String Buffer
         String strFileName = "DC_" + new SimpleDateFormat("ddMMyyyyHHmm").format(new java.util.Date())+"_"+i+".xml";
         conf.put(KEY_FILENAME, strFileName);
         arg1.getOutputPayload().getOutputStream().write(sbFileData.toString().getBytes("UTF-8"));
         arg1.getOutputPayload().getOutputStream().flush();
    So here I'm flushing the OutputStream for each record. But it's not creating the multiple file, instead it creates only one file will all record XMLs appended to each other.
    Please let me know if I missing something or need to do some thing else.
    Regards,
    Shreyansh Shah

    Hi
    You can easily achieve this using graphical mapping.  Create your target message type like below
    MT_Target
      Details  0 to 1
          Data  0 to 1
    Source sample structure
    <resultset>
    <row>
    <column-name>column-value</ column-name>
    </row>
    Then do the message mapping like below
    map <row> with  MT_Target
    contant ----> Deatils
    column-name ------>Data
    In the signature tab of message mapping, choose the occurrence of your target message type as
    0 to unbounded.
    This will generate multiple files from multiple rows.
    Let me know if you have any doubt.

  • File access parameter in file adapter at receiver side

    Hi Experts,
    1- i am using file adapter at receiver side. i want to create my file with time stamp for that i have given the file construction    mode = add time stamp and put file directly .but it is showing time in file name????????
    2. i want my file name as  TimeSheet_Country_Date_time.csv so for this what value i have to give in file Name Scheme parameter.
    Regards

    1- i am using file adapter at receiver side. i want to create my file with time stamp for that i have given the file construction mode = add time stamp and put file directly .but it is showing time in file name????????
    The addtime stamp will add timestamp as the last part of the filename before the extension.
    2. i want my file name as TimeSheet_Country_Date_time.csv so for this what value i have to give in file Name Scheme parameter.
    You can achieve this using dynamic file naming UDF in mapping and using ASMA in file adapter.
    Use current date function and generate the current date. Then use substring to pick date,time from it and format it according to your requirement (TimeSheet_Country_Date_time).Else you can write a UDF to generate the file name as per your requirement and then pass it to the dynamic filenaming UDF in the mapping.
    Search SDN for dynamic file naming.

  • Command-line parameter won't work

    I am trying to use the oraxsl command-line processor to pass a parameter to a stylesheet. All the examples I have found for this format (courtesy of Steve Muench in various mailing lists) show the same format I am using (i.e. oraxsl -p name="Steve" datadoc.xml transform.xsl),
    yet the processor invariably replies "oraxsl: Missing <param list> after -p". To which I can only reply, "There are none so blind as those who will not see." I'm using Windows XP. Has anyone else had a similar experience?

    I have that problem using the XML Java route. The code works but the <xsl:parm name="p"/> does not get populated with the value passed on the querysttring of th ecalling jsp.
    If i hard code the value of p with text then the xslt runs properly.
    I will try the oracle command line function and see what it does as I did not know about it until today.

Maybe you are looking for

  • Skip first screen of the VIEW (V_T052) with FM VIEW_MAINTENANCE_CALL-

    Hi at all, i use the Functionmodul "VIEW_MAINTENANCE_CALL" and call the View "V_T052". But i need the second screen of this View, to add new Payment Terms. How can I skip the first screen of the View "V_T052" ?   DATA: view_name TYPE dd02v-tabname VA

  • Sun Java System Application Server Standard stops responding for no reason

    Dear Sun Users and Support. We ran into an issue that we can't find any cause for. For some reason our Sun Java System Application Server 8.2 Standard stops responding to HTTP calls. Even Admin console can't be invoked. The server by itself appears t

  • How to rename voting disk name in oracle clusterware 11gr2

    Hi: I need change the name of voting disk at os level, original name is /dev/rhdisk20, I need rename to /dev/asmocr_vote1 (unix AIX), the voting disk is locate in ASM diskgroup +OCR. Initial voting disk was: /dev/rhdisk20 in diskgroup +OCR #(root) /o

  • WM::system is not placing the stock another storage bin

    hi friends      system is not check fill the stock to another bin ..system is placing the stock in same bin...what are the cofiguration required? with regards dinesh Edited by: code acess on Jun 15, 2011 10:47 AM Edited by: code acess on Jun 15, 2011

  • Problem with the release trigger in EXS 24

    Hello! I´m working on a sample instrument in EXS 24 and can´t really get the release trigger to work properly. I´ve tried to adress a sample to sound when i release the key, by placing the sample in a group for itself and choosing the "key release" o