How to catch the error code thrown by Oracle client installation?

Hi everyone,
Recently, I'm writing a bat file to install Oracle 11g client for windows, I know the command line should be below, but how to find the error code it return? like the command line I want to run in Windows, the errorlevel will return 0 if the command line is pass, otherwise it will return no-zero:
oui.exe -silent -waitforcompletion -nowait -force -responseFile ...\response\clientruntime.rsp
BTW, I know I can find the error info under the path ...\Oracle\Inventory\logs, but I think it is better if you can tell me another way to catch the error in command line. I just wish that I can determine whether the Oracle provider installation is pass......
Thanks
Lindsay
Edited by: lindsaywang on Oct 6, 2008 1:28 PM

I got it.
Thanks,
TD

Similar Messages

  • How to catch the error occurred in Integration Process, and then save it?

    1. how to catch the error occurred in Integration Process, and then save the detailed error message to the file?
    2. there are fault message type for inbound message interface, how to use the fault message type in IR?
    Thanks,
    Michael
    Message was edited by: Spring Tang
    inital
    Message was edited by: Spring Tang
    detailed message output
    Message was edited by: Spring Tang
    fault message type

    Hi Spring,
    If u give an exception step along with your Transformation Step, whenever some error occurs in your message mapping, this exception block wil be triggered.
    You can configure your exception block to do all exception processing that you want. This exception handling is like any other java Exceptio n Handler. You can do anything that you want in your exception handler block on the basis of your requirements.
    <i>If an exception is triggered at runtime, the system first searches for the relevant exception handler in surrounding blocks. If it does not find the correct exception handler, it continues the search in the next block in the block hierarchy.
    When the system finds the correct system handler, it stops all active steps in the block in which the exception handler is defined and then continues processing in the exception handler branch. Once the exception handler has finished processing, the process is continued after the block.
    If the system fails to find an exception handler, it terminates the integration process with an error.</i>
    Regards,
    Bhavesh

  • How to fix the error code 1009?

    How to fix the error code 1009?

    Fix for error 1009 in iPhone 4S? - ThinkiOS
    How to fix error 1009 with your iDevice . - YouTube
    Change iTunes Store Country on an iDevice
    1. Tap Settings;
    2. Tap iTunes & App Stores;
    3. Tap View Apple ID;
    4. Enter your user name and password;
    5. Tap Country/Region;
    6. Tap Change Country/Region;
    7. Select the region where you will be located;
    8. Tap Done.
    Also, see How to Change Your iTunes Store Account Location | eHow.com.

  • How to catch the error if an RFC fails due to short dump

    Hi All,
      I was calling the RFC Function module in parallel processing depends on the number of work processors available. I am getting the return message from the Function module using the perform statement
       PERFORMING task_return ON END OF TASK
    But I am not able to catch the errors if the RFC has been terminated due to the dump or manually killing the RFC while running.
    I need how to handle the RFC if the call has been terminated due to the dump or system failure. Does the RFC return the sy-subrc at this time or can we able to catch the error in any other way.
    Thanks & regards,
    Vijay

    Hello Vijay,
    If you're calling RFC from outside SAP using the OCX-SAPFunctions-Library, then you can catch the dump or any other exception occuring in your SAP-Function.
    Assuming that, objRFCFunc is the RFC-Function you can get the Excepetion-Code through objRFCFunc.Exception.
    It returns a String. If the error was a dump, the String is "SYSTEM_FAILURE". If it is a "regular" Exception you'll get the Exceptioncode. E.g. "NO_DATA_FOUND".
    If you need any sample code e.g. VBA-code for use in Office-Applications, let me know.
    regards
    Sven

  • How to know the error code?

    Hi,
    how can i know the error code of the error occured in plsql ?
    Eg if i catch the exception IN WHEN others THen i need to pront the error code.
    How can i do it?

    exception
    when others then
    dbms_output.put_line(sqlerrm||sqlcode);
    end;

  • How to get the error code for http request

    I have to implement the if..elso loop depending on the error code return as below.
    String host="127.0.0.2"
    if the this servers is not found or itis down it should return error code, based on that I have to change the host value to some other server like "127.0.0.4" , Can you let me know how it can be implemented? Please help me.

    Here is my requirement...
    say.. if client hit " http:\\ 172.0.0.3: 1000/index.jsp" and if the server 172.0.0.3 is not available i will set the server host to some other and request will redirect accoringly like " http:\\ 172.0.0.4: 1000/index.jsp"

  • Oracle Form 9i - How to catch for error code and error message?

    Hello:
    I'd like to catch for error code such as ORA-20001, ORA-28007 if the form is not success. I tried TOOL_ERR.CODE and TOOL_ERR.MESSAGE, but it returns 0 and no message.
    Thanks in advance,
    TD

    I got it.
    Thanks,
    TD

  • How to determine the error code, returned from LDAP server

    I use the next code for connect to LDAP server:
            try{
                ctx = new InitialLdapContext(env, null);
                 //if connection successfull ...
            } catch (NamingException){
                 //if error occured ...
            }Is it possible to determine the numeric error code, returned from server?

    I was just working on using openldap, binding to it and checking for expired passwords and locked accounts and it looks like that an AuthenticationException is thrown in these circumstances and the ctx is null so it is not possible process connection response controls. But you can look at operation attributes if you have password policy enabled and you are looking for these type of errors

  • How to solve the Error code (12/4186)

    224733.pgapp01!BRIDGE.2864.1.0: GP_CAT:1069: WARN: Could not index FML32 buffer in postrecv
    224733.pgapp01!BRIDGE.2864.1.0: LIBTUX_CAT:6031: ERROR: Unable to pre-process buffer before tranmission. Error code(12/4186)
    how to solve it?
    Thanks.
    :)

    You should contact BEA customer support about this problem. It is possible
    for FML32 buffer indexing to fail if the buffer is not actually an FML32
    buffer, if the buffer is not aligned on a 4-byte boundary, or if there is
    not enough space in the buffer to store an index. However, none of these
    cases should apply to a buffer received in the BRIDGE process.
    <YuanSheng Jiang> wrote in message news:[email protected]..
    224733.pgapp01!BRIDGE.2864.1.0: GP_CAT:1069: WARN: Could not index FML32buffer in postrecv
    224733.pgapp01!BRIDGE.2864.1.0: LIBTUX_CAT:6031: ERROR: Unable topre-process buffer before tranmission. Error code(12/4186)
    >
    how to solve it?
    Thanks.

  • [JavaScript] How to catch the error when the cache page is not found?

    I want to use the cache of the navigator, to get data stored before (and not to send the same data) with AJAX. So I use the error 304 to tell that the page was not change, so use the cache instead. In the other navigator, there are no error, but only a blank responseText.
    But with Firefox, the error "no element found" is displayed in the Error Console. Is there a possibility to not displayed it? Maybe with "catch" and "try", but I have no idea where to place it.
    Thank you =)
    == User Agent ==
    Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/532.9 (KHTML, like Gecko) Iron/4.0.280.0 Chrome/4.0.280.0 Safari/532.9

    A good place to ask questions and advice about web development is at the MozillaZine Web Development/Standards Evangelism forum.
    The helpers at that forum are more knowledgeable about web development issues.
    You need to register at the MozillaZine forum site in order to post at that forum.
    See http://forums.mozillazine.org/viewforum.php?f=25
    You need to post a link to the website or relevant parts of the code.

  • How to fix the error code B200 of MP258 canon printer?

    please help me how to fix the priter that has an error code B200 of MP258.

    Hi guadaduque, thanks for posting!   In order to allow the Community to better help with your question, we'll need some more information from you.
    What exact computer operating system are you using? Once we have this information,  the Community will be better able to help get you up and printing again!

  • Change in Standard SAP menu : How to catch the transaction code!

    Hello,
    I have added a menu item 'More Help' to the standard SAP menu 'Help' which should navigate to URLs for the respective transactions. Suppose i am in transaction FB03 and click the 'More Help' menu, it should navigate to the URL mentioned in a table.
    My Problem is I have created a transaction for that menu item 'zhelp' which calls a program and when i am clicking the 'more help' tab , the original value of sy-tcode which should be FB03 is replaced with the new Transaction which is used for the menu item i.e. 'zhelp'. Because of this i am not able to retrieve my value from the table corresponding to the transaction FB03.
    Is there any other system field which stores the value of transaction FB03 aftter navigating to other transaction? How should i go ahead with this? Please help!!
    Edited by: Rojalin Priyadarshiny on Sep 10, 2009 3:45 PM

    Hi,
    I really dont know in how many standard transactions you have added the More Help option.
    If you hav added only in 2  to 3 transactions then you can think on using the below Logic.
    Say if u have added in  FB01, FB02 and FB03 transaction.
    Find one exit for each transaction, in the exit EXPORT TCODE ( EX: FB01 ) to memory.
    In your Ztransaction report IMPORT the TCODE from memory.
    Now u will get FB01 after inmport statement and u can make use of this.
    If the option is added in many transactions , you have to think again in using the above logic as it involves identification of many Exits.
    Regards,
    Sravan

  • How to solve the Error code :45 for the below mentioned script. Please provide  the solution for the

    function fontcheck (){
        fonts=null;
    //var fonts=document.fonts.everyItem().getElements();
    var _docFonts = app.activeDocument.fonts.everyItem().getElements();
        var myDoc=app.activeDocument
        var fontlist = []
        for (var i = 0; i < _docFonts.length; i++) {
         var fontName = _docFonts[i].fullName;
         var fontpath= _docFonts[i].location;
    var mm=String(fontpath);
    var s=String.fromCharCode(92)
    var ms=String("C:"+(s)+"Windows"+(s)+"Fonts"+(s));
    mm=mm.substring(0,17);
    if (mm==ms)
    alert ("The Document contain System font Please fix the font using find font option");
    exit()
    mm=null;
    fonts=null;
    else
    if (mm=="System Font")
    alert ("The Document contain System font Please fix the font using find font option");
    exit()
    mm=null;
    fonts=null;

    works for me. Perhaps you can tell more about what happens?

  • Catch the error in to a log file

    Hi Team,
    Created the script for testing the server online or offline, Could you please tell me how to catch the error in to a file
    Try
    $Result = Test-Connection -count 1 -computer (Get-Content ServerName.txt)  -ErrorAction "Continue"
    Catch
       $Result = New-Object PSCustomObject -Property @{
                TimeStamp = Get-Date
                __Server = $env:COMPUTERNAME
                Address = $Computer
                Protocol = ""
                ResponseTime = "Failed"
    $Result | Select TimeStamp,__Server,Address,ProtocolAddress,ResponseTime | ft -AutoSize

    As mjolinor pointed, you should change the -ErrorAction to Stop to make the control flow into catch block when error occurs. Just change alone is not sufficient because, the control will go to catch block if any of the computer in servername.txt gives error,
    and it will not go back to next computer in your text file perform the ping.
    So try chaning the code as shown below.
    $Outarr = @()
    foreach($Comp in (Get-Content C:\temp\servers.txt)) {
    Try {
    $Result = Test-Connection -count 1 -computer $Comp -ErrorAction stop
    Catch {
    $Result = New-Object PSCustomObject -Property @{
    TimeStamp = Get-Date
    __Server = $env:COMPUTERNAME
    Address = $Comp
    Protocol = ""
    ResponseTime = "Failed"
    $Outarr +=$Result
    $Outarr| Select TimeStamp,__Server,Address,ProtocolAddress,ResponseTime | ft -AutoSize
    Hope this helps.
    Thanks,
    Sitaram Pamarthi
    Blog : http://techibee.com
    Follow on Twitter
    This posting is provided AS IS with no warranties or gurentees,and confers no rights
    You can simplify that to:
    $Outarr =
    foreach($Comp in (Get-Content C:\temp\servers.txt)) {
    Try {
    Test-Connection -count 1 -computer $Comp -ErrorAction stop
    Catch {
    [PSCustomObject]@{
    TimeStamp = Get-Date
    __Server = $env:COMPUTERNAME
    Address = $Comp
    Protocol = ""
    ResponseTime = "Failed"
    $Outarr | ft -AutoSize
    The [PSCustomObject] type accelerator will take the hash table as a constructor, and coerce it to an [ordered] hash table, so the properties will stay in the same order they were declared.  That eliminates the need to use Select-Object afterward to
    get them back into the right order.
    [string](0..33|%{[char][int](46+("686552495351636652556262185355647068516270555358646562655775 0645570").substring(($_*2),2))})-replace " "

  • Java - Axis2: How to get an error code / error message from the Javascript via SOAP

    Hi
    In our Java applicsation we call a Javascript in a Indesign CS Server using the following code:
    --- SNIP BEGIN ---
    // calls the remote service on the indesign server
    try {
    // create service
    ServiceStub oIndsgnSrvStub = new
    ServiceStub(sIndesignServer);
    // create service parameter
    ServiceStub.RunScriptParameters
    oIndsgnSrvRSParams = new ServiceStub.RunScriptParameters();
    // create arguments with source- and target-file for parameter
    ServiceStub.IDSPScriptArg[] oIndsgnSrvSArgs = new ServiceStub.IDSPScriptArg[2];
    oIndsgnSrvSArgs[0] = new
    ServiceStub.IDSPScriptArg();
    oIndsgnSrvSArgs[0].setName("xml-input");
    oIndsgnSrvSArgs[0].setValue(sSourceFile);
    oIndsgnSrvSArgs[1] = new
    ServiceStub.IDSPScriptArg();
    oIndsgnSrvSArgs[1].setName("output-file");
    oIndsgnSrvSArgs[1].setValue(sTargetFile);
    // define service parameter
    oIndsgnSrvRSParams.setScriptArgs(oIndsgnSrvSArgs);
    oIndsgnSrvRSParams.setScriptFile(sScriptFile);
    oIndsgnSrvRSParams.setScriptLanguage("javascript");
    oIndsgnSrvRSParams.setScriptText("");
    // create runscript
    ServiceStub.RunScript oIndsgnSrvRS = new ServiceStub.RunScript();
    // set parameter
    oIndsgnSrvRS.setRunScriptParameters(oIndsgnSrvRSParams);
    //$$$ there should be an answer returned by the InddSrvr
    // execute SOAP call
    ServiceStub.RunScriptResult oIndsgnSrvRes = oIndsgnSrvStub.RunScript(oIndsgnSrvRS);
    if(oIndsgnSrvRes.getErrorNumber() == 0) {
    oServerProdJob.setProdState(CBP_Constant.REMOTEPRODUCTIONSTATE_SUCCESS);
    bOK = true;
    } else {
    oServerProdJob.setProdState(CBP_Constant.REMOTEPRODUCTIONSTATE_FAILURE);
    bOK = false;
    //$$$ should be set, if there is something returned by inddsrvr
    //oServerProdJob.setErrorMsg(sErrorMsg);
    } catch(Exception e) {
    sError += e.getMessage() + "\n";
    bOK = false;
    --- SNIP END -----
    The problem is that we don't get the error code and/or the error message from the Javascript in oIndsgnSrvRes. The error code is always 0 if I set an Integer value as return in the Javascript. If I set a String, there is an Exception in the Java application.
    Here is the Java script we use:
    --- SNIP BEGIN ---
    main();
    main()
    var sError = "";
    var sXMLInput = "";
    var sLayoutPath = "";
    // get the SDKCodeSnippetRunner object
    var cbpAdapter = app.cbpCbpadapterObject
    if (cbpAdapter) {
    sXMLInput=app.scriptArgs.get("xml-input");
    sLayoutOutputFile=app.scriptArgs.get("output-file");
    sError = cbpAdapter.doProcess(sXMLInput, sLayoutOutputFile);
    return sError; // This give an Exception; if I return an Integer the ScriptResult is always 0
    --- SNIP END -----
    If I try this with the test application from Adobe I get the error code correctly. But in the Java application, using SOAP, I can't get the error code.
    What could be wrong?
    Any ideas?
    Thanks a lot for the support.
    Kind regards
    Hans

    user11340104 wrote:
    Hello -
    i am calling sqlplus from a bash shell script. If the sql statement generates an error, how can I return that error code (unsuccessful) back to the bash shell?
    Well, let google be your friend,
    http://www.google.co.in/search?rlz=1C1GGLS_enIN327IN327&sourceid=chrome&ie=UTF-8&q=sqlplus+error+codes
    There are many threads I guess talking about the same issue.
    HTH
    Aman....

Maybe you are looking for

  • OAS and Linux and Apache

    I have successfully installed OAS 4.0.8.1 on Linux RedHat 6.1. The default (oracle) http listner runs fine, after setting it to port 81. I did this because the default http server for Linux (Apache 1.3.9-4) is on 80. I would like to use Apache as my

  • B1if B12FileScenario where .csv file generate with Blank sheet

    Dear Expert, I had gone through 3_B1ifB12FileScenario document, I fallow each step. Even my file created on C:\ drive show blank. When I see Below Syntax <xsl:template name="transform">           <FileOut xmlns="" type="file">                <xsl:for

  • Adobe Digital Edition Autorisierungproblem

    Hallo ich habe mir den Adobe Digital Edition runtergeladen um ein EBook öffnen zu können, da es mit DRM verschlüsselt ist, aber ich kann meinen PC nicht autorisieren. Also mein Passwort und alles stimmt, und es wird auch angezeigt, dass der PC autori

  • Dynamically adding form items

    Hi All, I am facing problem while adding the form items to the form dynamically it get distorted and form items not in proper alignment.This issues is resolve when i revisit the same page again. Thanks, in advance.

  • Getting a run time error  R6034 when updating itunes

    Itunes trying to load incorrectly