Pif: can't load 'registry.so'

Hi everybody:
I am trying to run a cgi program, in Tuxedo 8.0, as a WS client.
I have built the client with -w option, set WSNADDR and LD_LIBRARY_PATH
env variable on client machine to the WSL.
The error reported by the ULOG file is
GP_CAT:1345: ERROR: pif: can't load 'registry.so'
The resolution to this error suggests to check the ImagePath or shared
library path.
What has gone wrong? Am I missing something.
Thanks.
[jmurua.vcf]

Hi everybody:
I am trying to run a cgi program, in Tuxedo 8.0, as a WS client.
I have built the client with -w option, set WSNADDR and LD_LIBRARY_PATH
env variable on client machine to the WSL.
The error reported by the ULOG file is
GP_CAT:1345: ERROR: pif: can't load 'registry.so'
The resolution to this error suggests to check the ImagePath or shared
library path.
What has gone wrong? Am I missing something.
Thanks.
[jmurua.vcf]

Similar Messages

  • ERROR: pif: can't load 'registry.sl'

    Hi all,
    I am trying to have a oracle server with tux 9.0 when I try to boot the server it throws a error and TMS_ORA fails to boot up and so the servers too.
    There was no errors when I was building TMS_ORA and when I try to boot I see some errors in the ULOG and the TMS_ORA and by servers failed to boot.
    The error I got in ULOG is -
    125510.lchp2!TMS_ORA.19078.1.0: GP_CAT:1345: ERROR: pif: can't load 'registry.sl
    125510.lchp2!TMS_ORA.19078.1.0: LIBSEC_CAT:22: ERROR: Unable to realize the ec
    sec_map_proof interface implementation native/security/map_proof. Error code (-5
    000)
    125510.lchp2!TMS_ORA.19078.1.0: LIBTUX_CAT:6275: ERROR: Unable to initialize pub
    lic key subsystem (-3003)
    125510.lchp2!TMS_ORA.19078.1.0: LIBTUX_CAT:248: ERROR: System init function fail
    ed, Uunixerr =
    125510.lchp2!TMS_ORA.19078.1.0: LIBTUX_CAT:268: ERROR: Failed to stop serving
    125510.lchp2!TMS_ORA.19078.1.0: LIBTUX_CAT:6207: WARN: Destruction of public-key
    subsystem failed
    125510.lchp2!tmboot.19064.1.-2: CMDTUX_CAT:825: ERROR: Process TMS_ORA at tma81
    failed with /T tperrno (TPENOENT - no entry found)
    Please help me in fixing this error.
    Thanks in advance.
    Regards,
    Jerry

    The -5000 error code for LIBSEC_CAT:22 indicates that the system could not
    find the dynamic library registry.sl. You should verify that SHLIB_PATH,
    LD_LIBRARY_PATH, and TUXDIR are correctly set, that $TUXDIR/lib/registry.sl
    exists, and that TMS_ORA was built using the buildtms command and not by
    manually specifying a list of Tuxedo and Oracle libraries.
    <caring friend> wrote in message news:[email protected]..
    Hi all,
    I am trying to have a oracle server with tux 9.0 when I try to boot theserver it throws a error and TMS_ORA fails to boot up and so the servers
    too.
    >
    There was no errors when I was building TMS_ORA and when I try to boot Isee some errors in the ULOG and the TMS_ORA and by servers failed to boot.
    >
    The error I got in ULOG is -
    125510.lchp2!TMS_ORA.19078.1.0: GP_CAT:1345: ERROR: pif: can't load'registry.sl
    125510.lchp2!TMS_ORA.19078.1.0: LIBSEC_CAT:22: ERROR: Unable to realizethe ec
    sec_map_proof interface implementation native/security/map_proof. Errorcode (-5
    000)
    125510.lchp2!TMS_ORA.19078.1.0: LIBTUX_CAT:6275: ERROR: Unable toinitialize pub
    lic key subsystem (-3003)
    125510.lchp2!TMS_ORA.19078.1.0: LIBTUX_CAT:248: ERROR: System initfunction fail
    ed, Uunixerr =
    125510.lchp2!TMS_ORA.19078.1.0: LIBTUX_CAT:268: ERROR: Failed to stopserving
    125510.lchp2!TMS_ORA.19078.1.0: LIBTUX_CAT:6207: WARN: Destruction ofpublic-key
    subsystem failed
    125510.lchp2!tmboot.19064.1.-2: CMDTUX_CAT:825: ERROR: Process TMS_ORA attma81
    failed with /T tperrno (TPENOENT - no entry found)
    Please help me in fixing this error.
    Thanks in advance.
    Regards,
    Jerry

  • Tux 9.0 GP_CAT:1345: ERROR: pif: can't load 'registry.sl' on HP-UX PA-RISC

    I don't know how to fix this problem.
    Can you help me?
    Tuxedo9.0
    HP-UX PA-RISC 32bit

    I'm sure that all the enviroiments were set.
    tux.env:
    TUXDIR=/home/tux/tuxedo9.0; export TUXDIR
    PATH=$TUXDIR/bin:$PATH; export PATH
    COBCPY=:$TUXDIR/cobinclude; export COBCPY
    COBOPT="-C ANS85 -C ALIGN=8 -C NOIBMCOMP -C TRUNC=ANSI -C OSEXT=cbl"; export COB
    OPT
    SHLIB_PATH=$TUXDIR/lib:$SHLIB_PATH; export SHLIB_PATH
    LIBPATH=$TUXDIR/lib:$LIBPATH; export LIBPATH
    LD_LIBRARY_PATH=$TUXDIR/lib:$LD_LIBRARY_PATH; export LD_LIBRARY_PATH
    WEBJAVADIR=$TUXDIR/udataobj/webgui/java
    cd /home/tux/tuxedo9.0/samples/atmi/simpapp
    export TUXCONFIG=/home/tux/tuxedo9.0/samples/atmi/simpapp/tuxconfig
    tmloadcf ....
    tmadmin
    tmadmin - Copyright (c) 1996-1999 BEA Systems, Inc.
    Portions * Copyright 1986-1997 RSA Data Security, Inc.
    All Rights Reserved.
    Distributed under license by BEA Systems, Inc.
    Tuxedo is a registered trademark.
    Unresolved symbol: pthread_create (code) from /home/tux/tuxedo9.0/lib/libengine.sl
    TMADMIN_CAT:1607: ERROR: Unable to initialize public key subsystem
    ULOG
    104744.server1!tmadmin.8488.1.-2: 12-02-2005: Tuxedo Version 9.0, 32-bit
    104744.server1!tmadmin.8488.1.-2: GP_CAT:1345: ERROR: pif: can't load 'registry.
    sl'
    104744.server1!tmadmin.8488.1.-2: LIBSEC_CAT:22: ERROR: Unable to realize the _e
    c_sec_map_proof interface implementation native/security/map_proof. Error code (
    -5000)
    104744.server1!tmadmin.8488.1.-2: LIBTUX_CAT:6275: ERROR: Unable to initialize p
    ublic key subsystem (-3003)
    104744.server1!tmadmin.8488.1.-2: LIBTUX_CAT:6204: ERROR: Could not initialize p
    ublic key subsystem

  • Tuxedo 8.1 GP_CAT:1345: ERROR: pif: can't load 'registry.sl' HP-UX PA-RISC

    I have developed an NSM Agent extracting data from Tuxedo, Tuxedo starts fine, but when I run my agent, the ULOG is updated with the following statement:
    GP_CAT:1345: ERROR: pif: can't load 'registry.sl'
    I have checked all the system variables
    APPDIR=/tuxstart/domains/adminTng
    FIELDTBLS32=Usysfl32,tpadm
    FLDTBLDIR32=/opt/bea/tuxedo8.1/udataobj
    LD_LIBRARY_PATH=/opt/bea/tuxedo8.1/lib
    LIBPATH=/opt/bea/tuxedo8.1/lib
    QMCONFIG=/tuxstart/domains/adminTng/QSDEVICE
    SHLIB_PATH=/opt/bea/tuxedo8.1/lib:/usr/lib
    TUXCONFIG=/tuxstart/domains/adminTng/tuxconfig
    TUXDIR=/opt/bea/tuxedo8.1
    ldd /opt/bea/tuxedo8.1/lib/registry.sl
    return
    /home2/beadev/PEG/p/bld/gp/libgp/libengine.sl => /opt/bea/tuxedo8.1/lib/libengine.sl
    /usr/lib/libpthread.1 => /usr/lib/libpthread.1
    Can anybody please assist?
    Thanks

    This problem could be cured by "chatr +s enable binary" option on hp-ux. The
    reason is "+s" option for the linker enable the binary dyanmic library
    searching for dlopen and the library directory is specified by
    LD_LIBRARY_PATH or SHLIB_PATH. buildclient will add the option
    automatically.
    Wayne
    <Dirk Kruger> wrote in message news:[email protected]...
    I used the following command to build my agent:
    gcc -I/opt/bea/tuxedo8.1/include -ocaitux -L/opt/bea/tuxedo8.1/lib -L/opt/CA/UnicenterNSM/atech/factory/lib -D_
    _BIGMSGQUEUE
    _ENABLEDcaitux.c -ltux -lbuft -lfml -lfml32 -lengine -lpthread -lcl -lnsl -lfactor
    y
    >
    ldd <agentname>
    =>
    /usr/lib/libc.2 => /usr/lib/libc.2
    /usr/lib/libdld.2 => /usr/lib/libdld.2
    /usr/lib/libc.2 => /usr/lib/libc.2
    /opt/CA/UnicenterNSM/atech/factory/lib/libfactory.sl =>/opt/CA/UnicenterNSM/atech/factory/lib/libfactory.sl
    /usr/lib/libm.2 => /usr/lib/libm.2
    /usr/lib/libc.2 => /usr/lib/libc.2
    /usr/lib/libpthread.1 => /usr/lib/libpthread.1
    /usr/lib/libnsl.1 => /usr/lib/libnsl.1
    /usr/lib/libxti.2 => /usr/lib/libxti.2
    /usr/lib/libcl.2 => /usr/lib/libcl.2
    /usr/lib/libisamstub.1 => /usr/lib/libisamstub.1
    /usr/lib/libdld.2 => /usr/lib/libdld.2
    /usr/lib/libpthread.1 => /usr/lib/libpthread.1
    /opt/bea/tuxedo8.1/lib/libengine.sl =>/opt/bea/tuxedo8.1/lib/libengine.sl
    /opt/bea/tuxedo8.1/lib/libfml32.sl =>/opt/bea/tuxedo8.1/lib/libfml32.sl
    /home2/beadev/r81/LC/bld/lib/libengine.sl =>/opt/bea/tuxedo8.1/lib/libengine.sl
    /home2/beadev/r81/LC/bld/lib/libgiconv.sl =>/opt/bea/tuxedo8.1/lib/libgiconv.sl
    /home2/beadev/r81/LC/bld/lib/libengine.sl =>/opt/bea/tuxedo8.1/lib/libengine.sl
    /opt/bea/tuxedo8.1/lib/libfml.sl =>/opt/bea/tuxedo8.1/lib/libfml.sl
    /home2/beadev/r81/LC/bld/lib/libengine.sl =>/opt/bea/tuxedo8.1/lib/libengine.sl
    /opt/bea/tuxedo8.1/lib/libbuft.sl =>/opt/bea/tuxedo8.1/lib/libbuft.sl
    /opt/bea/tuxedo8.1/lib/libtux.sl =>/opt/bea/tuxedo8.1/lib/libtux.sl
    /home2/beadev/r81/LC/bld/lib/libusort.sl =>/opt/bea/tuxedo8.1/lib/libusort.sl
    /home2/beadev/PEG/p/bld/lib/libengine.sl =>/opt/bea/tuxedo8.1/lib/libengine.sl
    /home2/beadev/r81/LC/bld/lib/libfml32.sl =>/opt/bea/tuxedo8.1/lib/libfml32.sl
    /home2/beadev/r81/LC/bld/lib/libfml.sl =>/opt/bea/tuxedo8.1/lib/libfml.sl
    /home2/beadev/r81/LC/bld/lib/libgiconv.sl =>/opt/bea/tuxedo8.1/lib/libgiconv.sl
    /home2/beadev/r81/LC/bld/lib/libbuft.sl =>/opt/bea/tuxedo8.1/lib/libbuft.sl
    /home2/beadev/r81/LC/bld/lib/libengine.sl =>/opt/bea/tuxedo8.1/lib/libengine.sl
    >
    file <agentname>
    caitux: PA-RISC1.1 shared executable dynamically linked -notstripped
    >
    ldd libengine.sl returns nothing

  • Can't load 'registry.so' problem

    Hi everybody:
    I have the next problem.
    [jmurua.vcf]

    The -5000 error code for LIBSEC_CAT:22 indicates that the system could not
    find the dynamic library registry.sl. You should verify that SHLIB_PATH,
    LD_LIBRARY_PATH, and TUXDIR are correctly set, that $TUXDIR/lib/registry.sl
    exists, and that TMS_ORA was built using the buildtms command and not by
    manually specifying a list of Tuxedo and Oracle libraries.
    <caring friend> wrote in message news:[email protected]..
    Hi all,
    I am trying to have a oracle server with tux 9.0 when I try to boot theserver it throws a error and TMS_ORA fails to boot up and so the servers
    too.
    >
    There was no errors when I was building TMS_ORA and when I try to boot Isee some errors in the ULOG and the TMS_ORA and by servers failed to boot.
    >
    The error I got in ULOG is -
    125510.lchp2!TMS_ORA.19078.1.0: GP_CAT:1345: ERROR: pif: can't load'registry.sl
    125510.lchp2!TMS_ORA.19078.1.0: LIBSEC_CAT:22: ERROR: Unable to realizethe ec
    sec_map_proof interface implementation native/security/map_proof. Errorcode (-5
    000)
    125510.lchp2!TMS_ORA.19078.1.0: LIBTUX_CAT:6275: ERROR: Unable toinitialize pub
    lic key subsystem (-3003)
    125510.lchp2!TMS_ORA.19078.1.0: LIBTUX_CAT:248: ERROR: System initfunction fail
    ed, Uunixerr =
    125510.lchp2!TMS_ORA.19078.1.0: LIBTUX_CAT:268: ERROR: Failed to stopserving
    125510.lchp2!TMS_ORA.19078.1.0: LIBTUX_CAT:6207: WARN: Destruction ofpublic-key
    subsystem failed
    125510.lchp2!tmboot.19064.1.-2: CMDTUX_CAT:825: ERROR: Process TMS_ORA attma81
    failed with /T tperrno (TPENOENT - no entry found)
    Please help me in fixing this error.
    Thanks in advance.
    Regards,
    Jerry

  • I am having a issue installing Adobe Acrobat XI.  I am running Windows 8.1. When  go to install it gets an error.  The error is with transform in registry and will not install product. I am looking at how I can fix this registry problem.

    I am having a issue installing Adobe Acrobat XI.  I am running Windows 8.1. When  go to install it gets an error.  The error is with transform in registry and will not install product. I am looking at how I can fix this registry problem.
    I have tried to uninstall all Abode Acrobat installations but one file remains and refuses to be uninstalled. It gives me this error : Error applying Transforms . Verify that specified paths are valid. It was installed on Sept 18 2014.  I have downloaded a Transform update but it tells I do not have a Adobe Acrobat product installed. 

    Hi all,
    Sylonious, did you manage to sort this problem out? I have been experiencing similar problems. I think my problem was because I had many different versions of JDKs. I have done a complete re-install. I would be really grateful to you (and anyone else) for help with this problem.
    I have re-installed JSDK1.4.2_03, set the "path" variable to "C:\JSDK1.4.2_03".
    When I compile using "javac" I get an error saying "javac" is not recognised.
    When I compile using "C:\j2sdk1.4.2_03\bin\javac Freq.java" no error is thrown.
    Every time I try to run a java file, I always get the NoClassDefFound error. When run with the -verbose option, files are loaded from C:\Program Files\Java\j2re1.4.2_03\bin - is this correct?
    I have removed all previous references to java in the registry editor.
    Please help !
    Regards,
    Vipul

  • Can not load the Sonivox 250 Meg GM Wave table into soundfonts manag

    I have an Creative Xi-FI platnium and no matter what I try I can NOT load this sound font.. I can load it into Vienna soundfont manager.. I have tried adjusting the cache level (I have 2 GB of RAM BTW in my system), I keep getting an error can not load. Please HELP!!! I even tried the registry edit.. It did not help one bit.. appears its an issue with the program! What should I do?

    hmmm for some reason when you call your EJB and it throws an exception, the JTA transaction is marked as rollbakc so the BPEL EM engine fails to save the instance.
    Could you please provide us some additional pieces of information:
    obversion.bat.
    The exact exception that your EJB throws.
    JTA configuration of your bean
    Have you looked at the BankTransfer demo?
    Edwin

  • How can I load my data faster?  Is there a SQL solution instead of PL/SQL?

    11.2.0.2
    Solaris 10 sparc
    I need to backfill invoices from a customer. The raw data has 3.1 million records. I have used pl/sql to load these invoices into our system (dev), however, our issue is the amount of time it's taking to run the load - effectively running at approx 4 hours. (Raw data has been loaded into a staging table)
    My research keeps coming back to one concept: sql is faster than pl/sql. Where I'm stuck is the need to programmatically load the data. The invoice table has a sequence on it (primary key = invoice_id)...the invoice_header and invoice_address tables use the invoice_id as a foreign key. So my script takes advantage of knowing the primary key and uses that on the subsequent inserts to the subordinate invoice_header and invoice_address tables, respectively.
    My script is below. What I'm asking is if there are other ideas on the quickest way to load this data...what am I not considering? I have to load the data in dev, qa, then production so the sequences and such change between the environments. I've dummied down the code to protect the customer; syntax and correctness of the code posted here (on the forum) is moot...it's only posted to give the framework for what I currently have.
    Any advice would be greatly appreciated; how can I load the data faster knowing that I need to know sequence values for inserts into other tables?
    DECLARE
       v_inv_id        invoice.invoice_id%TYPE;
       v_inv_addr_id    invoice_address.invoice_address_id%TYPE;
       errString        invoice_errors.sqlerrmsg%TYPE;
       v_guid          VARCHAR2 (128);
       v_str           VARCHAR2 (256);
       v_err_loc       NUMBER;
       v_count         NUMBER := 0;
       l_start_time    NUMBER;
       TYPE rec IS RECORD
          BILLING_TYPE             VARCHAR2 (256),
          CURRENCY                 VARCHAR2 (256),
          BILLING_DOCUMENT         VARCHAR2 (256),
          DROP_SHIP_IND            VARCHAR2 (256),
          TO_PO_NUMBER        VARCHAR2 (256),
          TO_PURCHASE_ORDER   VARCHAR2 (256),
          DUE_DATE                 DATE,
          BILL_DATE                DATE,
          TAX_AMT                  VARCHAR2 (256),
          PAYER_CUSTOMER           VARCHAR2 (256),
          TO_ACCT_NO          VARCHAR2 (256),
          BILL_TO_ACCT_NO          VARCHAR2 (256),
          NET_AMOUNT               VARCHAR2 (256),
          NET_AMOUNT_CURRENCY      VARCHAR2 (256),
          ORDER_DT             DATE,
          TO_CUSTOMER         VARCHAR2 (256),
          TO_NAME             VARCHAR2 (256),
          FRANCHISES       VARCHAR2 (4000),
          UPDT_DT                  DATE
       TYPE tab IS TABLE OF rec
                      INDEX BY BINARY_INTEGER;
       pltab           tab;
       CURSOR c
       IS
          SELECT   billing_type,
                   currency,
                   billing_document,
                   drop_ship_ind,
                   to_po_number,
                   to_purchase_order,
                   due_date,
                   bill_date,
                   tax_amt,
                   payer_customer,
                   to_acct_no,
                   bill_to_acct_no,
                   net_amount,
                   net_amount_currency,
                   order_dt,
                   to_customer,
                   to_name,
                   franchises,
                   updt_dt
            FROM   BACKFILL_INVOICES;
    BEGIN
       l_start_time := DBMS_UTILITY.get_time;
       OPEN c;
       LOOP
          FETCH c
          BULK COLLECT INTO pltab
          LIMIT 1000;
          v_err_loc := 1;
          FOR i IN 1 .. pltab.COUNT
          LOOP
             BEGIN
                v_inv_id :=  SEQ_INVOICE_ID.NEXTVAL;
                v_guid := 'import' || TO_CHAR (CURRENT_TIMESTAMP, 'hhmissff');
                v_str := str_parser (pltab (i).FRANCHISES); --function to string parse  - this could be done in advance, yes.
                v_err_loc := 2;
                v_count := v_count + 1;
                INSERT INTO    invoice nologging
                     VALUES   (v_inv_id,
                               pltab (i).BILL_DATE,
                               v_guid,
                               '111111',
                               'NONE',
                               TO_TIMESTAMP (pltab (i).BILL_DATE),
                               TO_TIMESTAMP (pltab (i).UPDT_DT),
                               'READ',
                               'PAPER',
                               pltab (i).payer_customer,
                               v_str,
                               '111111');
                v_err_loc := 3;
                INSERT INTO    invoice_header nologging
                     VALUES   (v_inv_id,
                               TRIM (LEADING 0 FROM pltab (i).billing_document), --invoice_num
                               NULL,
                               pltab (i).BILL_DATE,                 --invoice_date
                               pltab (i).TO_PO_NUMBER,
                               NULL,
                               pltab (i).net_amount,
                               NULL,
                               pltab (i).tax_amt,
                               NULL,
                               NULL,
                               pltab (i).due_date,
                               NULL,
                               NULL,
                               NULL,
                               NULL,
                               NULL,
                               TO_TIMESTAMP (SYSDATE),
                               TO_TIMESTAMP (SYSDATE),
                               PLTAB (I).NET_AMOUNT_CURRENCY,
                               (SELECT   i.bc_value
                                  FROM   invsvc_owner.billing_codes i
                                 WHERE   i.bc_name = PLTAB (I).BILLING_TYPE),
                               PLTAB (I).BILL_DATE);
                v_err_loc := 4;
                INSERT INTO    invoice_address nologging
                     VALUES   (invsvc_owner.SEQ_INVOICE_ADDRESS_ID.NEXTVAL,
                               v_inv_id,
                               'BLAH INITIAL',
                               pltab (i).BILL_DATE,
                               NULL,
                               pltab (i).to_acct_no,
                               NULL,
                               NULL,
                               NULL,
                               NULL,
                               NULL,
                               NULL,
                               NULL,
                               SYSTIMESTAMP,
                               NULL);
                v_err_loc := 5;
                INSERT INTO    invoice_address nologging
                     VALUES   ( SEQ_INVOICE_ADDRESS_ID.NEXTVAL,
                               v_inv_id,
                               'BLAH',
                               pltab (i).BILL_DATE,
                               NULL,
                               pltab (i).TO_ACCT_NO,
                               NULL,
                               NULL,
                               NULL,
                               NULL,
                               NULL,
                               NULL,
                               NULL,
                               SYSTIMESTAMP,
                               NULL);
                v_err_loc := 6;
                INSERT INTO    invoice_address nologging
                     VALUES   ( SEQ_INVOICE_ADDRESS_ID.NEXTVAL,
                               v_inv_id,
                               'BLAH2',
                               pltab (i).BILL_DATE,
                               NULL,
                               pltab (i).TO_CUSTOMER,
                               pltab (i).to_name,
                               NULL,
                               NULL,
                               NULL,
                               NULL,
                               NULL,
                               NULL,
                               SYSTIMESTAMP,
                               NULL);
                v_err_loc := 7;
                INSERT INTO    invoice_address nologging
                     VALUES   ( SEQ_INVOICE_ADDRESS_ID.NEXTVAL,
                               v_inv_id,
                               'BLAH3',
                               pltab (i).BILL_DATE,
                               NULL,
                               'SOME PROPRIETARY DATA',
                               NULL,
                               NULL,
                               NULL,
                               NULL,
                               NULL,
                               NULL,
                               NULL,
                               SYSTIMESTAMP,
                               NULL);
                v_err_loc := 8;
                INSERT
                  INTO    invoice_event nologging (id,
                                                             eid,
                                                             root_eid,
                                                             invoice_number,
                                                             event_type,
                                                             event_email_address,
                                                             event_ts)
                VALUES   ( SEQ_INVOICE_EVENT_ID.NEXTVAL,
                          '111111',
                          '222222',
                          TRIM (LEADING 0 FROM pltab (i).billing_document),
                          'READ',
                          'some_user@some_company.com',
                          SYSTIMESTAMP);
                v_err_loc := 9;
                INSERT INTO   backfill_invoice_mapping
                     VALUES   (v_inv_id,
                               v_guid,
                               pltab (i).billing_document,
                               pltab (i).payer_customer,
                               pltab (i).net_amount);
                IF v_count = 10000
                THEN
                   COMMIT;              
                END IF;
             EXCEPTION
                WHEN OTHERS
                THEN
                   errString := SQLERRM;
                   INSERT INTO   backfill_invoice_errors
                        VALUES   (
                                    pltab (i).billing_document,
                                    pltab (i).payer_customer,
                                    errString || ' ' || v_err_loc
                   COMMIT;
             END;
          END LOOP;
          v_err_loc := 10;
          INSERT INTO   backfill_invoice_timing
               VALUES   (
                           ROUND ( (DBMS_UTILITY.get_time - l_start_time) / 100,
                                  2)
                           || ' seconds.',
                           (SELECT   COUNT (1)
                              FROM   backfill_invoice_mapping),
                           (SELECT   COUNT (1)
                              FROM   backfill_invoice_errors),
                           SYSDATE
          COMMIT;
          EXIT WHEN c%NOTFOUND;
       END LOOP;
       COMMIT;
    EXCEPTION
       WHEN OTHERS
       THEN
          errString := SQLERRM;
          INSERT INTO   backfill_invoice_errors
               VALUES   (NULL, NULL, errString || ' ' || v_err_loc);
          COMMIT;
    END;

    Hello
    You could use insert all in your case and make use of sequence.NEXTVAL and sequence.CURRVAL like so (excuse any typos - I can't test without table definitions). I've done the first 2 tables, so it's just a matter of adding the rest in...
    INSERT ALL
         INTO      invoice nologging
                    VALUES   (     SEQ_INVOICE_ID.NEXTVAL,
                                   BILL_DATE,
                                    my_guid,
                                    '111111',
                                    'NONE',
                                    CAST(BILL_DATE AS TIMESTAMP),
                                    CAST(UPDT_DT AS TIMESTAMP),
                                    'READ',
                                    'PAPER',
                                    payer_customer,
                                    parsed_francises,
                                    '111111'
         INTO      invoice_header
              VALUES   (      SEQ_INVOICE_ID.CURRVAL,
                        TRIM (LEADING 0 FROM billing_document), --invoice_num
                        NULL,
                        BILL_DATE,                 --invoice_date
                        TO_PO_NUMBER,
                        NULL,
                        net_amount,
                        NULL,
                        tax_amt,
                        NULL,
                        NULL,
                        due_date,
                        NULL,
                        NULL,
                        NULL,
                        NULL,
                        NULL,
                        SYSTIMESTAMP,
                        SYSTIMESTAMP,
                        NET_AMOUNT_CURRENCY,
                        bc_value,
                        BILL_DATE)
         SELECT 
         src.billing_type,
              src.currency,
              src.billing_document,
              src.drop_ship_ind,
              src.to_po_number,
              src.to_purchase_order,
              src.due_date,
              src.bill_date,
              src.tax_amt,
              src.payer_customer,
              src.to_acct_no,
              src.bill_to_acct_no,
              src.net_amount,
              src.net_amount_currency,
              src.order_dt,
              src.to_customer,
              src.to_name,
              src.franchises,
              src.updt_dt,
              str_parser (src.FRANCHISES) parsed_franchises,
              'import' || TO_CHAR (CURRENT_TIMESTAMP, 'hhmissff') my_guid,
              i.bc_value
            FROM        BACKFILL_INVOICES src,
                 invsvc_owner.billing_codes i
         WHERE   i.bc_name = src.BILLING_TYPE;Some things to note
    1. Don't commit in a loop - you only add to the run time and load on the box ultimately reducing scalability and removing transactional integrity. Commit once at the end of the job.
    2. Make sure you specify the list of columns you are inserting into as well as the values or columns you are selecting. This is good practice as it protects your code from compilation issues in the event of new columns being added to tables. Also it makes it very clear what you are inserting where.
    3. If you use WHEN OTHERS THEN... to log something, make sure you either rollback or raise the exception. What you have done in your code is say - I don't care what the problem is, just commit whatever has been done. This is not good practice.
    HTH
    David
    Edited by: Bravid on Oct 13, 2011 4:35 PM

  • Can we load data using .xls in user define format(without using default template)

    Hi All,
    I'm new bee to FDM. Part of HFM support i use FDM to load flatfile data. Just has a bit more knowledge than end user.
    Requirement is that i need to load data from MS excel to Planning application via FDM.
    Previously application is in Excel(Macro driven) and upstream(data) is also in Excel(multi tab).
    As of my knowledge data can be loaded from .csv file(Excel save as CSV) with single tab.
    Could you please let me know possibilities to load data from .xls(.xlsx) to FDM.
    Thanks in advance.

    If you want to load data using Excel, utilising FDM's out-of-the-box functionality you will have to use one of the templates supplied i.e. Excel Trial Balance or Excel Multi-load template.

  • Can we load data for all levels in ASO?

    Hi All,
    Im creating cube in ASO
    can i load data for all levels in ASO
    we can load data for all Levels In BSO but in ASO i need confirmation????
    and one more
    wat is the consider all levels option in ASO is used for ? wat is the purpose?
    Can any one help ,it would be appriciate.
    Thanks

    In an ASO cube you can only load to level zero
    The consider all levels if used for aggregation hints. It allows you to tell the aggregation optimizer to look at all levels when deciding if aggregation needs to be done on the dimension

  • Can we load data for all levels in ASO cube

    Hi All,
    Can we load data for all levels of members in ASO cube in 9.3.1.
    Regards

    Yes you can load data for all levels in an ASO cube in any version HOWEVER, none of the upper level data in any cube will be there when you look for it. You will get a warning message in the load because ASO cubes don't store data at upper levels. It is the same as loading data into dynamic calc members in BSO cube. It will do the load without compalints, but there will be no data there (At least you get the warning in ASO)

  • Can I load an existing site in iWeb?

    I have a website that I put together with an old program I can't use in OS Leopard (wouldn't want to anyway). I want to start using iWeb to work on my web pages. Can I load the pages of my site into the iWeb program to edit? How do I do that? Thanks.

    No, iWeb can't open, edit, or import an existing site.

  • HT4623 Please help I I have updated pc win 8, update itunes and i can open and access all in icould but my reminders will not load error message can't load reminders

    I can not open my reminders in icloud, error message can't load reminders.  Have hp win 8 and all has been fine until today for over a year. win updates are done and itune updates done, what should I do?

    Try this  - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.) No data/files will be erased.
     Cheers, Tom

  • I am running 10.5.8, and just updated my java to java 5 update10. Now my firefox is missing the Java plugin, and I can't load any Java applet at all. When I try it with Safari, it hangs when certain Java applet loads. HELP!!!

    Suddenly my Java plugin is missing and i can't load any Java with Firefox at all, even though i have it enabled in the browser! i've tried loading in java embedding plugin, but it doesn't work. what should i do???

    It's not in Tools> Add-ons >plugins?  Should be Java Plug-in 2 for NPAPI browsers 13.5.0. What are you seeing there? I don't think it's called the embedding plugin any longer.
    Might try getting the Firefox 5 standalone application. Trash the current one and replace it. Doing this won't affect your Profile or any settings.
    http://www.mozilla.com/en-US/firefox/all.html
    If it's enabled, how can it be missing?
    If this doesn't work, ask here. No need to register. Make sure you put (Mac) in the title.
    http://forums.mozillazine.org/viewforum.php?f=38
    Message was edited by: WZZZ
    EDIT. Oops, may be different for 10.5.8. Was thinking recent Java update for 10.6. But try installing a new app anyway. In the past, this got me the latest Java plugin.

  • When I try to open contacts from the icloud control panel on my windows 7 PC, I get an error message: can't load contacts. There was a problem loading the application.

    When I try to open contacts from the icloud control panel on my windows 7 PC, I get an error message: can't load contacts. There was a problem loading the application.

Maybe you are looking for