Copying file in fileadapter with os command line

Hi XI - Species
I examined the following blogs:
/people/sameer.shadab/blog/2005/09/21/executing-unix-shell-script-using-operating-system-command-in-xi
/people/michal.krawczyk2/blog/2005/08/17/xi-operation-system-command--error-catching
We are on XI 7.0 SP 12 under AIX. Meanwhile there is a parameter for os command before message processing and after message processing.
We want to copy a file for separate processing by an other fileadapter, with the following command /usr/bin/cp %F  /tmp/XI/ECHtoSAP/ELEC/MECOM/testcpbefor_mec
My experience is, that this command only works in the parameter before message processing in combination with the message protocol nfs.
Is there anybody who can answer the following questions:
1. Why does'nt the command work in after message processing with nfs? The monitor says command execution successfully, but the file is not copied.
2. Which file is expected to be copied after message processing? The original file (flat file) or the xml produced by the fileadapter?
3. What is meant by after message processing? After completion of the whole scenario or after the processing of the fileadapter?
4. Do these commands work with Ftp?
Thanks for a soon answer?
Regards Marlies

> Hi XI - Species
>
> I examined the following blogs:
>
> https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/
> 2411
> https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/
> 2184
>
> We are on XI 7.0 SP 12 under AIX. Meanwhile there is
> a parameter for os command before message processing
> and after message processing.
>
> We want to copy a file for separate processing by an
> other fileadapter, with the following command
> /usr/bin/cp %F
>  /tmp/XI/ECHtoSAP/ELEC/MECOM/testcpbefor_mec
>
> My experience is, that this command only works in the
> parameter before message processing in combination
> with the message protocol nfs.
>
>
> Is there anybody who can answer the following
> questions:
>
> 1. Why does'nt the command work in after message
> processing with nfs? The monitor says command
> execution successfully, but the file is not copied.
Check if the user who is executing the command has the requried permission to cpoy the file and the user who will be executing this command is be "<SID>adm"
> 2. Which file is expected to be copied after message
> processing? The original file (flat file) or the xml
> produced by the fileadapter?
The Original input file
> 3. What is meant by after message processing? After
> completion of the whole scenario or after the
> processing of the fileadapter?
I think this means after processing of the scenario to my best knowledge
> 4. Do these commands work with Ftp?
not sure
> Thanks for a soon answer?
> Regards Marlies

Similar Messages

  • Adobe Reader XI does not open files with a command line "path" argument.

    Adobe Reader XI does not open files with a command line "path" argument. Version X and lower all worked fine. I have deleted and reinstalled the program with no success. Is this a bug?

    Hi Daniel,
    What is the make of the printer and is it using PCL or PS driver.?
    Do you have Acrobat installed on this machine as well?
    Please check if 'Print Spooler' service is running on the machine.
    Regards,
    Rave

  • 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!

  • Error message in scanning:"The scanning software was launched with improper command- line arguments"

    We have downloaded and installed the HP Photosmart full feature Sostware and Drivers to Photosmart C3183 All-in-one.
    Click the Scan document in Solution Center-
    Error message displayed:
    The scanning software was launched with improper command-line arguments"
    Extended error information: 8,[(-1,0,0)]
    When Hp scan diagnostic utility  was used  - the message was: no scanners installed.
    how can we resolve the scanning problem
    nidataytay

    I have the same problem on a HP 5610 Officejet All-in-One.
    "The scanning software was launched with improper command-line arguments.
    8, [(-1, 0, 0)]"
    What is the solution? The scanner does not work. All other functions, print, fax, copy work from with in the HP Solutions Center software - but not the scanner.

  • Can flash player app be run and controlled in a system with only command line?

    I want to test my.  flash app in a remote linux pc. I am not permitted to install  desktop environment in that remote pc.
    So I am wondering if I can use flashplayer_10_sa_debug to run my app in a system with only command line access.
    And further, can I use some command option to interact with my app for doing something?
    If not , how can I reach my goal? Can you give me some advices?

    Hi,
    Can we get a status update for this? This seems to have broken Mac Projector files when published from a PC. Our old CD-ROM presentations no longer work. They throw the same error.
    Is there a bug ticket that we can follow? Any sort of timeline? I need to give an answer to my client on when this will be fixed. Telling them to disable Gatekeeper isn't really a great solution.

  • How to get the MAC address of the additional 10G NIC with ILO command line

    how to get the MAC address of the additional 10G NIC with ILO command line?
    thanks.
    This question was solved.
    View Solution.

    Hi Bruce,
    Out from what I can find on this network card is it not possible to get the mac address without a OS. I would recommend you to get/burn a Linux/Ubuntu live CD/DVD and run a Ifconfig in there.
    Hope it helps you.
    Best regards
    Zincas
    I work on behalf of HP

  • Compare two pdf files using adobe acrobat through command line

    Does anyone know how to compare two pdf files using adobe acrobat through command line. I want to do this via command line because we want to compare hundreds of file every day through some automated windows tasks.
    If command line option is not available in acrobat, then is it feasible to make use of acrobat javascript API to do this task?
    Any kind of help will be greatly.

    Command-line: Not possible.
    JavaScript: Possible, but very limited. Basically the only thing you can do is simulate clicking the Compare Documents button. The rest has to be done manually.
    However, it *might* be possible to automate this process a bit more using a plugin. Ask over at the Acrobat SDK forum for more information...

  • How to automatically generate a build file of the application from command-line

    Hi All
    How can we automatically generate a build file of the application from command-line (as opposed to using Jdev IDE to click to generate a build.xml) ?
    Thanks

    User, which jdev version do you use?
    I don't think you can do this. You can only create an ant build.xml from the project inside jdev.
    You can use ojdeploy to build the project.  This is the only method which will also make the necessary changes to the descriptors.
    Timo

  • How change the wallpaper/background with a command line ?

    Hi people,
    did someone know how change the wallpaper with a command line ?
    thx a lot

    Hi,
    I think this can be done with PowerShell. We could create a function to set wallpaper:
    Function Set-WallPaper($Value)
     Set-ItemProperty -path 'HKCU:\Control Panel\Desktop\' -name wallpaper -value $value
     rundll32.exe user32.dll, UpdatePerUserSystemParameters
    Open PowerShell; paste the function above in it to make this function work.
    Now, if you want to change some wallpaper, you could type the following text:
    Set-WallPaper -value "the path of you wallpaper"
    If you are interested, I would like to share the following article with you for your reference:
    Hey, Scripting Guy! How Can I Hide
    My Desktop Wallpaper?
    If you need some help on writing this script, you can also post your question to The Official Scripting Guys Forum:
    The
    Official Scripting Guys Forum
    Hope this helps. Thanks.
    Alex Zhao
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Open *.ste file with a command line

    Hello,
    Is there a way to import by a command line like :
    quote:
    dreamweaver -open mysite.ste
    I have a liste of *ste, and whant to run a script that
    automaticly import and open the site in DW. Can we do that or there
    is a solution to avoid to be inside the site panel to import an ste
    Thanks...
    Maelvon

    If you ever find this answer, it would be extremely useful to me right now.

  • What to do with this command line??

    someone posted a link to some command line or something like that in response to my need to convert a Nero DVD Image file .nrg to .iso. or at least someway be able to read the files/export, whatever. Here is the link to the post, he/she linked to some code that I do not know what to do with, can anyone help me with this?? I know NOTHING about Terminal/
    http://discussions.apple.com/thread.jspa?threadID=2363709&tstart=0

    i'm incredibly thankful for you taking the time to look at this, however, i am not getting anywhere, i followed your directions and got nowhere, here is a copy and paste of my terminal log or whatever, i tried a couple different things
    cd DeskLast login: Mon Jan 4 20:46:58 on console
    toptrey-buechlers-imac:~ Kerose$ cd Desktop./nrg4iso file.nrg file.iso
    -bash: cd: Desktop./nrg4iso: No such file or directory
    trey-buechlers-imac:~ Kerose$
    trey-buechlers-imac:~ Kerose$
    trey-buechlers-imac:~ Kerose$ cd Desktop
    trey-buechlers-imac:Desktop Kerose$ ./nrg4iso file.nrg file.iso
    error: error reading source file (No such file or directory)
    trey-buechlers-imac:Desktop Kerose$ /.nrg4iso file.nrg file.iso
    -bash: /.nrg4iso: No such file or directory
    trey-buechlers-imac:Desktop Kerose$ /.nrg4iso file.nrg file.iso
    -bash: /.nrg4iso: No such file or directory
    trey-buechlers-imac:Desktop Kerose$ ./nrg4iso file.nrg file.iso
    error: error reading source file (No such file or directory)
    trey-buechlers-imac:Desktop Kerose$ "./nrg4iso file.nrg file.iso"
    -bash: ./nrg4iso file.nrg file.iso: No such file or directory
    trey-buechlers-imac:Desktop Kerose$

  • Backing up your Linux systems with the command line

    While there are many GUI-based backup and storage tools for Linux users, there are also a few command line-based tools. "Rsync" is one of these tools and, according to Linux.com, it stands for remote sync. With afull tutorial on how to use rsync, Linux.com walks you through how "one of the most used'tools' in the UNIX world [works]."
    Even though it's a simple tool, rsync has quite a few capabilities. You can use rsync "to sync files on two directories on the same PC, on two different systems on the same network, [and] .... on machines thousands of miles apart, over the Internet." In its guide, Linux.com explains each of these processes in detail. While the guide focuses on server backup, each and every command has its place on your personal workstation as well.
    What other tools do you use to back up your Linux systems?
    This topic first appeared in the Spiceworks Community

    try checking relevant environment variables like the CLASSPATH.... a major source of failures in Windows is when in the classpath there is a path containing SPACES.... also enabling some "debug" or "verbose" flag (not sure how to do it) would provide more insight...

  • How to use Xcode Tools with a Command Line Project

    I'm using Xcode 3.2.6, C compiler.  I've had an application for years that is command-line on the terminal, compiling with a makefile.  Now I want to actually use the performance tools included with Xcode, such as threads, time profiler, etc.  How do I do this?
    I created a project for it (never did that before), added source files, etc -- it seems to work.  It created the application, which will run via the terminal like always.  But whenver I try to use Run (inside Xcode), a window opens up saying "Stop Executable".  I have to click OK and that's the end of it.  Nothing has happened.
    I found an old query on the web similar to this from 2008.  The suggestion was to open the console.  Still nothing.  "Sync with Debugger" does no good.  Please help!

    That I understood.  I did try Run > Console.  Nothing intelligible happened.  Then I synced with the debugger.  he program is called fer64.  I get this:
    No executable file specified.
    Use the "file" or "exec-file" command.
    No executable file specified.
    Use the "file" or "exec-file" command.
    The program being debugged is not being run.
    The program being debugged is not being run.
    Not executing.
    (gdb) r fer64
    Data Formatters temporarily unavailable, will re-try after a 'continue'. (Unknown error loading shared library "/Developer/Applications/Xcode.app/Contents/PlugIns/GDBMIDebugging.xcplugin/Con tents/Resources/PBGDBIntrospectionSupport.A.dylib")
    Starting program:  fer64
    Not executing.

  • Including files/resources using the ADT command line

    Hi all,
    I'm trying to get file support into my ADT helper tool before I release an update.  I am still having problems.
    According to the Adobe docs on the subject, the following commands can be used:
    -C "path/to/new/working/directory" [files and folders to include]
    -e [files and folders to include] [package directory to add these to]
    The following example works fine for me:
    // This changes the working directory to my audio resources folder, and then packages the file 'track.mp3' into the root folder of my application package.
    -C "C:\\resources\audio" "track.mp3"
    Hoiwever using -e option in any way generates an error:
    // This copies the file 'sfx.mp3' from the current working directory to the application package subdirectory 'lib'
    -e sfx.mp3 lib
    This also causes an error:
    // Change the working directory to resources/audio and then copy the file called 'sfx.mp3' to the 'lib' subfolder of the application package. Error.
    -C "C:\\resources\audio" -e sfx.mp3 lib
    The error in both cases is:
    File does not exist: sfx.mp3
    Any ideas how I can use the -e option?  Does the working directory not come in to it - do i always have to use an absolute path to my file?
    Thanks in advance,
    Peter

    Not sure if it will help in your situation, but I just include files by adding the filepath at the end of my adt command line (no -e or -c). Eg (included files or bolded):
    "C:\Program Files (x86)\Java\jre6\bin\java" -jar C:\Users\t.randall\Documents\AIRSDK\AIR_3.0\lib\adt.jar -package -target ipa-ad-hoc -storetype pkcs12 -keystore ..\..\Deployment\CareerBox.p12 -storepass pass -provisioning-profile ..\..\Deployment\CareerBox.mobileprovision ..\..\CareerBox.ipa CareerBox_iPhone-app.xml CareerBox_iPhone.swf AppIconsForPublish\Icon29x.png AppIconsForPublish\Icon57x.png AppIconsForPublish\[email protected] AppIconsForPublish\Icon512x.png AppIconsForPublish\Icon48x.png AppIconsForPublish\Icon72x.png Default.png [email protected] Default-Landscape~ipad.png Data\Cards.xml Data\CareerCards.xml

  • Compile occi error LNK2019 on windows XP SP2 with VC7 command line

    I try to compile a cpp file from command line under Windows XP SP2 environment with:
    - Microsoft Visual Studio .NET 2003
    - Oracle 10g 10.1.0.2.0 client (admin) installed
    , but I encountered error on the code "env = Environment::createEnvironment (Environment::DEFAULT);" as follows:
    occiclient1.obj : error LNK2019: unresolved external symbol "public: static class oracle::occi::Environment * __cdecl
    oracle::occi::Environment::createEnvironment(enum oracle::occi::Environment::Mode,void *,void * (__cdecl*)(void *,unsigned int),
    void * (__cdecl*)(void *,void *,unsigned int),void (__cdecl*)(void *,void*))" (?createEnvironment@Environment@occi@oracle@@SAPAV123@W4Mode@123@PAXP6APAX1
    I@ZP6APAX11I@ZP6AX11@Z@Z) referenced in function "public: __thiscall occiclient1::occiclient1(void)" (??0occiclient1@@QAE@XZ)
    I have already included necessary e.g. oraocci10.dll, oraociei10.dll for the %PATH% and %LIB% environment variables, and have tried many times but still fail, are there something I done wrong or missing?
    The command line I used to compile the program is "cl -GX occiclient1.cpp"

    hi!
    My partition has c: 40GB ( i dumped sap software in this drive) and d: 120GB. And i hav e: drive for CD Drive.
    Actually, the drives set "AUTO Mount". i removed the mount. it will work. i was given all all input parameters of Central Instance......
    After start the Central instance,
    step 2, File system check/adapt (post processing) , i got same problem. Even i tried windows XP and Win 2003 also.
    i logged as administrator user only......... i installed jdk........ and i chek it's working fine........
    what was the solution...
    regards
    raghu

Maybe you are looking for

  • Possible to write a function that takes any type as parameter ?

    I need to write a function that will take 2 parameters ( of any type - VARCHAR etc ) and return a boolean. ( Im trying to write a function that will do NULL processing. something like.. if ( P1=P2 OR ( P1 IS NULL AND P2 IS NULL ) ) then return true ;

  • Torrent websites not loading, no error message just blank page

    Whenever I try to load any kind of '''torrent ''' sites, e.g., torrentz.eu, www.picktorrent.com, it doesn't load and just stop leaving a blank white screen. This problem has been occurring for last few weeks. I have the latest version of Firefox(4).

  • My battery  wont charge and its not being recognized.

    Okay, I got my MacBook yesterday (4-7-08) and I noticed that it wasn't charging. Went through all the different ways of trying to fix it and have come to the conclusion that it is a bad battery. I called customer service today and all my spec. and wh

  • Reg RFC to JDBC scenario

    Hi Techies, This is inregard of RFC to JDBC Scenario. Iam having an old RFC to JDBC scenarion which is working fine. I want to call other BAPI programme using the same RFC connection. I have changed  BAPI and ABAP Programmes. But Still in my integrat

  • How to test input  JSF2

    Hi, Am looking for a way to test and varify the input form JSF/Faces components from the Web Tier, as adding system.out in the backing beans returns no screen output, as thing this has something to do with Server Side and Client Side execution etc. b