Essbase Rules Files and OCI

Hi All,
I am using EPM 11.1.2.1. I want to use rules files and Sql interface to build outline and load data.
Can anyone please provide / guide me with the steps to connect using ODBC and OCI ? I tried but it gives error
Error: 1021001 Failed to Establish Connection With SQL Database Server.  See log for more information
Please advice.
Thanks

To use OCI you just need to open SQL from the load rule, select "Oracle Call Interface (OCI) Service Name" and enter the connection details as Oracle Call Interface (OCI) Service Name— $OCI$<server_name> , replacing <server_name> with the oracle db server name.
Enter the SQL statement, you can test the connection by clicking "OK/retrieve" and then entering the username and password for connecting to oracle.
Once you are happy you save the rule and it will save the OCI connection, then you can use Maxl like you would with any other SQL load rule.
Cheers
John
http://john-goodwin.blogspot.com/

Similar Messages

  • Essbase rule files

    Hi
    How does ODI works when I use rule file to load data into Essbase. Does it still uses the KM or it uses rule file to load data..
    I know there is a bug in Essbase KM for data load.. whats the difference in having the load rule in the interface to not having the load rule for loading data?
    Also for loading Dimensions can load more that one dimension in the same interface using the load rule?
    -app

    Hi,
    1. Essbase is not a RDBMS, but it has its own database - file based.
    So, we would need a rule file to load data to Essbase.
    2. We cannot load to 2 different dimensions with the same integration [This is because every essbase dimension becomes a target and you cannot specify more than one target in an integration].
    Even in the Essbase rule files, you need seperate rule files for different dimensions. This is because every dimension has different properties and Essbase needs to know which dimension to send the members, while loading.
    Let me know if this help..
    Cheers,
    RS

  • Issue with rule file and Substitution variable

    Hi All,
    I am using Essbase 9.3.3
    I created a rule file with 5 dimensions in which 3 dimensions I defined in columns and two dimensions I gave it as header in data column with comma seperated.
    Among those two dimension members, one is an account member with "/" in it within quotes and other is a substitution variable.
    The member assigned for that Substitution variable has a space in between and is updated within quotes in variables list.
    When I try loading data, I am getting an error saying that two members are not valid.
    Eg: "Tax/Unit",&Scenario is not valid.
    &Scenario - "Budget Q1"
    Can some one please suggest on the issue.
    I am not facing any problem in calc scripts or reports scripts using the substition variable.
    Thanks in advance

    Mark,
    Modifying the default files is dangerous and ill advised. You could always just add a style sheet (inline or linked) to your application that overrides that one setting while you wait on the permanent fix.
    Regards,
    Dan
    http://danielmcghan.us
    http://sourceforge.net/projects/tapigen

  • Error while loading data to ASO database using rules files and buffer id

    Hello all,
    While loading the data to our ASO cube from a data file and using a server rules file, I am getting a warning: "Incorrect Syntax near ['$'] ". But my script no where mentions the usage of $. Also the console throws no error while loading the data. It displays the progress bar 0-100% while the data is being loaded, but actually no data is getting loaded (when retrieval is checked). Also the script is unable to form any log file or error file. Can anyone throw some light what might be the reason behind this kind of data load behaviour.
    Thanks in advance.
    Amit

    is that the real script? I don't see you using any parameter. (That's where $ comes to play). Try a double quote with echo (I never used echo in MaxL)
    Also don't post passwords and server names on a forum.
    Regards
    Celvin
    http://www.orahyplabs.com

  • Essbase Rule File

    Hi All,
    I have to build a conditional rule file. I have a huge data in an excel file .
    Based on two column values , I have to map the data to a different member in the outline.
    Example : In the excel file , If Col1 = 4321 OR 5443 OR 8766 and Col2 = 765 then load this data into Expenses .
    Similarly If Col1 = 8821 OR Col1= 2134 OR ... Col2 = 9911 OR .. then load into Revenues ..
    Like this I have to form somany conditions.
    Please let me know how I can build the Rule file ?
    Thanks.

    Hi,
    If you really have to do this in Rule file -which I don't highly recommend, then below are the steps:
    1. Duplicate column 1 and 2
    2. Merge duplicated column 1 and 2 with an "-" in between. (i.e. 4321-765, 5443-850 etc)
    3. Select this field and go to field properties, replace corresponding combinations to either "Revenue" or "Expense".
    4. Complete the field, header mapping etc. and load your data
    Cheers,
    Alp

  • Essbase rule file - Certain Series Account not to load

    Hi,
    I am trying to load data and want that certain set of accounts like A2XXXX, A3XXXX not to load into cube. XXXX can ber any number.
    I am loading into ASO. Can anyone help where to set in rule file?
    Thanks a lot!!!!

    JohnGoodwin wrote:
    You can use a substitution variable in the header setting for the rules file, more information :- Re: Data error
    Cheers
    John
    http://john-goodwin.blogspot.com/
    Is it version dependant? I can't remember if it was 9 onwards.

  • Essbase temp files and cache files

    Hi All,
    where essbase creates its temp files and cache files so that i can delete them.What is the path.
    Regards,
    Mink

    The DBAG lists the files (and types) used for various reasons. Some can be deleted, others should be left there for recovery attempts when the database is started up. If your database won't start, the temporary files that can be safely deleted are also covered, although this part might be somewhere else in the technical reference.
    There are also some backup files that could play a role, for instance, if the db file is the reason a database won't start, the backup file (dbb) can be used to replace it. For this reason, I don't recommend you just blindly delete all "unneeded" files if you are having a problem.
    If you are referring to temp files like what the OS uses, I don't believe essbase uses any of the "%temp%\randomname.tmp" variety. I could be wrong on this, but it keeps file usage fairly straightforward, with server files in the database folder and client files in the %arborpath%\essbase\client folder. Client files can indeed be deleted if you don't have anything open, but they are rarely orphaned so you shouldn't see enough to cause performance degradation.
    Hope this helps, between the perceived contexts and other potential intentions, there are other answers that may be more appropriate.

  • Creating Rule file to pull data from OCI Interface

    Hi.
    I am new to OCI, I have worked on DSN method earlier to pull data from database.
    Can someone give me steps of how to pull data from OCI interface.
    My database is Oracle 11gR2 and I am using 11.1.2.2 Fusion version.
    Regards
    Mahesh Balla

    The following post may help - Re: Essbase Rules Files and OCI
    There have been a number of issues relating to data and using OCI, I am not sure whether they are all resolved in 11.1.2.2 so if you are using OCI make sure you validate the data once loaded into essbase.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Query regarding Metadata load in Essbase using rule file

    Hi
    In our application,we are  loading metadata using Essbase rule file and  here we are facing one problem.Suppose we have to load a level 0 member called "xxxx" under two different parent,assume the parent members are Parent_AAAA and Parent_BBBB.But our requirement is the consolidation operator for the first occurrence ( i.e under Parent_AAAA)  is "+" and for the shared member under Parent_BBBB is "-".But,when we are loading using rule file the consolidation operator for the shared member always being loaded as "+".Is there any trick to change the consolidation operator for shared member other than  changing it manually in outline?
    Pls help....Thanks in advance.

    I don't think there is a way to change the default setting.
    However, what you can do is  to have a different load rule and different text file with only the metadata that you want to have an exception for shared members. That way, you can achieve it as you do not have to change the existing rule file.
    Regards
    ORACLE | Essbase

  • Sql and load rule file query

    Currently loading the data with the script , which it contatins
    Retreving data from oracle through SQL interface on to rules files
    and loading the data.
    just my question is , if i get 0 records from oracle , i dont want to proceed with the loading of data (which is no useful ).
    Can i stop the loading if records are zero.

    As far as I know there is nothing in MaxLIt that could tell that there were no rows.The MaxL statement would return a zero code saying that the process worked ok. It would be prossible in your batch script to have mutiple calls to MaxL and between them to do something like make a call to your sql DB getting the count of rows for your query. Investigate the result and if it is zero, then get out of your load and calc process (I guess you could do that even before you try to load).
    Or how about scheduling a job that creates an output file with the count if it is greater than zero. If it is, then run the batch load process if it is not, then bypass it. There are multiple ways to do this outside of Essbase, just not in it.

  • Reg: Building Essbase dimension using SQL in rule file

    Hi,
    We are using Essbase 11.1.2.2. I am trying to build a dimension in a cube using SQL query in the rule file, but i am not able to do it.
    I am not able to establish connection to database. Can anyone please give a step by step process to do this.

    If you really, really, really want to do this --- and by that I mean really get rid of everything in a dimension, create a dummy file with a single child.  That single child should have a name that could never exist in your system.  Something like "Forty-seven ginger headed sailors".  Then set the Dimension Build Settings Member Update to "Remove Unspecified".  Run the dim build -- it will clear out all of the dimension.
    Then take your other dim build rule file and use the same Remove Unspecified setting.  That will get rid of the silly member.  The source can be a file or SQL.
    Ta da, you have now cleared out the dim, added a single silly member, cleared out the dim again, and loaded the right members into it.
    There may be a better way to do the above, but I have done exactly that and it works.
    Regards,
    Cameron Lackpour

  • Data Load file and Rule file Creation

    Hi,
    I have used to create Rule file and Data file for loading data into Essbase 7.1.6 version.
    Past two years I didnt work in Essbase and forget the option, field properities, data load file creation.
    Could you please advice me or any demo for creating rule file as well data files?.

    Two things I could suggest.
    1. look at the Sample.basic application it has dimension and data load rules for all sorts of scenarios
    2. Come to my session at Kaleidoscope Rules files beginning to advanced where I go over some of the more interesting things with rules files

  • Rule file design need to reject some members in the same field

    Hi,
    I'm working on Essbase vrsn11.1.1.3.I'm building dimensions through rules file. I have a .dim file with parent child reference that have 5 fields(parent-child-alias1-alias2-property).
    The requirement is as such that the fourth field (alias2) is to be needed only for some members,Let say i have four members to load(A,B,C,D)Alias1 is required for all four members but alias2 is to be loaded only for B & D members.
    Is there any possibility to full fill this requirement, if so then kindly let me know
    thanks in advance
    Edited by: hyperion on Jan 12, 2012 4:01 PM

    create second rule file and load alias2 only with your select/reject criteria.
    Essbase rule file will reject entire record if at least one column matches up reject condition.

  • Deployment Issue with Rules file

    Hi,
    We have Rules file issue after the deployment in Development and Re7 environment.
    We have modified/created the rules file and after the deployment if we execute the rules file from the treatment then we got the error message like mentioned below.
    MAXL> Import database PGC_CHE.Pgc_che data from data_file
    "/pgcre701/pgc/subsidiary/che/tfi/pgc_nature_for_data_che.txt" using server rules_file "DO_MX_05" on error
    write to "/pgcre701/pgc/trc/PGC_150310_103739_pgc_nature_for_data_che.err";
       ERROR - 1019006 - Unable to Read
    [/logiciel/epm11/user_projects/epm_inst4/EssbaseServer/app/PGC_CHE/Pgc_che/DO_MX_05.rul], Created Using A
    Previous Version.
       ERROR - 1241101 - Unexpected Essbase error 1019006.
    If the same rules file opened through EAS console from SVN trunk or local and save as this rule file into Essbase server(through EAS console) then the rules file working correctly from the treatment process launch like mentioned below.
    MAXL> Import database PGC_CHE.Pgc_che data from data_file "/pgcre701/pgc/subsidiary/che/tfi/pgc_nature_for_data_che.txt" using server rules_file "DO_MX_05" on error write to "/pgcre701/pgc/trc/PGC_150310_134622_pgc_nature_for_data_che.err";
    OK/INFO - 1019061 - Reading Rule SQL Information For Database [Pgc_che].
    OK/INFO - 1019025 - Reading Rules From Rule Object For Database [Pgc_che].
    OK/INFO - 1003040 - Parallel dataload enabled: [1] block prepare threads, [1] block write threads..
    OK/INFO - 1003037 - Data Load Updated [18800] cells.
    OK/INFO - 1003053 - Data Load Elapsed Time with [DO_MX_05.rul] : [1.16] seconds.
    OK/INFO - 1241113 - Database import completed ['PGC_CHE'.'Pgc_che'].
    Could you please help us on this point ?
    Thanks in advance for your help.
    Essbase server 11.1.2.3.501 server LINUX red hat

    Hi John,
    it's not quite that
    I will provide more detail:
    In fact, we are 3 server Essbase : development, acceptance and operational there are a lot the new version of Essbase 11.1.2.3.501.
    The maxl treatment are launch since a other server : a treatment server that are a client maxl and ESSCMD in the same version.
    Before that, I'm migrate all the application and database from all alder server Essbase to this new architecture Essbase.
    All application and DATABASE (in BSO) was migrated by expot-import process, the all object (csc, rul, rep ...) was transfer by copy in each directories of database.
    The test after migration are very  satisfying.
    Now, we are on process of life on the Essbase server 11.1.2.3.501.
    The back office of India used the usually process to developed the lot.
    They take the source on SVN application (take the rule), deployed the rule on the development server, modify the rule and have this error.
    This error not appear after migration with the same rule ...
    I am skeptical
    Tx to your help on this subject.

  • Rule files for dataload

    Hi All,
             I am a newbie to essbase and trying to load data from ODI. I am not very clear with the concept of rule file. Request you to throw some light on the below cases:
    Is rule mandatory for loading metadata?
    Is rule not required for loading data to the essbase database? In this case, my observation is that i am able to load data using rule file and also by not using rule file. So, in what circumstances the rule file is required?
    Note: The sample code by Oracle for loading data to the essbase cube, has interfaces to load metadata using rule file and interfaces to load data without using rule file.
    Regards

    Hi John,
                Thanks for the response.
    Another issue is , the interface that loads data to the essbase cube using IKM SQL to HYPERION Essbase (DATA) knowledge module is deleting the rule file after the load. But, I do not see any step in ODI logs that deletes the rule file.On the other hand, we do not see such behavior with IKM SQL to HYPERION Essbase (METADATA) knowledge module.
    Regards
    Ashwin

Maybe you are looking for

  • Lines in shaded table cells do not render properly in pdf created in Word 2010

    When creating a pdf with shaded table cells using MS Word 2010; the black lines in the shaded table cells do not show up when looking at the page at a fit page view (anything under  around 60%). They print, they are there when I zoom in, but will not

  • Is Batch wise costing possible in SAP (Pharmacutical Industry)

    Hi, Could someone please help me with the below requirement. Details gathered from Client: 1.     Every Raw Material (RM) has a Batch Number 2.     Every SFG has a Batch Number 3.     Every FG has a Batch Number 4.     One Order = One Batch My Requir

  • I'm looking for iPad backup to windows software reviews

    I'm looking for software that will run on windows that will backup/restore reliably : iPad2 / iPhone 5 1. apps. 2. photoes / movies. 3. Settings. 4. Documents. 5. Contacts 6. iBooks Thank you, Docfxit

  • G5 1.8GHz stalls at blue screen

    Hi all, hope you can help. I recently bought a G5 1.8GHz June 2004 model as parts not working on ebay, so as someone new to Mac I need a little more direction than reading forums. Hardware - I reseated RAM, 2x256MB in the recommended position; new Ha

  • I need to split 2 different sales taxes to 2 separate GL Accounts

    On a customer sales order, I have a need to split two different sales taxes for a single lineitem to two different General Ledger (GL) accounts. I know that a sales tax code (2 digit) is defined on the UTXJ pricing condition and that this tax code in