ASO-related statements fail in JAPI MaxL

Hi there,
I am trying to run an ASO database aggregation from a java program using Essbase JAPI. I am running Essbase 7.1.6. Since there seems not to be any ASO related call in the library, my approach is to open a MaxL session (IEssMaxlSession) and to execute a simple MaxL command (execute aggregate process on database appname.dbname). But surprisingly this fails. After some investigation, I realized that all ASO-related MaxL statements also fail to run in Essbase API while BSO ones function well. It always complain about some incorrect syntax, which I am 100% is valid since I was able to run it successfully from the MaxL prompt.
Any idea how to solve this?
Thanks a bunch in advance,
Regis

MaxL was supported in the JAPI from version 7x, however, it goes away in System 9. Here is a portion of the javadoc of IEssMaxlSession in System 9.3.1:
boolean execute(java.lang.String maxlStatement)
Deprecated. - Deprecated for lack of JAPI support
Based on the fact that the JAPI never fully supported MaxL in the first place and the fact that MaxL/JAPI calls were deprecated in System 9, I would guess the ASO functionality wasn't available via the JAPI in the first place (although I have tested that scenario in any version of the JAPI)..
Any idea how to solve this?Perhaps you could install the Essbase client which, I believe, contains the full MaxL functionality, and write/execute your MaxL scripts from Java..
I looked in the 9.3.1. javadocs and didn't see anything new in regards to materinalizing aggregations; I will, however, see if any of my friends in the JAPI group have any further insights and, if I find anything out, I will followup here.
Sorry there isn't a cleaner solution.
Tim Tow
Oracle ACE
Applied OLAP, Inc

Similar Messages

  • Essbase JAPI maxl session gives NPE with import statement

    Anybody know why I get a NPE from the Java API when trying to use the IEssMaxlSession to do an import? Here's my code snippet. I've verified the session work using the simpler maxl command commented out below. I also know the import syntax is OK at the maxl prompt. Essbase Error(0) isn't the most helpful diagnostic I've come across.
    Thanks
    IEssMaxlSession maxlSess = null;
    try {
         maxlSess = olapSvr.openMaxlSession("Maxl Test");
                   try {
                        String maxl;
    //                    maxl = "display database \"184_r\".rep";
                        maxl = "import database \"184_a\".agg dimensions connect as \"admin\" identified by \"password\" using server rules_file '/TmpltRFs/RFs/Plan.rul' on error write to \"errlog.log\"";
                        logger.debug(maxl);
         maxlSess.execute(maxl);
         printMessages(maxlSess.getMessages());
                   } catch (EssException e) {
                        printMessages(maxlSess.getMessages());
                        logger.debug(e.getMessage());
                        e.printStackTrace();
    } catch (EssException e){
         logger.debug(e.getMessage());
    14:47:40 DEBUG (essbase.RunMaxl 109): Cannot execute maxl statement. Essbase Error(0): java.lang.NullPointerException
    com.essbase.api.base.EssException: Cannot execute maxl statement. Essbase Error(0): java.lang.NullPointerException
         at com.essbase.server.framework.EssOrbPluginDirect.ex_olap(Unknown Source)
         at com.essbase.server.framework.EssOrbPluginDirect.executeMaxlStatement(Unknown Source)
         at com.essbase.api.session.EssOrbPlugin._invokeMaxlMethod(Unknown Source)
         at com.essbase.api.session.EssOrbPlugin._invokeMethod2(Unknown Source)
         at com.essbase.api.session.EssOrbPlugin._invokeMethod(Unknown Source)

    This is due to the unpublished Bug 12661416: MAXL STATEMENT IMPORT DB DIMENSIONS FROM RELATIONAL DATABASE FAILS WITH JAPI. This error is not fixed in next release.
    However, there is one workaround.
    "As a workaround we installed Essbase client 9.3.1 on the epm11 test box, copied native libraries from 9.3.1 admin server and connected to maxl shell from the v 9.3.1 maxljni interface. This seems to work fine."
    Edited by: Karthik_P on Apr 9, 2012 1:12 PM

  • ORA-06540,following statement failed with ORACLE error 6540:

    I was working during the last days on doing a full export/import for the database 9i I used the following script for the export .
    exp system/**** full=y file=/export/export.dmp log=/export/export.log consistent=y statistics=estimate buffer=200000
    And everything went fine, after that I dropped all the objects owners belonging to the tablepaces as i am doing that to solve fragmentation problems
    The issue is during the import and after 50% of the tables were exported successfully I started to receive the following error
    ORA-06540: PL/SQL: compilation error
    ORA-06553: PLS-123: program too large
    IMP-00017:
    "DECLARE SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := 'C2020E'; SREC.MAXVA"
    "L := 'C26338'; SREC.EAVS := 0; SREC.CHVALS := NULL; SREC.NOVALS := DBMS_STA"
    "TS.NUMARRAY(113,9855); SREC.BKVALS := DBMS_STATS.NUMARRAY(0,1); SREC.EPC :="
    " 2; DBMS_STATS.SET_COLUMN_STATS(NULL,'"RPT_LEDGER"','"GL_ACCOUNT_ID"', NULL"
    " ,NULL,NULL,1432,.000698324022346369,0,srec,4,2); END;"
    IMP-00003: ORACLE error 6540 encountered
    ORA-06540: PL/SQL: compilation error
    ORA-06553: PLS-123: program too large
    IMP-00017: following statement failed with ORACLE error 6540:
    "DECLARE SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := 'C2020B'; SREC.MAXVA"
    "L := 'C2031F'; SREC.EAVS := 0; SREC.CHVALS := NULL; SREC.NOVALS := DBMS_STA"
    "TS.NUMARRAY(110,230); SREC.BKVALS := DBMS_STATS.NUMARRAY(0,1); SREC.EPC := "
    "2; DBMS_STATS.SET_COLUMN_STATS(NULL,'"RPT_LEDGER"','"COMMON_COA_ID"', NULL "
    ",NULL,NULL,14,.0714285714285714,0,srec,4,2); END;"
    IMP-00003: ORACLE error 6540 encountered
    ORA-06540: PL/SQL: compilation error
    ORA-06553: PLS-123: program too large
    IMP-00017: following statement failed with ORACLE error 6540:
    "DECLARE SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := 'C202'; SREC.MAXVAL "
    ":= 'C20233'; SREC.EAVS := 0; SREC.CHVALS := NULL; SREC.NOVALS := DBMS_STATS"
    ".NUMARRAY(100,150); SREC.BKVALS := DBMS_STATS.NUMARRAY(0,1); SREC.EPC := 2;"
    " DBMS_STATS.SET_COLUMN_STATS(NULL,'"RPT_LEDGER"','"CONSOLIDATION_CD"', NULL"
    " ,NULL,NULL,2,.5,0,srec,4,2); END;"
    IMP-00003: ORACLE error 6540 encountered
    the used script for import is
    imp system/****** full=y rows=y file=/export/export.dmp log=/export/ofsaimport2.log buffer=20000000
    Please note that all the tables and indexes are imported successfully even after the error started to show.
    Is it something serious, should I do the import again with statistics=none or I am just fine now and it something that is just related for the statistics.

    Is really "fragmentation" an issue to justify this table movement? Why do you want to "defragment" your schema? Is it because of performance issues? If this is the case you are wasting your time, if you tried to rebuild the indexes by this procedure, it is also a waste of time. If you are concerned about fragmentation because of "holes" and "islands" of unused space within segments and unused space below the HWM, that is something different, in my personal jargon, I'd rather use the term space reorganization.
    If the data import was successful, then take a look at the dba_objects and verify if the program unit is still there and check its status.
    You may also want to take a look at this note from AskTom that explains what this error means --> http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:571023051648
    ~ Madrid
    http://hrivera99.blogspot.com

  • Import error imp-00017: following statement failed with oracle error 1659:

    Hi all,
    I am trying to import a file (dmp) which is of 1.63GB size,
    when I type
    imp
    dbname/pwd@db
    c:\filepath
    30720
    no
    no
    yes
    yes
    yes
    I am getting the error imp-00017: following statement failed with oracle error 1659:
    -- end it says Ora-01659 unable to allocate minextents beyond 1 in tablespace USERS
    --unable to create INITIAL extent for segment in tablespace USERS
    --import terminated successfully with warnings
    when I looked into
    select maxbytes,file_name from dba_data_files where tablespace_name='USERS';3.4360+10 c:\oracle\product\10.2.0\oradata\orcl\users01.dbf
    kindly help me in solving this is.
    Regards,
    aak
    Edited by: AAK 460425 on Apr 12, 2009 6:33 PM

    Thanks,
    select bytes from user_free_space where tablespace_name='USERS'
    BYTES
    458752
    720896
    458752
    655360
    43384832
    is the size less?
    My apology I have updated this in the below thread, which is same as this one.
    Re: Import error

  • Calling another function if upate statement fails

    Hi there,
    I have written an update procedure and insert procedure. Is there a way of calling another function if the update statement fails? Thanks a lot for your help.
    Chris
    procedure update_costing(in_period in DATE,
                   in_project_id IN VARCHAR2,
                   in_user_id IN VARCHAR2,
                   in_thu IN VARCHAR2,
                   in_fri IN VARCHAR2,
                   in_sat IN VARCHAR2,
                   in_sun IN VARCHAR2,
                   in_mon IN VARCHAR2,
                   in_tue IN VARCHAR2,
                   in_wed IN VARCHAR2)
         UPDATE TBL_COSTING
              SET
                   HOURS_THU = to_date (in_thu, 'HH24:MI'),
                   HOURS_FRI = to_date (in_fri, 'HH24:MI'),
                   HOURS_SAT = to_date (in_sat, 'HH24:MI'),
                   HOURS_SUN = to_date (in_sun, 'HH24:MI'),
                   HOURS_MON = to_date (in_mon, 'HH24:MI'),
                   HOURS_TUE = to_date (in_tue, 'HH24:MI'),
                   HOURS_WED = to_date (in_wed, 'HH24:MI'),
                   WHERE PERIOD = in_period
         AND PROJECT_ID = in_project_id
         AND USER_ID = in_user_id;
    EXCEPTION
    --CALLL HERE THE INSERT FUNCTION WITH SAME DATAMEMBERS
    SOMETHING LIKE THIS---
    WHEN others then
         insert_costing(in_period, in_project_id, in_user_id ,in_thu,in_fri,in_sat,in_sun,in_mon,in_tue,in_wed ,in_submit);
    COMMIT;
    END update_costing;

    begin
    UPDATE statement
    IF SQL%ROWCOUNT =0
    then
    INSERT statement|procedure
    end if;
    end;
    /Hi,
    i have a simple doubt over here, i read somewhere that cursor attributes can be used only as long as the cursor is open, then in the above case whiel doing the update operation, oracle implicitly will open an cursor and will do the operation and then will close the cursor, then how does SQL%ROWcount works???please revert...
    cheere

  • IMP-00017: following statement failed with ORACLE error 901:

    Why I get these error messages while I do full import? Could anyone help me on this issue?
    IMP-00017: following statement failed with ORACLE error 901:
    "CREATE FORMAT92TRIG "
    IMP-00003: ORACLE error 901 encountered
    ORA-00901: invalid CREATE command
    IMP-00008: unrecognized statement in the export file:
    ýÿ$
    Note:- I have used the same command to import the same export file to a different SID and it went fine but when I try to do import for SID (DEMO), I get the above mentioned errors.
    Thanks
    Rajesh Kumar

    Thanks for the clue
    Got it right, when i changed the primary Oracle Home from 10gDS to 9iDB. 10gDS has a lower version of import as compared to 9iDB.
    Rajesh

  • IMP-00017: following statement failed with ORACLE error 2304

    Hi,
    in 9i DB when importing I have :
    IMP-00017: following statement failed with ORACLE error 2304:
    "CREATE TYPE "T_NUMBER" TIMESTAMP '2007-04-02:10:02:26' OID '6B4C21C0310143B"
    "A97211E5E8301C09E' "
    " as table of number"
    IMP-00003: ORACLE error 2304 encountered
    ORA-02304: invalid object identifier literal
    Can any one please explaine me the problem and if possible a solution ?
    Many thanks.

    The problem is explained in the metalink Note:113335.1

  • IMP-00017: following statement failed with ORACLE error 1849

    Hi
    We have a instance 11.1.0.7
    while doing import i got the issue as:
    IMP-00017: following statement failed with ORACLE error 1849:
    "BEGIN "
    "dbms_scheduler.create_job('"MAXIMOTSSYNC"',"
    "job_type=>'STORED_PROCEDURE', job_action=>"
    "'maximo_ts_job'"
    ", number_of_arguments=>0,"
    "start_date=>'30-AUG-12 15.12.04.000000 +04:00', repeat_interval=> "
    "'SYSDATE + 5/1440'"
    ", end_date=>NULL,"
    "job_class=>'"DEFAULT_JOB_CLASS"', enabled=>FALSE, auto_drop=>TRUE,comments="
    ">"
    "NULL"
    "dbms_scheduler.enable('"MAXIMOTSSYNC"');"
    "COMMIT; END;"
    IMP-00003: ORACLE error 1849 encountered
    ORA-01849: hour must be between 1 and 12
    ORA-06512: at line 2
    IMP-00091: Above error occurred on the following function and object: CREATE MAXIMOTSSYNC. Remaining PL/SQL blocks for this object will be skipped.
    Import terminated successfully with warnings.
    My imp command is:
    imp system/manager file=schema.DMP log=schema.log fromuser=max touser=max
    Please suggest on this
    Thanks
    Shaik

    ORA-01849: hour must be between 1 and 12Error: ORA 1849
    Text: hour must be between 1 and 12
    Cause: An invalid hour was specified for a date using the 12-hour time format.
    If a 12-hour format code (HH or HH12) is used, the specified hour must
    be between 1 and 12.
    Action: Enter an hour value between 1 and 12.

  • IMP-00017: following statement failed with ORACLE error 1031

    Hello,
    I export a schema from prod (database A) and I try to imported to onther test database (databse B).
    database A: single database - Non ASM - 10gR1
    database B: RAC database - ASM -10gR2
    To import database I use this:
    imp osiris/b@osiris file=prod_osiris070601.dmp full=y ignore=y log=osiris.log
    All the tables are imported withot problem but when he start to imprt views I get this error:
    IMP-00017: following statement failed with ORACLE error 1031:
    Can you please help?
    Thanck you in advance.

    I thing that the problem is that the user can not create views!!!
    I create the user normaly and I give him this rols: "CREATE SESSION", "CONNECT" and "RESOURCE"
    it's ok?
    . . importing table "ZIP_CODE" 70768 rows imported
    IMP-00017: following statement failed with ORACLE error 1031:
    "CREATE FORCE VIEW "OSIRIS"."DETAILED_FRANKING_SYSTEM_VIEW" "
    " ("CONFIGURATION_SYSTEM_ID","SYSTEM_ID","DEVICE_SERIAL_NO","OPCO_DE"
    "VICE_SERIAL_NO","STATUS","BO_CUST_ID","CUSTOMER_NAME","CUSTOMER_ADDRESS_NAM"
    "E","CUSTOMER_STREET1","CUSTOMER_STREET2","CUSTOMER_STREET3","CUSTOMER_STREE"
    "T4","CUSTOMER_CITY","CUSTOMER_STATE","CUSTOMER_ZIP4","CUSTOMER_ZIP","CUSTOM"
    "ER_COUNTRY","CUSTOMER_NAME_CAP","CUSTOMER_ADDRESS_NAME_CAP","CUSTOMER_STREE"
    "T1_CAP","CUSTOMER_STREET2_CAP","CUSTOMER_STREET3_CAP","CUSTOMER_STREET4_CAP"
    "","CUSTOMER_ADDRESS_STREET_CAP","CUSTOMER_CITY_CAP","CUSTOMER_STATE_CAP","C"
    "USTOMER_COUNTRY_CAP","INSTALL_ADDRESS_NAME","INSTALL_STREET1","INSTALL_STRE"
    "ET2","INSTALL_STREET3","INSTALL_STREET4","INSTALL_CITY","INSTALL_STATE","IN"
    "STALL_ZIP4","INSTALL_ZIP","INSTALL_COUNTRY","INSTALL_ADDRESS_NAME_CAP","INS"
    "TALL_STREET1_CAP","INSTALL_STREET2_CAP","INSTALL_STREET3_CAP","INSTALL_STRE"
    "ET4_CAP","INSTALL_ADDRESS_STREET_CAP","INSTALL_CITY_CAP","INSTALL_STATE_CAP"
    "","INSTALL_COUNTRY_CAP","DESCRIPTION","CONFIG_MODEL_ID","TYPE","PART_NUMBER"
    "AND DEVICE_SYSTEM.DEVICE_TYPE='METER'"
    "AND US_SERIAL_NO_CONVERTER.DEVICE_SERIAL_NO(+) = DEVICE_SYSTEM.DEVICE_SERIA"
    "L_NO"
    IMP-00003: ORACLE error 1031 encountered
    ORA-01031: insufficient privileges
    IMP-00017: following statement failed with ORACLE error 942:
    "GRANT DELETE ON "DETAILED_FRANKING_SYSTEM_VIEW" TO "APP""
    IMP-00003: ORACLE error 942 encountered
    Message was edited by:
    ASkika

  • IMP-00017: following statement failed with ORACLE error 1276

    i have exported the full database without rows from live database and tried to import it into training database.
    both use ASM file system.i have precreated tablespace in training database.
    but im getting the error IMP-00017: following statement failed with ORACLE error 1276.
    it tries to create tablesapce and datafile on live ASM location rather than creating it on training database ASM location.
    live database asm location is WEBD and training database is at TRAIND.
    it tries to import on WEBD RATHER THAN TRAIND and throws the error.
    any help is appreciated.i have googled it and cant find anything helpful.
    Im bit new to DBA stuff.
    is there anyway to import and export data in ASM file system?
    Thanks

    When datapump exports the tablespace information, all it knows about is the currently location of your datafiles. Let's take a simple example. Let's say you have tablespace foo with a file called foo.dbf and it lives in a windows directory c: if you are now trying to import that into a linux box, Data Pump does not know that. All it knows is that it needs to create the tablespace data file in c:. If you are changing the locations of the datafiles, you need to use remap_datafile=old_datafile:new_datafile ... in your impdp command. Or, precreate them and use exclude=tablespace. The old_datafile and new_datafile need to be the complete path.
    Hope this helps.
    Dean

  • IMP-00017: following statement failed with ORACLE error 922

    Hi all,
    I'm trying to import a partitioned table. I'm using the imp utility with ignore=y,
    but I got the error:
    IMP-00017: following statement failed with ORACLE error 922:
    "CREATE TABLE "TAB_EX" ("ID_EX" CHAR(12), "C2" NUM"
    "BER(3, 0), "C3" DATE, "C5" DATE, "C4" NUMBER("
    "8, 2), "C6" NUMBER(5, 0), "C7" NUMBER(6, "
    "0), "C8" NUMBER(6, 0))  PCTFREE 2 PCTUSED 98 INITRANS 1 MAXTRANS 25"
    "5 TABLESPACE "ETMTSD01" NOLOGGING PARALLEL ( DEGREE 4 INSTANCES 1) PARTITIO"
    "N BY RANGE ("DT_ABERTURA" )  SUBPARTITION BY HASH ("ID_ATM" )  SUBPARTITION"
    "S 4 SUBPARTITION TEMPLATE( SUBPARTITION "AB_SUBPART_1" VALUES ()  TABLESPAC"
    "E "ETMTSD03", SUBPARTITION "AB_SUBPART_2" VALUES ()  TABLESPACE "ETMTSD03","
    " SUBPARTITION "AB_SUBPART_3" VALUES ()  TABLESPACE "ETMTSD03", SUBPARTITION"
    " "AB_SUBPART_4" VALUES ()  TABLESPACE "ETMTSD03" ) (PARTITION "AB_PART_BEFO"
    "RE" VALUES LESS THAN (TO_DATE(' 2008-01-01 00:00:00', 'SYYYY-MM-DD HH24:MI:"
    "SS', 'NLS_CALENDAR=GREGORIAN'))  PCTFREE 2 PCTUSED 98 INITRANS 1 MAXTRANS 2"
    "55 TABLESPACE "ETMTSD01" LOGGING (SUBPARTITION "AB_PART_BEFORE_AB_SUBPART_1"
    ""  TABLESPACE "ETMTSD03", SUBPARTITION "AB_PART_BEFORE_AB_SUBPART_2"  TABLE"
    "SPACE "ETMTSD03", SUBPARTITION "AB_PART_BEFORE_AB_SUBPART_3"  TABLESPACE "E"
    "TMTSD03", SUBPARTITION "AB_PART_BEFORE_AB_SUBPART_4"  TABLESPACE "ETMTSD03""
    " ), PARTITION "AB_PART_2008_01" VALUES LESS THAN (TO_DATE(' 2008-02-01 00:0"
    "0:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))  PCTFREE 2 PCTU"
    "SED 98 INITRANS 1 MAXTRANS 255 TABLESPACE "ETMTSD01" LOGGING (SUBPARTITION "
    ""AB_PART_2008_01_AB_SUBPART_1"  TABLESPACE "ETMTSD03", SUBPARTITION "AB_PAR"
    "T_2008_01_AB_SUBPART_2"  TABLESPACE "ETMTSD03", SUBPARTITION "AB_PART_2008_"
    "01_AB_SUBPART_3"  TABLESPACE "ETMTSD03", SUBPARTITION "AB_PART_2008_01_AB_S"
    "UBPART_4"  TABLESPACE "ETMTSD03" ), PARTITION "AB_PART_2008_02" VALUES LESS"
    " THAN (TO_DATE(' 2008-03-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALEN"
    "DAR=GREGORIAN'))  PCTFREE 2 PCTUSED 98 INITRANS 1 MAXTRANS 255 TABLESPACE ""
    "ETMTSD01" LOGGING (SUBPARTITION "AB_PART_2008_02_AB_SUBPART_1"  TABLESPACE "So, the rows cannot be imported because this error.
    Why am I getting this error with ignore=y?
    thanks!

    imp userdba fromuser=etmown touser=etmown file=etmown.dmp log=etmown_imp10g.log statistics=none grants=no ignore=Ythe log:
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Export file created by EXPORT:V09.02.00 via conventional path
    Warning: the objects were exported by ETMOWN, not by you
    import done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
    . importing ETMOWN's objects into ETMOWN
    IMP-00017: following statement failed with ORACLE error 922:
    "CREATE TABLE "TAB_EX" ("c1" CHAR(12), "c2" NU"
    "MBER(3, 0), "C3" DATE, "C4" DATE, "C5" NUMBER"
    "(8, 2), "C6" NUMBER(5, 0), "C7" NUMBER(6,"
    " 0), "C8" NUMBER(6, 0))  PCTFREE 2 PCTUSED 98 INITRANS 1 MAXTRANS 2"
    "55 TABLESPACE "ETMTSD01" NOLOGGING PARALLEL ( DEGREE 4 INSTANCES 1) PARTITI"
    "ON BY RANGE ("C3" )  SUBPARTITION BY HASH ("C1" )  SUBPARTITIO"
    "NS 4 SUBPARTITION TEMPLATE( SUBPARTITION "AB_SUBPART_1" VALUES ()  TABLESPA"
    "CE "ETMTSD03", SUBPARTITION "AB_SUBPART_2" VALUES ()  TABLESPACE "ETMTSD03""
    ", SUBPARTITION "AB_SUBPART_3" VALUES ()  TABLESPACE "ETMTSD03", SUBPARTITIO"
    "N "AB_SUBPART_4" VALUES ()  TABLESPACE "ETMTSD03" ) (PARTITION "AB_PART_BEF"
    "ORE" VALUES LESS THAN (TO_DATE(' 2008-01-01 00:00:00', 'SYYYY-MM-DD HH24:MI"
    ":SS', 'NLS_CALENDAR=GREGORIAN'))  PCTFREE 2 PCTUSED 98 INITRANS 1 MAXTRANS "
    "255 TABLESPACE "ETMTSD01" LOGGING (SUBPARTITION "AB_PART_BEFORE_AB_SUBPART_"
    "1"  TABLESPACE "ETMTSD03", SUBPARTITION "AB_PART_BEFORE_AB_SUBPART_2"  TABL"
    "ESPACE "ETMTSD03", SUBPARTITION "AB_PART_BEFORE_AB_SUBPART_3"  TABLESPACE ""
    "ETMTSD03", SUBPARTITION "AB_PART_BEFORE_AB_SUBPART_4"  TABLESPACE "ETMTSD03"
    "" ), PARTITION "AB_PART_2008_01" VALUES LESS THAN (TO_DATE(' 2008-02-01 00:"
    "00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))  PCTFREE 2 PCT"
    "USED 98 INITRANS 1 MAXTRANS 255 TABLESPACE "ETMTSD01" LOGGING (SUBPARTITION"
    " "AB_PART_2008_01_AB_SUBPART_1"  TABLESPACE "ETMTSD03", SUBPARTITION "AB_PA"
    "RT_2008_01_AB_SUBPART_2"  TABLESPACE "ETMTSD03", SUBPARTITION "AB_PART_2008"
    "_01_AB_SUBPART_3"  TABLESPACE "ETMTSD03", SUBPARTITION "AB_PART_2008_01_AB_"
    "SUBPART_4"  TABLESPACE "ETMTSD03" ), PARTITION "AB_PART_2008_02" VALUES LES"
    "S THAN (TO_DATE(' 2008-03-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALE"
    "NDAR=GREGORIAN'))  PCTFREE 2 PCTUSED 98 INITRANS 1 MAXTRANS 255 TABLESPACE "
    ""ETMTSD01" LOGGING (SUBPARTITION "AB_PART_2008_02_AB_SUBPART_1"  TABLESPACE"
    " "ETMTSD03", SUBPARTITION "AB_PART_2008_02_AB_SUBPART_2"  TABLESPACE "ETMTS"
    "D03", SUBPARTITION "AB_PART_2008_02_AB_SUBPART_3"  TABLESPACE "ETMTSD03", S"
    "UBPARTITION "AB_PART_2008_02_AB_SUBPART_4"  TABLESPACE "ETMTSD03" ), PARTIT"
    "ION "AB_PART_2008_03" VALUES LESS THAN (TO_DATE(' 2008-04-01 00:00:00', 'SY"
    "YYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))  PCTFREE 2 PCTUSED 98 INI"
    "TRANS 1 MAXTRANS 255 TABLESPACE "ETMTSD01" LOGGING (SUBPARTITION "AB_PART_2"
    "008_03_AB_SUBPART_1"  TABLESPACE "ETMTSD03", SUBPARTITION "AB_PART_2008_03_"
    "AB_SUBPART_2"  TABLESPACE "ETMTSD03", SUBPARTITION "AB_PART_2008_03_AB_SUBP"
    "ART_3"  TABLESPACE "ETMTSD03", SUBPARTITION "AB_PART_2008_03_AB_SUBPART_4" "
    " TABLESPACE "ETMTSD03" ), PARTITION "AB_PART_2008_04" VALUES LESS THAN (TO_"
    "DATE(' 2008-05-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGOR"
    "IAN'))  PCTFREE 2 PCTUSED 98 INITRANS 1 MAXTRANS 255 TABLESPACE "ETMTSD01" "
    "LOGGING (SUBPARTITION "AB_PART_2008_04_AB_SUBPART_1"  TABLESPACE "ETMTSD03""
    ", SUBPARTITION "AB_PART_2008_04_AB_SUBPART_2"  TABLESPACE "ETMTSD03", SUBPA"
    "RTITION "AB_PART_2008_04_AB_SUBPART_3"  TABLESPACE "ETMTSD03", SUBPARTITION"
    " "AB_PART_2008_04_AB_SUBPART_4"  TABLESPACE "ETMTSD03" ), PARTITION "AB_PAR"
    "T_2008_05" VALUES LESS THAN (TO_DATE(' 2008-06-01 00:00:00', 'SYYYY-MM-DD H"
    "H24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))  PCTFREE 2 PCTUSED 98 INITRANS 1 MAX"
    "TRANS 255 TABLESPACE "ETMTSD01" LOGGING (SUBPARTITION "AB_PART_2008_05_AB_S"
    "UBPART_1"  TABLESPACE "ETMTSD03", SUBPARTITION "AB_PART_2008_05_AB_SUBPART_"
    "2"  TABLESPACE "ETMTSD03", SUBPARTITION "AB_PART_2008_05_AB_SUBPART_3"  TAB"
    "LESPACE "ETMTSD03", SUBPARTITION "AB_PART_2008_05_AB_SUBPART_4"  TABLESPACE"
    " "ETMTSD03" ), PARTITION "AB_PART_2008_06" VALUES LESS THAN (TO_DATE(' 2008"
    "-07-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))  PCT"
    "FREE 2 PCTUSED 98 INITRANS 1 MAXTRANS 255 TABLESPACE "ETMTSD01" LOGGING (SU"
    "BPARTITION "AB_PART_2008_06_AB_SUBPART_1"  TABLESPACE "ETMTSD03", SUBPARTIT"
    "ION "AB_PART_2008_06_AB_SUBPART_2"  TABLESPACE "ETMTSD03", SUBPARTITION "AB"
    "_PART_2008_06_AB_SUBPART_3"  TABLESPACE "ETMTSD03", SUBPARTITION "AB_PART_2"
    "008_06_AB_SUBPART_4"  TABLESPACE "ETMTSD03" ), PARTITION "AB_PART_2008_07" "
    "VALUES LESS THAN (TO_DATE(' 2008-08-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS',"
    " 'NLS_CALENDAR=GREGORIAN'))  PCTFREE 2 PCTUSED 98 INITRANS 1 MAXTRANS 255 T"
    "ABLESPACE "ETMTSD01" LOGGING (SUBPARTITION "AB_PART_2008_07_AB_SUBPART_1"  "
    "TABLESPACE "ETMTSD03", SUBPARTITION "AB_PART_2008_07_AB_SUBPART_2"  TABLESP"
    "ACE "ETMTSD03", SUBPARTITION "AB_PART_2008_07_AB_SUBPART_3"  TABLESPACE "ET"
    "MTSD03", SUBPARTITION "AB_PART_2008_07_AB_SUBPART_4"  TABLESPACE "ETMTSD03""
    " ), PARTITION "AB_PART_2008_08" VALUES LESS THAN (TO_DATE(' 2008-09-01 00:0"
    "0:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))  PCTFREE 2 PCTU"
    "SED 98 INITRANS 1 MAXTRANS 255 TABLESPACE "ETMTSD01" LOGGING (SUBPARTITION "
    ""AB_PART_2008_08_AB_SUBPART_1"  TABLESPACE "ETMTSD03", SUBPARTITION "AB_PAR"
    "T_2008_08_AB_SUBPART_2"  TABLESPACE "ETMTSD03", SUBPARTITION "AB_PART_2008_"
    "08_AB_SUBPART_3"  TABLESPACE "ETMTSD03", SUBPARTITION "AB_PART_2008_08_AB_S"
    "UBPART_4"  TABLESPACE "ETMTSD03" ), PARTITION "AB_PART_2008_09" VALUES LESS"
    " THAN (TO_DATE(' 2008-10-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALEN"
    "DAR=GREGORIAN'))  PCTFREE 2 PCTUSED 98 INITRANS 1 MAXTRANS 255 TABLESPACE ""
    "ETMTSD01" LOGGING (SUBPARTITION "AB_PART_2008_09_AB_SUBPART_1"  TABLESPACE "
    ""ETMTSD03", SUBPARTITION "AB_PART_2008_09_AB_SUBPART_2"  TABLESPACE "ETMTSD"
    "03", SUBPARTITION "AB_PART_2008_09_AB_SUBPART_3"  TABLESPACE "ETMTSD03", SU"
    "BPARTITION "AB_PART_2008_09_AB_SUBPART_4"  TABLESPACE "ETMTSD03" ), PARTITI"
    "ON "AB_PART_2008_10" VALUES LESS THAN (TO_DATE(' 2008-11-01 00:00:00', 'SYY"
    "YY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))  PCTFREE 2 PCTUSED 98 INIT"
    "RANS 1 MAXTRANS 255 TABLESPACE "ETMTSD01" LOGGING (SUBPARTITION "AB_PART_20"
    "08_10_AB_SUBPART_1"  TABLESPACE "ETMTSD03", SUBPARTITION "AB_PART_2008_10_A"
    "B_SUBPART_2"  TABLESPACE "ETMTSD03", SUBPARTITION "AB_PART_2008_10_AB_SUBPA"
    "RT_3"  TABLESPACE "ETMTSD03", SUBPARTITION "AB_PART_2008_10_AB_SUBPART_4"  "
    "TABLESPACE "ETMTSD03" ), PARTITION "AB_PART_2008_11" VALUES LESS THAN (TO_D"
    "ATE(' 2008-12-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORI"
    "AN'))  PCTFREE 2 PCTUSED 98 INITRANS 1 MAXTRANS 255 TABLESPACE "ETMTSD01" L"
    "OGGING (SUBPARTITION "AB_PART_2008_11_AB_SUBPART_1"  TABLESPACE "ETMTSD03","
    " SUBPARTITION "AB_PART_2008_11_AB_SUBPART_2"  TABLESPACE "ETMTSD03", SUBPAR"
    "TITION "AB_PART_2008_11_AB_SUBPART_3"  TABLESPACE "ETMTSD03", SUBPARTITION "
    ""AB_PART_2008_11_AB_SUBPART_4"  TABLESPACE "ETMTSD03" ), PARTITION "AB_PART"
    "_2008_12" VALUES LESS THAN (TO_DATE(' 2009-01-01 00:00:00', 'SYYYY-MM-DD HH"
    "24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))  PCTFREE 2 PCTUSED 98 INITRANS 1 MAXT"
    "RANS 255 TABLESPACE "ETMTSD01" LOGGING (SUBPARTITION "AB_PART_2008_12_AB_SU"
    "BPART_1"  TABLESPACE "ETMTSD03", SUBPARTITION "AB_PART_2008_12_AB_SUBPART_2"
    ""  TABLESPACE "ETMTSD03", SUBPARTITION "AB_PART_2008_12_AB_SUBPART_3"  TABL"
    "ESPACE "ETMTSD03", SUBPARTITION "AB_PART_2008_12_AB_SUBPART_4"  TABLESPACE "
    ""ETMTSD03" ) )"
    IMP-00003: ORACLE error 922 encountered
    ORA-00922: missing or invalid option
    Import terminated successfully with warnings.thank u very much! :-)
    Edited by: [email protected] on Sep 12, 2008 3:11 PM

  • "DDL statement failed" in Database load faze

    Hello,
    I have an problem when installing DB2 on Solaris platform.
    During the installation, in Database load Faze, i get the error:
    MSC-01015  Process finished with error(s), check log file /tmp/sapinst_instdir/R3E47X2/SYSTEM/ABAP/DB6/NUC/DB/SAPVIEW.log
    I check the log & it has a whole bunch on tables that are created & at the end of it i get this message:
    DB) ERROR: DDL statement failed
    (CREATE VIEW "D010TINF" ( "PROG", "R3STATE", "LANGUAGE", "UNAM", "UDAT", "UTIME", "DATALG" ) AS SELECT T0001."PROGNAME"
    , T0001."R3STATE", T0001."LANGUAGE", T0001."UNAM", T0001."UDAT",  T0001."UTIME", T0001."DATALG" FROM "REPOTEXT" T0001)
    DbSlExecute: rc = 103
      (SQL error -204)
      error message returned by DbSl:
    SQL0204N  "SAPS47.REPOTEXT"; is an undefined name.  SQLSTATE=42704
    (DB) INFO: disconnected from DB
    /sapmnt/S47/exe/R3load: job finished with 1 error(s)
    /sapmnt/S47/exe/R3load: END OF LOG: 20080810125355
    /sapmnt/S47/exe/R3load: START OF LOG: 20080810130455
    /sapmnt/S47/exe/R3load: sccsid @(#) $Id: //bas/640_REL/src/R3ld/R3load/R3ldmain.c#4 $ SAP
    /sapmnt/S47/exe/R3load: version R6.40/V1.4
    /sapmnt/S47/exe/R3load -dbcodepage 1100 -i /tmp/sapinst_instdir/R3E47X2/SYSTEM/ABAP/DB6/NUC/DB/SAPVIEW.cmd -l /tmp/sapin
    st_instdir/R3E47X2/SYSTEM/ABAP/DB6/NUC/DB/SAPVIEW.log -c 300 -merge_bck -stop_on_error
    (DB) INFO: connected to DB
    (DB) ERROR: DDL statement failed
    (DROP VIEW "D010TINF")
    DbSlExecute: rc = 103
      (SQL error -204)
      error message returned by DbSl:
    SQL0204N  "SAPS47.D010TINF"; is an undefined name.  SQLSTATE=42704
    (IMP) INFO: a failed DROP attempt is not necessarily a problem
    (DB) ERROR: DDL statement failed
    (CREATE VIEW "D010TINF" ( "PROG", "R3STATE", "LANGUAGE", "UNAM", "UDAT", "UTIME", "DATALG" ) AS SELECT T0001."PROGNAME"
    , T0001."R3STATE", T0001."LANGUAGE", T0001."UNAM", T0001."UDAT",  T0001."UTIME", T0001."DATALG" FROM "REPOTEXT" T0001)
    DbSlExecute: rc = 103
      (SQL error -204)
      error message returned by DbSl:
    SQL0204N  "SAPS47.REPOTEXT"; is an undefined name.  SQLSTATE=42704
    (DB) INFO: disconnected from DB
    /sapmnt/S47/exe/R3load: job finished with 1 error(s)
    /sapmnt/S47/exe/R3load: END OF LOG: 20080810130457
    /sapmnt/S47/exe/R3load: START OF LOG: 20080810140953
    /sapmnt/S47/exe/R3load: sccsid @(#) $Id: //bas/640_REL/src/R3ld/R3load/R3ldmain.c#4 $ SAP
    /sapmnt/S47/exe/R3load: version R6.40/V1.4
    /sapmnt/S47/exe/R3load -dbcodepage 1100 -i /tmp/sapinst_instdir/R3E47X2/SYSTEM/ABAP/DB6/NUC/DB/SAPVIEW.cmd -l /tmp/sapin
    st_instdir/R3E47X2/SYSTEM/ABAP/DB6/NUC/DB/SAPVIEW.log -c 300 -merge_bck -stop_on_error
    (DB) INFO: connected to DB
    (DB) ERROR: DDL statement failed
    (DROP VIEW "D010TINF")
    DbSlExecute: rc = 103
      (SQL error -204)
      error message returned by DbSl:
    SQL0204N  "SAPS47.D010TINF"; is an undefined name.  SQLSTATE=42704
    (IMP) INFO: a failed DROP attempt is not necessarily a problem
    (DB) ERROR: DDL statement failed
    (CREATE VIEW "D010TINF" ( "PROG", "R3STATE", "LANGUAGE", "UNAM", "UDAT", "UTIME", "DATALG" ) AS SELECT T0001."PROGNAME"
    , T0001."R3STATE", T0001."LANGUAGE", T0001."UNAM", T0001."UDAT",  T0001."UTIME", T0001."DATALG" FROM "REPOTEXT" T0001)
    DbSlExecute: rc = 103
      (SQL error -204)
      error message returned by DbSl:
    SQL0204N  "SAPS47.REPOTEXT"; is an undefined name.  SQLSTATE=42704
    (DB) INFO: disconnected from DB
    /sapmnt/S47/exe/R3load: job finished with 1 error(s)
    /sapmnt/S47/exe/R3load: END OF LOG: 20080810140954
    Please lend me some of your wisdom
    Regards,
    Yoav Zilberman

    Hi Yoav,
    your import failed already before the SAPVIEW package was processed. You should check the other packages too for errors or for packages which are not imported. But the errors show that at lease the tables REPOTEXT and D010TINF are missing. I'm not sure, but I think they are in SAPDDIC package. You should run the package again before running SAPVIEW. For a functioning system you need both, tables and views.
    Regards
    Ralph

  • ERROR exec_ddl_stmt: (DB) ERROR: DDL statement failed during migration.

    Hello Experts ,
    We are in process of migration and after 90% of migration we are getting the following error as mentioned in MIGRATE_DT_XXXXX_IMP.log.:
    ERROR exec_ddl_stmt: (DB) ERROR: DDL statement failed
    (  ALTER TABLE "EDID4" ADD PRIMARY KEY(       "MANDT"       , "DOCNUM"       , "COUNTER"       , "SEGNUM"       ))
    DbSlExecute: rc = 99
      (SQL error -10108)
      error message returned by DbSl:
    ERROR exec_ddl_stmt: (DB) ERROR: DDL statement failed
    (                                           ALTER TABLE "EDID4" enable persistent merge )
    DbSlExecute: rc = 99
      (SQL error 131)
      error message returned by DbSl:
    transaction rolled back by lock wait timeout: Lock timeout occurs while waiting TABLE_LOCK of mode EXCLUSIVE(TRANSACTION_ID=14, UPDATE_TRANSACTION_ID=1442668)
    (DB) INFO: disconnected from DB
    I ran r3tans -d too to check the connection but it shows "Disconnected from DB".
    Can someone please let me know what went wrong.
    Environment Details :
    SOurce : ECC 6 Ehp5 NW702 Oracle10
    Target : ECC 6 Ehp7 NW740 HANA 1.0 Rev85
    Tool : SUM 1.0 SP12 PL04
    Phase Name :
    MAIN_SWITCH/SUBMOD_MIG_SWITCH/SUBMOD_MIG_DOWNTIME_RUN/EU_CLONE_MIG_DT_RUN
    Thanks
    Dev

    Hi, Check the Blog - DMO: optimizing system downtime ...
    we already had a discussion about in another request.
    Best Regards Roland

  • IMP-00017: following statement failed with ORACLE error 25153

    Sirs,
    Any one can guide me on below errors getting while importing the data
    Connected to: Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.1.0 - Production
    Export file created by EXPORT:V09.02.00 via conventional path
    import done in US7ASCII character set and AL16UTF16 NCHAR character set
    import server uses WE8ISO8859P1 character set (possible charset conversion)
    . importing SWTHIST's objects into SWTHIST
    . . importing partition "AUTHHIST_2006":"AUTH_09_06" 2857788 rows imported
    IMP-00017: following statement failed with ORACLE error 25153:
    "CREATE INDEX "AUTH2006_1" ON "AUTHHIST_2006" ("BR_ID" , "CARD_NO" , "SYSTEM"
    "_REQ_DTTIME" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FR"
    "EELISTS 1 FREELIST GROUPS 1) TABLESPACE "SWTIDX" LOGGING"
    IMP-00003: ORACLE error 25153 encountered
    ORA-25153: Temporary Tablespace is Empty
    IMP-00057: Warning: Dump file may not contain data of all partitions of this table
    Import terminated successfully with warnings.

    Hi,
    I have seen this error when you have a temporary tablespace without any datafile associated with it. I don't know how that happens, but that is what I have seen.
    ORA-25153: Temporary Tablespace is Empty
    Try altering the temp tablespace and add a tempfile.
    Dean

  • Urgent:IMP-00017: following statement failed with ORACLE error 3113

    OS:HP_UX 11i
    Oracle 9.2.0.3.0
    when import tablespace metadata,
    comand is "imp \'sys/sysadmin AS sysdba\' TRANSPORT_TABLESPACE=y DATAFILES='/oradata/data2/
    B.dbf' TABLESPACES=A FILE=A.dmp IGNORE=Y LOG=./log/import.log"
    the error occurs as followed:
    Export file created by EXPORT:V09.02.00 via conventional path
    About to import transportable tablespace(s) metadata...
    import done in US7ASCII character set and AL16UTF16 NCHAR character set
    import server uses WE8ISO8859P1 character set (possible charset conversion)
    . importing SYS's objects into SYS
    IMP-00017: following statement failed with ORACLE error 3113:
    "BEGIN sys.dbms_plugts.beginImport ('9.2.0.3.0',31,'2000',NULL,'NULL',3626"
    "7,35051,1); END;"
    IMP-00003: ORACLE error 3113 encountered
    ORA-03113: end-of-file on communication channel
    IMP-00000: Import terminated unsuccessfully
    export is in same enviorment, the successful informantion below:
    exp \'sys/sysadmin AS sysdba\' TRANSPORT_TABLESPACE=y TABLESPACES=A FILE=A.dmp
    LOG=./log/export.log
    log file:
    Export done in US7ASCII character set and AL16UTF16 NCHAR character set
    server uses WE8ISO8859P1 character set (possible charset conversion)
    Note: table data (rows) will not be exported
    About to export transportable tablespace metadata...
    For tablespace A ...
    . exporting cluster definitions
    . exporting table definitions
    . . exporting table A
    . exporting referential integrity constraints
    . exporting triggers
    . end transportable tablespace metadata export
    Export terminated successfully without warnings.

    I do it,but the same error message.
    export message:
    Connected to: Oracle9i Enterprise Edition Release 9.2.0.3.0 - 64bit Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.3.0 - Production
    Export done in WE8ISO8859P1 character set and AL16UTF16 NCHAR character set
    Note: table data (rows) will not be exported
    About to export transportable tablespace metadata...
    For tablespace A ...
    . exporting cluster definitions
    . exporting table definitions
    . . exporting table A
    . exporting referential integrity constraints
    . exporting triggers
    . end transportable tablespace metadata export
    Export terminated successfully without warnings.
    Import Message:
    Export file created by EXPORT:V09.02.00 via conventional path
    About to import transportable tablespace(s) metadata...
    import done in WE8ISO8859P1 character set and AL16UTF16 NCHAR character set
    . importing SYS's objects into SYS
    IMP-00017: following statement failed with ORACLE error 3113:
    "BEGIN sys.dbms_plugts.beginImport ('9.2.0.3.0',31,'2000',NULL,'NULL',3627"
    "7,36451,1); END;"
    IMP-00003: ORACLE error 3113 encountered
    ORA-03113: end-of-file on communication channel
    IMP-00000: Import terminated unsuccessfully

Maybe you are looking for

  • ODS - Activation Problem

    Hi All, There are two ODS in our scenario. One Standard and One Custom ODS. For this standard ODS ( for Region - 1) we performed an Init long before for which the Deltas are running everyday smoothly. Now we have built a custom ODS for Region - 2 whi

  • Oracle 8i SQL and PL/SQL plus

    hi everybody, i am trying from two weeks to install oracle 8i SQL and PL/SQL plus on my PC on both Windows 2000 & XP and I installed every java runtime environment I found "the old and the new" but the SETUP insists on not working though it worked on

  • CC can not playback timeline

    Hi. My company just got a 3.4 GHz iMac with 16 GB RAM and an GTX 780M for video editing. I want to use Premiere CC Pro and just installed the 30 day trial. However, straight to my problem... I can not playback the timeline. I have tried adding audio

  • HT201412 Hi , my Ipod touch4 not turning on even not connecting to computer... How can i fix this problem !!!! plz

    Hi , my Ipod touch4 not turning on even not connecting to computer... How can i fix this problem !!!! plz

  • Rejected Clips Question...

    I have some clips in my Events that show both orange lines, used in Project, and red lines, rejected clips.  I don't remember nor do I know how to reject a clip.  How did these red lines get there? Can I undo them so they are like the other Event cli