DataExport to Oracle DB

I am getting this error attempting to export to an Oracle Database, (I can export to a file just fine)
[[Oracle][ODBC Oracle Wire Protocol driver][Oracle]ORA-00942: table or view does not exist]
I created the database and can insert and select from SQL Developer.
This is a sample extract(to text file) from the DataExport in the calc script,
Department    Products    Entities    Scenario    Version    Currencies    Years    Accounts    Measures    Time Periods
DPT_1020    22    USA    Current Forecast    Working    LC    FY15    247000    Base    127105.44
This is the table def,
CREATE TABLE "EssbaseData"
  Department   VARCHAR2 (80 CHAR),
  Products      VARCHAR2 (80 CHAR),
  Entities      VARCHAR2 (80 CHAR),
  Scenario      VARCHAR2 (80 CHAR),
  Version      VARCHAR2 (80 CHAR),
  Currencies      VARCHAR2 (80 CHAR),
  Years      VARCHAR2 (80 CHAR),
  Accounts      VARCHAR2 (80 CHAR),
  Measures      VARCHAR2 (80 CHAR),
  TimePeriod   VARCHAR2 (80 CHAR)
   ) SEGMENT CREATION DEFERRED
  PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
NOCOMPRESS LOGGING
  TABLESPACE "HFM_DATA" ;
commit;
If I switch the "DSN connection" to the FDMEE interface table, "AIF_OPEN_INTERFACE"  I get this error,
*[[Oracle][ODBC Oracle Wire Protocol driver][Oracle]ORA-00947: not enough values]
So I think this might be some type of Oracle Permission issue...
Anyone ever set this up with Oracle Tables?
Thanks,
PR

I tried this format for the DATAEXPORT table name and the [[Oracle][ODBC Oracle Wire Protocol driver][Oracle]ORA-00903: invalid table name] error is gone,
"EPMFDMEE].[EssbaseData"
(the log show the table name as "[EPMFDMEE].[EssbaseData]", so it appends brackets)
...now I am getting this error...
*ODBC Layer Error: *[S1000]* ==> *[[Oracle][ODBC Oracle Wire Protocol driver][Oracle]ORA-00926: missing VALUES keyword]
Thanks,
PR

Similar Messages

  • Dataexport to Oracle tables with typed measures.

    Hi,
    Does anyone know if it is possible to export typed measures (dates and text) to an Oracle table using dataexport under Essbase 11.1.1.2? I've tried but I just get a message saying 'unable to export data to sql table' with no associated sql/odbc error messages:
    [Mon Aug 17 21:10:03 2009]Local/ChangeR/Change4/admin/Info(1021041)
    Connection String is [DSN=datadump;UID=...;PWD=...;]
    [Mon Aug 17 21:10:03 2009]Local/ChangeR/Change4/admin/Info(1021000)
    Connection With SQL Database Server is Established
    [Mon Aug 17 21:10:03 2009]Local/ChangeR/Change4/admin/Error(1012085)
    Unable to export data to SQL table [change_request4]. Check the Essbase server log and the system console to determine the cause of the problem.
    [Mon Aug 17 21:10:03 2009]Local/ChangeR/Change4/admin/Info(1021002)
    SQL Connection is Freed
    [Mon Aug 17 21:10:03 2009]Local/ChangeR/Change4/admin/Warning(1080014)
    Transaction [ 0x1e0003( 0x4a89b91b.0x69398 ) ] aborted due to status [1012085].
    I know it's something to do with the typed measures as I copied the cube and deleted the typed measures and had the dataexport working just fine. I've also tried changing the table fields from date & varchar2 to number just in case dataexport was ignoring the smartlist/date lookups.
    For the record, typed measures are exported correctly to text files, so it's seems to be just ODBC targets that I'm having this problem with.
    Thanks,
    Paul.
    Edited by: user602952 on 17-Aug-2009 13:30

    Thanks Glenn, but I've already tried that - (it's varchar2 in oracle) - I've tried various combinations of varchar2, number and date all to know avail and all with no helpful messages that might give me a clue.

  • DATAEXPORT to RDBMS - changing column dim from Accounts to Time

    While performing a DATAEXPORT to Oracle using DSN, the format of the table created has the members of the Accounts dimension in the columns and the other dimensions in the rows. Is is possible to change the column dimension from Accounts to Time while exporting data to RDBMS using the DATAEXPORT command?
    The problem is that I have around 1000 members in the Accounts dimension and cannot have that many columns in my table. Is it possible to manually define the column dimension while using the DATAEXPORT command? I can use the Jexport cdf, but I am not sure if I will get the same performance as the DATAEXPORT with the bulk insert options.
    Thanks,
    FJ

    Thanks for the quick reply, Glenn.
    But, I did go through the technical reference and it mentions that the DataExportColHeader option can only be used with text files and I am trying to export to a relational database.
    Regards,
    Francis

  • Parallel export/import

    For reasons that I won't go into, I need to export ALL data when employing the mxl import & export for the nightly defrag. I am using parallel export which in theory should allow the file to be larger than 2 gig assuming that the output is spread over 4 files. Things were fine until this week. It looks like essbase on Solaris doesn't split the output as evenly as I had hoped. Here are the output files.
    -rw-r--r-- 1 aphynspr hynspr 246K Nov 23 03:17 3.txt
    -rw-r--r-- 1 aphynspr hynspr 283K Nov 23 03:17 4.txt
    -rw-r--r-- 1 aphynspr hynspr 304K Nov 23 03:17 2.txt
    -rw-r--r-- 1 aphynspr hynspr 2.0G Nov 23 03:50 1.txt
    -rw-r--r-- 1 aphynspr hynspr 15M Nov 23 03:50 1_1.txt
    All of the data is in the first file.
    Does anyone know how essbase slices the data? Other than exporting level zero or adding a preprocessor to determine the number of files, does anyone have a suggestion so that I can import the appropriate files?
    Thanks,
    Dave

    Glenn you nailed it! The anchor dimension seems to control how the data is allocated to the threads. This database was organized as a modified hour glass with the non-aggregating sparse dimensions last. The anchor dimension has a dozen members but 99
    % of the data is in one member. Coincidentally the one of the output files contained 99% of the data. When we made the largest sparse dimension the anchor, data was allocated to the threaded output files evenly. Good call.
    Gary, you’ve convinced me to look at the dataexport anyway. Back in the summer ran a test extract from essbase. I tested a report script, dataexport as a text file and dataexport to oracle 11i. The times were 7 seconds, 1 minute and 40 minutes respectively. I’ve never used the binary format with dataexport but I’m guessing that I can find a use for it.
    Thanks for all of the suggestions
    Dave

  • DATAEXPORT from Essbase to Oracle SQL - Issue with #Missing

    Hi,
    I'm exporting data from Hyperion Planning application in order to transform and load forecast data into HFM.
    To do so, I'm using ODI which build an Essbase calc script, run this calc script in Essbase, transform the data and then load it into HFM.
    The calc script is exporting data into an Oracle table. I have one problem with the precision of the extract: when I set a precision (properties DataExportDecimal & DataExportPrecision), the #Missing are exported as "0" in Oracle table. I saw in the documentation that the precision properties are optional but when I don't set these precisions, #Missing are exported as "-0,000000000002".
    I'd like to export #Missing as null and keep "0" when data equals to "0" (I mean, no transformation of "0" to null). Also, I can't change the architecture to flat file export / load.
    I put the script I use below, thanks a lot for your help!
    Stephane.
    //ESS_LOCALE English_UnitedStates.Latin1@Binary
    SET UPDATECALC OFF ;
    SET CACHE HIGH;
    SET CALCPARALLEL 4;
    SET LOCKBLOCK HIGH ;
    SET MSG SUMMARY ;
    SET DATAEXPORTOPTIONS
    DataExportLevel ALL ;
    DataExportDynamicCalc On;
    DataExportDecimal 7;
    DataExportPrecision 7;
    DataExportColFormat Off;
    DataExportRelationalFile On;
    DataExportOverwriteFile On;
    DataExportDryRun Off;
    DataExportColHeader "PERIOD";
    FIX(BegBalance, @RELATIVE(TOT_YEAR,0), &FY_N0, &FY_N1, &FY_N2, "FINAL", &CurrScenario, @RELATIVE("PL_SRC", 0), "ENTITY_CURR", @RELATIVE("SITES", 0), @RELATIVE("TECHPL", 0), "ND_COST_CENTER", "ND_COST_CENTER_IC", "IC_TOT", @LEVMBRS(BU, 0), "ALL_PROJECT", "PTD", @LEVMBRS("LEGAL_ENTITY", 0))
    DATAEXPORT "DSN" "STAGING" "STG_BUDGET_EXTRACT_RPTING_HP" "#SCHEMA" "#PASSWD";
    ENDFIX;

    I can't really comment on why #Missing is not being outputted as you expect, is it possible you can run an update after the export to transform "-0,000000000002" to NULL
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • DATAEXPORT on Linux - Oracle On Demand

    Hi,
    We migrated to OOD from Windows 11.1.2.1.  We have many DATAEXPORT calc's that I'm going to assume will not work as they reference an 'F' drive that doesn't exist on Linux.
    DATAEXPORT "File" "," "F:\Batchscripts\Allocations\Data\AllocData.txt";
    What is the proper syntax to export to a Linux directory?
    Thanks

    HI,
    So we got it to work with: 
    DATAEXPORT "File" "," "/dcgi17/essbase/data/wells_test.txt";
    However the 'dcgi17' is the dev server name.   How can you do it where you don't have server name in the path?  We have many of these and when migrating from one environment to another would be a nightmare.  Any ideas?

  • DATAEXPORT to sql server is giving error

    Hi,
    I am using DATAEXPORT to export data to SQL tables but its giving error:
    MY TABLE:
    USE SBC;
    Create table TEST
         Period nchar(20),
         HSP_Rates nchar(20),
         Years nchar(10),
         Currency nchar(5),
         Scenario nchar(20),
         ICP nchar(20),
         [Co.] nchar(20),
         Version nchar(20),
         Product nchar(20),
         Entity nchar(30),
    Account nchar(50),
         Data numeric(18, 5)
    Created this order based on export taken on file
    **My Script:**
    SET DATAEXPORTOPTIONS
         DataExportLevel "ALL";
         DATAEXPORTCOLFORMAT ON;
         DataExportOverwriteFile ON;
         DataExportDecimal 4;
    DATAEXPORTCOND ("HSP_InputValue" <> #MISSING And "HSP_InputValue" <> 0);
    FIX (@REMOVE(@RELATIVE ("Balance_Sheet",0),"CY_Earnings"),"Per7","HSP_InputValue","FY12","Local","MY12 Budget", @RELATIVE ("ICP Top",0),@RELATIVE ("Co Total",0),Working,@RELATIVE (PODS,0),@RELATIVE ("Entity",0));
    /*DATAEXPORT "File" "," "D:\Test.txt"*/
    DATAEXPORT "DSN" "TEST" "Test" "admin" "XXXXXX";
    ENDFIX;
    Output when exported to File:
    "Per7"
    "HSP_InputValue","FY12","Local","MY12 Budget","No IC","Co 100","Working","ALLEZ","100-1050","Subs_Cash",500000.046
    "HSP_InputValue","FY12","Local","MY12 Budget","No IC","Co 100","Working","AirFreight","100-1050","Subs_Cash",534324.370
    ERROR IN LOGS:
    [Fri Feb 03 01:10:20 2012]Local/SBC///15796/Info(1013210)
    User [admin@Native Directory] set active on database [SBC]
    [Fri Feb 03 01:10:20 2012]Local/SBC/SBC/admin@Native Directory/2208/Info(1013091)
    Received Command [Calculate] from user [admin@Native Directory]
    [Fri Feb 03 01:10:20 2012]Local/SBC/SBC/admin@Native Directory/2208/Info(1013167)
    Received Command [Calculate] from user [admin@Native Directory] using [Test.csc]
    [Fri Feb 03 01:10:20 2012]Local/SBC/SBC/admin@Native Directory/2208/Info(1021004)
    Connection String is generated
    [Fri Feb 03 01:10:20 2012]Local/SBC/SBC/admin@Native Directory/2208/Info(1021041)
    Connection String is [DSN=SBC;UID=...;PWD=...;]
    [Fri Feb 03 01:10:20 2012]Local/SBC/SBC/admin@Native Directory/2208/Info(1021000)
    Connection With SQL Database Server is Established
    [Fri Feb 03 01:10:20 2012]Local/SBC/SBC/admin@Native Directory/2208/Info(1021013)
    ODBC Layer Error: [21S01] ==> [[Microsoft][ODBC SQL Server Driver][SQL Server]Column name or number of supplied values does not match table definition.]
    [Fri Feb 03 01:10:20 2012]Local/SBC/SBC/admin@Native Directory/2208/Info(1021014)
    ODBC Layer Error: Native Error code [213]
    [Fri Feb 03 01:10:20 2012]Local/SBC/SBC/admin@Native Directory/2208/Error(1012085)
    Unable to export data to SQL table [Test]. Check the Essbase server log and the system console to determine the cause of the problem.
    [Fri Feb 03 01:10:20 2012]Local/SBC/SBC/admin@Native Directory/2208/Info(1021002)
    SQL Connection is Freed
    [Fri Feb 03 01:10:20 2012]Local/SBC/SBC/admin@Native Directory/2208/Warning(1080014)
    Transaction [ 0xb0006( 0x4f2b885c.0xd4e40 ) ] aborted due to status [1012085].
    [Fri Feb 03 01:10:20 2012]Local/SBC/SBC/admin@Native Directory/2208/Info(1012579)
    Total Calc Elapsed Time for [Test.csc] : [0.022] seconds
    I have tried using SQL Drivers for ODBC connection as well as Wire protocol driver.
    Please assist asap.
    Regards,
    Vinit

    Chawla,
    Fixed in 9.3.3, Check out this, their are few more bugs fixed related to DataExport.
    http://docs.oracle.com/cd/E10530_01/doc/epm.931/esb_93300_readme.pdf
    8404516 Calculator.The DATAEXPORTCOND calculation command clashes with the FIX
    command.
    8913164 Calculator. Data exports that use DATAEXPORTCOND do not always export all
    the data expected because not all conditions are taken into account within the
    DATAEXPORTCOND statement
    8988310 Calculator. When exporting data using the DATAEXPORT command from a
    duplicate outline that contains a shared hierarchy, the exported data contains the
    shared member, not the prototype Etc..
    Cheers...!!
    Rahul S.

  • DATAEXPORT - set Dynamic File name in Calc Script

    Hi,
    I have a calc script which exports data from BSO cube to a flat file. Currently I have hard coded file name within the calc script which is
    DATAEXPORT "File" "," "D:/in/CAPXPT_FERC_*FY12*.txt";
    and, for example, I want use the substition varaible to dynamically assign the file name let' say
    DATAEXPORT "File" "," "/u11/oracle/OHDDEVD/in/CAPXPT_FERC *" + &fYear + "*.txt";
    Is there any way to set the export file name dynamically?
    Thanks for your help
    Regards,

    A kind of intriguing thought would be to use the sub var as a way to drive the file name, then grab Robb Salzmann's CDF to dynamically set sub vars on the fly, and then use a RTP to grab that string. I have no idea if this would all tie together, but it would be interesting to try.
    Here's Robb's post: http://codingwithhyperion.blogspot.com/2011/08/create-and-update-substitution.html This is my second in a row post that refers to his CDF -- it is almost like that's my pseudonym except of course I'm too thick to write a CDF.
    Regards,
    Cameron Lackpour
    Edited by: CL on Sep 20, 2011 10:36 AM
    Spelling. Arrgh.

  • Using DataExport to create an out put

    Iam currently trying to export the level 0 data to a text file( or table) so I can remap the data to a different member
    I want a spcific format so it's easy to dump the data to a SQl table.
    Currently when I run the following calcscript I get the results as shown below, WIth m1 showing in the first line( it's a dense dimension.
    What I want is M1 showing on each row..how can i do that?
    Thanks,
    SET DATAEXPORTOPTIONS
    DataExportLevel "LEVEL0";
    DATAEXPORTOVERWRITEFILE ON;
    DataExportColFormat OFF;
    DataExportDimHeader ON;
    DataExportColFormat ON;
    FIX("FY2011","Budget","Version1",Amount,FixedAssets,DirectBU,"USD","3011",@LEVMBRS("CostCenters",0),"M1");
    DATAEXPORT "File" "," "BEAM";
    /*DATAEXPORT "DSN" "bfp" "ClaritydataCS.dbo.BEAM_Output_Budget" "bfpcssql" "pBaUsDsGwEoTrd123";*/
    ENDFIX;
    Result
    "M1"
    "VERSION1","FixedAssets","Budget","USD","3011","622185","BU_None","Amount","FY2011",274861.942
    "VERSION1","FixedAssets","Budget","USD","3011","652222","BU_None","Amount","FY2011",282.48
    "VERSION1","FixedAssets","Budget","USD","3011","652293","BU_None","Amount","FY2011",18052.12
    "VERSION1","FixedAssets","Budget","USD","3011","652210","BU_None","Amount","FY2011",102970.24
    "VERSION1","FixedAssets","Budget","USD","3011","652801","BU_None","Amount","FY2011",305.28
    "VERSION1","FixedAssets","Budget","USD","3011","652802","BU_None","Amount","FY2011",23606.68
    "VERSION1","FixedAssets","Budget","USD","3011","652803","BU_None","Amount","FY2011",375305.51
    "VERSION1","FixedAssets","Budget","USD","3011","652804","BU_None","Amount","FY2011",4249.49
    "VERSION1","FixedAssets","Budget","USD","3011","652430","BU_None","Amount","FY2011",53.81
    "VERSION1","FixedAssets","Budget","USD","3011","653220","BU_None","Amount","FY2011",27532.52
    "VERSION1","FixedAssets","Budget","USD","3011","653225","BU_None","Amount","FY2011",147806.52
    "VERSION1","FixedAssets","Budget","USD","3011","652610","BU_None","Amount","FY2011",331.48
    "VERSION1","FixedAssets","Budget","USD","3011","652614","BU_None","Amount","FY2011",204.28
    "VERSION1","FixedAssets","Budget","USD","3011","653283","BU_None","Amount","FY2011",969.53
    "VERSION1","FixedAssets","Budget","USD","3011","653249","BU_None","Amount","FY2011",27.36

    Yes you can export multiple dense dimension columns. In your case I believe the fix statement is limiting what you are exporting. You don't mention what version you are on, but if you reald my blog http://glennschwartzbergs-essbase-blog.blogspot.com/, you will see there could be issues when the data is missing. There is a 4 part series on data export.
    I have found that it is best to first export to a flat file and verify that the data is good and what the actual columns are then try to go to a relational source. It took me a little tweaking the first time I did it. I made all of my columns excelt the data columns as Varchar (varchar2 for Oracle)

  • DATAEXPORT in flat file

    Hello All,
    I was using DATAEXPORT COMMAND to export certain fields (some child members and some high level members) but the output doesn't come up in row wise...
    2nd thing is if I do the same thing in report script, I can get nice look but the exclude command will not ba available there
    3rd: my users wants to have a look for just the current month and not all, so If we write a calc script how I can I get that functionality ...like users will look into just the july data in july month and then just august in the august
    Not sure how this could be accomodated in curr member or??
    Kindly help..

    I was using DATAEXPORT COMMAND to export certain fields (some child members and some high level members) but the output doesn't come up in row wise...See SET DATAEXPORTOPTIONS and DataExportRelationalFile ON:
    http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/html_esb_techref/calc/set_dataexportoptions.htm
    3rd: my users wants to have a look for just the current month and not all, so If we write a calc script how I can I get that functionality ...like users will look into just the july data in july month and then just august in the august
    Not sure how this could be accomodated in curr member or??Hmm, how about filter security or even a dynamically calculated member that points to the current month. Something like:
    Period
    |_YearTotal
    |__Jan
    |__Feb
    etc.
    CurrentMonth = &CurMth ;where &curmth is an Essbase substitution variable set to whatever the current month is. This provides a common place to retrieve, but doesn't show the actual month name, which could be (would be, really) confusing.
    Why not set up a report that points to &CurMth? Easy to do in Financial Reports. In Excel, just create a standard report with a WorkbookOpen (or whatever it's called) event that replaces a named range with the string "&CurMth". <--I've done this and it works quite nicely. When the user reopens the workbook, &CurMth is replaced within the report. And the user can see the month.
    Regards,
    Cameron Lackpour

  • DataExport problem-ODBC Layer Error: [21S01]-ORA-00947

    Hi,
    I have one planning application from which I want to transfer data to Oracle DB in the table "t". I have 11 dimension in the planning application, so I have created 12 columns in the table "t"(11 for dimension-members and 1 col for value) with the following script---
    create table t (
    a varchar2(100),
    b varchar2(100),
    c varchar2(100),
         d varchar2(100),
         e varchar2(100),
    f varchar2(100),
         g varchar2(100),
         h varchar2(100),
    i varchar2(100),
    j varchar2(100),
         k varchar2(100),
         l number)
    I have created a wire protocol dsn. But when I execute the following calcscript ---
    fix (jan,budget,fy08)
    DATAEXPORT "DSN" "xz" "t" "tstschma" "password" ;
    ENDFIX
    then it is showing error below---
    [Mon Jul 13 00:04:10 2009]Local/essdb/Plan1/admin/Info(1021000)
    Connection With SQL Database Server is Established
    [Mon Jul 13 00:04:10 2009]Local/essdb/Plan1/admin/Info(1012695)
    DataExport can not do batch insert to relational table. The ODBC driver and/or RDBMS doesn't support batch insert. Using record by record SQL export
    [Mon Jul 13 00:04:10 2009]Local/essdb/Plan1/admin/Info(1021013)
    ODBC Layer Error: [21S01] ==> [[DataDirect][ODBC Oracle Wire Protocol driver][Oracle]ORA-00947: not enough values]
    [Mon Jul 13 00:04:10 2009]Local/essdb/Plan1/admin/Info(1021014)
    ODBC Layer Error: Native Error code [947]
    [Mon Jul 13 00:04:10 2009]Local/essdb/Plan1/admin/Error(1012085)
    Unable to export data to SQL table [t]. Check the Essbase server log and the system console to determine the cause of the problem.
    [Mon Jul 13 00:04:10 2009]Local/essdb/Plan1/admin/Info(1021002)
    SQL Connection is Freed
    [Mon Jul 13 00:04:10 2009]Local/essdb/Plan1/admin/Warning(1080014)
    Transaction [ 0x920001( 0x4a5a097a.0x7918 ) ] aborted due to status [1012085].
    [Mon Jul 13 00:04:10 2009]Local/essdb/Plan1/admin/Info(1012579)
    Total Calc Elapsed Time for [datexprt.csc] : [0.062] seconds
    [Mon Jul 13 00:04:10 2009]Local/essdb/Plan1/admin/Info(1013274)
    Calculation executed
    Please guide me if I am doing anything wrong...
    Thanks & Regards.

    Hi,
    It all depends on you dense dimension being used in your export, it will use a column for each member.
    For example if the dense dimension on the export was period and you were doing a level 0 export (level0 members of time are Jan:Dec)
    Then there would need to be a column for each dimension and 12 columns for each of the periods (Jan:Dec)
    The best way to work it out is to export to a file first in column format and you will see how the table needs to look.
    The columns have to exactly match the data being exported.
    Take a look at this post, it something you may experience as well :- Re: DATAEXPORT command- Periods in the columns when sparse
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Problem with DATAEXPORT function

    Dear all,
    hopefully someone can help solve the problem i have with the DATAEXPORT function.
    I want to export data from a cube to an Oracle table with the following script:
    FIX ("MIPCAT1","MIPENT0002","MIPENT0500","MIPACT1","FY07","Sep", "MIPVER1","MIPVER2","MIPPAR000000","local","MTX",@RELATIVE (Accounts,0))
    DATAEXPORT "DSN" "Name" "table" "username" "password";
    ENDFIX;
    Usually everything works fine, but …
    in order to store the fact values a column is needed for each category member (MIPCAT1, MIPCAT2...)
    This is ok as long as there is no requirement to change the number of category members. However, if we want another caregory exported ("MIPCAT2","MIPCAT7" etc.) the table has to be changed.
    Right now only members of the category dimension are taken as column headers. What is the reason that this dimension was chosen and not one of the other dense dimensions? How can i appoint a dimension of my choice?
    Please give me some advise.
    I think it would be a clever idea and much more flexible when every dimension has a column of its own and the fact values are exported to an additional column.
    Number of columns = number of dimensions + 1 column for facts
    Regards,
    Carsten

    Carsten,
    You need set the DataExport Options. We have normally exported to a txt file. We were not able to truncate or clear the table prior to the next export, so we exported to a flat file and built a stored procedure to truncate the table and reload from the flat file.
    These are the export options that we used.
    DataExportColHeader Periods --- this option will allow you to select which dim you want for your header
    DataExportRelationalFile ON -- this is important option for a relationfile file. This will insure that you get all fields even if null.
    SET DATAEXPORTOPTIONS
    DataExportLevel Level0;
    DataExportDynamicCalc OFF;
    DataExportColFormat ON;
    DataExportColHeader Periods;
    DataExportDimHeader OFF;
    DataExportOverwriteFile ON;
    DataExportRelationalFile ON;
    Hope this helps,
    Dean

  • DATAEXPORT Command to SQL Table

    Hi,
    I've set up a backup routine to populate a SQL table with all Budget data for an overnight procedure.
    When checking the resultant export I have found that I am getting two data columns and two of my dimensions are not passing members to the field in the table, one of which being Period which i find very strange.
    I have the correct number of fields in the table to accept all the dimension members with a final field called Data. The resultant exported data sends values to the last two fields with the third last field is blank.
    Code i have used is as follows:
    SET DATAEXPORTOPTIONS
    DataExportLevel ALL ;
    DataExportDynamicCalc OFF;
    DataExportColFormat OFF;
    DataExportDimHeader ON;
    FIX(@RELATIVE("Dept 119",0), @RELATIVE("Period",0), &Plan_Year1,&Curr_Scenario)
    DATAEXPORT "DSN" "Datasource" "dbo.HYP_Data_BackUp_PandL" "**USER**" "**PASSWORD**";
    ENDFIX
    I would appreciate any help on this matter
    Cheers
    J

    You too, huh?
    I saw some very weird things go on with DATAEXPORT to SQL (Oracle something.something and was able to replicate it with SS 2005).
    In addition to extra columns, I also saw very, very small (like -2.00E-15) numbers written where there should have been nothing (data was #Missing).
    This did not happen with exports to flat files.
    Was it me, the version of Essbase, the way I was trying to export data? I don't know -- I ran out of time to try every single possible combination of exporting and just wrote to a flat file that then had to be read into a table.
    I was trying to export the results of upper level Accounts that were dynamically calculated and some upper level blocks.
    Here was my code:
    /*     Define data export options */
    SET DATAEXPORTOPTIONS
         DATAEXPORTLEVEL "ALL" ;
         DATAEXPORTRELATIONALFILE ON ;
    FIX(@LEVMBRS("Entity", 0), @LEVMBRS("Dim2", 0), @LEVMBRS("Dim3", 0), @LEVMBRS("Year", 0))
         DATAEXPORT "DSN" "XTest" "xportst" "id" "pwd" ;
    ENDFIX
    Regards,
    Cameron Lackpour
    P.S. On reflection, I realize that some of the DATAEXPORT calc scripts I wrote that wrote to tables worked just fine. They tended to be more tightly focused and limited. Perhaps there's a stack/memory issue going on?

  • Possible to Exclude a specific intersection from DATAEXPORT?

    Version: 11.1.2.2
    Is it possible to Exclude a specific intersection from a DATAEXPORT in an Essbase Calc Script? I am able to exclude a member but I only want to exclude 1 intersection.
    Simplified Cube:
    Fund
    Dimension
    Center
    Dimension
    Account
    Dimension
    F1
    C1
    A1
    F2
    C2
    A2
    Working export:
    FIX (@relative("Fund",0), @relative(Center,0), @relative(Account,0))
           DATAEXPORT "File" "," "F:\TMP\Exp_Central.txt" "#Mi";
    ENDFIX
    Trying to exclude only the intersection of F2, C1, A1 (i know it doesn't work this way):
    FIX (@relative("Fund",0), @relative(Center,0), @relative(Account,0))
      EXCLUDE ("F2", "C1", "A1")
           DATAEXPORT "File" "," "F:\TMP\Exp_Central.txt" "#Mi";
      ENDEXCLUDE
    ENDFIX
    desired output:
    F1,C1,A1
    F1,C1,A2
    F1,C2,A1
    F1,C2,A2
    F2,C1,A1 I want this line excluded
    F2,C1,A2
    F2,C2,A1
    F2,C2,A2
    This is extremely simplified (I have multiple intersections to exclude, and a large cube) but should adequately pose the question. This process is moving data cube to cube. As an alternative I was thinking on the target cube I could just do a [FIX...CLEARDATA]. I have been searching for an answer and can't seem to find one, can anyone here offer advice?

    You can exclude a combination but not a specific intersection. EXCLUDE ("F2", "C1", "A1") will exclude F2, C1 and A1 completely.
    As Evgeniy.Rasyuk said, you have to use a different way to achieve it.
    You may achieve it using a rule file. I haven't tried it but you can give a try
    1. create a new text field in rule file which you use to load the data
    2. Join all the fields of dimensions related to F2,C1,A1. (remember to ignore this field during dataload
    3. use reject on the filed to exclude F2C1A1 to load to your database.
    The other way is what you have said to clear the data once it is loaded. Easiest and a simple way
    Regards
    Amarnath
    ORACLE | Essbase

  • Essbase DataExport to relational: where to define the dsn?

    I am running Essbase 11.1.1.2, and using DataExport in a calc to generate a flat file. Now I want to push the data into a relational table using:
    DATAEXPORT "DSN" "dsnName" "tableName" "userName" "password"
    What do I need to do to get the 'dsnName' recognizable to the Essbase server? ODBC, tnsnames? I assume whatever I do should be done on the Essbase server and not on the client where I am running EAS.
    Thanks

    Thank you John. After updating the odbc.ini file, do I need to restart the Hyperion services? I am expecting that I will see an entry in the 'sql data source' on the left side of the 'open sql data sources' for load rules, but this dropdown and radio button is disabled, but then I have not entered the 'connect' information on the right-hand of 'server', 'application', 'database' or 'dictionary path'. I was expecting that I would have different options here, for the Oracle database.
    ? Thanks - Davis

Maybe you are looking for

  • ITunes 10.4 and now no Summary Data or Sync Button

    What's up with this update?  I can no longer see the content on my device in the summary bar, which shows me how much space is taken/free on my iPhone (device).  Also, the "Sync" button is removed. Progress? No. Any way to restore them? Thanks

  • Where can I find help about configuring forms?

    Hi, everyone, I want to develop web-based application using forms 9i, but I don't know how to configue my developing enviroment. I searched in forms online help and otn website, but I found nothing, except some articles about forms service. but I don

  • BT Speedtester Error Message

     Is anyone else having issues with the BT Speedtester? I constantly get the message 'The Performance Tester is currently unable to run a speed test for your broadband connection. Please try again shortly, however if this problem persists, raise the i

  • Geen bar detecting signature field

    This happened to me too the documents that I open do not have any signature fields. It effects Reader and Adobe XI pro as they both updated recently to 11.0.3. I spoke with support I uninstalled, cleaned and reinstalled but as soon as it updated to 1

  • Problem Pairing BH-200 Headset & N70 Phone

    Can anyone help - I can get as far as New Paired Device/Searching for Devices/Found Device/Entered Code/Set to make Connections Automatically. Then when I make/receive a call it still rings through my phone and not through the headset. Have tried a d