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

Similar Messages

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

  • "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"* 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

  • 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

  • ODI-1217: (6003) fails  with return code 7000.

    Hi
    I'm learning ODI. I got stuck while i execute the interface - i get that error message --> ODI-1217: Session test1_load_data_from_and_to_oracle (6003) fails with return code 7000.
    My source, staging area, Target all are in oracle DB.
    I believe the reason is that I do not choose the right IKM. but i export and execute all ikm type for oracle.
    I would appreciate your help.
    ODI-1217: Session test1_load_data_from_and_to_oracle (6003) fails with return code 7000.
    ODI-1226: Step test1_load_data_from_and_to_oracle fails after 1 attempt(s).
    ODI-1240: Flow test1_load_data_from_and_to_oracle fails while performing a Integration operation. This flow loads target table TRG_COUNTRIES.
    Caused By: org.apache.bsf.BSFException: exception from Jython:
    Traceback (innermost last):
    File "<string>", line 1, in ?
    Defining a target, but no source has been defined, yet. Please define source first.
         at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)
         at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.execInBSFEngine(SnpScriptingInterpretor.java:345)
         at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.exec(SnpScriptingInterpretor.java:169)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java:2374)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java:1615)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java:1580)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java:2755)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSqlI.treatTaskTrt(SnpSessTaskSqlI.java:68)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2515)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:534)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:449)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1954)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:322)
         at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:224)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:246)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:237)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:794)
         at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:114)
         at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
         at java.lang.Thread.run(Thread.java:619)

    hi,
    When I chose--> IKM sql control append--> it worked .
    Where can I find the types of KM processes and explain how to use them?
    Thanks in advance

  • 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

  • ODI-1217 session fails with return code 904

    Hi all,
    I am anil, I new to ODI, can any one help me in it.
    I have just created a one on one mapping, and then executed it, and I am getting "ODI-1217 session fails with return code 904" this error, what to do, why it happens, can any have any idea.
    Thanks,
    Anil

    Hi,
    it just returns this error.Could you copy here all error  ?
    Regards

  • 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

Maybe you are looking for

  • I have tried loads of headphones and on them all i have the same problem only one ear i can get sound out of can this be fixed?

    Has anyone else had this problem? My ipod has been working perfectly for years and all of a sudden i have gone through three sets of headphones at least in the last month, i have discovered that it is a problem with where the headphones go......no id

  • Adobe Bridge CS5 4.0.5 Update   Installation failed

    I have scoured the forums and I see no discussion that addresses my particular error. For starters I have a Mac, not Windows. Here's the error from the log: - 0 fatal error(s), 2 error(s), 0 warning(s) ERROR: The following payload errors were found d

  • Pdf attachments from mailing list not in mail

    Hi, I receive email from a phpList server in html format. Any attached PDF files are missing from Apple Mail (version 4.4). - no attachment, no inline - just disappeared into the ether. If I check the mail using an alternative POP client (e.g. Eudora

  • Weird Finder Problem

    G5, 10.4.11 I was dragging several thousand jpegs off of an SD card to the trash when my finger slipped and I released to the desktop where the finder said "copying 4,123 files to desktop" Immediately, I tried to stop it, clicking the X did not work

  • Split WD Components from a DC

    Hello, I must to migrate some WD Java projects from 7.0 to 7.3; I can migrate all of them, except one. This DC has 11 WD Components (some of them quite big size); there are no errors within and I should deploy it and test it. The problem becomes when