DBMS_BLOB: ORA-22297: warning: Open LOBs exist at transaction commit time

Hello
I've written this to get to understand BLOBS. I had intended it to take a VARCHAR2 string, convert it to RAW and write the contents to a blob.
However, DBMS_LOB.Write()) returns the error message "ORA-22297: warning: Open LOBs exist at transaction commit time". Can somebody put me right? Just why is this being returned?
Thanks in advance, Aidan
INSERT INTO BINARY (PK ,
BLOBDATA )
VALUES (1 ,
Empty_Blob());                         
/* Lock the row. */
SELECT BLOBDATADATA INTO V_Blob FROM BINARY WHERE PK = 1 FOR UPDATE;                                             
/* Open the Lob. */
DBMS_LOB.OPEN (V_Blob, DBMS_LOB.LOB_READWRITE);
DBMS_LOB.WRITE (V_Blob ,
V_Length ,
     V_Offset ,
UTL_RAW.CAST_TO_RAW (p_Data));
DBMS_LOB.CLOSE (V_Blob);

I get the abocve error when running using the GUI
when running from command prompt i get the following
begin
   -- Remove Application
wwv_flow_api.remove_flow(nvl(wwv_flow_application_install.get_application_id,99000));
end;
ORA-20001: Package variable g_security_group_id must be set.
ORA-06512: at "APEX_040200.WWV_FLOW_API", line 998
ORA-06512: at "APEX_040200.WWV_FLOW_API", line 1569
ORA-06512: at line 5
I am assuming there are some permissions problems
I have DBA role in Database
We are on databasae > 11 (11.0.2 i think)
My database DBA installed 4.2.2 but does know APEX real well he installed becasue he has SYS password which I am not privy to.
I was able to install Pacakaged appliaction.
Kind of Lost from Here.......
I am assuming i have a permissions error
I have DBA role in Database

Similar Messages

  • Routine AFPPRD has encountered a fatal error. ORA-22297: warning: Open LOBs

    Hi,
    Sometime we are getting this issue ORA-22297: warning: Open LOBs .Could you please help us on that .We are not able to get the report due to that issue.
    Please suggest.
    Regards
    Das

    The [url http://download.oracle.com/docs/cd/E11882_01/server.112/e17766/e19999.htm#sthref6563]docs state:
    >
    ORA-22297: warning: Open LOBs exist at transaction commit time
    Cause: An attempt was made to commit a transaction with open LOBs at transaction commit time.
    Action: This is just a warning. The transaction was commited successfully, but any domain or functional indexes on the open LOBs were not updated. You may want to rebuild those indexes.
    >
    I guess you have to do one of two things:
    Find the piece of code that did not close a LOB properly and fix it.
    Or alternatively catch the ORA-22297 exception in an exception handler and choose to ignore it so the rest of your code can continue.

  • Importing a APEX application error ORA-22297: warning

    When attempting to import application fronm 4.1 to 4.2.2 i get the following error
    Error processing request.
        ORA-22297: warning: Open LOBs exist at transaction commit time ORA-20876: Stop APEX Engine    
    We have aplications that upgraded in place but when attempting to inmport new applications we get the error.
    We Just install 4.2.2 into a new environment and are vetting it for full release.
    Please advise.

    I get the abocve error when running using the GUI
    when running from command prompt i get the following
    begin
       -- Remove Application
    wwv_flow_api.remove_flow(nvl(wwv_flow_application_install.get_application_id,99000));
    end;
    ORA-20001: Package variable g_security_group_id must be set.
    ORA-06512: at "APEX_040200.WWV_FLOW_API", line 998
    ORA-06512: at "APEX_040200.WWV_FLOW_API", line 1569
    ORA-06512: at line 5
    I am assuming there are some permissions problems
    I have DBA role in Database
    We are on databasae > 11 (11.0.2 i think)
    My database DBA installed 4.2.2 but does know APEX real well he installed becasue he has SYS password which I am not privy to.
    I was able to install Pacakaged appliaction.
    Kind of Lost from Here.......
    I am assuming i have a permissions error
    I have DBA role in Database

  • ORA-22292: Cannot open a LOB in read-write mode without a transaction

    Hi ,
    somebody can help me, what is that problem.
    I run the script by using the Oracle SQL developer to update the clob column.
    error message is :
    ORA-22292: Cannot open a LOB in read-write mode without a transaction.
    Regards,
    Message was edited by:
    user533045

    Without posting the code its difficult for anyone to figure out whats wrong with this
    error.Please paste the code.
    Khurram

  • ORA-01547 :warning recover succeeded but open resetlogs......

    Hai All,
    In a standby database I put a command
    sql> recover standby database
    auto
    then error comes...
    ORA-01547 :warning recover succeeded but open resetlogs......
    ora-01152 : file1 was not restored from a sufficiently old bcakup
    ora-01110 : datafile 1: d:\sfms\system01.dbf'
    when the database open read only .. also this error comes...
    How can I resolve....
    Shiju

    See Note:1070049.6

  • ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error be

    Hi,
    I am trying rman duplicate from RAC to NON-RAC and getting below error. Restore is successfull, but while recover i am getting below issue.
    I referred tech note RMAN-06102 DURING DUPLICATE OR RESTORE [ID 436637.1]
    I have tried until cancel using controlfile;
    To Implement solution " I restored controlfie from the backup peice of contrll file" , Any pointers appreciated.
    contents of Memory Script:
       set until scn  5968419799614;
       recover
       clone database
        delete archivelog
    executing Memory Script
    executing command: SET until clause
    Starting recover at 19-FEB-11
    starting media recovery
    Oracle Error:
    ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
    ORA-01194: file 1 needs more recovery to be consistent
    ORA-01110: data file 1: '/u01/oracle/PROD/db/clonedata/system01.dbf'
    released channel: ch1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 02/19/2011 14:39:27
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-06053: unable to perform media recovery because of missing log
    RMAN-06025: no backup of log thread 2 seq 184399 lowscn 5968419794646 found to restore
    RMAN-06025: no backup of log thread 2 seq 184398 lowscn 5968419759510 found to restore
    RMAN-06025: no backup of log thread 2 seq 184397 lowscn 5968419736368 found to restore
    RMAN-06025: no backup of log thread 2 seq 184396 lowscn 5968419726043 found to restore
    RMAN-06025: no backup of log thread 2 seq 184395 lowscn 5968419705565 found to restore
    RMAN-06025: no backup of log thread 2 seq 184394 lowscn 5968419678283 found to restore
    RMAN-06025: no backup of log thread 2 seq 184393 lowscn 5968419665940 found to restore
    RMAN-06025: no backup of log thread 2 seq 184392 lowscn 5968419647797 found to restore
    RMAN-06025: no backup of log thread 2 seq 184391 lowscn 5968419630414 found to restore
    RMAN-06025: no backup of log thread 2 seq 184390 lowscn 5968419626580 found to restore
    RMAN-06025: no backup of log thread 2 seq 184389 lowscn 5968419593858 found to restore
    RMAN-06025: no backup of log thread 2 seq 184388 lowscn 5968419527543 found to restore
    RMAN-06025: no backup of log thread 2 seq 184387 lowscn 5968419501163 found to restore
    RMAN-06025: no backup of log thread 2 seq 184386 lowscn 5968419485951 found to restore
    RMAN-06025: no backup of log thread 2 seq 184385 lowscn 5968419469937 found to restore
    RMAN-06025: no backup of log thread 2 seq 184384 lowscn 5968419440393 found to restore
    RMAN-06025: no backup of log thread 2 seq 184383 lowscn 5968419422292 found to restore
    RMAN-06025: no backup of log thread 2 seq 184382 lowscn 5968419397028 found to restore
    RMAN-06025: no backup of log thread 2 seq 184381 lowscn 5968419366574 found to restore
    RMAN-06025: no backup of log thread 2 seq 184380 lowscn 5968419352992 found to restore
    RMAN-06025: no backup of log thread 2 seq 184379 lowscn 5968419338522 found to restore
    RMAN-06025: no backup of log thread 2 seq 184378 lowscn 5968419326774 found to restore
    RMAN-06025: no backup of log thread 2 seq 184377 lowscn 5968419313956 found to restore
    RMAN-06025: no backup of log thread 2 seq 184376 lowscn 5968419300847 found to restore
    RMAN-06025: no backup of log thread 2 seq 184375 lowscn 5968419282136 found to restore
    RMAN-06025: no backup of log thread 2 seq 184374 lowscn 5968419265656 found to restore
    RMAN-06025: no backup of log thread 2 seq 184373 lowscn 5968419254578 found to restore
    RMAN-06025: no backup of log thread 2 seq 184372 lowscn 5968419229337 found to restore
    RMAN-06025: no backup of log thread 2 seq 184371 lowscn 5968419218373 found to restore
    RMAN-06025: no backup of log thread 2 seq 184370 lowscn 5968419178539 found to restore
    RMAN-06025: no backup of log thread 2 seq 184369 lowscn 5968419167027 found to restore
    RMAN-06025: no backup of log thread 2 seq 184368 lowscn 5968419143802 found to restore
    RMAN-06025: no backup of log thread 2 seq 184367 lowscn 5968419139461 found to restore
    RMAN-06025: no backup of log thread 2 seq 184366 lowscn 5968419133683 found to restore
    RMAN-06025: no backup of log thread 2 seq 184365 lowscn 5968419099514 found to restore
    RMAN-06025: no backup of log thread 2 seq 184364 lowscn 5968419094146 found to restore
    RMAN-06025: no backup of log thread 2 seq 184363 lowscn 5968419072193 found to restore
    RMAN-06025: no backup of log thread 2 seq 184362 lowscn 5968419055733 found to restore
    RMAN-06025: no backup of log thread 2 seq 184361 lowscn 5968419047459 found to restore
    RMAN-06025: no backup of log thread 2 seq 184360 lowscn 5968419005913 found to restore
    RMAN-06025: no backup of log thread 2 seq 184359 lowscn 5968419001578 found to restore
    RMAN-06025: no backup of log thread 2 seq 184358 lowscn 5968418983975 found to restore
    RMAN-06025: no backup of log thread 2 seq 184357 lowscn 5968418950115 found to restore
    RMAN-06025: no backup of log thread 2 seq 184356 lowscn 5968418945661 found to restore
    RMAN-06025: no backup of log thread 2 seq 184355 lowscn 5968418909994 found to restore
    RMAN-06025: no backup of log thread 2 seq 184354 lowscn 5968418891366 found to restore
    RMAN-06025: no backup of log thread 2 seq 184353 lowscn 5968418884733 found to restore
    RMAN-06025: no backup of log thread 1 seq 217710 lowscn 5968419793223 found to restore
    RMAN-06025: no backup of log thread 1 seq 217709 lowscn 5968419779424 found to restore
    RMAN-06025: no backup of log thread 1 seq 217708 lowscn 5968419776035 found to restore
    RMAN-06025: no backup of log thread 1 seq 217707 lowscn 5968419775408 found to restore
    RMAN-06025: no backup of log thread 1 seq 217706 lowscn 5968419774817 found to restore
    MAN-06025: no backup of log thread 1 seq 217705 lowscn 5968419758
    RMAN>thanks in advance.

    Hello,
    ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
    ORA-01194: file 1 needs more recovery to be consistentFrom the error ORA-01547 and ORA-01194 you got, it seems that the Database is still inconsistent and, you have to apply more Archived logs .
    Then, you have the following error:
    RMAN-06053: unable to perform media recovery because of missing logWhich says that some logs are missing. The error messages RMAN-06025 below give you the list of missing logs:
    RMAN-06025: no backup of log thread 2 seq 184399 lowscn 5968419794646 found to restore
    ...Are you sure to have a Backup of all the needed Archived logs ?
    You may execute this statement to check the contents of the RMAN Backup:
    list backup of archivelog all;Hope this help.
    Best regards,
    Jean-Valentin

  • ORA-22288:file or LOB operation FILEOPEN failed while loading XML file.

    Hello all,
    I am getting the following error messages while loading XML file to Oracle 9i table.
    declare
    ERROR at line 1:
    ORA-22288: file or LOB operation FILEOPEN failed
    No such file or directory
    ORA-06512: at "SYS.DBMS_LOB", line 504
    ORA-06512: at line 10
    The script I am using is all follows:-
    1. Created a file ldxmldata.sh on unix server directory
    dd conv=ucase if=$1|sed 's/<?XML/<?xml/'|sed 's/VERSION/version/'|sed 's
    /RECORD/ROW/'|sed 's/DATE/TRANSDATE/'|sed 's/&/-/'|sed 's/\/DATE>// TRANSDATE>/'>$1.UCASE
    sqlplus sales/sales@rac @upld.sql $1.UCASE
    2. Created SQL file upld.sql on unix server
    set serveroutput on
    exec DBMS_JAVA.SET_OUTPUT(1000000);
    @ldxml.sql bsl.xml.UCASE
    commit;
    exit
    3. Created sql file ldxml.sql on unix server
    declare
    insCtx DBMS_XMLSave.ctxType;
    rows number;
    file bfile := bfilename('XML_DIR','&1');
    charContent CLOB := ' ';
    targetFile bfile;
    warning number;
    begin
    targetFile := file;
    DBMS_LOB.fileopen(targetFile, DBMS_LOB.file_readonly);
    DBMS_LOB.loadfromFile(charContent,targetFile,DBMS_LOB.getLength(tar
    getFile),1,1);
    insCtx := DBMS_XMLSave.newContext('sales.s_price');
    rows := DBMS_XMLSave.insertXML(insCtx,charContent);
    DBMS_XMLSave.closeContext(insCtx);
    DBMS_LOB.fileclose(targetFile);
    end;
    4. As Sys,
    Created a directory XML_DIR and assigned it the path of Unix server directory
    where the script files reside.
    Granted read priviledge on XML_DIR to user sales.
    I am getting the above error messages. Kindly help with some possible solution.
    Arun Patodia
    Bokaro Steel City

    Hi guys,
    Sybrand, aplogoies, the second line of the error stack was on one line in the first post, full error stack below:
    ORA-22288: file or LOB operation FILEOPEN failed
    The program issued a command but the command length is incorrect.
    ORA-06512: at "SYS.DBMS_LOB", line 716
    ORA-06512: at "JLMS.LOAD_DATA_UTIL", line 417
    ORA-06512: at line 2I have looked at that error code as you mentioned, but the second line here doesn't really help much.
    Hoek, i took your advice and tried to replace FILEOPEN with OPEn but got the same error.
    Just to clarify as well, I am not using UNC or relative file paths as I know that these can cause problems.
    Rgds
    Dan

  • Getting ORA-22288: file or LOB operation FILEOPEN failed in Windows XP

    Hi All,
    I am getting the error message
    ORA-22288: file or LOB operation FILEOPEN failed
    when I attempt to call a stored procedure containing the following code.
    bfile_in := BFILENAME( 'SP_IMPORT_NIF20_DIR', v_filename );
    /* Open the input file */
    DBMS_LOB.FILEOPEN(bfile_in);
    It works fine on UNIX but fails when running on my Windows XP Pro Oracle 9i install. I suspect that it has something do to with the file permissions. I can get this same error on UNIX if the file permissions are not set correctly. I get it every time on Windows XP Pro even though I think that the file permissions are
    set correctly. Perhaps the Windows XP Pro permissions are not as I think! or perhaps the Oracle instance needs to be granted access to the XP directories etc. I am not sure how this would be done.
    Any suggestions much appreciated.

    You have EXPLORER set to "Use Simple File Sharing". Uncheck that option for the folders and you will get the security tab.
    I am not sure why you can't run Oracle as a specific user. I do this all the time. In fact, I create an Oracle group and add a user called Oracle and then configure that user/group for all the permissions it needs (and none it doesn't), environment set up, etc. and then run the service as that user. Can you get a specific error message?
    As a side note, I am clueless why Oracle doesn't do this for you. They do on Unix installs.

  • Shows 'ORA-01435: user does not exist' for the existing user

    Hi All,
    when I am trying to import this dump into oracle 10g, I am getting following error.
    I have created a talespace 'EXIM' for this already
    this is my user creation command
    CREATE USER EXIM PROFILE DEFAULT IDENTIFIED BY pass DEFAULT TABLESPACE USERS TEMPORARY TABLESPACE TEMP
    ACCOUNT UNLOCK;
    GRANT dba to EXIM;
    the user exists in the dba_users too.
    E:\Eximbills>imp exim/pass file=e:\eximbills\exim.dmp fromuser=exim touser=ex
    im;
    Import: Release 10.1.0.2.0 - Production on Tue Jan 8 13:00:44 2008
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Export file created by EXPORT:V10.02.01 via conventional path
    import done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
    export client uses ZHS16GBK character set (possible charset conversion)
    export server uses UTF8 NCHAR character set (possible ncharset conversion)
    IMP-00008: unrecognized statement in the export file:
    . importing EXIM's objects into EXIM;
    IMP-00003: ORACLE error 1435 encountered
    ORA-01435: user does not exist
    Import terminated successfully with warnings.
    thanks in advance
    soorya

    This is the error I'm getting whenever I am trying to import 'imp eximsys/h4rdw0rk file=e:eximbills\eximsys.dmp full=y'
    IMP-00003: ORACLE error 20001 encountered
    ORA-20001: Invalid or inconsistent input values
    ORA-06512: at "SYS.DBMS_STATS", line 4194
    ORA-06512: at line 1
    IMP-00017: following statement failed with ORACLE error 20001:
    "DECLARE SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := '424F435043303031202"
    "02020'; SREC.MAXVAL := '424F43504330303120202020'; SREC.EAVS := 0; SREC.CHV"
    "ALS := NULL; SREC.NOVALS := DBMS_STATS.NUMARRAY(344299236148902000000000000"
    "000000000,344299236148902000000000000000000000); SREC.BKVALS := DBMS_STATS."
    "NUMARRAY(0,1); SREC.EPC := 2; DBMS_STATS.SET_COLUMN_STATS(NULL,'"TRX_VOUCHE"
    "R_HEADER"','"C_LAST_MODI_BU"', NULL ,NULL,NULL,1,1,0,srec,13,6); END;"
    IMP-00003: ORACLE error 20001 encountered
    ORA-20001: Invalid or inconsistent input values
    ORA-06512: at "SYS.DBMS_STATS", line 4194
    ORA-06512: at line 1
    IMP-00017: following statement failed with ORACLE error 20001:
    "DECLARE SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := '786B0109010101'; SR"
    "EC.MAXVAL := '786C0804010101'; SREC.EAVS := 0; SREC.CHVALS := NULL; SREC.NO"
    "VALS := DBMS_STATS.NUMARRAY(2454110,2454683); SREC.BKVALS := DBMS_STATS.NUM"
    "ARRAY(0,1); SREC.EPC := 2; DBMS_STATS.SET_COLUMN_STATS(NULL,'"TRX_VOUCHER_H"
    "EADER"','"C_LAST_MODI_DATE"', NULL ,NULL,NULL,29,.0344827586206897,0,srec,8"
    ",6); END;"
    IMP-00003: ORACLE error 20001 encountered
    ORA-20001: Invalid or inconsistent input values
    ORA-06512: at "SYS.DBMS_STATS", line 4194
    ORA-06512: at line 1
    IMP-00017: following statement failed with ORACLE error 20001:
    "DECLARE SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := '50433030314F5031202"
    "020202020202020202020202020202020202020202020'; SREC.MAXVAL := '765F70636F7"
    "03031202020202020202020202020202020202020202020202020'; SREC.EAVS := 0; SRE"
    "C.CHVALS := NULL; SREC.NOVALS := DBMS_STATS.NUMARRAY(4167464879929240000000"
    "00000000000000,614626762547395000000000000000000000); SREC.BKVALS := DBMS_S"
    "TATS.NUMARRAY(0,1); SREC.EPC := 2; DBMS_STATS.SET_COLUMN_STATS(NULL,'"TRX_V"
    "OUCHER_HEADER"','"C_LAST_MODI_OP"', NULL ,NULL,NULL,3,.333333333333333,0,sr"
    "ec,33,6); END;"
    IMP-00003: ORACLE error 20001 encountered
    ORA-20001: Invalid or inconsistent input values
    ORA-06512: at "SYS.DBMS_STATS", line 4194
    ORA-06512: at line 1
    IMP-00017: following statement failed with ORACLE error 20001:
    "DECLARE SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := '786B01010A1D18'; SR"
    "EC.MAXVAL := '786B0801140C01'; SREC.EAVS := 0; SREC.CHVALS := NULL; SREC.NO"
    "VALS := DBMS_STATS.NUMARRAY(2454102.39471065,2454314.79930556); SREC.BKVALS"
    " := DBMS_STATS.NUMARRAY(0,1); SREC.EPC := 2; DBMS_STATS.SET_COLUMN_STATS(NU"
    "LL,'"TRX_VOUCHER_HEADER"','"C_LAST_MODI_TIME"', NULL ,NULL,NULL,7308,.00013"
    "6836343732895,0,srec,8,6); END;"
    IMP-00003: ORACLE error 20001 encountered
    ORA-20001: Invalid or inconsistent input values
    ORA-06512: at "SYS.DBMS_STATS", line 4194
    ORA-06512: at line 1
    IMP-00017: following statement failed with ORACLE error 20001:
    "DECLARE SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := '72756C655F746573744"
    "32E786D6C202020202020202020202020202020202020'; SREC.MAXVAL := '72756C655F7"
    "46573744D2E786D6C202020202020202020202020202020202020'; SREC.EAVS := 0; SRE"
    "C.CHVALS := NULL; SREC.NOVALS := DBMS_STATS.NUMARRAY(5943034718115330000000"
    "00000000000000,594303471811533000000000000000000000); SREC.BKVALS := DBMS_S"
    "TATS.NUMARRAY(0,1); SREC.EPC := 2; DBMS_STATS.SET_COLUMN_STATS(NULL,'"TRX_V"
    "OUCHER_HEADER"','"C_MAIL_RULE"', NULL ,NULL,NULL,2,.5,47698,srec,2,6); END;"
    IMP-00003: ORACLE error 20001 encountered
    ORA-20001: Invalid or inconsistent input values
    ORA-06512: at "SYS.DBMS_STATS", line 4194
    ORA-06512: at line 1
    IMP-00017: following statement failed with ORACLE error 20001:
    "DECLARE SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := '4144343030303430373"
    "030303530342020202020202020202020202020202020'; SREC.MAXVAL := '51413430303"
    "03530373038393134342020202020202020202020202020202020'; SREC.EAVS := 0; SRE"
    "C.CHVALS := NULL; SREC.NOVALS := DBMS_STATS.NUMARRAY(3388826344357990000000"
    "00000000000000,421898536943546000000000000000000000); SREC.BKVALS := DBMS_S"
    "TATS.NUMARRAY(0,1); SREC.EPC := 2; DBMS_STATS.SET_COLUMN_STATS(NULL,'"TRX_V"
    "OUCHER_HEADER"','"C_MAIN_REF"', NULL ,NULL,NULL,3294,.000303582270795386,0,"
    "srec,41,6); END;"
    IMP-00003: ORACLE error 20001 encountered
    ORA-20001: Invalid or inconsistent input values
    ORA-06512: at "SYS.DBMS_STATS", line 4194
    ORA-06512: at line 1
    IMP-00017: following statement failed with ORACLE error 20001:
    "DECLARE SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := '44495343'; SREC.MAX"
    "VAL := '64736120'; SREC.EAVS := 0; SREC.CHVALS := NULL; SREC.NOVALS := DBMS"
    "_STATS.NUMARRAY(354563398993257000000000000000000000,5215698580320240000000"
    "00000000000000); SREC.BKVALS := DBMS_STATS.NUMARRAY(0,1); SREC.EPC := 2; DB"
    "MS_STATS.SET_COLUMN_STATS(NULL,'"TRX_VOUCHER_HEADER"','"C_MODULE"', NULL ,N"
    "ULL,NULL,14,.0714285714285714,0,srec,5,6); END;"
    IMP-00003: ORACLE error 20001 encountered
    ORA-20001: Invalid or inconsistent input values
    ORA-06512: at "SYS.DBMS_STATS", line 4194
    ORA-06512: at line 1
    IMP-00017: following statement failed with ORACLE error 20001:
    "DECLARE SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := '2020202020202020202"
    "020202020202020202020202020202020202020202020'; SREC.MAXVAL := '63696E64797"
    "46573742020202020202020202020202020202020202020202020'; SREC.EAVS := 0; SRE"
    "C.CHVALS := NULL; SREC.NOVALS := DBMS_STATS.NUMARRAY(1668050818239890000000"
    "00000000000000,516175788196539000000000000000000000); SREC.BKVALS := DBMS_S"
    "TATS.NUMARRAY(0,1); SREC.EPC := 2; DBMS_STATS.SET_COLUMN_STATS(NULL,'"TRX_V"
    "OUCHER_HEADER"','"C_MSEND_NAME"', NULL ,NULL,NULL,4,.25,1198,srec,33,6); EN"
    "D;"
    IMP-00003: ORACLE error 20001 encountered
    ORA-20001: Invalid or inconsistent input values
    ORA-06512: at "SYS.DBMS_STATS", line 4194
    ORA-06512: at line 1
    IMP-00017: following statement failed with ORACLE error 20001:
    "DECLARE SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := '424F435043303031202"
    "02020'; SREC.MAXVAL := '424F43504330303120202020'; SREC.EAVS := 0; SREC.CHV"
    "ALS := NULL; SREC.NOVALS := DBMS_STATS.NUMARRAY(344299236148902000000000000"
    "000000000,344299236148902000000000000000000000); SREC.BKVALS := DBMS_STATS."
    "NUMARRAY(0,1); SREC.EPC := 2; DBMS_STATS.SET_COLUMN_STATS(NULL,'"TRX_VOUCHE"
    "R_HEADER"','"C_ORG_UNIT_CODE"', NULL ,NULL,NULL,1,1,16,srec,13,6); END;"
    IMP-00003: ORACLE error 20001 encountered
    ORA-20001: Invalid or inconsistent input values
    ORA-06512: at "SYS.DBMS_STATS", line 4194
    ORA-06512: at line 1
    IMP-00017: following statement failed with ORACLE error 20001:
    "DECLARE SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := '20'; SREC.MAXVAL :="
    " '562D46696E616C3A31'; SREC.EAVS := 0; SREC.CHVALS := NULL; SREC.NOVALS := "
    "DBMS_STATS.NUMARRAY(166153499473115000000000000000000000,447455816866904000"
    "000000000000000000); SREC.BKVALS := DBMS_STATS.NUMARRAY(0,1); SREC.EPC := 2"
    "; DBMS_STATS.SET_COLUMN_STATS(NULL,'"TRX_VOUCHER_HEADER"','"C_PEPRTING_INFO"
    ""', NULL ,NULL,NULL,2,.5,977,srec,3,6); END;"
    IMP-00003: ORACLE error 20001 encountered
    ORA-20001: Invalid or inconsistent input values
    ORA-06512: at "SYS.DBMS_STATS", line 4194
    ORA-06512: at line 1
    IMP-00017: following statement failed with ORACLE error 20001:
    "DECLARE SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := '20'; SREC.MAXVAL :="
    " '562D46696E616C3A31'; SREC.EAVS := 0; SREC.CHVALS := NULL; SREC.NOVALS := "
    "DBMS_STATS.NUMARRAY(166153499473115000000000000000000000,447455816866904000"
    "000000000000000000); SREC.BKVALS := DBMS_STATS.NUMARRAY(0,1); SREC.EPC := 2"
    "; DBMS_STATS.SET_COLUMN_STATS(NULL,'"TRX_VOUCHER_HEADER"','"C_PRINTER_NAME""
    "', NULL ,NULL,NULL,3,.333333333333333,960,srec,3,6); END;"
    IMP-00003: ORACLE error 20001 encountered
    ORA-20001: Invalid or inconsistent input values
    ORA-06512: at "SYS.DBMS_STATS", line 4194
    ORA-06512: at line 1
    IMP-00017: following statement failed with ORACLE error 20001:
    "DECLARE SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := '5B30303130303130303"
    "13A4E505D5B3030313030313030313A4E525D'; SREC.MAXVAL := '5B424F4350433030313"
    "A4E525D'; SREC.EAVS := 0; SREC.CHVALS := NULL; SREC.NOVALS := DBMS_STATS.NU"
    "MARRAY(473476387962467000000000000000000000,4738439330178760000000000000000"
    "00000); SREC.BKVALS := DBMS_STATS.NUMARRAY(0,1); SREC.EPC := 2; DBMS_STATS."
    "SET_COLUMN_STATS(NULL,'"TRX_VOUCHER_HEADER"','"C_PRINT_TO_BU"', NULL ,NULL,"
    "NULL,4,.25,47203,srec,2,6); END;"
    IMP-00003: ORACLE error 20001 encountered
    ORA-20001: Invalid or inconsistent input values
    ORA-06512: at "SYS.DBMS_STATS", line 4194
    ORA-06512: at line 1
    IMP-00017: following statement failed with ORACLE error 20001:
    "DECLARE SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := NULL; SREC.MAXVAL :="
    " NULL; SREC.EAVS := 0; SREC.CHVALS := NULL; SREC.NOVALS := DBMS_STATS.NUMAR"
    "RAY(0,0); SREC.BKVALS := DBMS_STATS.NUMARRAY(0,1); SREC.EPC := 2; DBMS_STAT"
    "S.SET_COLUMN_STATS(NULL,'"TRX_VOUCHER_HEADER"','"C_PRTING_INFO"', NULL ,NUL"
    "L,NULL,0,0,47720,srec,0,6); END;"
    IMP-00003: ORACLE error 20001 encountered
    ORA-20001: Invalid or inconsistent input values
    ORA-06512: at "SYS.DBMS_STATS", line 4194
    ORA-06512: at line 1
    IMP-00017: following statement failed with ORACLE error 20001:
    "DECLARE SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := '41'; SREC.MAXVAL :="
    " '59'; SREC.EAVS := 0; SREC.CHVALS := NULL; SREC.NOVALS := DBMS_STATS.NUMAR"
    "RAY(338150878155639000000000000000000000,4627660027604750000000000000000000"
    "00); SREC.BKVALS := DBMS_STATS.NUMARRAY(0,1); SREC.EPC := 2; DBMS_STATS.SET"
    "_COLUMN_STATS(NULL,'"TRX_VOUCHER_HEADER"','"C_PRT_MODE"', NULL ,NULL,NULL,3"
    ",.333333333333333,46148,srec,2,6); END;"
    IMP-00003: ORACLE error 20001 encountered
    ORA-20001: Invalid or inconsistent input values
    ORA-06512: at "SYS.DBMS_STATS", line 4194
    ORA-06512: at line 1
    IMP-00017: following statement failed with ORACLE error 20001:
    "DECLARE SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := '20'; SREC.MAXVAL :="
    " '59'; SREC.EAVS := 0; SREC.CHVALS := NULL; SREC.NOVALS := DBMS_STATS.NUMAR"
    "RAY(166805081823989000000000000000000000,4627660027604750000000000000000000"
    "00); SREC.BKVALS := DBMS_STATS.NUMARRAY(0,1); SREC.EPC := 2; DBMS_STATS.SET"
    "_COLUMN_STATS(NULL,'"TRX_VOUCHER_HEADER"','"C_PRT_STATE"', NULL ,NULL,NULL,"
    "4,.25,0,srec,2,6); END;"
    IMP-00003: ORACLE error 20001 encountered
    ORA-20001: Invalid or inconsistent input values
    ORA-06512: at "SYS.DBMS_STATS", line 4194
    ORA-06512: at line 1
    IMP-00017: following statement failed with ORACLE error 20001:
    "DECLARE SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := '424F435043303031202"
    "02020'; SREC.MAXVAL := '424F43504330303120202020'; SREC.EAVS := 0; SREC.CHV"
    "ALS := NULL; SREC.NOVALS := DBMS_STATS.NUMARRAY(344299236148902000000000000"
    "000000000,344299236148902000000000000000000000); SREC.BKVALS := DBMS_STATS."
    "NUMARRAY(0,1); SREC.EPC := 2; DBMS_STATS.SET_COLUMN_STATS(NULL,'"TRX_VOUCHE"
    "R_HEADER"','"C_RELEASE_BU"', NULL ,NULL,NULL,1,1,558,srec,13,6); END;"
    IMP-00003: ORACLE error 20001 encountered
    ORA-20001: Invalid or inconsistent input values
    ORA-06512: at "SYS.DBMS_STATS", line 4194
    ORA-06512: at line 1
    IMP-00017: following statement failed with ORACLE error 20001:
    "DECLARE SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := '786B0109010101'; SR"
    "EC.MAXVAL := '786B0808010101'; SREC.EAVS := 0; SREC.CHVALS := NULL; SREC.NO"
    "VALS := DBMS_STATS.NUMARRAY(2454110,2454321); SREC.BKVALS := DBMS_STATS.NUM"
    "ARRAY(0,1); SREC.EPC := 2; DBMS_STATS.SET_COLUMN_STATS(NULL,'"TRX_VOUCHER_H"
    "EADER"','"C_RELEASE_DATE"', NULL ,NULL,NULL,22,.0454545454545455,558,srec,8"
    ",6); END;"
    IMP-00003: ORACLE error 20001 encountered
    ORA-20001: Invalid or inconsistent input values
    ORA-06512: at "SYS.DBMS_STATS", line 4194
    ORA-06512: at line 1
    IMP-00017: following statement failed with ORACLE error 20001:
    "DECLARE SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := '50433030314F5031202"
    "020202020202020202020202020202020202020202020'; SREC.MAXVAL := '765F70636F7"
    "03031202020202020202020202020202020202020202020202020'; SREC.EAVS := 0; SRE"
    "C.CHVALS := NULL; SREC.NOVALS := DBMS_STATS.NUMARRAY(4167464879929240000000"
    "00000000000000,614626762547395000000000000000000000); SREC.BKVALS := DBMS_S"
    "TATS.NUMARRAY(0,1); SREC.EPC := 2; DBMS_STATS.SET_COLUMN_STATS(NULL,'"TRX_V"
    "OUCHER_HEADER"','"C_RELEASE_OP"', NULL ,NULL,NULL,3,.333333333333333,558,sr"
    "ec,33,6); END;"
    IMP-00003: ORACLE error 20001 encountered
    ORA-20001: Invalid or inconsistent input values
    ORA-06512: at "SYS.DBMS_STATS", line 4194
    ORA-06512: at line 1
    IMP-00017: following statement failed with ORACLE error 20001:
    "DECLARE SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := '20'; SREC.MAXVAL :="
    " '46'; SREC.EAVS := 0; SREC.CHVALS := NULL; SREC.NOVALS := DBMS_STATS.NUMAR"
    "RAY(166805081823989000000000000000000000,3641123624483130000000000000000000"
    "00); SREC.BKVALS := DBMS_STATS.NUMARRAY(0,1); SREC.EPC := 2; DBMS_STATS.SET"
    "_COLUMN_STATS(NULL,'"TRX_VOUCHER_HEADER"','"C_SETTL_AC_PS"', NULL ,NULL,NUL"
    "L,2,.5,0,srec,2,6); END;"
    IMP-00003: ORACLE error 20001 encountered
    ORA-20001: Invalid or inconsistent input values
    ORA-06512: at "SYS.DBMS_STATS", line 4194
    ORA-06512: at line 1
    IMP-00017: following statement failed with ORACLE error 20001:
    "DECLARE SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := '654C4F414E202020202"
    "020202020202020202020202020202020202020202020'; SREC.MAXVAL := '654C4F414E2"
    "02020202020202020202020202020202020202020202020202020'; SREC.EAVS := 0; SRE"
    "C.CHVALS := NULL; SREC.NOVALS := DBMS_STATS.NUMARRAY(5259697250777070000000"
    "00000000000000,525969725077707000000000000000000000); SREC.BKVALS := DBMS_S"
    "TATS.NUMARRAY(0,1); SREC.EPC := 2; DBMS_STATS.SET_COLUMN_STATS(NULL,'"TRX_V"
    "OUCHER_HEADER"','"C_STP_CODE"', NULL ,NULL,NULL,1,1,1330,srec,33,6); END;"
    IMP-00003: ORACLE error 20001 encountered
    ORA-20001: Invalid or inconsistent input values
    ORA-06512: at "SYS.DBMS_STATS", line 4194
    ORA-06512: at line 1
    IMP-00017: following statement failed with ORACLE error 20001:
    "DECLARE SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := '51415F4D41494C5F544"
    "54D50310251415F4D41494C5F54454D5032'; SREC.MAXVAL := '63696E647974657374'; "
    "SREC.EAVS := 0; SREC.CHVALS := NULL; SREC.NOVALS := DBMS_STATS.NUMARRAY(421"
    "901952750269000000000000000000000,516175788196539000000000000000000000); SR"
    "EC.BKVALS := DBMS_STATS.NUMARRAY(0,1); SREC.EPC := 2; DBMS_STATS.SET_COLUMN"
    "_STATS(NULL,'"TRX_VOUCHER_HEADER"','"C_TEMPLATES_NAME"', NULL ,NULL,NULL,5,"
    ".2,47641,srec,2,6); END;"
    IMP-00003: ORACLE error 20001 encountered
    ORA-20001: Invalid or inconsistent input values
    ORA-06512: at "SYS.DBMS_STATS", line 4194
    ORA-06512: at line 1
    IMP-00017: following statement failed with ORACLE error 20001:
    "DECLARE SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := '3230303730313039313"
    "032333032393435323630303631343731393039343137'; SREC.MAXVAL := '32303037303"
    "83237313035333437353331303631313535363432363135373736'; SREC.EAVS := 0; SRE"
    "C.CHVALS := NULL; SREC.NOVALS := DBMS_STATS.NUMARRAY(2605922186194540000000"
    "00000000000000,260592218619487000000000000000000000); SREC.BKVALS := DBMS_S"
    "TATS.NUMARRAY(0,1); SREC.EPC := 2; DBMS_STATS.SET_COLUMN_STATS(NULL,'"TRX_V"
    "OUCHER_HEADER"','"C_TRX_INDX"', NULL ,NULL,NULL,47720,.0000209555741827326,"
    "0,srec,33,6); END;"
    IMP-00003: ORACLE error 20001 encountered
    ORA-20001: Invalid or inconsistent input values
    ORA-06512: at "SYS.DBMS_STATS", line 4194
    ORA-06512: at line 1
    IMP-00017: following statement failed with ORACLE error 20001:
    "DECLARE SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := '3132333133313233202"
    "020202020202020202020202020202020202020202020'; SREC.MAXVAL := '77657277722"
    "02020202020202020202020202020202020202020202020202020'; SREC.EAVS := 0; SRE"
    "C.CHVALS := NULL; SREC.NOVALS := DBMS_STATS.NUMARRAY(2554407224113300000000"
    "00000000000000,619940918512825000000000000000000000); SREC.BKVALS := DBMS_S"
    "TATS.NUMARRAY(0,1); SREC.EPC := 2; DBMS_STATS.SET_COLUMN_STATS(NULL,'"TRX_V"
    "OUCHER_HEADER"','"C_TRX_REF"', NULL ,NULL,NULL,3294,.000303582270795386,0,s"
    "rec,41,6); END;"
    IMP-00003: ORACLE error 20001 encountered
    ORA-20001: Invalid or inconsistent input values
    ORA-06512: at "SYS.DBMS_STATS", line 4194
    ORA-06512: at line 1
    IMP-00017: following statement failed with ORACLE error 20001:
    "DECLARE SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := '424F435043303031202"
    "02020'; SREC.MAXVAL := '424F43504330303120202020'; SREC.EAVS := 0; SREC.CHV"
    "ALS := NULL; SREC.NOVALS := DBMS_STATS.NUMARRAY(344299236148902000000000000"
    "000000000,344299236148902000000000000000000000); SREC.BKVALS := DBMS_STATS."
    "NUMARRAY(0,1); SREC.EPC := 2; DBMS_STATS.SET_COLUMN_STATS(NULL,'"TRX_VOUCHE"
    "R_HEADER"','"C_UNIT_CODE"', NULL ,NULL,NULL,1,1,0,srec,13,6); END;"
    IMP-00003: ORACLE error 20001 encountered
    ORA-20001: Invalid or inconsistent input values
    ORA-06512: at "SYS.DBMS_STATS", line 4194
    ORA-06512: at line 1
    IMP-00017: following statement failed with ORACLE error 20001:
    "DECLARE SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := '4D'; SREC.MAXVAL :="
    " '4D'; SREC.EAVS := 0; SREC.CHVALS := NULL; SREC.NOVALS := DBMS_STATS.NUMAR"
    "RAY(399806858107182000000000000000000000,3998068581071820000000000000000000"
    "00); SREC.BKVALS := DBMS_STATS.NUMARRAY(0,1); SREC.EPC := 2; DBMS_STATS.SET"
    "_COLUMN_STATS(NULL,'"TRX_VOUCHER_HEADER"','"C_VCH_STATUS"', NULL ,NULL,NULL"
    ",1,1,1330,srec,2,6); END;"
    IMP-00003: ORACLE error 20001 encountered
    ORA-20001: Invalid or inconsistent input values
    ORA-06512: at "SYS.DBMS_STATS", line 4194
    ORA-06512: at line 1
    IMP-00017: following statement failed with ORACLE error 20001:
    "DECLARE SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := '4D'; SREC.MAXVAL :="
    " '58'; SREC.EAVS := 0; SREC.CHVALS := NULL; SREC.NOVALS := DBMS_STATS.NUMAR"
    "RAY(400458440458057000000000000000000000,4575737059019400000000000000000000"
    "00); SREC.BKVALS := DBMS_STATS.NUMARRAY(0,1); SREC.EPC := 2; DBMS_STATS.SET"
    "_COLUMN_STATS(NULL,'"TRX_VOUCHER_HEADER"','"C_VOUCHER_STATE"', NULL ,NULL,N"
    "ULL,3,.333333333333333,0,srec,2,6); END;"
    IMP-00003: ORACLE error 20001 encountered
    ORA-20001: Invalid or inconsistent input values
    ORA-06512: at "SYS.DBMS_STATS", line 4194
    ORA-06512: at line 1
    IMP-00017: following statement failed with ORACLE error 20001:
    "DECLARE SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := '786B0109010101'; SR"
    "EC.MAXVAL := '786B081B010101'; SREC.EAVS := 0; SREC.CHVALS := NULL; SREC.NO"
    "VALS := DBMS_STATS.NUMARRAY(2454110,2454340); SREC.BKVALS := DBMS_STATS.NUM"
    "ARRAY(0,1); SREC.EPC := 2; DBMS_STATS.SET_COLUMN_STATS(NULL,'"TRX_VOUCHER_H"
    "EADER"','"D_SYS_OP_DATE"', NULL ,NULL,NULL,47,.0212765957446809,0,srec,8,6)"
    "; END;"
    IMP-00003: ORACLE error 20001 encountered
    ORA-20001: Invalid or inconsistent input values
    ORA-06512: at "SYS.DBMS_STATS", line 4194
    ORA-06512: at line 1
    IMP-00017: following statement failed with ORACLE error 20001:
    "DECLARE SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := '786B0109010101'; SR"
    "EC.MAXVAL := '786B0809010101'; SREC.EAVS := 0; SREC.CHVALS := NULL; SREC.NO"
    "VALS := DBMS_STATS.NUMARRAY(2454110,2454322); SREC.BKVALS := DBMS_STATS.NUM"
    "ARRAY(0,1); SREC.EPC := 2; DBMS_STATS.SET_COLUMN_STATS(NULL,'"TRX_VOUCHER_H"
    "EADER"','"D_SYS_REL_DATE"', NULL ,NULL,NULL,33,.0303030303030303,558,srec,8"
    ",6); END;"
    IMP-00003: ORACLE error 20001 encountered
    ORA-20001: Invalid or inconsistent input values
    ORA-06512: at "SYS.DBMS_STATS", line 4194
    ORA-06512: at line 1
    IMP-00017: following statement failed with ORACLE error 20001:
    "DECLARE SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := '80'; SREC.MAXVAL :="
    " '80'; SREC.EAVS := 0; SREC.CHVALS := NULL; SREC.NOVALS := DBMS_STATS.NUMAR"
    "RAY(0,0); SREC.BKVALS := DBMS_STATS.NUMARRAY(0,1); SREC.EPC := 2; DBMS_STAT"
    "S.SET_COLUMN_STATS(NULL,'"TRX_VOUCHER_HEADER"','"I_CPY_NUMS"', NULL ,NULL,N"
    "ULL,1,1,1330,srec,2,6); END;"
    IMP-00003: ORACLE error 20001 encountered
    ORA-20001: Invalid or inconsistent input values
    ORA-06512: at "SYS.DBMS_STATS", line 4194
    ORA-06512: at line 1
    IMP-00017: following statement failed with ORACLE error 20001:
    "DECLARE SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := '3A5B6365654766'; SR"
    "EC.MAXVAL := 'C10D'; SREC.EAVS := 0; SREC.CHVALS := NULL; SREC.NOVALS := DB"
    "MS_STATS.NUMARRAY(-1002000030,12); SREC.BKVALS := DBMS_STATS.NUMARRAY(0,1);"
    " SREC.EPC := 2; DBMS_STATS.SET_COLUMN_STATS(NULL,'"TRX_VOUCHER_HEADER"','"I"
    "_EVENT_TIMES"', NULL ,NULL,NULL,88,.0113636363636364,0,srec,8,6); END;"
    IMP-00003: ORACLE error 20001 encountered
    ORA-20001: Invalid or inconsistent input values
    ORA-06512: at "SYS.DBMS_STATS", line 4194
    ORA-06512: at line 1
    IMP-00017: following statement failed with ORACLE error 20001:
    "DECLARE SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := '80'; SREC.MAXVAL :="
    " '80'; SREC.EAVS := 0; SREC.CHVALS := NULL; SREC.NOVALS := DBMS_STATS.NUMAR"
    "RAY(0,0); SREC.BKVALS := DBMS_STATS.NUMARRAY(0,1); SREC.EPC := 2; DBMS_STAT"
    "S.SET_COLUMN_STATS(NULL,'"TRX_VOUCHER_HEADER"','"I_PECPY_NUMS"', NULL ,NULL"
    ",NULL,1,1,1330,srec,2,6); END;"
    IMP-00003: ORACLE error 20001 encountered
    ORA-20001: Invalid or inconsistent input values
    ORA-06512: at "SYS.DBMS_STATS", line 4194
    ORA-06512: at line 1
    IMP-00017: following statement failed with ORACLE error 20001:
    "DECLARE SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := '786B01010A1D08'; SR"
    "EC.MAXVAL := '786B0801140C01'; SREC.EAVS := 0; SREC.CHVALS := NULL; SREC.NO"
    "VALS := DBMS_STATS.NUMARRAY(2454102.39452546,2454314.79930556); SREC.BKVALS"
    " := DBMS_STATS.NUMARRAY(0,1); SREC.EPC := 2; DBMS_STATS.SET_COLUMN_STATS(NU"
    "LL,'"TRX_VOUCHER_HEADER"','"T_SYS_OP_TIME"', NULL ,NULL,NULL,7319,.00013663"
    "0687252357,0,srec,8,6); END;"
    IMP-00003: ORACLE error 20001 encountered
    ORA-20001: Invalid or inconsistent input values
    ORA-06512: at "SYS.DBMS_STATS", line 4194
    ORA-06512: at line 1
    IMP-00017: following statement failed with ORACLE error 20001:
    "DECLARE SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := '786B01010A1D18'; SR"
    "EC.MAXVAL := '786B0801102B16'; SREC.EAVS := 0; SREC.CHVALS := NULL; SREC.NO"
    "VALS := DBMS_STATS.NUMARRAY(2454102.39471065,2454314.65440972); SREC.BKVALS"
    " := DBMS_STATS.NUMARRAY(0,1); SREC.EPC := 2; DBMS_STATS.SET_COLUMN_STATS(NU"
    "LL,'"TRX_VOUCHER_HEADER"','"T_SYS_REL_TIME"', NULL ,NULL,NULL,7139,.0001400"
    "75640846057,558,srec,8,6); END;"
    IMP-00003: ORACLE error 20001 encountered
    ORA-20001: Invalid or inconsistent input values
    ORA-06512: at "SYS.DBMS_STATS", line 4194
    ORA-06512: at line 1
    IMP-00017: following statement failed with ORACLE error 20001:
    "DECLARE SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := NULL; SREC.MAXVAL :="
    " NULL; SREC.EAVS := 0; SREC.CHVALS := NULL; SREC.NOVALS := DBMS_STATS.NUMAR"
    "RAY(0,0); SREC.BKVALS := DBMS_STATS.NUMARRAY(0,1); SREC.EPC := 2; DBMS_STAT"
    "S.SET_COLUMN_STATS(NULL,'"TRX_VOUCHER_HEADER"','"T_SYS_TRX_TIME"', NULL ,NU"
    "LL,NULL,0,0,47720,srec,1,6); END;"
    IMP-00003: ORACLE error 20001 encountered
    ORA-20001: Invalid or inconsistent input values
    ORA-06512: at "SYS.DBMS_STATS", line 4194
    ORA-06512: at line 1
    IMP-00041: Warning: object created with compilation warnings
    "CREATE FORCE VIEW "EXIMSYS"."TET_TEST" ("CUST_ID",""
    "CUST_NM","CUST_NM_ADD","C_CP_UNIT_CODE") AS "
    "SELECT CUST_MASTER.CUST_ID, CUST_MASTER.CUST_NM, CUST_MASTER.CUST_NM_ADD, C"
    "UST_MASTER.C_CP_UNIT_CODE "
    " FROM EXIMTRX.CUST_MASTER CUST_MASTER "
    " WHERE CUST_MASTER.CUST_ID='10245'"
    About to enable constraints...
    Import terminated successfully with warnings.
    Thanks,

  • Inserting image to table...ORA-22288: file or LOB operation FILEOPEN failed

    Good day!
    I'm just new with using databases, and i'm enjoying it.
    So I read that you can insert images to a table, and so i decided to try it... and here's where I'm at..
    *I made a directory
    CREATE directory image_dir as 'D:\Images';
    --Directory Created.
    *I created a table
    CREATE TABLE animages
    (aname VARCHAR2(40),
    breedno NUMBER(10),
    image_file BLOB,
    image_name VARCHAR2(40),
    CONSTRAINT aname_fk FOREIGN KEY (aname) REFERENCES clist(aname));
    --Table Created.
    *Then I made a procedure for inserting the images
    CREATE OR REPLACE PROCEDURE insert_image_file (p_aname VARCHAR2, p_breedno NUMBER, p_image_name IN VARCHAR2)
    IS
    src_file BFILE;
    dst_file BLOB;
    lgh_file BINARY_INTEGER;
    BEGIN
    src_file := BFILENAME('IMAGE_DIR', p_image_name);
    INSERT INTO animages
         (aname, breedno, image_file, image_name)
    VALUES (p_aname, p_breedno, EMPTY_BLOB(), p_image_name)
    RETURNING image_file
    INTO dst_file;
    SELECT image_file
    INTO dst_file
    FROM animages
    WHERE aname = p_aname AND image_name = p_image_name
    FOR UPDATE;
    DBMS_LOB.fileopen(src_file, DBMS_LOB.file_readonly);
    lgh_file := DBMS_LOB.getlength(src_file);
    DBMS_LOB.loadfromfile(dst_file, src_file, lgh_file);
    UPDATE animages
    SET image_file = dst_file
    WHERE aname = p_aname AND image_name = p_image_name;
    DBMS_LOB.fileclose(src_file);
    END;
    --Procedure Created.
    *So i was able to do those but when i was trying to execute the procedure i get this error..
    execute insert_image_file('African Elephant', 60, 'African_Elephant');
    ERROR at line 1:
    ORA-22288: file or LOB operation FILEOPEN failed
    The device is not ready.
    ORA-06512: at "SYS.DBMS_LOB", line 523
    ORA-06512: at "SCOTT.INSERT_IMAGE_FILE", line 18
    ORA-06512: at line 1
    I've been looking for a solution for a day now, hope someone could help me, thanks.
    BTW, I got the code for the PROCEDURE from a user named Aparna16, just did some minor editing so it would fit my tables, thanks.
    And sorry if the post is too long.

    Hi;
    ORA-22288:Error:     ORA-22288
    Text:     file or LOB operation %s failed %s
    Cause:     The operation attempted on the file or LOB failed.
    Action:     See the next error message in the error stack for more detailed
         information. Also, verify that the file or LOB exists and that the
         necessary privileges are set for the specified operation. If the error
         still persists, report the error to the DBA.
    Regard
    Helios

  • ORA-00308: cannot open archived log, ORA-27041

    hi All,
    here I am making DR server and I copied  SAP Data file1,2,3,4 from PRD to DR server and created control file. when I try to run following command for applied archives which i copy from PRD then getting below error.
    SQL>Startup
    Database mounted.
    ORA-01589: must use RESETLOGS or NORESETLOGS option for database open
    SQL> recover database using backup controlfile;
    ORA-00279: change 1209554452 generated at 02/09/2012 17:02:57 needed for thre
    1
    ORA-00289: suggestion : F:\ORACLE\PRD\ORAARCH\PRDARCH1_59501_657865393.DBF
    ORA-00280: change 1209554452 for thread 1 is in sequence #59501
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    auto
    ORA-00308: cannot open archived log
    'F:\ORACLE\PRD\ORAARCH\PRDARCH1_59501_657865393.DBF'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    ORA-00308: cannot open archived log
    'F:\ORACLE\PRD\ORAARCH\PRDARCH1_59501_657865393.DBF'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    here required PRDARCH1_59501_657865393.DBF while PRD server have PRDARCHARC59501_0657865393.001
    I did change the LOG_ARCHIVE_DEST parameter in initSID.ora of DR server and not in PRD.
    please tell that, how can i apply PRD's archive (.001 extension) on DR.
    Regards,

    hi all,
    after recommendation , now parameter values on DR server is :
    *.log_archive_dest_1='LOCATION=F:\oracle\PRD\oraarch\PRDarch'
    *.log_archive_format='%t_%s_%r.001'
    when i try to apply
    SQL> recover database using backup controlfile;
    ORA-00279: change 1211443555 generated at 02/10/2012 23:36:05 needed for thread
    1
    ORA-00289: suggestion : F:\ORACLE\PRD\ORAARCH\PRDARCH\1_59557_657865393.001
    ORA-00280: change 1211443555 for thread 1 is in sequence #59557
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    auto
    ORA-00308: cannot open archived log
    'F:\ORACLE\PRD\ORAARCH\PRDARCH\1_59557_657865393.001'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    if you see that the required archive is:       1_59557_657865393.001
    while copied archive exist with this name: PRDARCHARC59557_0657865393.001
    I tried to change in Format parameter to make required format but
    Exp:
    %t_%s_%r.001
    1_59557_657865393.001
    ARC%s%r%t.001
    ARC595576578653931.001'
    ARC%s_%r%t.001
    ARC59557_6578653931.001
    ARC%s_%r.%t
    ARC59557_657865393.1
    PRDARCHARC%s_%r.%t
    PRDARCHARC59557_657865393.1
    Required Format: PRDARCHARC59540_0657865393.001
    how can i resolve this different name issue? please suggest me required format.
    Regards,

  • ORA-22990 ( Cannot span lob... ) while using connection pooling...

    Hi all, I am maintaining a web site that has lots of requests ( about 10 requests a second ) to an Oracle table that has a BLOB field. Those requests create new blobs, updates them and reads them... My program worked fine until I started using connection pooling ( Before that, I used a single connection that was initialized at startup ). Although I had to synchronized the methods that interact with blob field, everything worked great. So now, to optimize my site, I want to use connection pooling so that even if my methods are synchonized on the connection object, there will be more than one connection available so it will not affect performance.
    So once I introduced my connection pooling system with the oracle.jdbc.pool.OracleConnectionCacheImpl class, I started getting ORA-22990 ( Cannot span lob objects... ). I get the error on the flush() method when I try to write the blob to the database. Here is my function that writes a row in the databse.
      private synchronized void writeSession(CapSession pSession) throws Exception
            javax.sql.PooledConnection pc = pool.getPooledConnection();
            Connection conn = pc.getConnection();
            CallableStatement stmt=conn.prepareCall(writeObjSQL);
            stmt.setString(1,pSession.getSessionId()+pSession.getPassword());
            stmt.setLong(2,pSession.getLastAccess());
            stmt.setLong(3,pSession.getTimeout());
            stmt.registerOutParameter(4,java.sql.Types.BLOB);
            stmt.executeUpdate();
            oracle.sql.BLOB blob=(BLOB)stmt.getBlob(4);
            OutputStream os=blob.getBinaryOutputStream();
            ObjectOutputStream oop=new ObjectOutputStream(os);
            oop.writeObject(pSession);
            oop.flush();
            oop.close();
            os.close();
            stmt.close();
            conn.commit();
            conn.close();
            pc.close();
      } If anyone could help me, I would deeply appreciate it!
    Thank you for your time.

    kalle
    Thank you very much for your advice!!!
    Like you said, I started to check whether the connections are fine before giving them from the pool.I am executing a simple "select 'anil' from dual" and if its fine only then I return the connection. So far it seems to be fine. Also I am reopening the connections(closing the old ones and opening new connections) after every 12 hours.
    As far as the JDBC driver is concerned, I already tried with Oracle 8i driver, it gave the same problems. I read that 9i driver might solve this problem, so I changed to the latest 9i driver (classes12_g.zip).
    Sometimes before(before I started checking whether the connection is good )the application used to hang up at the point where I am issuing setAutoCommit(false).It never comes out from that statement.Is this something to do with theconnections being closed?
    What I am afraid is, will the appilation get hung up even after I check the connection with select query and then issue autocommit(false)??
    Or will it hang up while I check with a select query??
    As long as it doesn't hung up, I am fine. Because i am cathching the exceptions.
    Thanks In ADVANCE
    Anil

  • Error During Delete Of Application:ORA-01000: maximum open cursors exceeded

    Hello All.
    I am using Apex version 3.2.0.00.27. I am trying to delete an existing application (App_ID 116). I am continually getting ORA-01000: maximum open cursors exceeded.
    Prior to deleting this application, I attempted to, instead, import (that is, replace) this app with a previously saved Apex app (APP_ID 116). This previously saved app is also at the same version. I get the same error. At that point, I figured that I would delete the app and then import my previously saved app, only to get the same error.
    I then attempted to import the previously saved app as a new APP_ID (256). This time, the app imported without error.
    Does anyone know what is going on? Could it be that my existing app 116 is "corrupted" (whatever that means)? Why can't I delete or import over my existing app 116?
    Any help would be appreciated.
    Thank you.
    Elie

    Post Author: amr_foci
    CA Forum: Information OnDemand
    its a database related Error and it can be fixed
    please check this link
    http://publib.boulder.ibm.com/infocenter/wasinfo/v4r0/index.jsp?topic=/com.ibm.support.was.doc/html/EJB_Container/1040875.html
    good luck
    Amr

  • ORA-01000: maximum open cursors exceeded--Error

    Hi
    What is "ORA-01000: maximum open cursors exceeded" error,How to solve.
    Thanks
    Miseba

    Hi
    ORA-01000: maximum open cursors exceeded
    Other terms
    Oracle, open cursors, exchange infrastructure
    Reason and Prerequisites
    The parameter "open_cursors" is set too low. Long transactions, such as imports, may use up all available cursors and fail.
    Solution :
    THIS NOTE APPLIES TO XI 3.0 SP2 ONLY **
    if you encounter an exception that reports "ORA-01000: maximum open cursors exceeded" please adjust the open_cursors parameter as follows:
    If the BR*Tools exist on your system:
    1] directory: /usr/sap/<SID>/SYS/exe/run
    2] "brspace -c force -f dbparam -a change -p open_cursors -v 100000"
    3] directory: $ORACLE_HOME/dbs (Unix) or %ORACLE_HOME%/database (Win)
    4] change open_cursors parameter in init<SID>.ora to 100000
    If the BR*Tools are not available (2] above - command not found)
    1] change the open_cursors parameter as in 4] above
    2] restart DB, for changes to take effect. _ NOTE: This problem has been fixed with XI 3.0 SP3 (see note 735078)
    Plz asign points if helpfull.
    Regards
    Padmanabha

  • Password file auth - error ORA-01990: error opening password file '/p00/ora

    Hi, Im setting up password file auth on our existing database.
    Ive run this
    orapwd file=orapwdt04.pwd password=secret entries=5
    then set this in the .ora file
    remote_login_passwordfile=exclusive
    But when I restart the dabase im getting this error
    ORA-01990: error opening password file '/p00/oraprod/9.2.0/dbs/orapw'
    How / where do I tell the database to look for the password file.
    Im running on AIX and Oracle 9.2.0.6
    thanks for looking.

    password filename must be in the format of orapw<sid> and location of the file $ORACLE_HOME/dbs

Maybe you are looking for

  • IPhone 6 - people can't hear me; garbled; breaking up

    Has anyone else had problems with the iPhone 6, where people on the other end can't hear you?  They say I'm garbled and breaking up.  I can hear them fine.  Love everything about the iPhone 6 EXCEPT using it as a PHONE!!!

  • How to set up DEV, TEST and PROD environment?

    We have used BI publisher Enterprise (standalone), Oracle BI Publisher 10.1.3.4.1. Our admin set up DEV, TEST and PROD environment based on the folder. For example, there is DEV folder, TEST folder and PROD folder. Developer is developing reports und

  • Excise and ***. Valsue doen not show when Creating a Sales Order

    Hi SAP Gurus, I am creating a Return Sales order through VA01 with reference of Billing Document which was earlier giving error  of 'Copying from sales document type ZSFG to ZREV is not supported' that was resolved by going through the available thre

  • Got a laptop with BESTBUY warrenty if i change the os what will happen to warrenty.

    I was wandering i bought a laptop from BESTBUY ( in stores ) it is a Samsung laptops cost like 400$. And I got the extended warrenty with BESTBUY am I allowed to change the operating system and if something goes wrong will they still stand behind the

  • Data Modeler : Generate direct to a schema / Reverse engineering

    Hi everybody, I searched for informations in the help but I didn't found any interesting information. I would like to know : - If it's possible to generate the relation model directly to a schema? If yes, where can I found documentation? - Is it poss