CPC2206 by calling a external command

Hi,
we have one SAP installation which is not able to call an external command that is configured in the transaction SM69.
For example we have created an command ZWRKWTR that call the command WRKWTR.
When we try to execute the command via SM49, we retriebv only result:
(no spooled files)
Eigentumsrecht f}r Objekt JLQMHLJOBL in QTEMP Art *USRSPC geändert.
On other installations with the same kernel we have no problems to call this command.
In this forum is an other thread in this forum form 2006 with the same problem.
Volker suggested to patch the SAPXPG and the SAPCMD, but we didn't find these programs in the 7.0-kernel.
Many greetings,
Stefan

Hi,
it is difficult to guess what could have gone wrong here. In general the function works, so something must be wrong with your specific installation. To get more information, you can set the "Trace" flag in SM69. Before you execute the command in SM49, lock a work process through transaction SE38, report RSTRC000. After the execution of the command, look into the developer trace of that work process for more information.
When the command gets executed, a new job named CALLCMD gets spawned from the work process. Use DSPLOG to find out whether this job got started. If it does not write a joblog, change the work process with CHGJOB LOG(4 00 *SECLVL) to force the output of a joblog. Maybe that one has more information.
Kind regards,
Christian Bartels.

Similar Messages

  • Call external command using java

    Hi !
    I want to call a external command in linux system with java .I am new to this ,so need help ..
    Suppose a command is known as "foobar" in linux .generally executed by
    $./foobar
    What I was thinking is to call this using java and return the output to a file .
    how do I do this ?

    Take a look at ProcessBuilder.

  • Is it possible to call ms-dos command in abap program?

    Hi,
    is it possible to call ms-dos command in abap program?
    Thanks.

    Hi Cemil,
    You probably have your answer here:
    [Re: DOS/Windows command in app server;
    You create your external command with SM69 (you can test it with SM49).
    Then you call this command with function module "SXPG_COMMAND_EXECUTE".
    (See function group SXPT for all the calls to external commands).
    Regards,
    Thomas

  • External commands on Heterogenous environments

    Hi All,
    Got a small problem... Running a heterogeneous environment where the CI is AIX-64 and the application server is Linux RH5-32,
    Basically I'm trying to run a job that calls external commands to drop a file in Linux... external command ZCD which is the "cd" command to call a directory is failing in Linux, I have configured the command in SM69 for both AIX and Linux, for AIX works fine but for Linux fails... saying...
    UNIX command 'ZCD /usr/sap/sid/out/' failed - RC
    funny enough i could not see any errors on dev_cp or dev_xpg
    Also checked transaction FILE and looks fine...
    directory been called by external command is mounted and i can call it from OS without issues.
    Any advice welcome.
    Regards
    Juan

    Checking again dev_cp... and find this at initialization...
    Trace file of control program (trace level 3)
    < Function: BtcTrcInit> Function: main  SAPXPG 640
    2008-10-01--09-23-38 : Before BtcXpgDetach
      > Function: BtcXpgDetach    Can't detach from process group (already leader)
      < Function: BtcXpgDetach  Accept RFC connection from R/3 system
    2008-10-01--09-23-38 : Before RfcAccept
    2008-10-01--09-23-38 : RfcAccept returned OK
    security check switched OFF
      Install RFC call SAPXPG_START_XPG
      Install RFC call SAPXPG_START_XPG_LONG
      Install RFC call SAPXPG_END_XPG
      Wait for RFC call SAPXPG_START_XPG or SAPXPG_START_XPG_LONG
    2008-10-01--09-23-38 : Before first call of RFCDispatch
    2008-10-01--09-23-38 : After first call of RFCDispatch
    2008-10-01--09-23-38 : Before call of RfcClose (sequencing error)
    2008-10-01--09-23-38 : After call of RfcClose (sequencing error)
    Its weird... but wonder why the other commands work and "cd" doesn't

  • How to call Operating System commands / external programs from within APEX

    Hi,
    Can someone please suggest how to call Operating Systems commands / external programs from within APEX?
    E.g. say I need to run a SQL script on a particular database. SQL script, database name, userid & password everything is available in a table in Oracle. I want to build a utility in APEX where by when I click a button APEX should run the following
    c:\oracle\bin\sqlplusw.exe userud/password@database @script_name.sql
    Any pointers will be greatly appreciated.
    Thanks & Regards,

    Hi Guys,
    I have reviewed the option of using scheduler and javascript and they do satisfy my requirements PARTIALLY. Any calls to operating system commands through these features will be made on the server where APEX is installed.
    However, here what I am looking at is to call operating systems programs on client machine. For example in my APEX application I have constructed the following strings of commands that needs to be run to execute a change request.
    sqlplusw.exe user/password@database @script1.sql
    sqlplusw.exe user/password@database @script2.sql
    sqlplusw.exe user/password@database @script3.sql
    sqlplusw.exe user/password@database @script4.sql
    What I want is to have a button/link on the APEX screen along with these lines so that when I click that link/button this entire line of command gets executed in the same way it would get executed if I copy and paste this command in the command window of windows.
    Believe me, if I am able to achieve what I intend to do, it is going to save a lot of our DBAs time and effort.
    Any help will be greatly appreciated.
    Thanks & Regards,

  • After upgrade oracle software oracle external command not responding

    Hi experts,
    I am start oracle up-gradation oracle 10.2.0.1 to 10.2.0.5,  from "p8202632_10205_LINUX.zip" patch on Redhat linex.
    When start upgrade oracle software only using "/runinstaller" after that i am not able to connect oracle external command (like "sqlplus","exp/imp").
    every oracle command not respond like...............
    [oracle@MTSNOIDA-REP2 bdump]$ sqlplus
    [oracle@MTSNOIDA-REP2 bdump]$
    please help me resolve that. i am sharing log of patch apply.............
    Oracle OLAP 10.2.0.1.0
       Oracle OLAP API 10.2.0.1.0
       OLAP SQL Scripts 10.2.0.1.0
       Oracle interMedia Client Option 10.2.0.1.0
       Oracle Database 10g interMedia Files 10.2.0.1.0
       Oracle interMedia 10.2.0.1.0
       PL/SQL Embedded Gateway 10.2.0.1.0
       Oracle XML Development Kit 10.2.0.1.0
       Oracle Text 10.2.0.1.0
       Oracle Clusterware RDBMS Files 10.2.0.1.0
       Database SQL Scripts 10.2.0.1.0
       Oracle Data Mining RDBMS Files 10.2.0.1.0
       Generic Connectivity Common Files 10.2.0.1.0
       Oracle Net Required Support Files 10.2.0.1.0
       Oracle Starter Database 10.2.0.1.0
       Sample Schema Data 10.2.0.1.0
       Oracle interMedia Locator RDBMS Files 10.2.0.1.0
       Oracle Call Interface (OCI) 10.2.0.1.0
       Oracle OLAP RDBMS Files 10.2.0.1.0
       PL/SQL 10.2.0.1.0
       Oracle Recovery Manager 10.2.0.1.0
       Oracle Database Utilities 10.2.0.1.0
       Oracle interMedia Locator 10.2.0.1.0
       XML Parser for Java 10.2.0.1.0
       Assistant Common Files 10.2.0.1.0
       Oracle JDBC Thin Driver for JDK 1.2 10.2.0.1.0
       Oracle JDBC Thin Driver for JDK 1.4 10.2.0.1.0
       Oracle interMedia Java Advanced Imaging 10.2.0.1.0
       SQLJ Runtime 10.2.0.1.0
       XML Parser for Oracle JVM 10.2.0.1.0
       Enterprise Manager Agent DB 10.2.0.1.0
       Enterprise Manager Baseline 10.2.0.1.0
       Oracle Enterprise Manager Console DB 10.2.0.1.0
       XDK Required Support Files 10.2.0.1.0
       Agent Required Support Files 10.2.0.1.0
       DBJAVA Required Support Files 10.2.0.1.0
       LDAP Required Support Files 10.2.0.1.0
       Precompiler Required Support Files 10.2.0.1.0
       Oracle RAC Required Support Files-HAS 10.2.0.1.0
       RDBMS Required Support Files for Instant Client 10.2.0.1.0
       RDBMS Required Support Files 10.2.0.1.0
       SQL*Plus Required Support Files 10.2.0.1.0
       SSL Required Support Files for InstantClient 10.2.0.1.0
       Installation Common Files 10.2.0.1.0
       Oracle Globalization Support 10.2.0.1.0
       Oracle Core Required Support Files 10.2.0.1.0
       Platform Required Support Files 10.2.0.1.0
       Oracle Message Gateway Common Files 10.2.0.1.0
       Enterprise Manager Agent Core 10.2.0.1.0
       Enterprise Manager Common Files 10.2.0.1.0
       Enterprise Manager Repository Core 10.2.0.1.0
       Oracle Containers for Java 10.2.0.1.0
       Enterprise Manager Repository DB 10.2.0.1.0
       Oracle LDAP administration 10.2.0.1.0
       JDBC Common Files 10.2.0.1.0
       Database Workspace Manager 10.2.0.1.0
       Oracle interMedia Annotator 10.2.0.1.0
       Enterprise Manager Minimal Integration 10.2.0.1.0
       Parser Generator Required Support Files 10.2.0.1.0
       Buildtools Common Files 10.2.0.1.0
       Oracle UIX 2.1.22.0.0
       Bali Share 1.1.18.0.0
    Deinstall in progress (Tuesday, November 19, 2013 11:02:51 PM GMT+05:30)
    ...............................................................   0% Done.
    ...............................................................  18% Done.
    ...............................................................  37% Done.
    ...............................................................  56% Done.
    ...............................................................  75% Done.
    .................                                               100% Done.
    Deinstall successful
    Installation in progress (Tuesday, November 19, 2013 11:02:51 PM GMT+05:30)
    ...............................................................  18% Done.
    ...............................................................  37% Done.
    ...............................................................  56% Done.
    ...............................................................  75% Done.
    .................................................                90% Done.
    Install successful
    Linking in progress (Tuesday, November 19, 2013 11:03:45 PM GMT+05:30)
    ..                                                               91% Done.
    Link successful
    Setup in progress (Tuesday, November 19, 2013 11:03:49 PM GMT+05:30)
    .........                                                       100% Done.
    Setup successful
    End of install phases.(Tuesday, November 19, 2013 11:03:54 PM GMT+05:30)
    Starting to execute configuration assistants
    Configuration assistant "Oracle Configuration Manager Configuration" succeeded
    WARNING:
    The following configuration scripts need to be executed as the "root" user.
    #!/bin/sh
    #Root script to run
    /u01/app/oracle/product/10.2.0/root.sh
    To execute the configuration scripts:
        1. Open a terminal window
        2. Log in as "root"
        3. Run the scripts
    The installation of Oracle Database 10g Release 2 Patch Set 4 was successful.
    Please check '/u01/app/oracle/oraInventory/logs/silentInstall2013-11-19_11-02-36PM.log' for more details.

    [oracle@MTSNOIDA-REP2 bin]$ ls -lrth
    total 7.2G
    -rwxrwxrwx 1 oracle oinstall  83K Jan  1  2000 zip
    -rwxrwxrwx 1 oracle oinstall 100K Jan  1  2000 unzip
    -rwxrwxrwx 1 oracle oinstall 2.9K Jan  1  2000 oraenv
    -rwxrwxrwx 1 oracle oinstall 2.4K Jan  1  2000 oerr
    -rwxrwxrwx 1 oracle oinstall 2.3K Jan  1  2000 gensyslib
    -rwxrwxrwx 1 oracle oinstall  14K Jan  1  2000 dbstart
    -rwxrwxrwx 1 oracle oinstall 6.5K Jan  1  2000 dbshut
    -rwxrwxrwx 1 oracle oinstall 2.4K Jan  1  2000 dbhome
    -rwxrwxrwx 1 oracle oinstall 2.8K Jan  1  2000 coraenv
    -rwxrwxrwx 1 oracle oinstall   48 Sep 25  2000 oraxml
    -rwxrwxrwx 1 oracle oinstall   48 Sep 25  2000 oraxsl
    -rwxrwxrwx 1 oracle oinstall   46 Nov  7  2000 oracg
    -rwxrwxrwx 1 oracle oinstall   45 Sep 25  2001 transx
    -rwxrwxrwx 1 oracle oinstall   59 Nov 25  2002 orapipe
    -rwxrwxrwx 1 oracle oinstall   44 Dec  4  2002 orajaxb
    -rwxrwxrwx 1 oracle oinstall 1.7K Jan 12  2004 emrepdown.sh
    -rwxrwxrwx 1 oracle oinstall  25K Jan 12  2004 emwd
    -rwxrwxrwx 1 oracle oinstall  767 Jan 12  2004 emlfail.command
    -rwxrwxrwx 1 oracle oinstall 1.2K Jan 12  2004 emdfail.command
    -rwxrwxrwx 1 oracle oinstall 1.7K Jan 12  2004 runclass
    -rwxrwxrwx 1 oracle oinstall  762 Jan 12  2004 xsql
    -rwxrwxrwx 1 oracle oinstall    0 May 19  2004 nmus
    -rwxrwxrwx 1 oracle oinstall    0 May 19  2004 nmupm
    -rwxrwxrwx 1 oracle oinstall    0 May 19  2004 nmocat
    -rwxrwxrwx 1 oracle oinstall    0 May 19  2004 nmo.0
    -rws--x--- 1 root   oinstall    0 May 19  2004 nmo
    -rwxrwxrwx 1 oracle oinstall    0 May 19  2004 nmei
    -rwxrwxrwx 1 oracle oinstall    0 May 19  2004 nmb.0
    -rws--x--- 1 root   oinstall    0 May 19  2004 nmb
    -rwxrwxrwx 1 oracle oinstall    0 May 19  2004 emtgtctl2
    -rwxrwxrwx 1 oracle oinstall    0 May 19  2004 emdctl
    -rwxrwxrwx 1 oracle oinstall    0 May 19  2004 emagent
    -rwxrwxrwx 1 oracle oinstall    0 May 19  2004 e2eme
    -rwxrwxrwx 1 oracle oinstall  39K Sep  2  2004 xmlwf
    -rwxrwxrwx 1 oracle oinstall 5.9K Sep 25  2004 repo_mig.template
    -rwxrwxrwx 1 oracle oinstall  11K Oct 13  2004 DBConsole.pm
    -rwxrwxrwx 1 oracle oinstall   82 Oct 15  2004 commonenv.bat.template
    -rwxrwxrwx 1 oracle oinstall 3.1K Apr  5  2005 asmcmd
    -rwxrwxrwx 1 oracle oinstall 2.8K May 12  2005 emrepdown.pl
    -rwxrwxrwx 1 oracle oinstall 3.4K May 12  2005 emdrollogs.pl
    -rwxrwxrwx 1 oracle oinstall 3.9K May 12  2005 emdlctl.template
    -rwxrwxrwx 1 oracle oinstall    0 May 12  2005 emtgtctl20
    -rwxrwxrwx 1 oracle oinstall 210K May 21  2005 asmcmdcore
    -rwxrwxrwx 1 oracle oinstall 1.1K May 23  2005 processDef.pl
    -rwxrwxrwx 1 oracle oinstall 3.2K Jun  7  2005 symfind
    -rwxrwxrwx 1 oracle oinstall 1.2K Jun 13  2005 linkshlib
    -rwxrwxrwx 1 oracle oinstall 4.8K Jun 13  2005 genclntst
    -rwxrwxrwx 1 oracle oinstall  153 Jun 13  2005 echodo
    -rwxrwxrwx 1 oracle oinstall 5.6K Jun 16  2005 genagtsh
    -rwxrwxrwx 1 oracle oinstall    0 Jun 22  2005 tkprofO
    -rwxrwxrwx 1 oracle oinstall    0 Jun 22  2005 sqlplusO
    -rwxrwxrwx 1 oracle oinstall    0 Jun 22  2005 sqlldrO
    -rwxrwxrwx 1 oracle oinstall    0 Jun 22  2005 sbttestO
    -rwxrwxrwx 1 oracle oinstall    0 Jun 22  2005 orapwdO
    -rwxrwxrwx 1 oracle oinstall    0 Jun 22  2005 oklist0
    -rwxrwxrwx 1 oracle oinstall    0 Jun 22  2005 okinit0
    -rwxrwxrwx 1 oracle oinstall    0 Jun 22  2005 okdstry0
    -rwxrwxrwx 1 oracle oinstall    0 Jun 22  2005 nidO
    -rwxrwxrwx 1 oracle oinstall    0 Jun 22  2005 maxmemO
    -rwxrwxrwx 1 oracle oinstall    0 Jun 22  2005 mapsga0
    -rwxrwxrwx 1 oracle oinstall    0 Jun 22  2005 kfod0
    -rwxrwxrwx 1 oracle oinstall    0 Jun 22  2005 impO
    -rwxrwxrwx 1 oracle oinstall    0 Jun 22  2005 impdpO
    -rwxrwxrwx 1 oracle oinstall    0 Jun 22  2005 hsotsO
    -rwxrwxrwx 1 oracle oinstall    0 Jun 22  2005 hsdepxaO
    -rwxrwxrwx 1 oracle oinstall    0 Jun 22  2005 hsallociO
    -rwxrwxrwx 1 oracle oinstall    0 Jun 22  2005 extprocO
    -rwxrwxrwx 1 oracle oinstall    0 Jun 22  2005 expO
    -rwxrwxrwx 1 oracle oinstall    0 Jun 22  2005 expdpO
    -rwxrwxrwx 1 oracle oinstall    0 Jun 22  2005 dumpsga0
    -rwxrwxrwx 1 oracle oinstall    0 Jun 22  2005 dbvO
    -rwxrwxrwx 1 oracle oinstall    0 Jun 22  2005 dbfsizeO
    -rwxrwxrwx 1 oracle oinstall    0 Jun 22  2005 cursizeO
    -rwxrwxrwx 1 oracle oinstall    0 Jun 22  2005 ctxloadO
    -rwxrwxrwx 1 oracle oinstall    0 Jun 22  2005 ctxlcO
    -rwxrwxrwx 1 oracle oinstall    0 Jun 22  2005 csscanO
    -rwxrwxrwx 1 oracle oinstall    0 Jun 22  2005 agtctlO
    -rwxrwxrwx 1 oracle oinstall    0 Jun 22  2005 wrapO
    -rwxrwxrwx 1 oracle oinstall    0 Jun 22  2005 tstshmO
    -rwxrwxrwx 1 oracle oinstall 1.9K Aug  9  2005 agentok.sh
    -rwxrwxrwx 1 oracle oinstall  11K Aug 15  2005 emctl.template
    -rwxrwxrwx 1 oracle oinstall 2.2K Aug 26  2005 sAgentUtils.pm
    -rwxrwxrwx 1 oracle oinstall    0 Aug 31  2005 netca_inst.sh
    -rwxrwxrwx 1 oracle oinstall 353K Sep 11  2005 emagtm0
    -rwxrwxrwx 1 oracle oinstall 759K Sep 11  2005 nmccollector0
    -rwxrwxrwx 1 oracle oinstall  52K Oct 16  2005 proxyserv.bin
    -rwxrwxrwx 1 oracle oinstall  52K Oct 20  2005 extjoboO
    -rwxrwxrwx 1 oracle oinstall  52K Oct 20  2005 extjobO
    -rwxrwxrwx 1 oracle oinstall 1.1M Oct 20  2005 racgeutO
    -rwxrwxrwx 1 oracle oinstall 1.2M Oct 20  2005 racgmainO
    -rwxrwxrwx 1 oracle oinstall 615K Oct 20  2005 oclsmon.bin
    -rwxrwxrwx 1 oracle oinstall  30K Oct 20  2005 extproc32O
    -rwxrwxrwx 1 oracle oinstall  64K Oct 20  2005 geneziO
    -rwxrwxrwx 1 oracle oinstall  691 Oct 22  2005 proxyserv
    -rwxrwxrwx 1 oracle oinstall    0 Oct 22  2005 racgmdbO
    -rwxrwxrwx 1 oracle oinstall    0 Oct 22  2005 racgimonO
    -rwxrwxrwx 1 oracle oinstall    0 Oct 22  2005 oifcfg0
    -rwxrwxrwx 1 oracle oinstall    0 Oct 22  2005 trcroute0
    -rwxrwxrwx 1 oracle oinstall    0 Oct 22  2005 tnsping0
    -rwxrwxrwx 1 oracle oinstall    0 Oct 22  2005 tnslsnr0
    -rwxrwxrwx 1 oracle oinstall    0 Oct 22  2005 lsnrctl0
    -rwxrwxrwx 1 oracle oinstall    0 Oct 22  2005 trcldr
    -rwxrwxrwx 1 oracle oinstall    0 Oct 22  2005 grdcscan
    -rwxrwxrwx 1 oracle oinstall    0 Oct 22  2005 kfodO
    -rwxrwxrwx 1 oracle oinstall    0 Oct 22  2005 nmus0
    -rwxrwxrwx 1 oracle oinstall    0 Oct 22  2005 nmupm0
    -rwxrwxrwx 1 oracle oinstall    0 Oct 22  2005 nmocat0
    -rwxrwxrwx 1 oracle oinstall    0 Oct 22  2005 nmo0
    -rwxrwxrwx 1 oracle oinstall    0 Oct 22  2005 nmei0
    -rwxrwxrwx 1 oracle oinstall    0 Oct 22  2005 nmb0
    -rwxrwxrwx 1 oracle oinstall    0 Oct 22  2005 emdctl0
    -rwxrwxrwx 1 oracle oinstall    0 Oct 22  2005 emagent0
    -rwxrwxrwx 1 oracle oinstall    0 Oct 22  2005 e2eme0
    -rwxrwxrwx 1 oracle oinstall 8.3K Jan 19  2006 genclntsh
    -rwxrwxrwx 1 oracle oinstall  485 Aug  4  2006 makeserverwlt
    -rwxrwxrwx 1 oracle oinstall  485 Aug  4  2006 makerootca.sh
    -rwxrwxrwx 1 oracle oinstall 3.5K Feb 20  2007 genoccish
    -rwxrwxrwx 1 oracle oinstall  504 Mar 30  2007 commonenv.template
    -rwxrwxrwx 1 oracle oinstall  16K Apr 17  2007 IASConsole.pm
    -rwxrwxrwx 1 oracle oinstall 1.2K May  9  2007 emtgtctl.template
    -rwxrwxrwx 1 oracle oinstall 6.9K Dec 24  2008 aqxmlctl.pl
    -rwxrwxrwx 1 oracle oinstall 9.5K Apr 29  2009 genorasdksh
    -rwxrwxrwx 1 oracle oinstall  23K May 12  2009 EMDeploy.pm
    -rwxrwxrwx 1 oracle oinstall  24K Jun 14  2009 EMAgent.pm
    -rwxrwxrwx 1 oracle oinstall 9.0K Dec  7  2009 relink
    -rwxrwxrwx 1 oracle oinstall  56K Feb 10  2010 emwd.pl
    -rwxrwxrwx 1 oracle oinstall 1.9K Feb 18  2010 racgwrap.sbs
    -rwxrwxrwx 1 oracle oinstall 1.9M Apr  8  2010 xml
    -rwxrwxrwx 1 oracle oinstall 2.3M Apr  8  2010 xmlcg
    -rwxrwxrwx 1 oracle oinstall 1.6M Apr  8  2010 schema
    -rwxrwxrwx 1 oracle oinstall 1.7M Apr  8  2010 xvm
    -rwxrwxrwx 1 oracle oinstall 1.9M Apr  8  2010 xsl
    -rwxrwxrwx 1 oracle oinstall 1.8K Apr  8  2010 pupbld
    -rwxrwxrwx 1 oracle oinstall 2.1K Apr  8  2010 helpins
    -rwxrwxrwx 1 oracle oinstall 148K Apr 12  2010 mkwallet
    -rwxrwxrwx 1 oracle oinstall 4.8K Apr 12  2010 gennttab
    -rwxrwxrwx 1 oracle oinstall 2.9K Apr 12  2010 gennfgt
    -rwxrwxrwx 1 oracle oinstall  13K Apr 12  2010 adapters
    -rwxrwxrwx 1 oracle oinstall 793K Apr 13  2010 nmccollector
    -rwxrwxrwx 1 oracle oinstall  50K Apr 13  2010 nmcbufp
    -rwxrwxrwx 1 oracle oinstall 345K Apr 13  2010 csscan
    -rwxrwxrwx 1 oracle oinstall 768K Apr 13  2010 ocrdump.bin
    -rwxrwxrwx 1 oracle oinstall 828K Apr 13  2010 ocrconfig.bin
    -rwxrwxrwx 1 oracle oinstall 740K Apr 13  2010 ocrcheck.bin
    -rwxrwxrwx 1 oracle oinstall 102K Apr 13  2010 rawutl
    -rwxrwxrwx 1 oracle oinstall  12K Apr 13  2010 osdbagrp
    -rwxrwxrwx 1 oracle oinstall 705K Apr 13  2010 gsd
    -rwxrwxrwx 1 oracle oinstall  17K Apr 13  2010 srvmspawn
    -rwxrwxrwx 1 oracle oinstall 1.9M Apr 13  2010 ocssd.bin
    -rwxrwxrwx 1 oracle oinstall 1.4M Apr 13  2010 racgeut
    -rwxrwxrwx 1 oracle oinstall 1.6M Apr 13  2010 racgmain
    -rwxrwxrwx 1 oracle oinstall 811K Apr 13  2010 clscfg.bin
    -rwxrwxrwx 1 oracle oinstall 712K Apr 13  2010 clsid.bin
    -rwxrwxrwx 1 oracle oinstall 734K Apr 13  2010 oclsvmon.bin
    -rwxrwxrwx 1 oracle oinstall 735K Apr 13  2010 oclsomon.bin
    -rwxrwxrwx 1 oracle oinstall 3.3M Apr 13  2010 crsctl.bin
    -rwxrwxrwx 1 oracle oinstall 935K Apr 13  2010 clsfmt.bin
    -rwxrwxrwx 1 oracle oinstall 1.2M Apr 14  2010 lmsgen
    -rwxrwxrwx 1 oracle oinstall 1.2M Apr 14  2010 lxegen
    -rwxrwxrwx 1 oracle oinstall 2.6M Apr 14  2010 lxinst
    -rwxrwxrwx 1 oracle oinstall 778K Apr 14  2010 lxchknlb
    -rwxrwxrwx 1 oracle oinstall 1.4M Apr 14  2010 lcsscan
    -rwxrwxrwx 1 oracle oinstall 349K Apr 19  2010 genksms
    -rwxrwxrwx 1 oracle oinstall  11K Apr 19  2010 osh
    -rwxrwxrwx 1 oracle oinstall  15K Apr 19  2010 fmputlhp
    -rwxrwxrwx 1 oracle oinstall 921K Apr 19  2010 fmputl
    -rwxrwxrwx 1 oracle oinstall  20K Apr 19  2010 sysresv
    -r-sr-s--- 1 root   oinstall  14K Apr 19  2010 oradism
    -rwxrwxrwx 1 oracle oinstall  29K Apr 19  2010 loadpsp
    -rwxrwxrwx 1 oracle oinstall 394K Apr 19  2010 kgmgr
    -rwxrwxrwx 1 oracle oinstall 857K Apr 19  2010 extjobo
    -rwxrwxrwx 1 oracle oinstall  66K Apr 19  2010 genezi
    -rwsr-x--- 1 root   oinstall 857K Apr 19  2010 extjob
    -rwxrwxrwx 1 oracle oinstall    0 Apr 19  2010 tg4pwdO
    -rwxrwxrwx 1 oracle oinstall    0 Apr 19  2010 oradismO
    -rwxrwxrwx 1 oracle oinstall    0 Apr 19  2010 hsodbcO
    -rwxrwxrwx 1 oracle oinstall    0 Apr 19  2010 oracleO
    -rwxrwxrwx 1 oracle oinstall    0 Apr 19  2010 kfod
    -rwxrwxrwx 1 oracle oinstall    0 Apr 19  2010 wrap
    -rwxrwxrwx 1 oracle oinstall    0 Apr 19  2010 tstshm
    -rwxrwxrwx 1 oracle oinstall    0 Apr 19  2010 sbttest
    -rwxrwxrwx 1 oracle oinstall    0 Apr 19  2010 orapwd
    -rwxrwxrwx 1 oracle oinstall    0 Apr 19  2010 oracle
    -rwxrwxrwx 1 oracle oinstall    0 Apr 19  2010 nid
    -rwxrwxrwx 1 oracle oinstall    0 Apr 19  2010 maxmem
    -rwxrwxrwx 1 oracle oinstall    0 Apr 19  2010 mapsga
    -rwxrwxrwx 1 oracle oinstall    0 Apr 19  2010 hsots
    -rwxrwxrwx 1 oracle oinstall    0 Apr 19  2010 hsodbc
    -rwxrwxrwx 1 oracle oinstall    0 Apr 19  2010 hsdepxa
    -rwxrwxrwx 1 oracle oinstall    0 Apr 19  2010 hsalloci
    -rwxrwxrwx 1 oracle oinstall    0 Apr 19  2010 extproc
    -rwxrwxrwx 1 oracle oinstall    0 Apr 19  2010 dumpsga
    -rwxrwxrwx 1 oracle oinstall    0 Apr 19  2010 dgmgrlO
    -rwxrwxrwx 1 oracle oinstall    0 Apr 19  2010 dgmgrl
    -rwxrwxrwx 1 oracle oinstall    0 Apr 19  2010 dbv
    -rwxrwxrwx 1 oracle oinstall    0 Apr 19  2010 dbfsize
    -rwxrwxrwx 1 oracle oinstall    0 Apr 19  2010 cursize
    -rwxrwxrwx 1 oracle oinstall    0 Apr 19  2010 cfo
    -rwxrwxrwx 1 oracle oinstall    0 Apr 19  2010 agtctl
    -rwxrwxrwx 1 oracle oinstall    0 Apr 19  2010 sqlplus
    -rwxrwxrwx 1 oracle oinstall    0 Apr 19  2010 racgmdb
    -rwxrwxrwx 1 oracle oinstall    0 Apr 19  2010 racgimon
    -rwxrwxrwx 1 oracle oinstall    0 Apr 19  2010 oifcfg
    -rwxrwxrwx 1 oracle oinstall    0 Apr 19  2010 ldapsearch
    -rwxrwxrwx 1 oracle oinstall    0 Apr 19  2010 ldapmodifymt
    -rwxrwxrwx 1 oracle oinstall    0 Apr 19  2010 ldapmodify
    -rwxrwxrwx 1 oracle oinstall    0 Apr 19  2010 ldapmoddn
    -rwxrwxrwx 1 oracle oinstall    0 Apr 19  2010 ldapdelete
    -rwxrwxrwx 1 oracle oinstall    0 Apr 19  2010 ldapcompare
    -rwxrwxrwx 1 oracle oinstall    0 Apr 19  2010 ldapaddmt
    -rwxrwxrwx 1 oracle oinstall    0 Apr 19  2010 ldapadd
    -rwxrwxrwx 1 oracle oinstall    0 Apr 19  2010 dsml2ldif
    -rwxrwxrwx 1 oracle oinstall    0 Apr 19  2010 tnnfg.dbl
    -rwxrwxrwx 1 oracle oinstall    0 Apr 19  2010 oklist
    -rwxrwxrwx 1 oracle oinstall    0 Apr 19  2010 okinit
    -rwxrwxrwx 1 oracle oinstall    0 Apr 19  2010 okdstry
    -rwxrwxrwx 1 oracle oinstall    0 Apr 19  2010 trcroute
    -rwxrwxrwx 1 oracle oinstall    0 Apr 19  2010 tnsping
    -rwxrwxrwx 1 oracle oinstall    0 Apr 19  2010 tnslsnr
    -rwxrwxrwx 1 oracle oinstall    0 Apr 19  2010 lsnrctl
    -rwxrwxrwx 1 oracle oinstall    0 Apr 19  2010 proc
    -rwxrwxrwx 1 oracle oinstall    0 Apr 19  2010 ctxload
    -rwxrwxrwx 1 oracle oinstall    0 Apr 19  2010 ctxlc
    -rwxrwxrwx 1 oracle oinstall    0 Apr 19  2010 ctxkbtc
    -rwxrwxrwx 1 oracle oinstall    0 Apr 19  2010 rmanO
    -rwxrwxrwx 1 oracle oinstall    0 Apr 19  2010 rman
    -rwxrwxrwx 1 oracle oinstall    0 Apr 19  2010 tkprof
    -rwxrwxrwx 1 oracle oinstall    0 Apr 19  2010 tg4pwd
    -rwxrwxrwx 1 oracle oinstall    0 Apr 19  2010 sqlldr
    -rwxrwxrwx 1 oracle oinstall    0 Apr 19  2010 impdp
    -rwxrwxrwx 1 oracle oinstall    0 Apr 19  2010 imp
    -rwxrwxrwx 1 oracle oinstall    0 Apr 19  2010 expdp
    -rwxrwxrwx 1 oracle oinstall    0 Apr 19  2010 exp
    -rwxrwxrwx 1 oracle oinstall    0 Apr 19  2010 kgpmon
    -rwxrwxrwx 1 oracle oinstall    0 Apr 19  2010 oratclsh
    -rwxrwxrwx 1 oracle oinstall    0 Apr 19  2010 emagtm
    -rwxrwxrwx 1 oracle oinstall 1.2K Oct 21  2011 olsoidsync.ouibak
    -rwxrwxrwx 1 oracle oinstall 1.2K Oct 21  2011 olsadmintool.ouibak
    -rwxrwxrwx 1 oracle oinstall 3.1K Oct 21  2011 umu.ouibak
    -rwxrwxrwx 1 oracle oinstall 5.3K Oct 21  2011 owm.ouibak
    lrwxrwxrwx 1 oracle oinstall   52 Oct 21  2011 lbuilder -> /u01/app/oracle/product/10.2.0/nls/lbuilder/lbuilder
    -rwxrwxrwx 1 oracle oinstall 3.2K Oct 21  2011 orapki.ouibak
    -rwxrwxrwx 1 oracle oinstall 1.7K Oct 21  2011 ocrdump0
    -rwxrwxrwx 1 oracle oinstall  574 Oct 21  2011 ocrconfig0
    -rwxrwxrwx 1 oracle oinstall 1.7K Oct 21  2011 ocrcheck0
    -rwxrwxrwx 1 oracle oinstall 1.7K Oct 21  2011 oclsmon
    -rwxrwxrwx 1 oracle oinstall 2.2K Oct 21  2011 mkstore.ouibak
    -rwxrwxrwx 1 oracle oinstall  11K Oct 21  2011 isqlplusctl.pl.ouibak
    -rwxrwxrwx 1 oracle oinstall 3.2K Oct 21  2011 isqlplusctl.ouibak
    -rwxrwxrwx 1 oracle oinstall 1.4K Oct 21  2011 statusnc.ouibak
    -rwxrwxrwx 1 oracle oinstall  509 Oct 21  2011 ojvmjava.ouibak
    -rwxrwxrwx 1 oracle oinstall 2.1K Oct 21  2011 oidprovtool.ouibak
    -rwxrwxrwx 1 oracle oinstall 2.0K Oct 21  2011 oidadmin
    -rwxrwxrwx 1 oracle oinstall 1.4K Oct 21  2011 ncomp.ouibak
    -rwxrwxrwx 1 oracle oinstall  554 Oct 21  2011 loadjava.ouibak
    -rwxrwxrwx 1 oracle oinstall 1.9K Oct 21  2011 ldifmigrator.ouibak
    -rwxrwxrwx 1 oracle oinstall  513 Oct 21  2011 dropjava.ouibak
    -rwxrwxrwx 1 oracle oinstall 1.4K Oct 21  2011 deploync.ouibak
    -rwxrwxrwx 1 oracle oinstall 3.0K Oct 21  2011 trcasst.ouibak
    -rwxrwxrwx 1 oracle oinstall 5.3K Oct 21  2011 rconfig.ouibak
    -rwxrwxrwx 1 oracle oinstall 6.1K Oct 21  2011 netmgr.ouibak
    -rwxrwxrwx 1 oracle oinstall 6.3K Oct 21  2011 netca.ouibak
    -rwxrwxrwx 1 oracle oinstall 5.9K Oct 21  2011 dbua.ouibak
    -rwxrwxrwx 1 oracle oinstall 1.6K Oct 21  2011 aqxmlctl.ouibak
    -rwxrwxrwx 1 oracle oinstall 2.1K Oct 21  2011 trcsess
    -rwxrwxrwx 1 oracle oinstall  935 Oct 21  2011 schemasync.ouibak
    -rwxrwxrwx 1 oracle oinstall 1.4K Oct 21  2011 racgwrap.ouibak
    -rwxrwxrwx 1 oracle oinstall    0 Oct 21  2011 racgons
    -rwxrwxrwx 1 oracle oinstall 2.2K Oct 21  2011 oidca.ouibak
    -rwxrwxrwx 1 oracle oinstall  995 Oct 21  2011 odisrvreg
    -rwxrwxrwx 1 oracle oinstall  324 Oct 21  2011 extusrupgrade.ouibak
    -rwxrwxrwx 1 oracle oinstall 419K Oct 21  2011 kgmgrO
    -rwxrwxrwx 1 oracle oinstall  16K Oct 21  2011 loadpspO
    -rwxrwxrwx 1 oracle oinstall 7.2K Oct 21  2011 osdbagrp0
    -rwxrwxrwx 1 oracle oinstall  69K Oct 21  2011 extproc32
    -rwxrwxrwx 1 oracle oinstall  34K Oct 21  2011 sslsetup.ouibak
    -rwxrwxrwx 1 oracle oinstall 8.6K Oct 21  2011 emutil.ouibak
    -rwxrwxrwx 1 oracle oinstall  84K Oct 21  2011 emctl.pl.ouibak
    -rwxrwxrwx 1 oracle oinstall  12K Oct 21  2011 emctl.ouibak
    -rwxrwxrwx 1 oracle oinstall  29K Oct 21  2011 EmctlCommon.pm.ouibak
    -rwxrwxrwx 1 oracle oinstall 6.1K Oct 21  2011 repo_mig.ouibak
    -rwxrwxrwx 1 oracle oinstall  898 Oct 21  2011 emtgtctl.ouibak
    -rwxrwxrwx 1 oracle oinstall 5.3K Oct 21  2011 dbca.ouibak
    -rwxrwxrwx 1 oracle oinstall  399 Oct 21  2011 commonenv.ouibak
    -rwxrwxrwx 1 oracle oinstall 2.1K Nov 19 23:03 oidprovtool
    -rwxrwxrwx 1 oracle oinstall 1.9K Nov 19 23:03 ldifmigrator
    -rw-r--r-- 1 root   root     7.2G Nov 19 23:03 pinglogs.txt
    -rwxrwxrwx 1 oracle oinstall 2.4K Nov 19 23:03 bndlchk
    -rwxrwxrwx 1 oracle oinstall 1.2K Nov 19 23:03 olsoidsync
    -rwxrwxrwx 1 oracle oinstall 1.2K Nov 19 23:03 olsadmintool
    -rwxrwxrwx 1 oracle oinstall 1.6K Nov 19 23:03 aqxmlctl
    -rwxrwxrwx 1 oracle oinstall  916 Nov 19 23:03 ott
    -rwxrwxrwx 1 oracle oinstall 3.0K Nov 19 23:03 trcasst
    -rwxrwxrwx 1 oracle oinstall 5.3K Nov 19 23:03 owm
    -rwxrwxrwx 1 oracle oinstall 3.2K Nov 19 23:03 orapki
    -rwxrwxrwx 1 oracle oinstall 6.1K Nov 19 23:03 netmgr
    -rwxrwxrwx 1 oracle oinstall  105 Nov 19 23:03 netca_deinst.sh
    -rwxrwxrwx 1 oracle oinstall 6.3K Nov 19 23:03 netca
    -rwxrwxrwx 1 oracle oinstall 2.2K Nov 19 23:03 mkstore
    -rwxrwxrwx 1 oracle oinstall  11K Nov 19 23:03 isqlplusctl.pl
    -rwxrwxrwx 1 oracle oinstall 3.2K Nov 19 23:03 isqlplusctl
    -rwxrwxrwx 1 oracle oinstall  935 Nov 19 23:03 schemasync
    -rwxrwxrwx 1 oracle oinstall 2.2K Nov 19 23:03 oidca
    -rwxrwxrwx 1 oracle oinstall 1.3K Nov 19 23:03 statusnc
    -rwxrwxrwx 1 oracle oinstall 4.5K Nov 19 23:03 srvconfig
    -rwxrwxrwx 1 oracle oinstall 1.9K Nov 19 23:03 racgwrap
    -rwxrwxrwx 1 oracle oinstall 1.5K Nov 19 23:03 ojvmjava
    -rwxrwxrwx 1 oracle oinstall 1.4K Nov 19 23:03 ncomp
    -rwxrwxrwx 1 oracle oinstall 1.4K Nov 19 23:03 loadjava
    -rwxrwxrwx 1 oracle oinstall 1.2K Nov 19 23:03 dropjava
    -rwxrwxrwx 1 oracle oinstall 1.3K Nov 19 23:03 deploync
    -rwxrwxrwx 1 oracle oinstall  736 Nov 19 23:03 cluvfy
    -rwxrwxrwx 1 oracle oinstall 6.4K Nov 19 23:03 srvctl
    -rwxrwxrwx 1 oracle oinstall 2.4K Nov 19 23:03 ocssd
    -rwxrwxrwx 1 oracle oinstall 2.4K Nov 19 23:03 ocrdump
    -rwxrwxrwx 1 oracle oinstall  574 Nov 19 23:03 ocrconfig
    -rwxrwxrwx 1 oracle oinstall 2.4K Nov 19 23:03 ocrcheck
    -rwxrwxrwx 1 oracle oinstall 2.4K Nov 19 23:03 oclsvmon
    -rwxrwxrwx 1 oracle oinstall 2.4K Nov 19 23:03 oclsomon
    -rwxrwxrwx 1 oracle oinstall  23K Nov 19 23:03 localconfig
    -rwxrwxrwx 1 oracle oinstall 4.9K Nov 19 23:03 gsd.sh
    -rwxrwxrwx 1 oracle oinstall 4.7K Nov 19 23:03 gsdctl
    -rwxrwxrwx 1 oracle oinstall 2.4K Nov 19 23:03 crsctl
    -rwxrwxrwx 1 oracle oinstall 2.4K Nov 19 23:03 clsid
    -rwxrwxrwx 1 oracle oinstall 2.4K Nov 19 23:03 clsfmt
    -rwxrwxrwx 1 oracle oinstall 2.4K Nov 19 23:03 clscfg
    -rwxrwxrwx 1 oracle oinstall 3.1K Nov 19 23:03 umu
    -rwxrwxrwx 1 oracle oinstall 5.3K Nov 19 23:03 rconfig
    -rwxrwxrwx 1 oracle oinstall  324 Nov 19 23:03 extusrupgrade
    -rwxrwxrwx 1 oracle oinstall 7.2K Nov 19 23:03 dbua
    -rwxrwxrwx 1 oracle oinstall 6.1K Nov 19 23:03 repo_mig
    -rwxrwxrwx 1 oracle oinstall  31K Nov 19 23:03 EmctlCommon.pm
    -rwxrwxrwx 1 oracle oinstall  474 Nov 19 23:03 sslsetup
    -rwxrwxrwx 1 oracle oinstall 2.9K Nov 19 23:03 fix_4525303.pl
    -rwxrwxrwx 1 oracle oinstall 7.4K Nov 19 23:03 emutil
    -rwxrwxrwx 1 oracle oinstall  89K Nov 19 23:03 emctl.pl
    -rwxrwxrwx 1 oracle oinstall  11K Nov 19 23:03 emctl
    -rwxrwxrwx 1 oracle oinstall 3.5K Nov 19 23:03 targetdeploy.pl
    -rwxrwxrwx 1 oracle oinstall 2.9K Nov 19 23:03 onsctl
    -rwxrwxrwx 1 oracle oinstall 668K Nov 19 23:03 ldapbind
    -rwxrwxrwx 1 oracle oinstall 1.2K Nov 19 23:03 emtgtctl
    -rwxrwxrwx 1 oracle oinstall 1.7K Nov 19 23:03 emca
    -rwxrwxrwx 1 oracle oinstall 3.7K Nov 19 23:03 emagentdeploy.pl
    -rwxrwxrwx 1 oracle oinstall 5.7K Nov 19 23:03 dbca
    -rwxrwxrwx 1 oracle oinstall  531 Nov 19 23:03 commonenv
    [oracle@MTSNOIDA-REP2 bin]$ pwd
    /u01/app/oracle/product/10.2.0/bin

  • Using a Logical File (FILE) in an External Command (SM69)

    I have an external command defined in SM69 that runs a script on the application server. The command is called from within an ABAP program with SXPG_CALL_SYSTEM. It currently works as it should.
    The issue is that the external command is defined as:
    sh /absolute/path/to/script/file
    I have been told to instead set up a logical file in FILE so that the command would be:
    sh <MY_SCRIPT_LOGICAL_NAME>
    I've gone into FILE and defined MY_SCRIPT_LOGICAL_NAME as:
    Logical File = MY_SCRIPT_LOGICAL_NAME
    Name = Descriptive Text
    Physical File = <SYSID>actualname.scr
    Data Format = ASC
    App Area = HR
    Logical Path = SCRIPT_PATH
    where SCRIPT_PATH is also defined in FILE with the physical path of:
    /iface/<SYSID>/outboundhr/scripts/<FILENAME>
    So when I try executing the command with SM49 as defined as:
    sh <MY_SCRIPT_LOGICAL_NAME>
    I just get Exception raised: OTHERS
    If I define the command as:
    ls <MY_SCRIPT_LOGICAL_NAME>
    I get the same thing, Exception raised: OTHERS
    I'm guessing that the logical file name isn't getting translated. Does anyone know if it should in this instance? Is anyone using a logical file as part of an external command?
    Thanks much.

    I think you must use FM FILE_GET_NAME to translate the logical file name to a physical one before executing the command.
    Like:
    DATA: physical_file_name(60),
          my_script_logical_name(60) VALUE 'CLASSIFICATION',
          format(3).
    CALL FUNCTION 'FILE_GET_NAME'
      EXPORTING
        logical_filename = my_script_logical_name
      IMPORTING
        file_format      = format
        file_name        = physical_file_name
      EXCEPTIONS
        file_not_found   = 1
        OTHERS           = 2.
    Rob
    Message was edited by: Rob Burbank

  • Calling an external program (*.exe file) on the client

    Hi,
    I use 9iDS and I'd like to call an external program (*.exe file) on the client, but this exe file is located on the server not on the client.
    So it should be something like a mixture between host and client_host(webutil) command. Is it possible to use client_host where a virtual path is passed to?
    Regards Sören

    Are you saying you want to run on the exe on the client but its located on the server???
    In that case you would have to do a webutil file transfer to move it to the client before executing. Or, if you are calling a DLL, webutil will download it automatically from the server to the client (see the C API example on the webutil page).
    Regards
    Grant Ronald
    Forms Product Management

  • How to call a external program in java?

    Help!!
    Is there any method that can a java program can call a external program? For example execute a exe file.
    Thanks.

    Yes.
    Runtime.getRuntime().exec("exactly what you would type at the command line");
    But be aware that this is operating-system-specific and full of gotchas. When you run into one of them, come back to the forum and do a search, this is a frequent topic of discussion.

  • Calling an external program!

    Salut all, Im using unfortunately Oracle Forms 6i, and I need to call an external program that I have to develop in Java, compiled into .jar. I just wanna use something like java -jar myJar.jar <my params...> but I don´t know how to call external programs from Oracle Forms, in special from 6i.
    I have searched this thread passed (Re: Calling JAVA from PL/SQL but didn´t help me so much.
    Thanks all for patience!

    In version 9 and 10 we have a general way of calling out to java thru the Java Importer functionality.
    If you cannot upgrade to these later versions and you don't need to get data back from the jar file execution you can always use the Host command to call it directly the way you have outlined.

  • External commands fail in Background Jobs on Application server

    Hi,
    We are having problems with jobs that include External Commands. The jobs run successfully if on the Central Instance. But if they run on either of the two Application Server's it fails with 'Unable to connect to Target Host' error message.
    I can run the External Commands from SM49 on both AS's. But as soon as its run in background it fails.
    I have read the rfcexec.sec file needs to be in the .\work directory on the application so I have this in place.
    This is what gets written to dev_w0 when the failure occurs :
    M  *****************************************************************************
    M  *
                                                                                    M  *  LOCATION    SAP-Gateway on host <APP_SERVER> / sapgw75
    M  *  ERROR       timeout during allocate
    M  *
                                                                                    M  *  TIME        Fri May 30 11:20:34 2008
    M  *  RELEASE     640
    M  *  COMPONENT   SAP-Gateway
    M  *  VERSION     2
    M  *  RC          242
    M  *  MODULE      gwr3cpic.c
    M  *  LINE        1795
    M  *  DETAIL      no connect of TP sapxpg from host <CENTRAL_INSTANCE.domain>
    M  *              after 22 sec
    M  *  COUNTER     483
    M  *
                                                                                    M  *****************************************************************************
    M
                                                                                    A  RFC 1446  CONVID 48742194
    A   * CMRC=27 DATA=0 STATUS=0 SAPRC=242 ThSAPECMINIT
    A  RFC> ABAP Programm: SAPLCRFC (Transaction: )
    A  RFC> User: <USERNAME> (Client: 300)
    A  RFC> Destination: %_TCPIP_%1 (handle: 2, , )
    A  RFC SERVER> RFC Server Session (handle: 1, 48741194, {C4A35AF0-2F4C-4E36-98C3-9999A6FE99D7})
    A  RFC SERVER> Caller host: iblonc4306_P75_75
    A  RFC SERVER> Caller transaction code:  (Caller Program: RSBTCXPG)
    A  RFC SERVER> Called function module: SXPG_STEP_COMMAND_START                                
    I'd really appreciate any suggestions on how to fix this issue??
    Thanks,
    Kye

    Hi Siddhesh,
    Thank you for your prompt response. I'm confident all of the prerequisites are set correctly.
    I have enabled the trace on SAPXPG but its only writing to the log dev_cp and dev_xpg when the command is executed successfully.
    For example, if I use SM49 to run the External command from one of the Application Servers dev_cp & dev_xpg  are updated and the command completes successfully. However if I run the job (that has the external command as a single step) from SM37 it fails and doesn't log anything to dev_cp or dev_xpg??
    Is this normally how the trace would work?
    Thanks again,
    Kye

  • Calling an external C function from a C file in JNI

    Hello,
    I am trying to call an external C function, from a C file which is being called by a Java file. I am getting an unresolved symbol error. I have tried many things like, making the external C function in the format of JNI, etc, etc. It is still not working. I think it has something to do with linking the two C files. If anyone can please answer this, it would greatly help me. here is the code:
    HelloWorld.c:
    #include <jni.h>
    #include <stdio.h>
    #include "MyOldHello.h"
    #include "HelloWorld.h"
    JNIEXPORT void JNICALL
    Java_HelloWorld_print(JNIEnv *env, jobject obj)
         helloPrint();
         return;
    HelloWorld.java:
    class HelloWorld
         private native void print();
         public static void main(String[] args)
              new HelloWorld().print();
         static
              System.loadLibrary("HelloWorld");
              System.loadLibrary("MyOldHello");
    MyOldHello.c:
    #include <jni.h>
    #include <stdio.h>
    #include "MyOldHello.h"
    void helloPrint()
         printf("\nHello World!\n");
    MyOldHello.h:
    void helloPrint();
    Now i use the Visual C++ command prompt to compile this by saying:
    javac HelloWorld.java
    javah -jni HelloWorld
    cl -Ic:\Java\jdk1.6.0_20\include -Ic:\Java\jdk1.6.0_20\include\win32 -MD -LD HelloWorld.c -FeHelloWorld.dll
    and now it gives me the error saying that there is an unresolved external symbol, which is the call to helloPrint in the file HelloWorld.
    If anyone knows how to solve this, or how to call external C functions from a C file that is being called from a Java file using JNI, please respond.
    Thanks
    Nick

    Hi,
    In your post on velocity review, you did not compile MyOldHello.c. You compiled a C file that included the header file for it and called a method defined in the header. The linker is never going to be able to find the code for this if you do not include the object file for this.
    Try this. You will also have to add in any JNI libraries you need to link against but I am sure you could work that out.
    cl /c MyOldHello.c
    cl /c -Ic:\Java\jdk1.6.0_20\include -Ic:\Java\jdk1.6.0_20\include\win32 -MD HelloWorld.c
    cl /LD MyOldHello.obj HelloWorld.obj /FeHelloWorld.dll
    [http://msdn.microsoft.com/en-us/library/f35ctcxw(VS.80).aspx]
    Cheers,
    Shane

  • MDB receive a message and then call an external web service

    Title basically says it all, but I'm looking for suggestions for the best way to have a message driven bean receive a message then process it and call an external web service with the results. This seems like a straightforward problem to solve but I keep getting stuck in the deployment to weblogic when I do it my way so I'm looking for new ideas.
    Basically, I have an MDB that gets deployed to WL 10.3 and receives messages just fine. Also, I have a standalone class, that runs from the command line or IDE, that can send messages to the external web service. But when I try to bring the code from the standalone class into the MDB and get it deployed, I can't get all the dependencies to resolve.
    So, is there a proper (quick and easy) way to do this? Which wizard should I be using to get Workshop to create web service client so that I can use it in my MDB project? Any suggestions to tutorials?
    Thanks,
    Matt

    Yes BusinessService is the reference point used in OSB to call a backend provider service. So we need to configure the business service based on the external service (they can be http based, jms based, etc ..)
    In your case I am assuming it is a http based web service. So below are the steps to be done:
    1. Create a business service (if you dont have a wsdl then create it as "Any soap type" else upload the wsdl as a wsdl resource and then use it) and configure the url of the business service with the URL of the external service you want to invoke.
    2. From the proxy flow, have a service callout action and select the business service. Then configure the appropriate body and header variables.
    3. Then test the proxy service from the test console, you should be able to see the response from the external service as a part of the service callout response.
    Let me know if you still have issues.
    Thanks,
    Patrick

  • GZIP and External command.

    Hello,
    My problem might seem simple but I have tried for a couple of days now to make researches on that matter and it still doesn't work, no matter what.
    I had to make, with SM69, two external commands. One was using the command "mv" which is working very well and the other must be a "gzip" with a parameter "-c" and, in a module function, with the function "SXPG_COMMAND_EXECUTE_LONG", I have to send the path and the file name.
    So since I am not able to make it work in the module function I'm creating, I am working to make it work on SM69. So here what I have entered so far...
    Operating System Command: gzip
    Parameters for operating sytem command: -c
    Additional parameters: path/file.txt > newpath/file.txt.gz
    Though, the only thing I am receiving is no change at all and I'm receiving  u2039  È ®J as a message. The Exit code is at 1 and the exit status is E.
    I know it means there is something wrong but all my researches lead me to do it that way so I'm not sure where I am going wrong and how to make it work appropriately.
    Can you please help me?
    I am open to questions if you have any.
    Thank you

    Hi, kindly check the following  example
    Command name : ZTEST
    Operating system command : cmd /c
    v_dir_input = 'cmd /c c:\winzip\wzzip.exe -password  g:\test1.zip g:\test.pdf'.
    CALL FUNCTION 'SXPG_COMMAND_EXECUTE'
      EXPORTING
        commandname                   = c_extcom
        additional_parameters         = v_dir_input
        operatingsystem               = c_oper
      TABLES
        exec_protocol                 = t_result
      EXCEPTIONS
        no_permission                 = 1
        command_not_found             = 2
        parameters_too_long           = 3
        security_risk                 = 4
        wrong_check_call_interface    = 5
        program_start_error           = 6
        program_termination_error     = 7
        x_error                       = 8
        parameter_expected            = 9
        too_many_parameters           = 10
        illegal_command               = 11
        wrong_asynchronous_parameters = 12
        cant_enq_tbtco_entry          = 13
        jobcount_generation_error     = 14
        OTHERS                        = 15.

  • How to execute a external command ?

    Hi all ,
            I would like to transfer the oracle data to sql2000 , my idea is :
               - 1. write a external java program ( call trans.jar ) on oracle db server machine ( call sql2000 server to invoke the dtsrun.exe )
               - 2. create a dts package on sql2000 server .
               - 3. write an abap program in sap ( when the end-user execute this program , the trans.jar will call the dts package on sql2000 server ) .
            I know that we can use sm69 to define the external program , but i don't know how to use abap/4 to invoke this external program ? has someone can tell me how to do ?
    Thanks a lot !
    Best Regards,
    Carlos

    You can use the function module <b>SXPG_COMMAND_EXECUTE</b> to execute external commands
    Please find my sample code for it.
    *&      Form  TRIGGER_EXT_OS_COMMAND
    *       text
    *      -->P_F_UNIX  text
    form TRIGGER_EXT_OS_COMMAND using P_F_UNIX type SXPGCOLIST-PARAMETERS.
      data: begin of IEPCOL occurs 100.
              include structure BTCXPM.
      data: end of IEPCOL.
    BTCXPM = Log message from external program to calling program
      data: W_STATUS like EXTCMDEXEX-STATUS.
    * EXTCMDEXEX = Parameters of SXPG_COMMAND_EXECUTE
      data: W_HOST like RFCDISPLAY-RFCHOST.
    * RFCDISPLAY = Display structure for RFCDES maintenance          "M5
    * The External operating system command ZECOM is created * using thetransaction SM69. For any changes to the
    * command goto SM69 and for executing and testing use
    * the transaction SM49.
      W_HOST = SY-HOST.
      call function 'SXPG_COMMAND_EXECUTE'
        exporting
          COMMANDNAME                   = 'ZECOM'
          ADDITIONAL_PARAMETERS         = P_F_UNIX
          OPERATINGSYSTEM               = SY-OPSYS
          TARGETSYSTEM                  = W_HOST
          STDOUT                        = 'X'
          STDERR                        = 'X'
          TERMINATIONWAIT               = 'X'
        importing
          STATUS                        = W_STATUS
        tables
          EXEC_PROTOCOL                 = IEPCOL
        exceptions
          NO_PERMISSION                 = 1
          COMMAND_NOT_FOUND             = 2
          PARAMETERS_TOO_LONG           = 3
          SECURITY_RISK                 = 4
          WRONG_CHECK_CALL_INTERFACE    = 5
          PROGRAM_START_ERROR           = 6
          PROGRAM_TERMINATION_ERROR     = 7
          X_ERROR                       = 8
          PARAMETER_EXPECTED            = 9
          TOO_MANY_PARAMETERS           = 10
          ILLEGAL_COMMAND               = 11
          WRONG_ASYNCHRONOUS_PARAMETERS = 12
          CANT_ENQ_TBTCO_ENTRY          = 13
          JOBCOUNT_GENERATION_ERROR     = 14
          others                        = 15.
      if SY-SUBRC <> 0.
        case SY-SUBRC.
          when 1.
            message E138(ZSM) with 'No permission to Execute ' 'External O/S command'.
          when 2.
            message E138(ZSM) with 'External O/S Command not found'.
          when 3.
            message E138(ZSM) with 'Parameters too long.' 'Exceeds the limit of 128 characters'.
          when 4.
            message E138(ZSM) with 'Security risk. ' 'The Command contains impermissible characters'.
          when 5.
            message E138(ZSM) with 'Wrong check call interface.  Check the command.'.
          when 6.
            message E138(ZSM) with 'Error while starting the External O/S Command'.
          when 7.
            message E138(ZSM) with 'Error getting the return ' 'code of the External O/S command'.
          when 8.
            message E138(ZSM) with 'Unknown error'.
          when 9.
            message E138(ZSM) with 'Some mandatory parameter is not supplied'.
          when 10.
            message E138(ZSM) with 'Too many parameters. ' 'Check the additional parameter'.
          when 11.
            message E138(ZSM) with 'Illegal command'.
          when others.
            message E138(ZSM) with 'Unknown error'.
        endcase.
      else.
        if W_STATUS = 'O'.
          if UNIX_FILE cs '.ES'.
            message S138(ZSM) with 'File FTP Successfull..!'.
    *        External O/S command to' 'FTP the above file to' 'ES FTP server succesfully!' P_F_UNIX.
          endif.
        else.
          message I138(ZSM) with 'Ext O/S command to FTP the ' 'abv file to ext UNIX system not executed due to:'.
          loop at IEPCOL.
            write:/ SY-TABIX, IEPCOL-MESSAGE,255 ' '.
          endloop.
        endif.
      endif.
    endform.                    " TRIGGER_EXT_OS_COMMAND
    Regards
    Gopi

Maybe you are looking for

  • Not able to post outgoing excise invoice

    hi expert i am not able to post outgoing excise invoice, its showing error that G/L account is missing (1)   and i checked evrywhere in tax code ,outgoing cenvet clearing account is there .. can anyone know where i am missing

  • Old Pre-Leopard Desktop Folder Lurking and Causing problems

    I'm confused, is this supposed to happen? After wondering where all my downloads had gone, I realized the old desktop was still lurking on my computer. I only realized this because I had changed icons. Under "devices/macintosh hd" there is a desktop

  • Business Content activation hangs. in sm37 .

    Hi All, We have just made the source system connection and source system check works fine for us. While installing any job in background (eg. infoarea 0FI_IO) in BI dev system, job in sm37 hangs at Step 001. I have three background process available

  • Email used for spam

    Someone sent a spam email to the first 25 people in my "Sent" folder of my Verizon Webmail account.  I've changed the password, but is there some place that I need to report this.  They definitely did not get it from my home computer because I use Ou

  • My Mac is incapable of running Mountain Lion, so can I go to 10 X 6 and use Firefox?

    I really like Firefox and want to continue using it - can I go to OS 10 x 6 or 7 and still be supported? Unless someone wants to suggest another browser for 10 X 5......