Change SQL Datasource in Essbase Load Rules

Hi all,
I have to change the datasource in more then 500 loadrules. Right now, Essbase is installed on an IBM Iseries, and the datasource in the loadrules is *local.
Now, we weill move to Windows server, and there I can't create an ODBC Datasoure called *local. So I have to take another name and have to change hundreds of loadrules.
Any Ideas?
THX
Andreas

I'm afraid you are going to have to go through all the rules and change them. What you might do is create a substitution variable for the ODBC connection name and use that when you change them. that way if in the future you want to switch the connection(like going from Dev to prod) you just change the sub var and pick up th new connection

Similar Messages

  • Essbase load rule file

    I am trying to use load rule to append some data to Essbase cube. How do you define the rule on Essbase side, as a data file or SQL data source? I am trying to avoid the second option as the SQL Interface was not configured on Essbase Unix box. Is it possible?

    Thanks John for explaining this one!

  • Essbase Load Rules File Header Issue

    Hi,
    Is it possible to specify more than one member for the same dimension in the Load Rules file Header?
    Example: I need to load the same data in all the remaining months in current year.
    I tried using a substitution variable in the header which is defined as Aug,Sep,Oct,Nov,Dec.
    It loaded randomly. For each account, only one month is loaded.
    It loads only as many data points as in the data file regardless of the number of members from the same dimension specified in the Header definition.
    Any suggestions to correct this.
    Using a Calc script to do a data copy cannot be used because of other process limitations.
    Appreciate your thoughts.
    Thanks,
    -Ethan.

    Randomly? That's really interesting. But yeah, I wouldn't expect that to work.
    I have a hard time thinking of a really good option that will handle an variable number of periods and is driven by a single subvar.
    Run the load multiple times, cycling through the subvar settings? Or (faster, if Period is dense) create one load rule for each period, with the data column copied multiple times using field manipulation and the future Periods assigned to each column (rather than using a 'Data' field) and run only the rule you need? That option doesn't use a subvar at all, but still requires conditional logic in the process.
    Alternatively, do the transformation in your source extract / parse the file. This is really the 'best' option but I appreciate there are sometimes constraints on changing upstream processes.

  • Substitution Variables in Essbase Load Rules File

    Hi,
    Has anyone tried using substitution variables in Load Rules File Header definition?
    I need to load data based on the Year & I have different Files for 3 Years- CurYr, BudYr1 & BudYr2. Is it allowed to specify the Year Substitution variable in the Rule File Header? I am getting an error while loading.
    Appreciate your thoughts.
    Thanks,
    -Ethan.

    Tim,
    Thanks for the response.
    I figured it out. The error message I was getting was because of some parsing issue. I have defined Year as "FY12" in quotes. I removed quotes & it worked.
    Thank You.
    Ethan.

  • How to change Delta Datasource to Full Load?

    Hi All,
      I have an issue in my report which has Inbound Datasource (customized) from EKES and GRn from VBFA customized datasource.
    Currently,
    EKES is FULL UPDATE*
    VBFA is DELTA UPDATE
    My Scenario steps:
    Step1:Inbound Created  --EKES
    Step2:GRn done--VBFA
    Step3:Grn Reversed--VBFA
    Step4:Inbound Deleted.--- EKES
    So When the user deleted the INBOUND after REVERSAL, my EKES is full update, so it doesn't capture the deleted INBOUND based on our Datasource design to FILTER the AVAILABLE INBOUND. by type selection.
    so before deletion GRN done in STEP 2, which is alreadt pushed to BI and after deletion of Inboubd GRN from VBFA is DELTA UPDATE, it doesn't capture the Deletion data...
    In order to remove the deleted INBOUND from VBFA Infoprovider, I am planning easiest way to do FULL UPDATE...
    May what are the precaution and steps to convert the DELTA update to Full UPDATE?
    My flow  2PSA(EKES & VBFA)>2DSO(frm EKES & VBFA)->CUBE--->MultiProvider
    Pls provide a good suggestion.

    Hi ,
      I mean to say, losing data in the sense..Once I do Full LOAD, will there any chance I miss data.
    Also correct my below steps, if I am wrong,
    1.Delete data from Target and PSA.
    3. Run setup table-----HERE MY CONFUSION comes....my datasource is 0FI_GL_14. IT IS A FI datasources and this is not LO Method to do SET UP TABLE... or no need this step
    2. Create Info Pak with FULL UPDATE.and run the Info pak
    3. then run the DElte infopak, how the delta is set up..?
    May I know what are the steps for FULL Update for FI?.
    Thanks!

  • Dimension Build Load Rule Reject Record

    Hi,
    I'm trying to create a load rule that build the accounts dimsenion with a flat file. I would like to exclude any accounts that starts with "S" from being added to the account dimension. I have a parent/child build method for this load rule. i'm using the Reject Record to set the condition that any string contain S will be rejected but for some reason when I load it doesn't do anything. it makes EAS freeze up. so, my flat file looks like this.
    New Accounts,S50000,Accounts - S50000
    New Accounts,60000,Accounts - 60000
    New Accounts,S45000,Accounts - S45000

    Hi,
    Your posting does not tell me what you entered in the reject record setting to try to achieve the desired result. If you entered "S" and used the "Contains" setting it should have worked providing you know your data and don't have occurrences of this character possible other than in the first ordinal position. If you tried to use a wildcard asterisk callout, Essbase load rule select/reject logic does not take wildcard inputs (like "S*").
    Instead, a tried and true trick of Essbase load rules is to make a copy of the field in question, split it up and take background select/reject action on just the first character of a reference copy of the original field. This is done by using the field "create on join" method and simply joining the field to itself (an unintuitive but effective way to make a copy of a field for use in the load rule settings). Having done this, now split the copy of the field after one character. The remaining field section can be set to ignore for dim builds (or data loads as you might have to do later to match your dim build results in data loads). Now you have a single character field for which you can set the reject setting of contains or equal to "S" and then... please get this part... ignore the field for dim builds in field properties. Essbase will not try to use this partial field to build anything since it is ignored, but the assigned reject logic on occurrences of the isolated single character field will still be interpreted.
    This is old school Essbase but it still works. I am not here to say it is intuitive or that it represents the ultimate functionality in an ETL interface. Many with SQL skills would take care of this pre-load-rule in SQL string management. But this method is not that hard to apply and is effective if all you want to do is use load rule settings. Let me know if it helps.
    Darrell

  • Find and Replace a Blank in Load Rules

    <BR>Does anyone know if it is possible to find and replace a blank cell with a member name within Essbase Load Rules? My source data (a .txt file) has blanks within a single dimension that I need to replace with an Essbase member name so I can load it into the essbase cube. Until I add characters into the 'Find' window within Find and Replace, the option to add it in is greyed out. I am using Essbase 6.5.1<BR><BR>

    From the DBag: Replacing an Empty Field with Text <BR><BR>You may want to replace empty fields in a column with text. If, for example, empty fields in the column represent default values, you could insert the default values to replace the empty ones or insert #MI to represent missing values. <BR><BR>Replacing an empty field with text requires several steps. To replace an empty field with text: <BR><BR>Select the column containing the empty fields you want to replace. <BR><BR>Choose Field > Create Using Text or click the Create Using Text button, . <BR><BR>Enter the text to put in the new field. Enter a dummy string that is not in the selected column, such as "temp." Click OK. <BR><BR>Join the new field with the column containing the fields to replace. Select both columns, choose Field > Join, and click OK. The previously blank fields now contain the dummy string you entered in step 3; for example, temp. <BR><BR>Select the column containing the dummy string and choose Field > Properties or click the Field Properties button, . Click the Global Properties tab. <BR><BR>Enter the text string you want to replace in the Replace text box. This should be the dummy string you entered in step 3; for example, temp. Now enter the text to replace it with in the With text box. This should be the final value you want to put in the fields, for example, default. Select the Match Whole Word. <BR><BR>Click Add and then click OK. <BR><BR>Now replace the extra dummy strings in the column with nothing. Choose Field > Properties or click the Field Properties button, . Click the Global Properties tab. Enter the dummy string in the Replace text box; for example, temp. Enter nothing in the With text box. Make sure the Match Whole Word option is not checked. Click Add and then click OK.<BR>

  • Changing a Load rule programatically. (SQL interface)

    Does anyone know if you can change the source odbc connection for a load rule programatically? I'd like to write a MAXL or script that will change my cubes to point to my dev OR my test environment - but I have 15 load rules for each cube. (5 or 6 cubes to change).Thanks.

    As far as I have been able to determine you can not modify a load rule programatically. Your only solution is to copy the load rule then change the sql query. Alternatively you could use a view as the underlying SQL i.e. Select * from View. You could then modify the view as required. i.e. run the load with the view pointing to table1 then modify the view to point to table 2 and run the load again.

  • Can I edit the rpt file & change the datasource before loading the report?

    We are an ISV and our application has a lot of reports.  Our reports use a SQL Server database as the data source and each SQL Server at our customer sites has a different name.
    In our testing we have determined that ReportDocument.Load tries to connect to the SQL Server that is saved in the RPT.  If it can't fine the SQL Server saved in the RPT the load take about 60 seconds while it is waiting for the SQL Server Connection to time out.
    We are using the Visual Studio 2008 version of Crystal Reports.  This did not seem to be a problem with VB6/CR8.5.
    We would like to edit the RPT and change the data source to the appropriate SQL Server before we call ReportDocument.Load.
    Is it possible to edit the rpt file and change the data source before loading the report?
    Or is there some way to tell Crystal not to try connecting to the DB
    during the report.load?
    In our case we will NEVER use the data source that is saved in the RPT, we will always change the data source using ApplyLogOnInfo.
    Thanks

    HI Todd,
    You Can Not edit the report document before ReportDocument.Load() because if you dont load the report then you dont have anything to Edit
    But as far as changing the datasource is concerned you can change that at runtime.
    For changing the datasource following code will help you if both databases have a same schema :
    Code for changing the database
    ConnectionInfo crConnectionInfo = new ConnectionInfo();
    crConnectionInfo.ServerName = "SERVER";
    crConnectionInfo.DatabaseName = "DATABASE";
    crConnectionInfo.UserID = "USERID";
    crConnectionInfo.Password = "PASSWORD";
    // Loop through the ReportObjects in a report and find all the subreports
    foreach(ReportObject crReportObject in crReportDocument.ReportDefinition.ReportObjects)
         // Check the kind of the ReportObject, if it is a subreport
         // proceed. If not skip.
         if(crReportObject.Kind == ReportObjectKind.SubreportObject)
              // Get the SubReport in the form of a ReportDocument
              string sSubreportName = ((SubreportObject)crReportObject).SubreportName;
              ReportDocument crSubReportDocument = crReportDocument.OpenSubreport(sSubreportName);
              // Use a loop to go through all the tables in the main report
              foreach(Table crTable in crSubReportDocument.Database.Tables)
    // Get the TableLogOnInfo from the Table and then set the new
    // ConnectionInfo values.
    TableLogOnInfo crLogOnInfo = crTable.LogOnInfo;
    crLogOnInfo.ConnectionInfo = crConnectionInfo;
    // Apply the TableLogOnInfo
    crTable.ApplyLogOnInfo(crLogOnInfo);
    // Set the location of the database. This value will vary from database to
    // database.
    crTable.Location = "DATABASE.OWNER.TABLENAME" or crTable.Locations;
    The sample for doing this is available on support site.
    Thanks,
    Prasad

  • Substitution variable in sql load rules file

    Okay gurus,
    I need a little guidance, I have to replace the value of 201020 and 2008 from substitution variables. I have created the variables and set them up globally on the essbase server.
    201020 = FW00
    2008 = FY00
    WHERE ACT.FISCAL_WEEK_ID <= 201020
    AND ACT.FISCAL_YEAR_ID > 2008
    AND RTDIV.DIV IN (1,2,3,4,5,6,7,8,9,99) (This is the query with hard coded values of week and year)
    When i m trying to put sub variables there , its throwing the error. please find below the way i was trying to do it.
    WHERE ACT.FISCAL_WEEK_ID = '&FW00'
    AND ACT.FISCAL_YEAR_ID = '&FY00'
    But unfortunately, its throwing error Error: 1021001 Failed to Establish Connection With SQL Database Server. See log for more information
    I know that this is the generic error because if i put the hard coded value in sql load rules it works fine.
    Is it the right way to out sub var in sql load rules???
    Please advice and thanks in advance.

    Hi Genn,
    I tried to see the app log for sql but i m afraid that there is nothing in there, the only error message which I am getting in app log is this:
    Failed to Establish Connection With SQL Database Server. See log for more information
    Its an ASO cube and initially i was using the variable as FY00 AS "2008" it did not work and than i tried without quotes in variable but is still not working.
    Any idea..thanks in advance.

  • 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

  • Loading Data to Essbase using Rule File Failed

    Hi
    i'm using IKM SQL to Essbase Cbue,
    Now I would like to use rule file when loading data,
    I created one in Essbase cube, then define it on the target (flow) and the Tab on Rule seprator,
    I reversed the Essbase Cbue again.
    when loading I get the following error bellow
    (before loading I verfiy with sample file based on the same strcture from my source and load it via data load from EAS
    and it works fine. also it works without any rule file.)
    here's the error I'm getting from operator:
    org.apache.bsf.BSFException: exception from Jython:
    Traceback (innermost last):
    File "<string>", line 23, in ?
    com.hyperion.odi.essbase.ODIEssbaseException
         at com.hyperion.odi.essbase.ODIEssbaseDataWriter.loadData(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java)
         at org.python.core.PyMethod.__call__(PyMethod.java)
         at org.python.core.PyObject.__call__(PyObject.java)
         at org.python.core.PyInstance.invoke(PyInstance.java)
         at org.python.pycode._pyx30.f$0(<string>:23)
         at org.python.pycode._pyx30.call_function(<string>)
         at org.python.core.PyTableCode.call(PyTableCode.java)
         at org.python.core.PyCode.call(PyCode.java)
         at org.python.core.Py.runCode(Py.java)
         at org.python.core.Py.exec(Py.java)
         at org.python.util.PythonInterpreter.exec(PythonInterpreter.java)
         at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:144)
         at com.sunopsis.dwg.codeinterpretor.k.a(k.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSqlI.treatTaskTrt(SnpSessTaskSqlI.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
         at com.sunopsis.dwg.cmd.e.j(e.java)
         at com.sunopsis.dwg.cmd.g.z(g.java)
         at com.sunopsis.dwg.cmd.e.run(e.java)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.NullPointerException
         at com.hyperion.odi.connection.AbstractHypAppWriter.logErrorRecord(Unknown Source)
         at com.hyperion.odi.essbase.ODIEssbaseDataWriter.sendRecordArrayToEsbase(Unknown Source)
         ... 32 more
    com.hyperion.odi.essbase.ODIEssbaseException: com.hyperion.odi.essbase.ODIEssbaseException
         at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)
         at com.sunopsis.dwg.codeinterpretor.k.a(k.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSqlI.treatTaskTrt(SnpSessTaskSqlI.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
         at com.sunopsis.dwg.cmd.e.j(e.java)
         at com.sunopsis.dwg.cmd.g.z(g.java)
         at com.sunopsis.dwg.cmd.e.run(e.java)
         at java.lang.Thread.run(Unknown Source)
    pls advice what i'm doing worng?
    Thanks!

    So are you saying the data load interface works if you remove the rule in the options?
    Have you ever got any data loads to run with a load rule or without?
    Cheers
    John
    http://john--goodwin.blogspot.com/

  • Possible to change the datasource from a business-view to a Sql Command ?

    Hello,
    When a business view contains a lot of elements it takes a while just to open the report.
    We'd like to keep the BV as the dictionnary, but,
    once the report design completed,
    we'd like to disconnect the business view and replace it by the Sql command which can be seen in the menu option 'show SQL query'.
    Is it possible via the RAS sdk ?
    Did somebody experience this ?
    How to proceed ?
    Thanks a lot
    Alain

    Hi Ted,
    I'm thinking opening a Case for this problem of opening reports based on a big BV.
    We can't really reduce the BV, since it is the dictionnary and we need the whole thing...
    I'm wondering why it is impossible to change the Datasource if the tables and fields underneath are identical.
    Is it impossible to change the fields' mapping ?
    The other solution, as you suggest, is to create a report from scratch, create a new Datasource with the Sql command format, and rebuild the report... I agree it looks like a big job...
    Do you know if it is possible to export the report in XML for instance, change the XML, and then re-import ?
    Thanks for your Help.
    Alain

  • Substitution variable in Load rule Header Essbase 11.1.1.3

    Think its obvious you can use substitution variable as a Header definition on Load rules, does version 11.1.1.3 has any issues' with it, i am running into Unexpected Essbase error 1019026.
    Error:
    Unknown member [Mgmt Actual,Base,No Vertical,No Customer] found while processing string [Mgmt Actual","Base","No Vertical","No Customer]
    Unexpected Essbase error 1019026
    I want to copy Actual data into other scenario's in ASO cube so thought will use substitution variables to eliminate duplication on load rules.
    Mgmt Actual is a scenario set thru Substitution variable at the DB level
    i.e *&CurScen="Mgmt Actual" (set at DB level)*
    Header Definition on load rule *&CurScen,"Base","No Vertical","No Customer"*
    Data load work fine If i replace substitution variable with original member *"Mgmt Actual","Base","No Vertical","No Customer"*.
    I did notice some users complaining erratic behavior when substitution variables are placed in load rule header at the End on multiple members, i have tried all places End, First and Middle.
    tried using single Load rule with EAS and MAXl same results.
    i want to keep altering scenarios on header definition and use same rule files.
    alter database AppName.DbName set variable CurScen '"Mgmt Actual"';
    Running out of ideas any help!

    Error:
    Unknown member [Mgmt Actual,Base,No Vertical,No Customer] found while processing string [Mgmt Actual","Base","No Vertical","No Customer]
    Unexpected Essbase error 1019026
    *1019026 Unknown member memberName found while processing string string*
    Possible Problems
    Analytic Services does not recognize the listed string as a member of the outline.
    Possible Solutions
    Make sure that the member name is valid. The member name is in the rules file.
    * Are you using the correct rules file?
    * Is the rules file connected to the correct outline?
    * Can you validate the rules file?
    * Are member names or variable names enclosed in quotation marks where necessary?
    * Does the member exist in the outline? If not, you can add the member by modifying the outline during the dimension build or add the member in the Outline Editor.
    * Make sure that the member is not specified as a header in the rules file.
    Regards,
    Prabhas

  • SQL Load rules file

    Hi Experts,
    I'm trying to create SQL based load rule for BSO application.I'm not sure what i'm missing but in data field it shows " 0" or "-0" in EAS while retriving a data from Oracle.When I execute same query on oracle data was there.
    The data field which i'm not getting correctly is "SUM(aa."AMOUNT").Any suggestions ?
    Thanks in avd
    Vipul

    Hi Genn,
    I tried to see the app log for sql but i m afraid that there is nothing in there, the only error message which I am getting in app log is this:
    Failed to Establish Connection With SQL Database Server. See log for more information
    Its an ASO cube and initially i was using the variable as FY00 AS "2008" it did not work and than i tried without quotes in variable but is still not working.
    Any idea..thanks in advance.

Maybe you are looking for

  • How do I use just the audio from a clip without the video?

    Can't remember how to use just the audio from a clip, without the video.  FCP X can't select like FCP&

  • How do you find out which files are not authorized?

    All of a sudden, out of the blue, I start getting this message : Some of the Audible files in the iTunes library were not copied to the iPod "iPod" because you are not authorized to play them on this computer. Well first of all - all of the music I'v

  • How to deal with customer motive in three system landscape?

    Hello, I am developing a portal application based on the Composition Environment 7.1 in a three system landscape. Now, I have created a customer motive on the development system. What is the proposed way to transport this motive from the development

  • Calendar in Apps when running concurrent program

    Hi, I've a PL/SQL package which i have compiled and have registered as a concurrent program. When i run the request it asks me for date which is a parameter to run the package. I want to select the date from a calendar instead of having to use the va

  • SAP DR Site

    Dear All, We have SAP ECC 6 / Oracle 10g on HP Unix 11.31. I have prepared a Test scenario for SAP DR solution for our Testing Server. I have configured oracle dataguard successfully. I have installed SAP ECC 6 on same server where oracle standby dat