Wrong process return code: 1

I thought I can run the OdiReverseResetTable command by choosing "Operating System" as target technology in the Knowledge Module.
Type this command:
cmd /c C:\Oracle\ODI11.1.1.6\oracledi\agent\bin\startcmd OdiReverseResetTable -MODEL=1001But it gives another error:
Wrong process return code: 1When I remove the arguments ( ) it works very well :
cmd /c C:\Oracle\ODI11.1.1.6\oracledi\agent\bin\startcmdHow can I call startcmd command with arguments? By the way I am using Local Agent and ODI 11.1.1.6.
Thanks.
Edited by: XYZ123 on 08.Nis.2013 12:23

It does not work as well, I tried all but nothing works:
cmd /c C:\Oracle\ODI11.1.1.6\oracledi\agent\bin\startcmd "OdiReverseResetTable -MODEL=1001"
cmd /c C:\Oracle\ODI11.1.1.6\oracledi\agent\bin\startcmd OdiReverseResetTable "-MODEL=1001"
cmd /c C:\Oracle\ODI11.1.1.6\oracledi\agent\bin\startcmd "OdiReverseResetTable" "-MODEL=1001"

Similar Messages

  • *"Wrong process return code"* Unix Command

    Hi,
    I have created Package with Procedure having Unix command.Unix command is only to cp data file from one folder to another archive folder.
    we are defining variable FilePath and FileName.
    cp #FILE_PATH/#FILE_NAME.tag #FILE_PATH/archive/;
    But while running this we are getting following erorr.
    *"Wrong process return code"*
    Plz suggest.
    Thanks
    Ashwini

    Hi Aswini-
    You should not use # symbol for your variable pointers, it will take as a comment line. Please use the below syntax:
    FILE_PATH=c:\temp
    FILE_NAME=test.txt
    cp $FILE_PATH/$FILE_NAME.tag $FILE_PATH/archive/
    And also you can check the exact error by executing the script file in your unix command prompt like this:
    /home/test/test.sh
    Hope this will work for you.
    Thanks,
    Saravanan Rajavel

  • "Wrong process return code" Error which using OS Command

    Hi,
    I want to execute a shell script in unix which calls a sed script and input to the script is an xml file. I am using OS Command tool to call the script which fails with "Wrong process return code" error. I ran the command directly on UNIX box and works fine but fails when executed through a package in ODI.
    The command I am passing in OS Command window is as follows:
    /test/callSed.sh emp.xml
    I also tried ODIOSCommand but getting the same error. The shell script has execute privileges for all users. Is there any other property to be set up for running shell scipts through ODI?
    Appreciate you response.
    Thanks!

    Hi,
    Thanks for a quick response.
    I tried both the commands you sent. "sh ./test/callSed.sh emp.xml" threw Wrong process return code error and "./test/callSed.sh emp.xml" threw the following error:
    java.io.IOException: Cannot run program "./test/callSed.sh": java.io.IOException: error=2, No such file or directory
         at java.lang.ProcessBuilder.start(ProcessBuilder.java:459)
         at java.lang.Runtime.exec(Runtime.java:593)
         at java.lang.Runtime.exec(Runtime.java:431)
         at java.lang.Runtime.exec(Runtime.java:328)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execOsOrders(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execOsOrders(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSqlS.treatTaskTrt(SnpSessTaskSqlS.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandScenario.treatCommand(DwgCommandScenario.java)
         at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
         at com.sunopsis.dwg.cmd.e.k(e.java)
         at com.sunopsis.dwg.cmd.g.G(g.java)
         at com.sunopsis.dwg.dbobj.SnpScen.a(SnpScen.java)
         at com.sunopsis.dwg.dbobj.SnpScen.localExecuteSync(SnpScen.java)
         at com.sunopsis.dwg.tools.StartScen.actionExecute(StartScen.java)
         at com.sunopsis.dwg.function.SnpsFunctionBaseRepositoryConnected.execute(SnpsFunctionBaseRepositoryConnected.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execIntegratedFunction(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execCollOrdersIntegratedFunction(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSqlS.treatTaskTrt(SnpSessTaskSqlS.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
         at com.sunopsis.dwg.cmd.e.k(e.java)
         at com.sunopsis.dwg.cmd.g.A(g.java)
         at com.sunopsis.dwg.cmd.e.run(e.java)
         at java.lang.Thread.run(Thread.java:619)
    Caused by: java.io.IOException: java.io.IOException: error=2, No such file or directory
         at java.lang.UNIXProcess.<init>(UNIXProcess.java:148)
         at java.lang.ProcessImpl.start(ProcessImpl.java:65)
         at java.lang.ProcessBuilder.start(ProcessBuilder.java:452)
         ... 31 more
    Regards,
    Aks

  • Wrong process return code in ODI

    Hi,
    I am using store procedure to run batch file on other server.
    I get excuted success fully on that server but ODI procedure showing error
    "Wrong process return code"
    Return code is 1
    Can anybody help to solve this type of error
    Thanks
    Kiran Kokade

    For ODI related question , goto Data Integrator

  • Exception Deployer fails with return code 1603 during Acrobat XI installation

    We are deploying Acrobat XI to Windows 7 clients and a percentage of them fail to execute Exception Deployer successfully and are returning the 1603 return code. I have pasted below relevant portions of the ExceptionDeployer.log file from two different computers with the same return code. Sometimes running the installation again works but sometimes it fails again with the same error code. I haven't been able to find exactly what it is that is failing or how to resolve this.
    4/4/2015 00:04:57 [INFO] ExceptionDeployer - ##################################################
    4/4/2015 00:04:57 [INFO] ExceptionDeployer - Launching the ExceptionDeployer...
    4/4/2015 00:04:57 [WARN] ExceptionDeployer - Failed to initialize the TokenResolver properly.
    4/4/2015 00:04:57 [INFO] ExceptionDeployer - **************************************************
    4/4/2015 00:04:57 [INFO] ExceptionDeployer -    AcrobatProfessional11.0-mul
    4/4/2015 00:05:59 [INFO] ExceptionDeployer - The process return code is (1603).
    4/4/2015 00:05:59 [ERROR] ExceptionDeployer - Exception deployment failed for payload (AcrobatProfessional11.0-mul)
    4/4/2015 00:05:59 [INFO] ExceptionDeployer - **************************************************
    4/6/2015 16:05:56 [INFO] ExceptionDeployer - ##################################################
    4/6/2015 16:05:56 [INFO] ExceptionDeployer - Launching the ExceptionDeployer...
    4/6/2015 16:05:56 [INFO] ExceptionDeployer - **************************************************
    4/6/2015 16:05:56 [INFO] ExceptionDeployer -    AcrobatProfessional11.0-mul
    4/6/2015 16:07:14 [INFO] ExceptionDeployer - The process return code is (1603).
    4/6/2015 16:07:14 [ERROR] ExceptionDeployer - Exception deployment failed for payload (AcrobatProfessional11.0-mul)
    4/6/2015 16:07:14 [INFO] ExceptionDeployer - **************************************************

    Hi ohtesw,
    Please check out this document: Error 1603: A fatal error occurred during installation.
    If the solutions in that document don't do the trick, please let us know.
    Best,
    Sara

  • Getting return code from subprocess execution

    Hi,
    I am executing a batch file as a subprocess and need to get the return code from it.
    The batch file executes a java class, which exits (System.exits(rc)) with a return code on error and how this can be captured in the calling program.
    i am calling the batch file as follows: (fragment)
    Runtime r;
    process p = r.exec(execCmd, null, mqsiToolFile);
    istr = p.getInputStream();
    br = new BufferedReader(new InputStreamReader(istr));          
    returnCode = p.waitFor();
    System.out.println("exit value: "+p.exitValue());
    This successfully executes the subprocess and always returns with code '0', even though the sub-process exits with a code >0.
    p.waitFor() or p.exitValue() - doesn't giving the exit value of the subprocess.
    How can i capture the exit value (System.exit(rc)) from the sub-process.
    I am running the app on Windows NT4 sp6
    Any help would be greatful.
    Thanks in Advance.

    Peter,
    can u be more explanative on this, i can see the run time result (0, 1). But couldn't get familiar on the sample you have given.
    My code is as follows:
    Process p = null;
    Runtime r = Runtime.getRuntime();
    for loop {
    execSubProcess(.., .., ..)
    public int execSubProcess(String excmd, String[] env, File fileDir) throws Exception {
    int res = 0;
         try {
              System.out.println(excmd);
              p = r.exec(excmd, null, fileDir);
              istr = p.getInputStream();
              br = new BufferedReader(new InputStreamReader(istr));
              line = null;
              while ((line = br.readLine()) != null) {
                   System.out.println(line);
              res = p.waitFor();
         System.out.println("sub-process return code: "+p.waitFor());
              System.out.println("sub-process exitValue: "+p.exitValue());
         } catch (Exception e) {
         throw e;
         return res;
    Here i get all the time 'res=0' , even though the subprocess execCmd exits with a return code > 0.
    Is tehre any environment setup or ..needed to capture the subprocess exit code val (System.exit(rc)) in the calling program.
    Please provide more details as per ur convinience.
    thanks

  • Job scheduling error : The return value was unknown. The process exit code was -1073741819. The step failed.

    I am working in Sqlserver 2008 R2, SSIS 64 bit version
    I am getting the below  error while scheduling the job in the development server  Database. 
    The return value was unknown.  The process exit code was -1073741819.  The step failed.
    The SSIS front end execution runs fine.
    Have anyone  faced this issue before?

    Hi Venkat,
    If you already changed to 64bit and still doesn't work then create proxy account.. 
    To create a proxy account
    In Object Explorer, expand a server.
    Expand SQL Server Agent.
    Right-click Proxies and select New Proxy.
    On the General page of the New Proxy Account dialog, specify the proxy name, credential name, and
    description for the new proxy. Note that you must create a credential first before you create a proxy if one is not already available. For more information about creating a credential, see How
    to: Create a Credential (SQL Server Management Studio) or CREATE CREDENTIAL (Transact-SQL).
    Check the appropriate subsystem for this proxy.
    On the Principals page, add or remove logins or roles to grant or remove access to the proxy account.
    Thanks

  • Return-Code 99 of integration-process in TR  SXI_CACHE

    Hallo,
    in TR SXI_CACHE my integration-process has the return-code 99 (process cannot be activated). On selecting in the tree (left side) and dobble-click of my process following comes up:
    </properties>
    - <lines>
      <line id="208" predid="207" succid="5" parentid="207" order="0" linetype="DEFAULT" />
      <line id="213" predid="7" succid="13" parentid="207" order="0" linetype="DEFAULT" />
      <line id="214" predid="13" succid="9" parentid="207" order="0" linetype="DEFAULT" />
      <line id="215" predid="9" succid="59" parentid="207" order="0" linetype="DEFAULT" />
      <line id="217" predid="59" succid="97" parentid="207" order="0" linetype="DEFAULT" />
      <line id="219" predid="97" succid="89" parentid="207" order="0" linetype="DEFAULT" />
      <line id="220" predid="89" succid="21" parentid="207" order="0" linetype="DEFAULT" />
    The XML page cannot be displayed
    Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
    End tag 'prperty' does not match the start tag 'property'. Error processing resource 'file:///C:/W2KMF/Profiles/schmitf/Loc...
    <property id="59" guid="d56d20d4195e11daafd60003ba0ff8f5" name="SendMsgSyncResponse" counter="0" type="EXPR" valueType=""...
    n-left:1em;text-indent:-2em">   <line id="222" predid="21" succid="23" parentid="207" order="0" linetype="DEFAULT" />
      <line id="224" predid="23" succid="25" parentid="207" order="0" linetype="DEFAULT" />
    After activating the process once more the detail-information comes up. Then i see the error steps (Message-Type = E). So for example:
    Der Wert des Ausdrucks '&CH_EVENT_TAB_DATA.PAYLOAD.ERROR&' kann nicht als Quelle einer Zuweisung dienen (expression cannot be the source of an assignment)
    But in the integration-process this seam to be good. What can i do? Delete the container-element and create a new one?
    Thanks in advance,
    Frank

    Hallo,
    when i have a look at the details after acitvation my integration-process (with returncode 99) I make changes in my process. But after refresh there are the old items are still there. What´s about the Button "delete runtime Version" in the acivation step? Can i so delete this process in my cash? Have i to make a new integraion-process-object? After copy one process and giving a new name the same problems occures? What is the best solution?
    Thanks,
    Frank

  • Integration Process w/ return code 99

    Have a very weird situation with an integration process. In our development environment, in SXI_CACHE, it returns a return code of 99 signalling some type of error. The weird problem is that the process works just fine. It's an IDOC to flat file scenario and the flat file gets generated each time perfectly. This is with the process status of 99 in SXI_CACHE.
    However, when the process is moved to QA, it does not work at all. The messages get stuck in SXMB_MONI with message "message has error on outbd. side". When I click on the PE to view the error, it appears the workflow behind the process is defined incorrectly becasuse in the event trace I see:
    <b>Workflow definition of task 'WS90100009' cannot be activated.</b>
    The reason for this error is
    <b>Container element '_CRL_I001ZMTRLNO_0025' not available</b>
    What is killing me is that this same error occurs in our development environment, yet the process still works fine.
    Can someone possible explain what the container error might mean and how to fix? The workflow never gets kicked off because the definition is not active.
    Thanks

    all green in that transaction...
    in the process, i have two branches.. one to receive a MATMAS the other to receive a ZCLFMAS IDOC....
    a file gets generated when any of the following conditions occur
    - both IDOC's are received for the same material
    - only MATMAS or ZCLFMAS are received and the other message type is not received within 3 minutes... we have time controls on the two branches
    the error is in the initial receive step...keeps saying that container element is not available yet I have no idea what that means

  • Wrong processing code used in inbound processing

    Hi
    We are on 4.6C and have configured a dist. model for material distribution using message type MATMAS. On receiving end IDOC is properly received but processed with code 51 which is "IDOC Interface not complete for message type".
    While testing it in we19 with standard inbound option we found that its using process code AFSA though in the inbound partner profile its set to MATM. (In the table tbd52 AFSA is not even defiend for MATMAS but for ARTMAS) While using INBOUND FM option there with FM specified as IDOC_INPUT_MATMAS_MDM we were able to process the IDOC properly in receiving end. We are not sure which code is being defaulted to during automatic inbound processing but we guess its same as AFSA as shown during standard inbound option. It will be of great help if someone can explain what might have gone wrong.

    Dear Renjith
      I got it. Actually the process code was correctly attached in sending system but in receiving system it was unfortunately set to AFSA which I ignored. Thanks a lot for the response.
    regards
    saurav

  • HT1998 Why can't I uninstall AirPort 4.2 from my Windows 7 PC..  I downloading and reinstalling the 4.2 but during the installation process I get an error.  It reads...    "1608: Unable to Create InstallDriver instance Return Code -2147024894

    Why can't I uninstall AirPort 4.2 from my Windows 7 PC..  I tried downloading and reinstalling the 4.2 but during the installation process I get an error.  It reads...    "1608: Unable to Create InstallDriver instance Return Code -2147024894

    You should not install it again..
    Boot the computer into safe mode and try the uninstall again.
    No luck you will have to manually uninstall which is a pain. Delete the files and open regedit and delete the registry entries.. better still use the system restore to go back to a previous system where you had no 4.2 installed..
    Or just ignore it and install the latest 5.6.1 and if it gives trouble well do a clean install of windows.

  • PDW : DWLoader in Execute Process Task, Success Value return code

    Hi,
    I'm using SSIS Execute Process Task to call DWLoader.
    It seems the Success Value return code is 2.
    Which is working fine except that after all data are loaded in my table a 0 return code is sent.
    And so my task fails.
    Any idea how to handle this ?
    Thx for your help !
    Regards,
    Bertrandr

    My understanding is - When DWLoader process returns 2, everything goes fine but in another case it returns 0 then task fails.
    You can Set: FailTaskIfReturnCodeIsNotSuccessValue
    to FALSE so that task will not care about return values
    But in case of any other error such as syntax - save
    error in MyVariable and verify if MyVariable != ""
    -Vaibhav Chaudhari

  • SQL 2012 - SSIS Error -The step did not generate any output. The return value was unknown. The process exit code was -1073741819. The step failed.

    Hi guys 
     Trying to run this package on SQL 2012 agent  and getting below error . No more details I could find so far.
    The step did not generate any output.  The return value was unknown.  The process exit code was -1073741819.  The step failed.
    About Package - Its connecting to different version (2000,2005,2008,2008R2,2012) servers and putting Jobs information into one Database table.  
    Any workaround or fix ?
    Thanks
    Please Mark As Answer if it is helpful. \\Aim To Inspire Rather to Teach

    New package or one that used to work? Connecting how? How does it poll?
    On the surface it is an error from a memory space of the binary/non-managed code, so nothing can be really concluded based on what you decided to share with us.
    Arthur My Blog
    So Same package is working fine from my local machine which has SQL 2008 R2 and SQL 2012 installed. I am trying to push the package on server which has sql server 2012 Installed . 
    I don't see any error .
    I ran package manually from server using SQL Data tools and ran successfully...
    Please Mark As Answer if it is helpful. \\Aim To Inspire Rather to Teach

  • Failed (why else would I post). Error creating an image of Drive D:, rc = 2. Return Code -2147467259 0x80004005. "Not enough storage is available to process this command".

    Seems a common set of Return Codes to post so apologies that's not specific.
    To me appears the issue is related to the "Not enough storage is available to process this command" log entry. Looked into it and some SCCM 2007 issues that were related to too many sessions to the site server, but even after rebooting my MDT server
    I get the same issue.
    The server I am attempting to capture has a 60gb VHD with around 30gb actually used. The MDT Server has over 100GB free space.
    Here is from BDD.log:
      Console > Turning on VERIFY option for network share
    ZTIBackup 10/10/2014 12:56:30 PM
    0 (0x0000)
      Console > Scanning files and directories...
    ZTIBackup 10/10/2014 12:56:30 PM
    0 (0x0000)
      Console > Error imaging drive [D:\]
    ZTIBackup 10/10/2014 12:56:30 PM
    0 (0x0000)
      Console > Not enough storage is available to process this command.
    ZTIBackup 10/10/2014 12:56:31 PM
    0 (0x0000)
    Return code from command = 2 ZTIBackup
    10/10/2014 12:56:31 PM 0 (0x0000)
    Error creating an image of drive D:, rc = 2
    ZTIBackup 10/10/2014 12:56:31 PM
    0 (0x0000)
    Event 41036 sent: Error creating an image of drive D:, rc = 2
    ZTIBackup 10/10/2014 12:56:31 PM
    0 (0x0000)
    ZTIBackup COMPLETED.  Return Value = 2
    ZTIBackup 10/10/2014 12:56:32 PM
    0 (0x0000)
    ZTI ERROR - Non-zero return code by ZTIBackup, rc = 2
    ZTIBackup 10/10/2014 12:56:32 PM
    0 (0x0000)
    Event 41002 sent: ZTI ERROR - Non-zero return code by ZTIBackup, rc = 2
    ZTIBackup 10/10/2014 12:56:32 PM
    0 (0x0000)
    Command completed, return code = -2147467259
    LiteTouch 10/10/2014 12:56:33 PM
    0 (0x0000)
    Litetouch deployment failed, Return Code = -2147467259  0x80004005
    LiteTouch 10/10/2014 12:56:33 PM
    0 (0x0000)
    Event 41014 sent: Litetouch deployment failed, Return Code = -2147467259  0x80004005
    LiteTouch 10/10/2014 12:56:33 PM
    0 (0x0000)
    I'll post below full logs.

    imagex reported:
      Console > Error imaging drive [D:\]
      Console > Not enough storage is available to process this command.
    obvious question is: do you have enough free space on
    "\\arcadmin3\deploymentshare$\Captures\SIMSERVER.wim"
    Keith Garner - Principal Consultant [owner] -
    http://DeploymentLive.com

  • Return code (SY-SUBRC) for the EXCEPTION will not be processed

    Hi,
    when I was doing the EPC check i have approached this messgae.
    Return code (SY-SUBRC) for the EXCEPTION will not be processed after CALL FUNCTION
    'CU_READ_RGDIR'
    (You can turn off this check by setting all EXCEPTIONS to 0)
    (The message can be hidden with "#EC *)
    Any pointers on how to handle this.
    Regards
    Rohini.

    Hi Rohini,
    Try doing something like this.
    TYPE-POOLS: hrpay.
    DATA: w_pernr              TYPE          p0000-pernr ,
          w_buffer             TYPE          hrpay_buffer,
          w_no_authority_check TYPE          xfeld       ,
          w_molga              TYPE          t500l-molga ,
          t_in_rgdir           TYPE TABLE OF pc261.
    CALL FUNCTION 'CU_READ_RGDIR'
      EXPORTING
        persnr             = w_pernr
        buffer             = w_buffer
        no_authority_check = w_no_authority_check
      IMPORTING
        molga              = w_molga
      TABLES
        in_rgdir           = t_in_rgdir
      EXCEPTIONS
        OTHERS             = 0.

Maybe you are looking for

  • What's wrong with the audio meter?

    Let me start off by saying that I know the problem I am going to report is a little bit complicated, if my limited grasp of English makes it even harder to understand, please let me know. I'll elaborate on it further. At first, I was very happy with

  • ITMS Music Download (err = -50)

    I've purchased many songs from the iTMS. I'm trying to download a whole album and getting this error message during each song download: +++++++++++++++++++++ There was a problem downloading "song title/Band/Album". An unknown error occurred (-50). Pl

  • MacBook No Fire Wire? Getting Sony MiniDV Into Mac

    I am new to Mac, this is our first Mac and I am loving it. I have a Sony MniDV camcorder. I want to import the video into my Mac. My camera requires a firewire connection, but the macBook doesnt have one. Am I out of luck or is there a way to make th

  • Video PLaylist information

    I just added Chappeles show on my ipod and i was wondering if it is possible to set that show into the TV SHOWS option in the playlist or will it have to stay in the MOVIES playlist where it is automaticaly entered into?

  • Getting Mac address

    hi all is there any way to get the mac address of Network Interface Card. i need it in my form application thanks