Help using MaxL to automate Essbase Data Load

Hi,
I am trying to automate loading data into an Essbase database (for a Planning application). My current script using the Maxl Shell looks like this:
MaxL>
IMPORT DATABASE Application.Database DATA
FROM SERVER TEXT DATA_FILE *'data.csv'*
USING SERVER RULES_FILE *'csv'*
ON ERROR WRITE TO *'c:\\hyperion\\MaxL_logs\data_csv.err'*;
Bold text in the script indicates specific names or files for my instance.
Using this script works succesfully to load data into my Planning application as long as the data file data.csv is located in the database directory for the Planning applicaiton. What I want to be able to do is load the data file data.csv from a directory that I specify, as the data file cannot be placed in the database directory and instead must have it's own directory.
Does anyone know what syntax I need to use in a MaxL script in order to load a data file that is not located in the database directory? I can provide more information if need. Thank you.

Hi,
Have you tried...
IMPORT DATABASE Application.Database DATA
FROM TEXT DATA_FILE 'C:\\temp\\data.csv'
USING SERVER RULES_FILE 'csv'
ON ERROR WRITE TO 'c:\\hyperion\\MaxL_logs\data_csv.err';
or
IMPORT DATABASE Application.Database DATA
FROM LOCAL TEXT DATA_FILE 'C:\\temp\\data.csv'
USING SERVER RULES_FILE 'csv'
ON ERROR WRITE TO 'c:\\hyperion\\MaxL_logs\data_csv.err';
Cheers
John
http://john-goodwin.blogspot.com/

Similar Messages

  • How to automate the data load process using data load file & task Scheduler

    Hi,
    I am doing Automated Process to load the data in Hyperion Planning application with the help of data_Load.bat file & Task Scheduler.
    I have created Data_Load.bat file but rest of the process i am unable complete.
    So could you help me , how to automate the data load process using Data_load.bat file & task Scheduler or what are the rest of the file is require to achieve this.
    Thanks

    To follow up on your question are you using the maxl scripts for the dataload?
    If so I have seen and issue within the batch (ex: load_data.bat) that if you do not have the full maxl script path with a batch when running it through event task scheduler the task will work but the log and/ or error file will not be created. Meaning the batch claims it ran from the task scheduler although it didn't do what you needed it to.
    If you are using maxl use this as the batch
    "essmsh C:\data\DataLoad.mxl" Or you can also use the full path for the maxl either way works. The only reason I would think that the maxl may then not work is if you do not have the batch updated to call on all the maxl PATH changes or if you need to update your environment variables to correct the essmsh command to work in a command prompt.

  • Automate the data load process using task scheduler

    Hi,
    I am doing Automated Process to load the data in Hyperion Planning application with the help of Task Scheduler.
    I have created Data_Load.bat file but rest of the process i am unable complete.
    So could you help me , how to automate the data load process using Data_load.bat file & task Scheduler.
    Thanks

    Thanks for your help.
    I have done data loading using Data_load.batch file . the .bat file call to .msh file using this i have followed your steps & automatic data lload is possible.
    If you need this then please let me know.
    Thanks again.
    Edited by: 949936 on Oct 26, 2012 5:46 AM

  • How we can automate the data loading from BI-BPC

    Dear  Guru's
    Thanks for watching this thread,my question is
                  How we can load the data from BI7.0 to BPC.My environment is SAP-BI 7.0 and BPC is 7.5 MS version and 2008SQL.
    How we can automate the data loading from  BI- BPC Ms version.Is manual flat file load is mandatory in ms version.
    Thanks in Advance,
    Srinivasan.

    Here are some options
    1) Use standars packages and schedule them :
        A) Openhub masterdata file into a flat file/ BPC App server  and Schedule the package - Import Master Data from a Data File and  other relevent packages.
    2 ) Using Custom Tasks in Custom Packages ( SSIS)
    Procedure
    From the Microsoft SQL Server Business Intelligence Developer Studio, open the Microsoft SSIS folder.
    Create a new package, or select an existing package to modify.
    Choose  Task  Register Custom Task .
    In the Task Location field, browse for the target .dll file.
    Note
    By default, the .dll files are stored in BPC/Websrvr/bin.
    End of the note.
    Enter a task description, select an appropriate icon, then click OK.
    Drag the icon to the designer window. Enter data as required.
    Save the package.

  • How to use Bind Variables in Essbase data control

    Hi,
    I am trying to use Bind Variables in MDX query while creating the Essbase Data Control. I have used the below query with the Bind Variable.. this query is working in Essbase admin console..but it is throwing error (*Invalid MDX Query)* while creating Essbase Datacontrol in JDeveloper.
    MDX Query : SELECT {[Measures].Msr_2} ON COLUMNS, [Time].Children ON ROWS FROM cube
    where ($name)
    Could any body suggest me on how to use bind variables with Essbase Data control.
    Thanks,
    Swathi

    Hello Swathi, can you please help me how you created Essbase DataControl? Also were you able to figure out this?
    Thanks, Praveen.

  • Automate dimension/data load update in Planning?

    Hi all,
    Without App Link and Translator (clients not buy), how to automate dimension/data load update in the planning? Any sample?
    Regards,
    Kenneth

    Hi John,
    I did the tests in Windows 2003 Server with Planning 9.3.1.
    1. 'bug 6829439: Task Flow is always set to active although the job has completed successfully'.
    I had a flow with 2 tasks. In this case when I launch the job it remains in a '4% complete' state because once the first task is completed, the systems doesn't put the task in 'completed' state and thus doesn't start the second one.
    2. 'bug 6785224: Manage TaskFlow does not show with interface tables'.
    When working with interface tables one cannot schedule taskflows.
    A colleague of mine working for another client has already opened up calls with Hyperion regarding this issues. Hyperion provided the bug numbers and informed us they will be fixed in version 9.5.
    3. Now I am testing ODI connectors on a Planning 9.2 systems and have some small problems (I've just opened a thread on this forum).
    Daniela S.

  • Essbase data load process never terminating

    Hi
    We are using Essbase 11.1.2.1.
    We try to load a data file into a BSO Essbase application (essbase export format, so no dataload). We are using "execute in background" option.
    If the file contents no unknown member : it is correctly loaded.
    If the file contents an unknown member : the data load is never terminated : we have killed it after more than 15 hours, and the request is still in "terminating" so we have to kill the essbase process on the server. No error message or file.
    Thanks in advance for your help
    Fanny

    Hi
    I try to start this discussion again, because we still have the same problem, and no idea of why (no idea from the Oracle support too) and my client is waiting for an explanation :-/
    So, some more details :
    Context :
    I have an export (essbase format) from a database.
    If I import this file in a database with all the members used in the file => no problem. The dataload takes around 10 seconds.
    If I import this file in a database with all the members used in the file, excepted 1 => problem. The data load never ends and I have to kill the Essbase application on the Essbase server.
    I have done another test :
    I have imported the file in a database with all the members used in the file (so no problem).
    I have exported level-0 data in columns.
    I have imported this new file in the database with all the members used in the file, using a DLR => no problem. The data load takes around 10 seconds, with a dataload.err generated.
    So, John, you are right, the client shoud really use a column format export. But I need to explain to him why he cannot (not should not) use an export format.
    If using an export format is possible : I have to identify my problem and make the right modification to solve the problem.
    If it not possible : this is a bug, and it is not my responsability anymore and I can close the project!
    Thanks in advance for your great ideas!
    Fanny

  • Error at work flow Export task in Essbase data load

    Hi All,
    I am trying to load the data to Hyperion Essbase. I have two small question first is :
    1) can any buddy tell me what are the basic steps for specifying dimension for target essbase application. i have did the data load to HFM application previously but here with essbase it bit complex.
    2) I have done with the creating import format and assign it to Location after specifying dimensions. At the work flow export task i am getting following error:
    [Can not calculate Dimension member [Apr] with restricted member [Apr]
    Thanks in Advance

    The FDM Configuration Guide outlines the process to map the dimensions in the Essbase Adapter to the proper dimensions in the Essbase Outline. You will want to take a look at this on Oracle Technology Network under Documention.
    You will want to right-click on the adapter in the workbench and choose "Configure"
    You will then create your machine profile with the source machine value of the FDM app server name and the target machine value as the Essbase Server Name.
    On the second tab you will specifiy the Essbase Applicaiton and Datbaase Name and logon method to use for integrating with Essbase.
    Finally click on the Dimensions tab and click on each dimension in the left-pane and in the right-pane if the integration with Essbase is setup correctl you will be able to select the corresponding Essbase dimension from the Dimension drop down list and select it and it will populate the foreign name as Tony Mentioned.
    You can then apply the changes when complete.
    Hope this is helpful.

  • Hyperion11.1.2.2 Sql Server and Essbase data load error

    Gentlemen,
    i have issue on loading data in Essbase via sql server , while loading data it was fine and all of sudden i see that i get network error 10054
    network error 10054 failed to recive data / send data
    unexpected essbase error 1042013
    even when i try to load manully it says Data Load Fails error Data load buffer [9999] does not exist Unexpected Essbase error 1270040
    and in logs
    Received client request: MaxL: Execute (from user [admin@Native Directory
    *Error writing to server*
    Also tried with maxll its the same issue
    is .esm is loacked?
    any issue with ODBC?
    or any orphan link which is connected to sql  and hyperion unable to process another ?
    let me know your thoughts
    thanks.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Can you try limiting the query to return some records? Try adding a where clause and see whether that works?
    Regards
    Celvin
    http://www.orahyplabs.com

  • EIS to Essbase data load process

    I have two user defined queries in a metaoutline. When i perform dataload operation from EIS, the Essbase application log says that dataload updated [] cells and Data Load Elapsed Time [] seconds but the EIS dataload process is still running. It seems that Essbase is loading the data only for the first query and completing dataload while EIS is still running second query.Has anyone else experienced this problem? Essbase and EIS both are 6.5.0.

    In EIS
    1) You have to define the Logical OLAP Model connecting to the relational source.It defines the joins between fact table and dimension tables.
    2) Based on the OLAP Model You have to create meta outline which defines the rules for loading members and data into essbase.

  • Automate Master data loads in BPC7(MS)

    I need to update dimension members in SAP BPC7 (MS) from an external source.
    The source system for my current project is BW, but if you have done any automated master data loads from any other system or even from a "temp" table please post your solution or tips.
    Thanks!
    Mez

    Hi Mezert,
    Would like to chime in with some of the things I've learned about this process over 3-4 years I've spent with BPC/Outlooksoft:
    -- Automating maintenance of the dimension/master data might be the biggest single weakness of the BPC solution on the MS platform.  It's one of the big reasons that the Netweaver platform basically replaces DTS/SSIS and has more direct linkage to BI/BW cubes and master data (InfoCubes).
    -- It is also one a very common issue and in fact, you will have to deal with what the old-timers in BI call "slowly-changing dimensions" at almost every client eventually.  For instance, you have a list of proucts/materials that every so often someone adds an item to.  ...Well, before you can enter anything for it in BPC, you have to add the dimension member, of course.
    -- So far, this challenge has been met by bringing in specialist DTS/SSIS experts in most cases who can employ the special "Custom Tasks" and build one of these packages to run in an automated way to populate the tables inside SQL Server and then execute the Admin MakeDim task to process the cube/application.
    -- Usually the development/testing/deployment of these solutions is a non-trivial undertaking.  It can be done, but there are peculiar challenges.
    -- One example of a challenge is what happens if you need a dimension with > 65,000 members?  Well, it can be created and populated by a DTS package, however, when you check the package and the custom task from the old Outlooksoft stuff out, you see that it CLEARS the entire dimension table before re-filling it.  ...Yep, it wouldn't allow an "Append" function to run. 
    -- A second example of a peculiar challenge is that unless you update the Excel Dimension Sheet, you will have to do all the updates in SQL Server Mgmt. Studio and really won't be able to touch the BPC Admin again for that dimension.
    Apologies for such a long post, but this is a fairly significant issue and I have to do a lot of research to piece together some of these things.  ...If anyone else has something to add as a best-practice, please post.

  • ODBC to Essbase Data Loading

    I am looking for Comments on Pros and Cons for loading Essbase (BSO & ASO) using the SQL Interface & EIS (ODBC Connections) vs creation of a flat file. We have limited space to store flat files currently and the data is being sourced from a warehouse/mart, but the extract retention is becoming expensive for storage. Can you help by giving some Pros & Cons of not using a flat file.
    Thanks

    To go along with one of Glenn's cons (files load faster)
    We recently moved our essbase servers to a different city.
    When the servers were in the same city as the Oracle data sources, the SQL load rules ran in mintues. After moving to a different city they ran in hours. There was some kind of "Send record/Acknowlegde receipt of record" handshaking going on across the WAN.
    To remedy this, we pulled the queries out of the load rules and ran them from a SQL Plus command line in a batch file. Once the files are generated, then we FTP them across the WAN.
    Another case for pulling the queries out of the load rules could be just that you are running agaisnt a clock and all the sorting, etc that a query performs might be better suited to running outside of your dataload schedule, especially since you only want to load 1 load rule at a time. In my case, I could gain 1/2 to 1 hour of time if I pulled my Teradata queries out of my load rules, but we are still coming in under our alloted down-time (barely).
    Robert
    Edited by: RobertR3 on Apr 2, 2009 2:06 PM

  • Essbase data load validation

    Gurus,
    I have this question.
    I have loaded data to my Essbase cube. I have a slight difference. Around 2021 dollars.
    What would be the proper way to check and validate it. How could we find out where the error had been or if something has not been tagged properly.
    Aug guidance would be very helpful.
    Thanks

    1)  Check error file
    2)  Check Dynamic Calc members
    3)   clear target slice
         load data with AGG option
    ER

  • Need help using LabVIEW 7.1 and data socket to transfer images

    I need help transferring images across a company network using: LV 7.1, IMAQ 3.0 and a PCI 1407 image aquisition card. I am trying to use datasocket to transfer video image across a company network. I have attached sample vis. Thanks in advance for your help.
    I. Cyr
    Attachments:
    Vibration Chamber Vision_Cyr.llb ‏129 KB

    Hello –
    Something that you need to consider is the fact that when you are sending an image over Data Socket, it is not really the image what is being transferred but a pointer to the image. Please take a look into this Knowledgebase.
    Also, you might find this Example Program useful.
    Hope this helps.
    S Vences
    Applications Engineer
    National Instruments

  • Hello everyone, Need help using POI to access xslx data

    Hi,
    i am trying to make a simple program in OATS which will fetch data and display the output from a xlsx file.
    The file name is DriverAdapter and its java script is as below. I have written a java class called ActionDriver whch performs the actions for me using the POI api. But when i instantiate ActionDriver,
    it is throwing the exception referrring to POI api classes cannot be found. ClassNotFoundException : org.apache.poi.openxml4j.exceptions.InvalidOperationException;
    Can someone help me out to find how can i run this through DriverAdapter. When i tried to run ActionDriver from the same project as a java application by replacing my method with main, it is running fine.
    import oracle.oats.scripting.modules.basic.api.*;
    import oracle.oats.scripting.modules.browser.api.*;
    import oracle.oats.scripting.modules.functionalTest.api.*;
    import oracle.oats.scripting.modules.utilities.api.*;
    import oracle.oats.scripting.modules.utilities.api.sql.*;
    import oracle.oats.scripting.modules.utilities.api.xml.*;
    import oracle.oats.scripting.modules.utilities.api.file.*;
    import oracle.oats.scripting.modules.webdom.api.*;
    import java.io.FileInputStream;
    import java.io.FileNotFoundException;
    import java.io.IOException;
    import java.util.ArrayList;
    import java.util.Iterator;
    import ats.test.ActionDriver;
    public class script extends IteratingVUserScript {
         @ScriptService oracle.oats.scripting.modules.utilities.api.UtilitiesService utilities;
         @ScriptService oracle.oats.scripting.modules.browser.api.BrowserService browser;
         @ScriptService oracle.oats.scripting.modules.functionalTest.api.FunctionalTestService ft;
         @ScriptService oracle.oats.scripting.modules.webdom.api.WebDomService web;
         @ScriptService oracle.oats.scripting.modules.formsFT.api.FormsService forms;
         private static String myData="C:/data.xlsx";
         public void initialize() throws Exception {
              //initializing ActionDriver
              dAction = new ActionDriver();
         * Add code to be executed each iteration for this virtual user.
         public void run() throws Exception{
              dAction.startAction(myData);
         public void finish() throws Exception {
    Below is the code for my ActionDriver
    package ats.test;
    //package sni.test.ats;
    import java.io.FileInputStream;
    import java.io.FileNotFoundException;
    import java.io.IOException;
    import java.util.ArrayList;
    import java.util.Iterator;
    import org.apache.poi.openxml4j.exceptions.InvalidOperationException;
    import org.apache.poi.poifs.filesystem.POIFSFileSystem;
    import org.apache.poi.xssf.usermodel.XSSFCell;
    import org.apache.poi.xssf.usermodel.XSSFRow;
    import org.apache.poi.xssf.usermodel.XSSFSheet;
    import org.apache.poi.xssf.usermodel.XSSFWorkbook;
    public class ActionDriver
         public static void main (String ar[])
         //public void startAction(String myData)
              boolean b = true;
              try
                   XSSFWorkbook wb = new XSSFWorkbook("c:/data.xlsx");
                   //XSSFWorkbook wb = new XSSFWorkbook(myData);
                   XSSFSheet sheet = wb.getSheet(DataConstants.businessFlow);
                   ArrayList businessRule = new ArrayList();
    Iterator rows = sheet.rowIterator();
    String myScripts[];
    while (rows.hasNext())
    XSSFRow row = (XSSFRow) rows.next();
    row = (XSSFRow) rows.next();
    Iterator cells = row.cellIterator();
    while (cells.hasNext())
         XSSFCell cell = (XSSFCell) cells.next();
         if (cell.getCellType()==XSSFCell.CELL_TYPE_NUMERIC )
              businessRule.add(cell.getNumericCellValue());
         else
              businessRule.add(cell.getStringCellValue());
    performAction(businessRule);
              catch(Exception fife)
                   System.out.println("Exception Occured"+fife);
                   b=false;
              /*catch(IOException ie)
                   System.out.println("Error Handling Input File"+ie);
         public static void performAction(ArrayList businessRules)
              Object[] businessRuleArray = businessRules.toArray();
              boolean b=true;
              for (int i=1; i<businessRuleArray.length;i++)
                   if(b)
                        String rule = businessRuleArray.toString();
                        System.out.println(rule);
                   else
                   break;

    [this |http://blogs.oracle.com/aamat/2009/06/load_testing_your_oracle_datab_1.html] Hi
    Is that class located in the same folder as the script.java class?
    If note you will need to add it on the manifest, you can look at this blogs for instructions on how to edit the manifest file.
    Regards
    Alex

Maybe you are looking for

  • ITunes INFO - iCal - where does it find "selected calendars" How to change?

    I'm just wondering in iTunes info, for Syncing iCal calendars, where are the files located on the hard drive that it finds to sync? Reason: I had alot of probs with iCal and deleted it. I plan on reinstalling from my OS disk, but for now it still sho

  • Q: When importing old digital 8mm tapes, audio is only mono. How do I

    force stereo or add a second audio to the other speaker. It is annoying ot watch an hour's worth of movie with only sound form one speaker. I know I can do this in final cut, looking to do completely within iMovie '08.

  • Notes App: "Error While Printing"

    I have a printer connected to my 2008 Mac Pro via USB; the computer is connected via Ethernet cord to my router.  And I have it set up so my laptop can print via wireless. Recently I have started to get the non-descript error message "Error while pri

  • Wait o not? that is the question...

    Hi, I'm a PC user and I read some issues of the latest MBP. I'm deciding to move to Mac OS X cause doesn't have problems like Windows, it's a firm OS, and I would like to purchase a portable machine and some issues are annoying me a lot (glossy scree

  • Windows 2000 upgrade from win98--wil​l i have problems with my pci-7344, pci 6110e & ni5411?

    I am running win98 with my Labview 5.1. It running fine, but I would like to upgrade the os to windows 2000. When I was running a check of the hardware, win2k said that the following hardware may not run: pci-7344, pci-6110 & ni-5411. will i need new