Compare owb 9i code with 11g code

HI
Recently we migrated the 9i OWB's to 11g pls files.I need to verify whether correct versions were migrated or not.
is there any way to Compare the 9i OWB's with 11g pls files?
Note:9i databases with all OWB Components and 11g databases with new code is available.

Hi
Since you are using LCT Oracle to Oracle dblink you might as well remove the source execution unit and put the operators in the Oracle default target execution unit.
Cheers
David

Similar Messages

  • Pagination of output  php code with sql code

    if one program of php including sql query
    it seems to output wrong .(means some data will be calculated sum)
    if php code output all data in one page.pagination
    it seems to output right(means some data will be calculated sum)
    if there has column of company including two companies of A and B.
    and if each page output 3 lines while A company has 4 lines in sql query,so
    the last line of A company will output in second page,
    i want to calculate A company including 4 lines sum
    how to calculate sum of company of A in second page.
    i think it will be a good interesting question of php code with sql code.
    who can solution thus question ?
    thanks !

    Hi,
    for Example:
    SELECT sum(quantity * price)
    FROM orders
    WHERE COMPANY = 'A';
    This will give you the total amount for company A.
    But remember that your example table will give no output, since you have no price column. So you must decide, what which sum to calculate.
    A sum only calculated over the quantity makes IMHO no sense, because there are apples and bananas ...
    Greetings from Hamburg
    Thorsten Körner

  • Mapping of tax code with juridiction code

    Hi MM Experts
    While releasing service entry i m geting error " Message FF718 (tax code does not exist fo jurisdiction code)"
    i have checked in FTXA tax code is mapped with juri code.
    pls tell me where is the problem.
    Thanks
    Anubhav

    Hope you have created Tax Code with Jurisdiction in FTXP Properly and Checked the Jurisdiction in Purchase ORder Item Detail Invoice Tab.
    Now Check in OBCL whether Jurisdiction is Assigned to Company code.
    Regards,
    Ashok

  • [Beta 6] Camera is crashing on simple code with exit code 101

    First time it was perfect
    Second time application failing with exit code 101
    If I don't use result image. For example remove line: imageView.image = image;
    then it works!
    Any ideas?
    [q]
    - (void)showCamera {
    // Set up the image picker controller and add it to the view
    UIImagePickerController *imagePickerController = [[[UIImagePickerController alloc] init] autorelease];
    imagePickerController.sourceType = UIImagePickerControllerSourceTypeCamera;
    imagePickerController.delegate = self;
    imagePickerController.allowsImageEditing = NO;
    [self presentModalViewController:imagePickerController animated:YES];
    - (void)imagePickerController:(UIImagePickerController *)picker
    didFinishPickingImage:(UIImage *)image
    editingInfo:(NSDictionary *)editingInfo
    [picker dismissModalViewControllerAnimated:YES];
    imageView.image = image;
    [/q]

    did you ever figure this out?
    i am having the same thing, but i assumed it was an out of memory problem...

  • Mapping of GL code with material code

    Hi MM experts
    is there any table where i can find GL code that is mapped with material code.
    Regards
    Anubhav

    i think there is no standard report existing for this GL material combination, also the same info is not also in same table. so i feel you can develop a report through SAP query or ask your abaper to develop it for you that material valuation class and GL account combination. you can use mm60 which have material and val. class combination
    regards,
    qsm sap

  • Sql code with php code

    for example:
    create table testtable (
    sales_area varchar2(30),
    sales_comp varchar2(40),
    sales_market varchar2(30),
    order_number number(20),
    order_date varchar2(20),
    item_id number(15),
    quantity number(20),
    item_desc varchar2(50)
    insert into testtable values ('westarea','acompany','amarket','52001',1001,1,10,'apple');
    insert into testtable values ('westarea','acompany','amarket','52005',1002,2,20,'banana');
    insert into testtable values ('eastarea','bcompany','bmarket','52002',1003,2,50,'banana');
    insert into testtable values ('eastarea','bcompany','bmarket','52004',1006,1,30,'apple');
    insert into testtable values ('eastarea','bcompany','bmarket','52003',1007,1,30,'apple');
    insert into testtable values ('westarea','ccompany','cmarket','52006',1003,1,30,'orange');
    insert into testtable values ('westarea','ccompany','dmarket','52007',1004,3,60,'orange');
    commit;
    select *
    from testtable
    it outputs below:
    westarea     acompany     amarket     52001     1001     1     10 apple
    westarea     acompany     amarket     52005     1002     2     20 banana
    eastarea     bcompany     bmarket     52002     1003     2     50 banana
    eastarea     bcompany     bmarket     52004     1006     1     30 apple
    eastarea     bcompany     bmarket     52003     1007     1     30 apple
    westarea     ccompany     cmarket     52006     1003     1     30 orange
    westarea     ccompany     dmarket     52007     1004     3     60 orange
    use php code outputs like below php code :
    apple banana orange .......
    westarea     acompany     amarket     52001     1001     10
    westarea     acompany     amarket     52005     1002     20 ........
    acompany 10 20 .........
    westarea     ccompany     cmarket     52006     1003          30 .........
    westarea     ccompany     dmarket     52007     1004          60 .........
    ccompany 90 .........
    westarea 10 20 90 .........
    eastarea     bcompany     bmarket     52002     1003     50 .........
    eastarea     bcompany     bmarket     52004     1006     30 .........
    eastarea     bcompany     bmarket     52003     1007     30 .........
    bcompany 60 50 .........
    eastarea
    total 70 70 90 ......
    make below php code output a new table:
    <?php
    $v_item_count = count(array(item));
    echo"<table border = 1>";
    echo "<tr>";
    echo "<td rowspan="2">sales area</td>";
    echo "<td rowspan="2">sales comp</td>";
    echo "<td rowspan="2">sales market</td>";
    echo "<td rowspan="2">customer_number</td>";
    echo "<td rowspan="2">order_number</td>";
    echo "<td colspan="'||to_char($v_item_count)||'">categories and quantities</td>";
    while ($row = oci_fetch_array ($stmt, OCI_BOTH)) {
    echo "<tr>";
    echo "<td>".$row['ORDER_NUMBER']."</td>";
    ?>
    who can help me?

    for example:
    while ($row = oci_fetch_array ($stmt, OCI_BOTH)) {
    echo "<tr>";
    echo "<td>".$row['ORDER_NUMBER']."</td>";
    echo "<td>".$row['ORDERED_DATE']."</td>";
    for ($i=0; $i<sizeof($items); $i++) {
    echo "<td>".$row[$i]." </td>";
    echo "</tr>";
    echo "</table>";
    ?>
    above php code should output plentites of lines while it output few lines.
    i don't know there has many lines outputed?
    who can help me?

  • Tax code with Jurisdiction Code

    Dear Gurus,
    How to find the Tax code is assigned to how many Jurisdiction codes, is there any Table for checking the same.
    regards,
    Gopi.P

    Dear,
    Use table A053
    Regards,
    Chintan Joshi

  • Replace source code with destination code

    Hi,
    How to replace a program in source system with the program in production system technically?
    Thanks in advance...

    hi,
    Using Version Management you can do that.
    Use menupath...
    Utilies->Vesion->Version Management.
    Check the lastet request whcih exist in the Production sytem using Remote Comparsion Button
    After know the Request number Select the request number in the source system and press retrive.

  • What's wrong with my code for comparing date retreived from db and sysdate?

    Hi all,
    I need to retrive date from the DB and compare it to system date.i have posted the code below.i get java.sql.SQL Exception:Io exception:Socket closed.
    What's wrong with the code?please help me.Thanks in advance.
    public boolean date() throws IOException, SQLException {
    Connection con1;
    long millis = System.currentTimeMillis();
    Timestamp timestamp = new java.sql.Timestamp(millis);
    ResultSet rs4 = null;
    try
    Class.forName("oracle.jdbc.driver.OracleDriver");
    con = DriverManager.getConnection(
    "jdbc:oracle:thin:@abc:1605:xyz",
    "cdf", "cdf");
    Statement stmt_exp = con.createStatement();
    rs4 = stmt_exp.executeQuery("SELECT DATE FROM TABLE_NAME")
    while (rs4.next()) {
    Timestamp timestamp2 = rs4.getTimestamp("expire_date");
    con1.close();
    catch (Exception e)
    e.printStackTrace();
    finally
    //ResultSet rs4 = null;
    //Timestamp timestamp2;
    Timestamp timestamp2 = rs4.getTimestamp("expire_date");
    if (timestamp2.compareTo(timestamp) < 0)  //sysdate < exp date
    return true;
    } else {
    return false;
    }

    Didn't you understand what BalusC said? You're closing the connection and then trying to use the ResultSet. The ResultSet will be closed when you close the connection so you can't use it anymore.
    You should close the connection last thing in your code, probably in a finally. And after you close your ResultSet and Statement.
    People on the forum help others voluntarily, it's not their job.
    Help them help you.
    Learn how to ask questions first: http://faq.javaranch.com/java/HowToAskQuestionsOnJavaRanch
    ----------------------------------------------------------------

  • Need sample code with RV_INVOICE_CREATE used

    Hi everybody!
    I need sample code with RV_INVOICE_CREATE or similar FMs used.
    The thing is that I do not know how to populate parametres of this and other invoicing FMs....
    For example, there are some tables to be passed to RV_INVOICE_CREATE
         TABLES
              XKOMFK     = XKOMFK
              XKOMV       = XKOMV
              XTHEAD      = XTHEAD
              XVBFS        = XVBFS
              XVBPA        = XVBPA
              XVBRK        = XVBRK
              XVBRP        = XVBRP
              XVBSS        = XVBSS
    How to populate them? I mean how to fill them with needed values?
    Useful answers will be awarded.
    Kind regards, M.

    RV_INVOICE_CREATE is the function module to create invoice based on delivery .
    when you pass delivery number ,it will create invoice ,see the invoice number in vf02,vf03 transaction. and also see the data vbrk,vbrp tables
    I have done this development and i have cancelled invoice,reverse goods issue,updated the delivery and again i am createing invoice..see the below progrm to get better understanding.
    REPORT ZWM_OVERWEIGHT_FIX  no standard page heading
                               message-id zwm.
    ======================================================================
    Program Name : ZWM_OVERWEIGHT_FIX                                    *
    Description  : Tool to fix Overweight in delivery line item,         *
                   Used All Function module to cancel invoice ,          *
                   Reverse the goods issue  ,Update Delivery qty,Create  *
                   invoice                                               *
    Author       : Seshu                                                 *
    Date         : 05/08/2007                                            *
    MODIFICATION HISTORY                                                 *
    DATE    | AUTHOR   | CHANGE #   | DESCRIPTION OF MODIFICATION        *
    --|||--
    05/08/07| Seshu    | DEVK921979 | Initial                            *
    D A T A - D E C L A R A T I O N     *******************
    Tables
    Tables : vbak,
             vbap,
             vbfa,
             likp,
             lips,
             vbrk,
             vbrp.
    Internal Tables
    data : i_lips like lips occurs 0 with header line,
           i_vbap like vbap occurs 0 with header line.
    Variables
    data : v_deliv like vbfa-vbelv,
           v_invoic like vbfa-vbelv.
    Data Declaration Part for Post Goods Issue
    DATA: l_vbeln LIKE likp-vbeln,
          l_vbkok LIKE vbkok,
          i_prot LIKE prott OCCURS 0 WITH HEADER LINE,
          ef_error_any_0 TYPE c,
          ef_error_in_item_deletion_0 TYPE c,
          ef_error_in_pod_update_0 TYPE c,
          ef_error_in_interface_0 TYPE c,
          ef_error_in_goods_issue_0 TYPE c,
          ef_error_in_final_check_0 TYPE c,
          d_return   LIKE bapireturn1.
    Internal tables for BAPI Function Module
    data : i_cret like BAPIRETURN1 occurs 0 with header line,
           i_csucess like BAPIVBRKSUCcESS occurs 0 with header line,
           i_ret2 like bapiret2 ,
           flag type c,
           i_mesg like mesg occurs 0 with header line.
    Data Declaration for Invoice Creation
    DATA: VBSK_I     LIKE  VBSK.
    data: d_success  type  c.
    DATA: XKOMFK LIKE      KOMFK   OCCURS 0 WITH HEADER LINE,
          XKOMV  LIKE      KOMV    OCCURS 0 WITH HEADER LINE,
          XTHEAD LIKE      THEADVB OCCURS 0 WITH HEADER LINE,
          XVBFS  LIKE      VBFS    OCCURS 0 WITH HEADER LINE,
          XVBPA  LIKE      VBPAVB  OCCURS 0 WITH HEADER LINE,
          XVBRK  LIKE      VBRKVB  OCCURS 0 WITH HEADER LINE,
          XVBRP  LIKE      VBRPVB  OCCURS 0 WITH HEADER LINE,
          XVBSS  LIKE      VBSS    OCCURS 0 WITH HEADER LINE,
          XKOMFKGN LIKE    KOMFKGN OCCURS 0 WITH HEADER LINE.
    S E L E C T I O N  -  S C R E E N   ******************
    Selection-screen
    Selection-screen : begin of block blk with frame title text-001.
    parameters : p_vbeln like vbak-vbeln obligatory.
    selection-screen : end of block blk.
    A T -  S E L E C T I O N  - S C R E E N ***************
    Validation on Sales order
    at selection-screen on p_vbeln.
    Check the data on VBAK Table
      select single vbeln from vbak into vbak-vbeln
                                where vbeln = p_vbeln.
      if sy-subrc ne 0.
        message e006 with p_vbeln.
      endif.
    S T A R T  - O F - S E L E C T I O N *******************
    Start-of-selection.
      break sreddy.
    Get the Invoice Number corresponding Sales Order Number
      perform get_invoice.
    Step 1.
    Cancel the Invoice  - Transaction VF11
      perform cancel_invoice.
    Reverse the goods issue
      perform reverse_goodsissue.
    Get the Order and Delivery Items
      perform get_sales_deliv.
    Delivery Change
      perform Delivery_change.
    Create Invoice document
      perform invoice_create.
    E N D  -  O F -  S E L E C T I O N  *******************
    end-of-selection.
    if flag = 'X'.
    message i012 with p_vbeln.
    endif.
    *&      Form  get_invoice
          Get Invoice Number
    FORM get_invoice.
    Clear Variables
      clear : v_deliv,
              v_invoic,
              flag.
    Get the Delivery Number First
      select single vbeln from vbfa into v_deliv
                               where vbelv = p_vbeln
                               and   vbtyp_n = 'J'.
      if sy-subrc ne 0.
        message i004 with p_vbeln.
        stop.
      endif.
    Get the Invoice Number
      select single vbeln from vbfa into v_invoic
                               where vbelv = p_vbeln
                               and   vbtyp_n = 'M'.
      if sy-subrc ne 0.
        message i003 with p_vbeln.
        stop.
      endif.
    ENDFORM.                    " get_invoice
    *&      Form  cancel_invoice
          Cancel the Invoice
    FORM cancel_invoice.
      clear : i_ret2,
              i_cret,
              i_csucess.
      refresh : i_cret,
                i_csucess.
      CALL FUNCTION 'BAPI_BILLINGDOC_CANCEL1'
        EXPORTING
          BILLINGDOCUMENT       = v_invoic
      TESTRUN               =
      NO_COMMIT             =
      BILLINGDATE           =
        TABLES
          RETURN                = i_cret
          SUCCESS               = i_csucess
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
           EXPORTING
                WAIT   = space
           IMPORTING
                RETURN = i_ret2.
    read table i_cret with key type = 'E'.
      if sy-subrc ne 0.
        message i005 with v_invoic.
        stop.
      endif.
    ENDFORM.                    " cancel_invoice
    *&      Form  reverse_goodsissue
          Reverse the goods Issue
    FORM reverse_goodsissue.
    Local Variable
      data : lv_vbtyp like likp-vbtyp.
      clear : i_mesg,
              lv_vbtyp.
      refresh : i_mesg.
      select single vbtyp from likp into lv_vbtyp
                               where vbeln = v_deliv.
      CALL FUNCTION 'WS_REVERSE_GOODS_ISSUE'
        EXPORTING
          I_VBELN                         = v_deliv
          I_BUDAT                         = sy-datum
        I_COUNT                         =
        I_MBLNR                         =
        I_TCODE                         =
          I_VBTYP                         = lv_vbtyp
        TABLES
          T_MESG                          = i_mesg
       EXCEPTIONS
         ERROR_REVERSE_GOODS_ISSUE       = 1
         OTHERS                          = 2
      if sy-subrc ne 0.
        message i007 with v_deliv.
      endif.
    ENDFORM.                    " reverse_goodsissue
    *&      Form  get_sales_deliv
          Get the Sales order and Deliv Items
    FORM get_sales_deliv.
    Local Variables
      data : lv_kwmeng like vbap-kwmeng.
      clear : i_lips,
              i_vbap.
      refresh : i_lips,
                i_vbap.
    Select the data from LIPS
      select * from lips into table i_lips
                         where vbeln = v_deliv.
      if sy-subrc ne 0.
        message i008 with v_deliv.
        stop.
      endif.
      sort i_lips by vbeln posnr.
      Get the Sales order Item Data.
      select * from vbap into table i_vbap
                              where vbeln = p_vbeln.
      if sy-subrc ne 0.
        message i006 with p_vbeln.
        stop.
      endif.
      sort i_vbap by vbeln posnr.
    Compare delivery Item and Order Items
      loop at i_lips.
        clear lv_kwmeng.
        read table i_vbap with key posnr = i_lips-posnr.
        if sy-subrc eq 0.
          lv_kwmeng = i_vbap-kwmeng * 2.
          if lv_kwmeng >= i_lips-lfimg.
            i_lips-lfimg = i_vbap-kwmeng.
            modify i_lips.
          endif.
        endif.
      endloop.
    ENDFORM.                    " get_sales_deliv
    *&      Form  Delivery_change
          Delivery Update
    FORM Delivery_change.
      Clear : i_prot.
      refresh : i_prot.
    Delivery Update
      CALL FUNCTION 'LE_MOB_DELIVERY_UPDATE'
           EXPORTING
                do_commit                = 'X'
           TABLES
                t_delivery_items         = i_lips
                prot                     = i_prot
           EXCEPTIONS
                conversion_overflow      = 1
                essential_data_missing   = 2
                error                    = 3
                nothing_to_update        = 4
                lock_after_update_failed = 5
                error_in_delivery_update = 6
                OTHERS                   = 7.
      COMMIT WORK.
      IF sy-subrc <> 0.
        MESSAGE i009 with v_deliv.
      endif.
    Post Goods Issue
      CLEAR:    d_return,
                i_prot,
                l_vbeln,
                l_vbkok.
      REFRESH i_prot.
      CLEAR:  ef_error_in_item_deletion_0    ,
              ef_error_in_pod_update_0       ,
              ef_error_in_interface_0        ,
              ef_error_in_goods_issue_0      ,
              ef_error_in_final_check_0      .
    carry out goods issue
      l_vbeln          = v_deliv.
      l_vbkok-vbeln_vl = l_vbeln.
      l_vbkok-wabuc    = 'X'.
    carry out goods issue
      l_vbeln          = v_deliv.
      l_vbkok-vbeln_vl = l_vbeln.
      l_vbkok-wabuc    = 'X'.
    SET UPDATE TASK LOCAL.
      CALL FUNCTION 'WS_DELIVERY_UPDATE'
           EXPORTING
                vbkok_wa                    = l_vbkok
                synchron                    = 'X'
                no_messages_update          = ' '
                update_picking              = 'X'
                commit                      = 'X'
                delivery                    = l_vbeln
                nicht_sperren               = 'X'
                if_error_messages_send_0    = space
           IMPORTING
                ef_error_any_0              = ef_error_any_0
                ef_error_in_item_deletion_0 = ef_error_in_item_deletion_0
                ef_error_in_pod_update_0    = ef_error_in_pod_update_0
                ef_error_in_interface_0     = ef_error_in_interface_0
                ef_error_in_goods_issue_0   = ef_error_in_goods_issue_0
                ef_error_in_final_check_0   = ef_error_in_final_check_0
           TABLES
                prot                        = i_prot
           EXCEPTIONS
                error_message               = 1
                OTHERS                      = 2.
      if sy-subrc ne 0.
        message i010 with v_deliv.
      else.
        COMMIT WORK .
      endif.
    ENDFORM.                    " Delivery_change
    *&      Form  invoice_create
          Invoice Creation
    FORM invoice_create.
      refresh: XKOMFK, XKOMV,
               XTHEAD, XVBFS,
               XVBPA,  XVBRK,
               XVBRP,  XVBSS.
      clear  : XKOMFK, XKOMV,
               XTHEAD, XVBFS,
               XVBPA,  XVBRK,
               XVBRP,  XVBSS,
               VBSK_I.
      VBSK_I-SMART = 'F'.
      XKOMFK-VBELN =  v_deliv.
      XKOMFK-VBTYP = 'J'.
      APPEND XKOMFK.
      CALL FUNCTION 'RV_INVOICE_CREATE'
           EXPORTING
                VBSK_I       = VBSK_I
                WITH_POSTING = 'C'
           TABLES
                XKOMFK       = XKOMFK
                XKOMV        = XKOMV
                XTHEAD       = XTHEAD
                XVBFS        = XVBFS
                XVBPA        = XVBPA
                XVBRK        = XVBRK
                XVBRP        = XVBRP
                XVBSS        = XVBSS.
      if sy-subrc eq 0.
        COMMIT WORK.
       flag = 'X'.
      else.
      message i011 with p_vbeln.
      endif.
    ENDFORM.                    " invoice_create
    Reward Points if it is helpful
    Thanks
    Seshu

  • Generated code with some transformations - need help

    I have a mapping as below:
    1. Source table and input parameter are input to splitter
    2. Splitter has conditions as if input parameter is NULL then insert/update target table
    3. There is a constant with 4 Attributes, which also directly insert into the target table
    4. If the input parameter is NOT NULL then output from splitter goes into a filter where the condition is checked with the value from input parameter
    5. the output from filter is inserted/ updated into the target table. Here again the values from constant are also inserted into the target table.
    The Target table has 15 columns out of which I have 11 columns set for matching. I have the loading type set to 'UPDATE/INSERT'
    When I generate this code a merge statement is included in the code and everything works fine.
    My environment is:
    OWB: 10.2.0.2
    DB source & Target : 10g Rel2.
    I changed the mapping so that instead of 4 attributes in the constant above, I have 2 attributes.
    I have another constant with one of the 2 attributes removed from the above constant.
    The value from this constant goes as an input to transformation operator, the transformation operator has 2 outputs. I mapped these outputs to the splitter input.
    There after this is similar to the above mapping explained earlier. Basically the 2 attributes which were part of the constant in the first mapping are now from a transformation operator (procedure) and I have these values passed all across the mapping (through splitter and filter as is without any changes).
    Now when I generate the code, the generated code does not have a merge statement but processed row by row and hence have a cursor and then separate update and insert.
    This code is much slower than the earlier one.
    I want to retrieve the values through a procedure as in the second case instead of the constant but want to have a set based processing as in the first case. How Can I do this?
    Any help please?
    Thanks,
    Maruthi

    Hi,
    Do not use the transformation operator. All transformation are nothing but built-in SQL functions. Take your constant values into an expression operator and then make two output attributes in it. In the expression builder call the function appropriately and as mentioned above, generate the code in set based fail over to row based (default mode) and execute it. The mapping should execute in Set Based Mode.
    Regards
    -AP

  • ORA-27369: job of type EXECUTABLE failed with exit code: Incorrect function

    Hello,
    I am calling a windows bat file using dbms_scheduler and getting the following error. I have searched the forum and the internet and tried different switches and options. None of them solved my problem.
    Oracle Version: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    OracleJobScheduler is running as a service
    Error starting at line 1 in command:
    execute GET_RESULTS();
    Error report:
    ORA-27369: job of type EXECUTABLE failed with exit code: Incorrect function.
    ORA-06512: at "SYS.DBMS_ISCHED", line 185
    ORA-06512: at "SYS.DBMS_SCHEDULER", line 486
    ORA-06512: at "PS.GET_RESULTS", line 67
    ORA-06512: at line 1
    27369. 00000 - "job of type EXECUTABLE failed with exit code: %s"
    *Cause:    A problem was encountered while running a job of type EXECUTABLE.
    The cause of the actual problem is identified by the exit code.
    *Action:   Correct the cause of the exit code and reschedule the job.
    Here is the code for scheduler
          dbms_output.put_line(os_commandline || utlPath || fileSeparator || 'get.bat >nul')
          dbms_scheduler.create_job
          (   job_name          =>'PS_GET_RESULTS'
                , job_action        => os_commandline || utlPath || fileSeparator || 'get.bat >nul'
                , job_type          =>'executable'
                , enabled           =>false
                , auto_drop         =>false
                , start_date        =>systimestamp
          dbms_scheduler.run_job(job_name =>'PS_GET_RESULTS');The dbs_output prints a line which shows that the parameters os_commandline, utlPath and fileSeparator are set correctly.
         C:\windows\system32\cmd.exe /q /c E:\UTLDir\get.bat >nulThe windows file (get.bat) is:
         "C:\Program Files (x86)\WinSCP\Winscp.exe" /script=e:\utldir\get_resultsThis batch file passes a script file to the executable winscp.exe to get files from another server.
    The script file (get_results) is:
         option batch abort
         option confirm off
         open sftp://username:password@ipnumber:port -hostkey="ssh-rsa 1024 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
         cd /usr/dropbox/
         option transfer binary
         get *.results E:\UTLDir\Results\
         close
         exitI tested the batch file directly and works fine and "gets" the files from the server. But, invoking from Oracle dbms_scheduler fails with ORA-27369: job of type EXECUTABLE failed with exit code: Incorrect function.
    Appreciate your help and time in suggesting additional guidelines or pointers.
    Thanks,
    Rose

    Here is an update, if somebody else is having a similar problem.
    The ftp command "cd" to change the directories should be an absolute path. I was given a path "/usr/dropbox/", but on the server it actually corresponds to "/usr/local/apps/dropbox/". After updating the directory path, the scheduler worked fine in invoking the batch file for transferring the files.
    Thanks,
    Rose

  • OPatch failed with error code =1

    I am installing OBIEE 11g on a WIN XP VM - 32bit, 2gb RAM.Configuration process failed with the following msg.
    I set OPATCH path in the environment variables and continued with the installation and it still fails. Appreciate any/all suggestions.
    [2010-11-23T16:00:48.578-08:00] [as] [NOTIFICATION] [] [oracle.as.install.bi] [tid: 15] [ecid: 0000Ilv3fUlCKu3_zlt1iW1Cv4^m000006,0] Applying one-off patches for BI
    [2010-11-23T16:00:48.578-08:00] [as] [NOTIFICATION] [] [oracle.as.install.bi] [tid: 15] [ecid: 0000Ilv3fUlCKu3_zlt1iW1Cv4^m000006,0] Applying one-off patches for Product Oracle Home
    [2010-11-23T16:00:48.578-08:00] [as] [NOTIFICATION] [] [oracle.as.install.bi] [tid: 15] [ecid: 0000Ilv3fUlCKu3_zlt1iW1Cv4^m000006,0] Applying one-off patches for Oracle Home Dir: C:/Middleware1\Oracle_BI1
    [2010-11-23T16:00:48.594-08:00] [as] [TRACE] [] [oracle.as.install.engine] [tid: 15] [ecid: 0000Ilv3fUlCKu3_zlt1iW1Cv4^m000006,0] [SRC_CLASS: oracle.as.install.asoneoff.OneoffTool] [SRC_METHOD: executeOneoffTool] Oneofff Folder is C:/Middleware1\Oracle_BI1\oneoffpatches
    [2010-11-23T16:00:48.594-08:00] [as] [TRACE] [] [oracle.as.install.engine] [tid: 15] [ecid: 0000Ilv3fUlCKu3_zlt1iW1Cv4^m000006,0] [SRC_CLASS: oracle.as.install.asoneoff.OneoffTool] [SRC_METHOD: executeOneoffTool] Creating script for windows platforms
    [2010-11-23T16:00:52.797-08:00] [as] [NOTIFICATION] [] [oracle.as.install.engine] [tid: 15] [ecid: 0000Ilv3fUlCKu3_zlt1iW1Cv4^m000006,0] stdout=[[[
    C:\DOCUME~1\AVINAS~1.KRI\LOCALS~1\Temp>C:/Middleware1\Oracle_BI1\OPatch\opatch apply C:/Middleware1\Oracle_BI1\oneoffpatches\p9738850_111130_Generic.zip -oh C:/Middleware1\Oracle_BI1 -silent
    Invoking OPatch 11.1.0.8.0
    Oracle Home Path specified is relative path.
    OPatch cannot work with relative Oracle Home Paths, please specify the absolute path to Oracle Home.
    OPatch failed with error code = 1
    [2010-11-23T16:00:52.797-08:00] [as] [NOTIFICATION] [] [oracle.as.install.engine] [tid: 15] [ecid: 0000Ilv3fUlCKu3_zlt1iW1Cv4^m000006,0] stderr=[]
    [2010-11-23T16:00:52.797-08:00] [as] [NOTIFICATION] [] [oracle.as.install.bi] [tid: 15] [ecid: 0000Ilv3fUlCKu3_zlt1iW1Cv4^m000006,0] Patch tool message from Oracle Home: Applying patch C:/Middleware1\Oracle_BI1\oneoffpatches\p9738850_111130_Generic.zip and the Opatch applied sucessfully
    [2010-11-23T16:00:52.797-08:00] [as] [NOTIFICATION] [] [oracle.as.install.bi] [tid: 15] [ecid: 0000Ilv3fUlCKu3_zlt1iW1Cv4^m000006,0] Finished applying one-off patches for BI
    [2010-11-23T16:00:52.797-08:00] [as] [NOTIFICATION] [] [oracle.as.install.bi] [tid: 15] [ecid: 0000Ilv3fUlCKu3_zlt1iW1Cv4^m000006,0] Applying one-off patches for oracle_common
    [2010-11-23T16:00:52.797-08:00] [as] [NOTIFICATION] [] [oracle.as.install.bi] [tid: 15] [ecid: 0000Ilv3fUlCKu3_zlt1iW1Cv4^m000006,0] Applying one-off patches for Oracle Home Dir: C:/Middleware1\Oracle_BI1\..\oracle_common
    [2010-11-23T16:00:52.812-08:00] [as] [TRACE] [] [oracle.as.install.engine] [tid: 15] [ecid: 0000Ilv3fUlCKu3_zlt1iW1Cv4^m000006,0] [SRC_CLASS: oracle.as.install.asoneoff.OneoffTool] [SRC_METHOD: executeOneoffTool] Oneofff Folder is C:/Middleware1\Oracle_BI1\..\oracle_common\oneoffpatches
    [2010-11-23T16:00:52.812-08:00] [as] [TRACE] [] [oracle.as.install.engine] [tid: 15] [ecid: 0000Ilv3fUlCKu3_zlt1iW1Cv4^m000006,0] [SRC_CLASS: oracle.as.install.asoneoff.OneoffTool] [SRC_METHOD: executeOneoffTool] Creating script for windows platforms
    [2010-11-23T16:00:56.156-08:00] [as] [NOTIFICATION] [] [oracle.as.install.engine] [tid: 15] [ecid: 0000Ilv3fUlCKu3_zlt1iW1Cv4^m000006,0] stdout=[[[
    C:\DOCUME~1\AVINAS~1.KRI\LOCALS~1\Temp>C:/Middleware1\Oracle_BI1\..\oracle_common\OPatch\opatch apply C:/Middleware1\Oracle_BI1\..\oracle_common\oneoffpatches\9702106.zip -oh C:/Middleware1\Oracle_BI1\..\oracle_common -silent
    Invoking OPatch 11.1.0.8.0
    Oracle Home Path specified is relative path.
    OPatch cannot work with relative Oracle Home Paths, please specify the absolute path to Oracle Home.
    OPatch failed with error code = 1
    [2010-11-23T16:00:56.156-08:00] [as] [NOTIFICATION] [] [oracle.as.install.engine] [tid: 15] [ecid: 0000Ilv3fUlCKu3_zlt1iW1Cv4^m000006,0] stderr=[]
    [2010-11-23T16:00:57.687-08:00] [as] [NOTIFICATION] [] [oracle.as.install.engine] [tid: 15] [ecid: 0000Ilv3fUlCKu3_zlt1iW1Cv4^m000006,0] stdout=[[[
    C:\DOCUME~1\AVINAS~1.KRI\LOCALS~1\Temp>C:/Middleware1\Oracle_BI1\..\oracle_common\OPatch\opatch apply C:/Middleware1\Oracle_BI1\..\oracle_common\oneoffpatches\9808384.zip -oh C:/Middleware1\Oracle_BI1\..\oracle_common -silent
    Invoking OPatch 11.1.0.8.0
    Oracle Home Path specified is relative path.
    OPatch cannot work with relative Oracle Home Paths, please specify the absolute path to Oracle Home.
    OPatch failed with error code = 1
    [2010-11-23T16:00:57.687-08:00] [as] [NOTIFICATION] [] [oracle.as.install.engine] [tid: 15] [ecid: 0000Ilv3fUlCKu3_zlt1iW1Cv4^m000006,0] stderr=[]
    [2010-11-23T16:00:59.187-08:00] [as] [NOTIFICATION] [] [oracle.as.install.engine] [tid: 15] [ecid: 0000Ilv3fUlCKu3_zlt1iW1Cv4^m000006,0] stdout=[[[
    C:\DOCUME~1\AVINAS~1.KRI\LOCALS~1\Temp>C:/Middleware1\Oracle_BI1\..\oracle_common\OPatch\opatch apply C:/Middleware1\Oracle_BI1\..\oracle_common\oneoffpatches\p9824531_111130_Generic.zip -oh C:/Middleware1\Oracle_BI1\..\oracle_common -silent
    Invoking OPatch 11.1.0.8.0
    Oracle Home Path specified is relative path.
    OPatch cannot work with relative Oracle Home Paths, please specify the absolute path to Oracle Home.
    OPatch failed with error code = 1

    I am installing OBIEE 11g on a WIN XP VM - 32bit, 2gb RAM.Configuration process failed with the following msg.
    I set OPATCH path in the environment variables and continued with the installation and it still fails. Appreciate any/all suggestions.
    [2010-11-23T16:00:48.578-08:00] [as] [NOTIFICATION] [] [oracle.as.install.bi] [tid: 15] [ecid: 0000Ilv3fUlCKu3_zlt1iW1Cv4^m000006,0] Applying one-off patches for BI
    [2010-11-23T16:00:48.578-08:00] [as] [NOTIFICATION] [] [oracle.as.install.bi] [tid: 15] [ecid: 0000Ilv3fUlCKu3_zlt1iW1Cv4^m000006,0] Applying one-off patches for Product Oracle Home
    [2010-11-23T16:00:48.578-08:00] [as] [NOTIFICATION] [] [oracle.as.install.bi] [tid: 15] [ecid: 0000Ilv3fUlCKu3_zlt1iW1Cv4^m000006,0] Applying one-off patches for Oracle Home Dir: C:/Middleware1\Oracle_BI1
    [2010-11-23T16:00:48.594-08:00] [as] [TRACE] [] [oracle.as.install.engine] [tid: 15] [ecid: 0000Ilv3fUlCKu3_zlt1iW1Cv4^m000006,0] [SRC_CLASS: oracle.as.install.asoneoff.OneoffTool] [SRC_METHOD: executeOneoffTool] Oneofff Folder is C:/Middleware1\Oracle_BI1\oneoffpatches
    [2010-11-23T16:00:48.594-08:00] [as] [TRACE] [] [oracle.as.install.engine] [tid: 15] [ecid: 0000Ilv3fUlCKu3_zlt1iW1Cv4^m000006,0] [SRC_CLASS: oracle.as.install.asoneoff.OneoffTool] [SRC_METHOD: executeOneoffTool] Creating script for windows platforms
    [2010-11-23T16:00:52.797-08:00] [as] [NOTIFICATION] [] [oracle.as.install.engine] [tid: 15] [ecid: 0000Ilv3fUlCKu3_zlt1iW1Cv4^m000006,0] stdout=[[[
    C:\DOCUME~1\AVINAS~1.KRI\LOCALS~1\Temp>C:/Middleware1\Oracle_BI1\OPatch\opatch apply C:/Middleware1\Oracle_BI1\oneoffpatches\p9738850_111130_Generic.zip -oh C:/Middleware1\Oracle_BI1 -silent
    Invoking OPatch 11.1.0.8.0
    Oracle Home Path specified is relative path.
    OPatch cannot work with relative Oracle Home Paths, please specify the absolute path to Oracle Home.
    OPatch failed with error code = 1
    [2010-11-23T16:00:52.797-08:00] [as] [NOTIFICATION] [] [oracle.as.install.engine] [tid: 15] [ecid: 0000Ilv3fUlCKu3_zlt1iW1Cv4^m000006,0] stderr=[]
    [2010-11-23T16:00:52.797-08:00] [as] [NOTIFICATION] [] [oracle.as.install.bi] [tid: 15] [ecid: 0000Ilv3fUlCKu3_zlt1iW1Cv4^m000006,0] Patch tool message from Oracle Home: Applying patch C:/Middleware1\Oracle_BI1\oneoffpatches\p9738850_111130_Generic.zip and the Opatch applied sucessfully
    [2010-11-23T16:00:52.797-08:00] [as] [NOTIFICATION] [] [oracle.as.install.bi] [tid: 15] [ecid: 0000Ilv3fUlCKu3_zlt1iW1Cv4^m000006,0] Finished applying one-off patches for BI
    [2010-11-23T16:00:52.797-08:00] [as] [NOTIFICATION] [] [oracle.as.install.bi] [tid: 15] [ecid: 0000Ilv3fUlCKu3_zlt1iW1Cv4^m000006,0] Applying one-off patches for oracle_common
    [2010-11-23T16:00:52.797-08:00] [as] [NOTIFICATION] [] [oracle.as.install.bi] [tid: 15] [ecid: 0000Ilv3fUlCKu3_zlt1iW1Cv4^m000006,0] Applying one-off patches for Oracle Home Dir: C:/Middleware1\Oracle_BI1\..\oracle_common
    [2010-11-23T16:00:52.812-08:00] [as] [TRACE] [] [oracle.as.install.engine] [tid: 15] [ecid: 0000Ilv3fUlCKu3_zlt1iW1Cv4^m000006,0] [SRC_CLASS: oracle.as.install.asoneoff.OneoffTool] [SRC_METHOD: executeOneoffTool] Oneofff Folder is C:/Middleware1\Oracle_BI1\..\oracle_common\oneoffpatches
    [2010-11-23T16:00:52.812-08:00] [as] [TRACE] [] [oracle.as.install.engine] [tid: 15] [ecid: 0000Ilv3fUlCKu3_zlt1iW1Cv4^m000006,0] [SRC_CLASS: oracle.as.install.asoneoff.OneoffTool] [SRC_METHOD: executeOneoffTool] Creating script for windows platforms
    [2010-11-23T16:00:56.156-08:00] [as] [NOTIFICATION] [] [oracle.as.install.engine] [tid: 15] [ecid: 0000Ilv3fUlCKu3_zlt1iW1Cv4^m000006,0] stdout=[[[
    C:\DOCUME~1\AVINAS~1.KRI\LOCALS~1\Temp>C:/Middleware1\Oracle_BI1\..\oracle_common\OPatch\opatch apply C:/Middleware1\Oracle_BI1\..\oracle_common\oneoffpatches\9702106.zip -oh C:/Middleware1\Oracle_BI1\..\oracle_common -silent
    Invoking OPatch 11.1.0.8.0
    Oracle Home Path specified is relative path.
    OPatch cannot work with relative Oracle Home Paths, please specify the absolute path to Oracle Home.
    OPatch failed with error code = 1
    [2010-11-23T16:00:56.156-08:00] [as] [NOTIFICATION] [] [oracle.as.install.engine] [tid: 15] [ecid: 0000Ilv3fUlCKu3_zlt1iW1Cv4^m000006,0] stderr=[]
    [2010-11-23T16:00:57.687-08:00] [as] [NOTIFICATION] [] [oracle.as.install.engine] [tid: 15] [ecid: 0000Ilv3fUlCKu3_zlt1iW1Cv4^m000006,0] stdout=[[[
    C:\DOCUME~1\AVINAS~1.KRI\LOCALS~1\Temp>C:/Middleware1\Oracle_BI1\..\oracle_common\OPatch\opatch apply C:/Middleware1\Oracle_BI1\..\oracle_common\oneoffpatches\9808384.zip -oh C:/Middleware1\Oracle_BI1\..\oracle_common -silent
    Invoking OPatch 11.1.0.8.0
    Oracle Home Path specified is relative path.
    OPatch cannot work with relative Oracle Home Paths, please specify the absolute path to Oracle Home.
    OPatch failed with error code = 1
    [2010-11-23T16:00:57.687-08:00] [as] [NOTIFICATION] [] [oracle.as.install.engine] [tid: 15] [ecid: 0000Ilv3fUlCKu3_zlt1iW1Cv4^m000006,0] stderr=[]
    [2010-11-23T16:00:59.187-08:00] [as] [NOTIFICATION] [] [oracle.as.install.engine] [tid: 15] [ecid: 0000Ilv3fUlCKu3_zlt1iW1Cv4^m000006,0] stdout=[[[
    C:\DOCUME~1\AVINAS~1.KRI\LOCALS~1\Temp>C:/Middleware1\Oracle_BI1\..\oracle_common\OPatch\opatch apply C:/Middleware1\Oracle_BI1\..\oracle_common\oneoffpatches\p9824531_111130_Generic.zip -oh C:/Middleware1\Oracle_BI1\..\oracle_common -silent
    Invoking OPatch 11.1.0.8.0
    Oracle Home Path specified is relative path.
    OPatch cannot work with relative Oracle Home Paths, please specify the absolute path to Oracle Home.
    OPatch failed with error code = 1

  • OPatch failed with error code 74 while apply patch 10093985 - 10352313

    Hello,
    In OBIEE 11g, we had a problem that the map only appear if the language selected is English. To fix this error we need to install de pach "10352313" who fix the bug "10093985". I make all the steps that are in the manual. Download the last OPatch, install and configured. All the prerequisites are ok. When I went to the folder of the patch to run the comand "opatch apply -jre $ORACLE_HOME/jdk/jre" I had this error:
    $ opatch apply -jre $ORACLE_HOME/jdk/jre
    Invoking OPatch 11.2.0.1.4
    versão do Installer Temporário Oracle 11.2.0.1.4
    Copyright (c) 2010, Oracle Corporation. Todos os direitos reservados.
    Oracle Home : /oracle/Middleware/Oracle_BI1
    Inventário Central: /home/oracle/oraInventory
    de : /etc/oraInst.loc
    Versão de OPatch : 11.2.0.1.4
    Versão de OUI : 11.1.0.8.0
    Localização de OUI : /oracle/Middleware/Oracle_BI1//oui
    Localização do arquivo de log: /oracle/Middleware/Oracle_BI1/cfgtoollogs/opatch/opatch2011-02-15_07-08-59AM.log
    Patch history file: /oracle/Middleware/Oracle_BI1/cfgtoollogs/opatch/opatch_history.txt
    OPatch detects the Middleware Home as "/oracle/Middleware"
    ApplySession aplicando o patch temporário '10093985' para OH '/oracle/Middleware/Oracle_BI1'
    Running prerequisite checks...
    Prerequisite check "CheckPatchApplicableOnCurrentPlatform" failed.
    The details are:
    Patch ( 10093985 ) is not applicable on current platform.
    Platform ID needed is : 46
    Platform IDs supported by patch are: 226
    ApplySession falha durante as verificações de pré-requisitos: Prerequisite check "CheckPatchApplicableOnCurrentPlatform" failed.
    Sistema intacto; o OPatch não tentará restaurar o sistema
    OPatch failed with error code 74
    I saw that the Platform ID needed is : 46 but the Platform IDs supported by patch are: 226. But this patch is for linux x86-64, and I didn't understand why it doesn't work. The machine is a Intel(R) Xeon(R) CPU 3050 @ 2.13GHz. Can anyone give a hand? Thanks for the help.

    Hello again,
    To resolve this problem I did this steps:
    1)./opatch lsinventory -invPtrLoc /oracle/Middleware/Oracle_BI1/OPatch/oraInst.loc
    2)export PATH=$PATH:/oracle/Middleware/Oracle_BI1/OPatch/
    3)export ORACLE_HOME=/oracle/Middleware/Oracle_BI1
    4)export OPATCH_PLATFORM_ID=226
    5)opatch apply -jre $ORACLE_HOME/jdk/jre
    If anyone have any questions is just say!
    Ty

  • OPatch failed with error code 74 when applying patch PSE 13723798

    Hello all,
    tried to apply patch (PSE 13723798) to fix the no-scrollbar bug in Webcenter Portal Admin Console. But found this error during the patching process, as described below. Any solution for this?
    Running prerequisite checks. . .
    Patch 13723798: Optional component (s) missing : [ oracle.webcenter.framework, 11.1.1.4.0, higher version 11.1.1.5.0 found. ]
    Prerequisite check "CheckApplicable failed.
    The details are:
    Patch "13723798" is a no-op patch.
    ApplySession failed during the prerequisite checks: Prerequisite check "CheckApplicable" failed.
    System intact, OPatch will not attempt to restore the system
    OPatch failed with error code 74

    Okay, I'll try it on VM.
    Anyway, here is the result running command: opatch lsinventory
    [oracle@CDJWPS01 13723798]$ opatch lsinventory
    Invoking OPatch 11.1.0.8.3
    Oracle Interim Patch Installer version 11.1.0.8.3
    Copyright (c) 2010, Oracle Corporation. All rights reserved.
    Oracle Home : /opt/app/Oracle/Middleware/Oracle_WC1
    Central Inventory : /home/oracle/oraInventory
    from : /etc/oraInst.loc
    OPatch version : 11.1.0.8.3
    OUI version : 11.1.0.9.0
    OUI location : /opt/app/Oracle/Middleware/Oracle_WC1/oui
    Log file location : /opt/app/Oracle/Middleware/Oracle_WC1/cfgtoollogs/opatch/opatch2013-05-31_20-43-34PM.log
    Patch history file : /opt/app/Oracle/Middleware/Oracle_WC1/cfgtoollogs/opatch/opatch_history.txt
    OPatch detects the Middleware Home as "/opt/app/Oracle/Middleware"
    Lsinventory Output file location : /opt/app/Oracle/Middleware/Oracle_WC1/cfgtool
    logs/opatch/lsinv/lsinventory2013-05-31_20-43-34PM.txt
    Installed Top-level Products (1):
    Oracle WebCenter Suite 11g 11.1.1.5.0
    There are 1 products installed in this Oracle Home.
    There are no Interim patches installed in this Oracle Home.
    OPatch succeeded.

Maybe you are looking for