DataExport command in essbase

Hi..
I have used dataexport command to export essbase data to oracle table.
My outline has five dimensions.
I have taken six columns in table.Five for dimensions and one for datavalue.
Data is exported.
But data in table is not in proper form.One dimension name is missing. Data column has 0 as value.
Accurate datavalue is displayed under other coulmn.

hi..john
thanx for reply..
my script is ..
SET DATAEXPORTOPTIONS
DataExportLevel ALL ;
DataExportRelationalFile on;
DataExportColFormat On;
DataExportOverwriteFile ON ;
Fix ( @Children ( "A" ) , @Children ( "B" ) , @Children ( "C" ) , @Children ( "D" ) , @Children ( "E" ))
DATAEXPORT "DSN" "sam" "sam1" "SYSTEM" "password";
Endfix ;
((My table name is sam1 ,dsn is sam and i have taken six columns in the table...five for dimensions and one extra for the data value...data is being loaded but not correctly..one dimension is missing ,column for data value has 0s).
Plz help...

Similar Messages

  • Error Using DataExport function in Essbase

    Hi there,
    I'm using Hyperion Essbase version 9.3.1.
    And rite now I'm trying to export data in Essbase by the new CalcScript function DataExport directly to SQL server.
    I have 11 dimensions in my Essbase application. I did create 10 fields in SQL server for storing members information and 12 other fields for periodic data. Just, the time when I export data, all the rows returned with only 7 fields for members information and 12 data fields for periodic data.
    Can anyone help? Please help!
    Best regards,
    Antony

    Antony,
    So when you use a calc script like the below:
    SET DATAEXPORTOPTIONS
         DataExportLevel ALL ;
         DataExportDynamicCalc OFF ;
         DataExportRelationalFile ON ;
         DataExportOverwriteFile ON ;
    DATAEXPORT "File" "," "b:\exports\jan.txt" "#MI";
    Your export works just as you want? (I realize you have lots of other logic, but for the sake of argument use the above).
    And then when you take the exact same code except that the DATAEXPORT command now looks like:
    SET DATAEXPORTOPTIONS
         DataExportLevel ALL ;
         DataExportDynamicCalc OFF ;
         DataExportRelationalFile ON ;
         DataExportOverwriteFile ON ;
    DATAEXPORT "DSN" "cur_sale" "newyork" "admin" "password";
    You don't get the same results?
    I get the same results regardless. Yes, one is written to a table as defined by the DSN and the other a text file but the contents are exactly the same.
    Are you seeing different rows/columns? If so, that would either suggest your table is somehow limiting what gets written to the RDBMS (it would be nice to think that Essbase would log this as an error/fail) or there is a bug in the export. I have not come across this issue.
    Regards,
    Cameron Lackpour

  • DataExport command in Calcscript not working

    Hi All
    Am trying to run a DATAEXPORT via a calc script to a file. The file size is sitting at 1kb and the script has been running for 13 minutes. A normal export typically takes under 5 minutes for level 0 data. I am trying to ensure all dynamic calc level 0 members get exported as they currently arent via a standard export.
    My script is below:
    SET DATAEXPORTOPTIONS
         DataExportLevel "LEVEL0";
         DataExportColFormat ON;
         DATAEXPORTDYNAMICCALC ON;
         DataExportOverwriteFile ON;
    DATAEXPORT "File" "," "D:\NPANDPEXPORTSCRIPTTEST.txt" "#MI";
    I read about a pacth for planning to get it working, does this apply to essbase aswell? We are using EAS version 9.3.1.0.0.135
    Simon

    Hi Simon,
    The patch for planning relates to business rules as you are using Calc scripts it doesn't need patching.
    Have you tried fixing on a small subset of data to see if it exports quickly to eliminate any issues with the script, it may be trying to grab too many blocks to run the dynamic calcs on.
    Here is an extract from a white paper on dataexport with dynamic calcs
    DataExport exports dynamically calculated data by using a query-based extraction method.
    Query-based export can be slower as the calculator engine has to get all data blocks specified in the FIX range and perform dynamic calculations on them if Dynamic Calc members are
    involved. Excluding dynamically calculated data improves the export performance because the calculator engine only needs to fetch existing data blocks from the database.
    Users need to remember these performance implications when using DATAEXPORTDYNAMICCALC. If the goal of using the DATAEXPORT command is to backup and provide restore capabilities for your database, then exporting
    dynamic calc members is not necessary, as trying to load dynamic calc data into the database is not accepted.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Help needed with DATAEXPORT command

    Hello,
    I'm looking for some help with the DATAEXPORT command. It was working for us previously and recently it started giving us problems. Now when I run a DATAEXPORT within a calcscript in order to get a subset of the data, the exported file contains 13, sometimes 14 data columns rather than 12 data columns (one for each month)
    When I perfom a full data export the export file is perfect (select the database, right click and select “Export”, enter file path and name, select ‘Level 0 data blocks” and “Export in column format” and click ok.)
    Here's the Calc script that I'm using:
    //ESS_LOCALE English_UnitedStates.Latin1@Binary
    SET CALCPARALLEL 3;
    SET DATAEXPORTOPTIONS
    DataExportLevel LEVEL0;
    DataExportDynamicCalc OFF;
    DataExportColFormat ON;
    DataExportDimHeader ON;
    DataExportOverwriteFile ON;
    FIX(
    @Relative("Clients",0),
    @Relative("TOTLOC",0),
    @Relative("LOB",0),
    @Relative("Project",0),
    @Relative("Entities",0),
    @Relative("Dept",0),
    "USD",
    "SCN_Actual",
    "SCN_Plan",
    "Ver_Final",
    @Relative("ACC_GAAPPL",0),
    @Relative("ACC_MGMTPL",0),
    "FY08",
    Jan:Dec
    DATAEXPORT "File" "!" "X:\Hyperion_Share\Hyperion_PRD\Planning\exp_rpts_test3.txt" "#MI" ;
    ENDFIX
    I'm hoping someone has seen this before and suggest a solution.
    Thanks,
    Chris

    Hi Chris
    I noticed something similar when I first tested the DATAEXPORT calc script command but couldn't get to the bottom of the cause.
    It seemed to be an issue where the first month(s) were #Mi but later months had data, e.g. Jan:Mar = #Mi, Apr = 10, May = 20 etc.
    After a certain point in the export file data didn't align correctly when compared to the export in column format as you mention, in fact a number of rows that should have had data returned nothing and some rows existed where there was no corresponding data in the database. I remember noticing that I never had more than 13 data columns. This happened to correspond to the number of level0 time periods I had (I had 'BegBalance' as well as Jan:Dec).
    I did a test on exporting all level0 time periods, forcing it to have 13 columns one for each level0 time period and it worked and matched the export in column format.
    Fortunately for me the client changed the requirement and only wanted the total for the year exported so I never quite got to the bottom of it but hope that it helps you.
    Stuart Game
    www.analitica.co.uk

  • Using an essbase substitution variable in dataexport command in a BR

    Hi,
    I have created a calc script to export data using DATAEXPORT, and to define the filename an essbase variable.
    Here all right
    I copy this code to a business rules to run it from a business rules, but I have a problem with the essbase variable, when I validate it, it gives me the error:
    Detail:Encountered "&FileNm" at line 28, column 26.
    Was expecting:
    My essbase variable is set to:
    "e:\Hyperion\products\Essbase\EssbaseServer\app\TMPGB\dataexportCustomerY2.txt"
    in double quote
    How anyone use in a Business rules with the command dataexport an essbase substitution variable

    So it works in a calc script and not a BR, I know BR's sometimes don't always act exactly the same as calc scripts and you occassionally hit issues like this.
    What version are you using because I have a feeling I have tested this in the past and I am sure it worked.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • 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?

  • Extracting Data via DATAEXPORT command in CalcScript

    Hi
    I have cube with the following dimensions :-
    Accounts - ACC1 , ACC2 , ACC3
    Years - 2005 , 2006 , 2007 , 2008 , 2009 , 2010 , 2011 , 2012
    Region - R1 , R2 , R3 , R4
    Product - P1, P2 , P3
    Now these members above are just for examples. I want to export the zero level data for 2005, 2006 , 2007 , 2008 , 2009 , 2010 and I want the output in the following format : -
    Acc1,2005,R1,P1,"DATA"
    Acc2,2005,R1,P1,"DATA"
    Acc3,2005,R1,P1,"DATA"
    Acc1,2006,R1,P1,"DATA"
    Is it possible to get such an output, I pretty new to essbase, would be great if someone can explain how?
    Thanks in advance

    assuming you only had those four dimensions, then using dataexport it is not possible, you have to have at least one column that is from a dense dimension. Assuming a report script or jexport cdf, the same is true. You always need to have something that represents the columns.

  • DATAEXPORT command does not give level0 data in the output file.

    We are using essbase ver 9.3.1.3 Although explicitely programmed for the lev0 members in the output file, output data file has non-level0 members.
    Please see the code....
    =========================
    SET DATAEXPORTOPTIONS
    {     DataExportLevel "LEVEL0";
         DATAEXPORTCOLFORMAT ON;
         DATAEXPORTOVERWRITEFILE ON;
         DataExportRelationalFile ON;
    /FIX (@RELATIVE("Distributable (Allocable) Income",0), @RELATIVE("Net Income Control",0),
         @RELATIVE("Balance Sheet Accounts",0),
         @RELATIVE("Qtr1",0), @RELATIVE("Qtr2",0), @RELATIVE("Qtr3",0), @RELATIVE("Qtr4",0),
         @RELATIVE("FY2010",0), @RELATIVE("FY2011",0),
         @RELATIVE("Organization",0))
         DATAEXPORT "File" "|" "filename.txt" ;
    ENDFIX
    =======================================
    Can you please help?
    Thanks,
    Avi

    on the members that are not level zero, look to see if they are the parents of a single child. If so, make the parents never share and it will solve your issue.

  • Case Command in Essbase.

    Hi All,
    In most common databases there is Case Command. For Example.
    Do Case
    Case x = 1
    do something.
    Case x = 2
    do somethings
    End Case.
    Is there any syntax available in Essbase.
    Thanks in advance
    Bal.

    It depends on where you want to use it.
    For MDX queries against a database, you have CASE and you have IF (they work very similarly)
    For member formulas
    ASO you have MDX with Case or IF
    BSO you have IF/ELSEIF
    Calc scripts - only BSO - you have IF/ELSEIF
    MaxL scripts, you don't really hve this functionality, but you do have IFerror which lets you do some conditional testing and branching.

  • Unable to Transpose Columns to Rows in DataExport Command

    Hi,
    The Data export code for On and Off Gives me the same result
    SET LOCKBLOCK HIGH;
    SET CACHE HIGH;
    SET CALCPARALLEL 3;
    SET DATAEXPORTOPTIONS
    DataExportLevel "LEVEL0";
    DataExportColFormat ON;
    DataExportOverwriteFile ON;
    DataExportDimHeader OFF;
    DataExportRelationalFile ON;
    DataExportColHeader "Scenario";
    FIX ("SAP",&CurrFcst,&Currmnth:Sep,"Forecast Employees",&CurrFY,@IDescendents("All_Cost_Center"),@IDescendents("Pay Type"),@IDescendents("Work Type"),@IDescendents("Other_Accounts")
    DATAEXPORT "File" "," $DataExportPath "0";
    ENDFIX;
    ENDFIX;
    Result
    WT"|"Non-Exempt"|7|5|5|5|5|4|4|4|4|4
    "SAP"|"FY13"|"Plan"|"A100C30100"|"Forecast Employees"|"Full-Time"|"Indirect WT"|"Exempt"|3|3|3|3|3|3|3|3|3|3
    "SAP"|"FY13"|"Plan"|"A100C30110"|"Forecast Employees"|"Full-Time"|"Direct WT"|"Exempt"|8|6|6|6|6|6|6|6|6|6
    "SAP"|"FY13"|"Plan"|"A100C30120"|"Forecast Employees"|"Full-Time"|"Direct WT"|"Exempt"|7|4|4|4|4|4|4|4|4|4
    "SAP"|"FY13"|"Plan"|"A100C30130"|"Forecast Employees"|"Full-Time"|"Direct WT"|"Exempt"|4|4|4|4|4|4|4|4|4|4
    "SAP"|"FY13"|"Plan"|"A100C30160"|"Forecast Employees"|"Full-Time"|"Indirect WT"|"Exempt"|5|4|4|4|4|3|3|3|3|3
    The way that i want the Data to be Represented is
    SAP" "Plan" "Forecast Employees" "FY13" "A100C20270" "Non-Exempt" "Direct WT" "Full-Time" "Jan" 5.0000
    "SAP" "Plan" "Forecast Employees" "FY13" "A100C20270" "Non-Exempt" "Direct WT" "Full-Time" "Feb" 5.0000
    "SAP" "Plan" "Forecast Employees" "FY13" "A100C20270" "Non-Exempt" "Direct WT" "Full-Time" "Mar" 5.0000
    "SAP" "Plan" "Forecast Employees" "FY13" "A100C20270" "Non-Exempt" "Direct WT" "Full-Time" "Apr" 5.0000
    "SAP" "Plan" "Forecast Employees" "FY13" "A100C20270" "Non-Exempt" "Direct WT" "Full-Time" "May" 4.0000
    "SAP" "Plan" "Forecast Employees" "FY13" "A100C20270" "Non-Exempt" "Direct WT" "Full-Time" "Jun" 4.0000
    "SAP" "Plan" "Forecast Employees" "FY13" "A100C20270" "Non-Exempt" "Direct WT" "Full-Time" "Jul" 4.0000
    "SAP" "Plan" "Forecast Employees" "FY13" "A100C20270" "Non-Exempt" "Direct WT" "Full-Time" "Aug" 4.0000
    "SAP" "Plan" "Forecast Employees" "FY13" "A100C20270" "Non-Exempt" "Direct WT" "Full-Time" "Sep" 4.0000
    I believe that this issue is because of the Range that is used (&Currmnth:Sep)
    Could Someone help on this Issue.
    Thanks,
    Joe

    I hope below code will give you result desired format, changes I made are in bold and italics
    SET LOCKBLOCK HIGH;
    SET CACHE HIGH;
    SET CALCPARALLEL 3;
    SET DATAEXPORTOPTIONS
    DataExportLevel "LEVEL0";
    DataExportColFormat OFF;
    DataExportOverwriteFile ON;
    DataExportDimHeader OFF;
    DataExportRelationalFile ON;
    +/*DataExportColHeader "Scenario"*/+;
    FIX ("SAP",&CurrFcst,&Currmnth:Sep,"Forecast Employees",&CurrFY,@IDescendents("All_Cost_Center"),@IDescendents("Pay Type"),@IDescendents("Work Type"),@IDescendents("Other_Accounts")
    DATAEXPORT "File" "," $DataExportPath "0";
    ENDFIX;
    ENDFIX;

  • Unable to load data from essbase to Sql server2005

    Hi all,
    When executing the DataExport command Iam encountering the following error:
    Info(1021031)List of table [Tname] columns is empty
    The coding is as below:
    SET DATAEXPORTOPTIONS
    DataExportLevel LEVEL0;
    DataExportDynamicCalc OFF;
    DataExportColFormat ON;
    DataExportDimHeader OFF;
    DataExportRelationalFile OFF;
    DataExportOverwriteFile OFF;
    DataExportDryRun OFF;
    FIX (@Relative("Actual",0),@Relative("All_Products",0),@Relative("Net_Income",0),"Thousands",@Relative("FY",0),@Relative("NetIncome:",0));
    DATAEXPORT "DSN" "Conn" "Tname" "user11" "****";
    ENDFIX
    Please help.
    Thanks,
    Raj

    John, I have installed the appropriate patch for OCI. But for loading data I get the following error:
    "Cannot get async process state. Essbase Error(1042017): Network error: The client or server timed out waiting to receive data using TCP/IP."
    I had increased values of ConnectRetry and netDelay in the essbase.cfg. and restarted the server but unfortunately got the same error.

  • 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 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/

  • Data copy B/W Essbase Applications using script

    How to Data copy from one app to another app.
    Server Name: Server1
    Version: 9.3
    Essbase App: App1
    Data Bases: Db1, Db2,Db3
    Server Name: Server1
    Version: 9.3
    Essbase App: App2
    Data Bases: Db1, Db2,Db3
    Note: App1 & App2 Applications are having similar outlines
    Requirement: Copy Year 2012 Data from App1 to App2
    I have come to know this is possible using Xref calc script.
    Could some one please suggest the script.
    Thanks in advance!

    Partitioning should be the best one as Glenn said, but see if you have licenses for that, as partitioning is licensed separately from essbase.
    The alternatives could be:
    * Data Export / Import: for exporting you could use DATAEXPORT command within a calcscript (see technical reference for details). Then importing the data with a rule file.
    * XREF: this approach could give some headaches with block creation (see https://cn.forums.oracle.com/forums/thread.jspa?threadID=1010153). In general terms, try this one if the portion of data to copy is relatively small and well delimited.
    Nacho.-

Maybe you are looking for