Essbase API question?

Did anybody know which patch has correct API "EssListDbFile()" in Essbase 6.1 or later.Thanks!

Hi,
There isn't a setting in the JAPI to not use SciNote by default. What you're doing is good.
The only way I know of to replace #Missing with 0 is to parse and replace. The object doesn't have a property to set for that AFAIK. You probably have a Cartesian parse already, just do it there.
public static boolean isNumeric(String str){
    for (char c : str.toCharArray()){
        if (!Character.isDigit(c)) return false;
    return true;
}Regards,
Robb Salzmann

Similar Messages

  • Essbase Hyperion 9 + BO XI 3.1 SP3. Essbase API Error (1030723) (WIS 1

    Hello, Need your help please !!!
    I have installed BO Enterprise XI 3.1 SP3 on window 2003 which IBM DataStage have been installed on it.
    There are no problem when :
    - Creating connection using essbase hypersion 9 and creating universe in Universe Designer (Ok)
    - Checking validity of the universe (Ok)
    - Create and run report in webbi rich clien (Ok)
    The problem is when I tried to create report and run query in Web Intelligence Java Panel Report, I got this Error "A database error occured. The database error text is: Essbase API Error (1030723): . (WIS 10901)".
    Can someone help me to solve this problem, please?
    Regards
    Sofian

    Hi Stratos,
    I have installed Essbase Client Version 11. I have installed the same in my laptop and I didn't got this problem, the different only i haven't installed DataStage in my laptop.
    Regards
    Sofian

  • Essbase Hyperion 9 + BO XI 3.1 SP3. Essbase API Error (1030723) (WIS 10901)

    Hello, Need your help please !!!
    I have installed BO Enterprise XI 3.1 SP3 on window 2003 which IBM DataStage have been installed on it.
    There are no problem when :
    - Creating connection using essbase hypersion 9 and creating universe in Universe Designer (Ok)
    - Checking validity of the universe (Ok)
    - Create and run report in webbi rich clien (Ok)
    The problem is when I tried to create report and run query in Web Intelligence Java Panel Report, I got this Error "A database error occured. The database error text is: Essbase API Error (1030723): . (WIS 10901)".
    Can someone help me to solve this problem, please?
    Regards
    Sofian

    Hi Stratos,
    I have installed Essbase Client Version 11. I have installed the same in my laptop and I didn't got this problem, the different only i haven't installed DataStage in my laptop.
    Regards
    Sofian

  • Essbase API Custom Function 11.1.2.1

    I recently decided to start playing around with the Essbase Java API to see if I could write a custom function that overwrites a subvar. I found the createSubstitutionVariable command is already in the API. I wrote a MaxL script that registers a new function by calling the API command.
    /* Create a log file for the script log and error information */
    spool on to $4;
    /* Login to the server */
    login $1 $2 on $3;
    CREATE or Replace FUNCTION '@SETGLOBALSUBVAR'
    AS 'com.essbase.api.datasource.IEssBaseObject.createSubstitutionVariable(String,String)'
    SPEC '@SETGLOBALSUBVAR(String SubVar, String SubVarValue)'
    COMMENT 'Sets the specificed subvar to the specified value';
    This creates the function (viewable in EAS). However, when I run a calc script that calls the function, I get an error that it belongs in a calc block. When I place it in a calc block, I get an error message that an operator is expected after my custom function.
    ex:
    Fix ("Actual", "Final")
    AC_12345=@SETGLOBALSUBVAR('test', 'hi');
    EndFix
    I also found Robb Salzmann's CDF http://codingwithhyperion.blogspot.com/2011/08/create-and-update-substitution.html and tried using that, but received the same error message. I was wondering if someone could point me in the right direction to creating and using custom functions to update the subvar.
    Thanks,
    Daniel

    Sorry about that.
    I have the MaxL log below that shows the function being created successfully. There is nothing in the essbase log file itself regarding the creation of the function.
    OK/INFO - 1051034 - Logging in user [admin@Native Directory].
    OK/INFO - 1241001 - Logged in to Essbase.
    MAXL> CREATE or Replace FUNCTION '@SETSUBVAR'
    2> AS 'com.hyperion.essbase.cdf.setSubVar(String,String,String,String)'
    3> SPEC '@SETSUBVAR(String app, String db, String subvar, String subVarValue)'
    4> COMMENT 'Sets the specificed subvar to the specified value';
    OK/INFO - 1056102 - Function @SETSUBVAR replaced.
    MAXL> logout;
    User admin is logged out
    The calc that I am running is:
    Fix ("ACTUAL","FORECAST")
    PJ_99999= @SETSUBVAR ('','', 'TestLocalVariable', 'TEST');
    ENDFIX
    The error message that displays in the log file is :Error: 1200324 Error compiling formula for [PJ_99999] (line 3): operator expected after [@SETSUBVAR]
    The code that I am trying to register is from your site http://codingwithhyperion.blogspot.com/2011/08/create-and-update-substitution.html Instead of activating SetMonthSubvar or SetYearSubvar, I am only trying to register the SetSubVar command in your jar file
    Thanks for your help! I appreciate all your responses.
    Daniel

  • Error occured during load process com.essbase.api.base.EssException: (-1):

    I am trying extract the Measures dimension from Sample application by following John's blog (ODI Series - Loading Essbase Metadata) . Its giving error on extracting metadata from Sample basic.
    ODI Ver 10.1.3.6.3
    Error
    Error occured during load process com.essbase.api.base.EssException: (-1):
    Error log :
    2010-07-17 04:25:30,741 INFO [DwgCmdExecutionThread:null:9]: ODI Hyperion Essbase Adapter Version 9.3.1.1
    2010-07-17 04:25:30,741 INFO [DwgCmdExecutionThread:null:9]: Connecting to Essbase application [Sample] on [M2BTG.BADAKLNG.COM]:[1423] using username [admin].
    2010-07-17 04:25:30,760 INFO [DwgCmdExecutionThread:null:9]: Successfully connected to the Essbase application.
    2010-07-17 04:25:30,760 INFO [DwgCmdExecutionThread:null:9]: Essbase Load IKM option RULES_FILE = prodload
    2010-07-17 04:25:30,762 INFO [DwgCmdExecutionThread:null:9]: Essbase Load IKM option RULE_SEPARATOR = Tab
    2010-07-17 04:25:30,762 INFO [DwgCmdExecutionThread:null:9]: Essbase Load IKM option PRE_LOAD_MAXL_SCRIPT =
    2010-07-17 04:25:30,762 INFO [DwgCmdExecutionThread:null:9]: Essbase Load IKM option POST_LOAD_MAXL_SCRIPT =
    2010-07-17 04:25:30,762 INFO [DwgCmdExecutionThread:null:9]: Essbase Load IKM option ABORT_ON_PRE_MAXL_ERROR = true
    2010-07-17 04:25:30,763 INFO [DwgCmdExecutionThread:null:9]: Essbase Load IKM option RESTRUCTURE_DATABASE = KEEP_ALL_DATA
    2010-07-17 04:25:30,774 INFO [DwgCmdExecutionThread:null:9]: Begining the load process.
    2010-07-17 04:25:30,792 ERROR [DwgCmdExecutionThread:null:9]: Error occured during load process com.essbase.api.base.EssException: (-1): null.
    2010-07-17 04:25:30,792 INFO [DwgCmdExecutionThread:null:9]: Load process completed.
    2010-07-17 04:25:30,792 INFO [DwgCmdExecutionThread:null:9]: Logging out and disconnecting from the essbase application.
    On checking the toplology manager, it gives error as shown below.
    rg.apache.bsf.BSFException: exception from Jython:
    Traceback (innermost last):
    File "<string>", line 23, in ?
    com.hyperion.odi.essbase.ODIEssbaseException: (-1): null
         at com.hyperion.odi.essbase.ODIEssbaseMetaWriter.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._pyx9.f$0(<string>:23)
         at org.python.pycode._pyx9.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.k(e.java)
         at com.sunopsis.dwg.cmd.h.A(h.java)
         at com.sunopsis.dwg.cmd.e.run(e.java)
         at java.lang.Thread.run(Unknown Source)
    Caused by: com.essbase.api.base.EssException: (-1): null
         at com.essbase.server.framework.EssOrbPluginDirect.ex_olap(Unknown Source)
         at com.essbase.server.framework.EssOrbPluginDirect.essMainBuildDimension(Unknown Source)
         at com.essbase.api.session.EssOrbPlugin._invokeMainMethod(Unknown Source)
         at com.essbase.api.session.EssOrbPlugin._invokeMethod2(Unknown Source)
         at com.essbase.api.session.EssOrbPlugin._invokeMethod(Unknown Source)
         at com.essbase.server.framework.EssOrbPluginDirect._invokeProtected(Unknown Source)
         at com.essbase.api.session.EssOrbPluginEmbedded.invokeMethod(Unknown Source)
         at com.essbase.api.session.EssOrbPluginEmbedded.invokeMethod(Unknown Source)
         at com.essbase.api.session.EssOrbPlugin.essMainBuildDimension(Unknown Source)
         at com.essbase.api.datasource.EssCube.buildDimension(Unknown Source)
         at com.hyperion.odi.essbase.wrapper.EssbaseApplication.buildDimension(Unknown Source)
         ... 32 more
    com.hyperion.odi.essbase.ODIEssbaseException: com.hyperion.odi.essbase.ODIEssbaseException: (-1): null
         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.k(e.java)
         at com.sunopsis.dwg.cmd.h.A(h.java)
         at com.sunopsis.dwg.cmd.e.run(e.java)
         at java.lang.Thread.run(Unknown Source)
    Please Help me
    Rgds
    Uka FP

    You won't get much response with an error like that, what I can suggest is have a look at one of the blogs I wrote going through loading metadata :- http://john-goodwin.blogspot.com/2008/11/odi-series-loading-essbase-metadata.html
    Try building some test metadata loads against the sample.basic application to get a feel for how to do it.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Advanced Security manager- Error Initializing the Essbase API.

    Hi,
    I have installed  OLAPUnderground> Advanced Security manager for exporting all the User security.  when i try to click connect it throws a connection error "error Initializing the Essbase API, cannot connect." Has any one seen this error before? please let me know if i am missing anything.
    We are currently using  11.1.2.3.500.
    Thanks,
    Sankeerth

    Sounds like you have not created the windows environment variable:
    ESSBASEPATH
    D:\Oracle\Middleware\EPMSystem11R1\common\EssbaseRTC\11.1.2.0
    That is just an example path update to match your environment
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Usage of essbase api

    Hi All From long time I waiting to usage of essbase api. Now I got that time. Basically what essbase api?. where to use it?. how to use use it?. what is the importance of these API?. Give instructions like LAYMAN PLease. Is there any material step by step , How write macros by using essbase API & aslo how to run ?. thanx in advance ...thanx

    API: Application Programming Interface - The API's (VB, C++, Java) are sets of functions that allow you to create applications that interact with Essbase server. Almost everything you can do with client tools can be done with the API (emhapsis on 'Almost').I have used the VB API for Essbase to create numerous administrative utilities for things like subvar configuration, member info gathering, as well as a few user tools, including a replication interface that allows finance users to replicate (and generate and run the necessary calcs) by choosing a few parameters clicking a replicate button. This app replaced an another system that was basically a folder with hundreds of esscmd scripts and batch files which incorporated many 'challenges' due to security, user error, and a they were not dynamic (outline changes effect replication tasks).The nice thing about the API is that you are able to design an application that will include a layer of business logic or rules, that control how users interact with Essbase.Last parting of advice.. Use the APIs when appropriate, but don't invent reasons to use them. KISS: Keep it simple stupid.Jeff McAhrenDallas, Texas

  • Essbase API Sample code

    Hi,Can anyone help me to get Essbase API's sample code for Java.Thanks in advance.Mahesh

    When you install Essbase Deployment Services (formerly Essbase Enterprise Services), which is the container for the Java API, a sample directory get installed that has about 30 sample Java classes covering a wide variety of JAPI functionality.Tim TowApplied OLAP, Inc

  • IR to Essbase API Guide?

    IR to Essbase API Guide anyone?
    I am struggling with adding filters and limiting "rows" dynamically to an OLAP query going against Essbase from Interactive Reporting.
    Thanks for any guidance pointing me to the doc that contain some examples.
    Regards,

    Look at the sample code in the aps\samples\japi directory where you have APS installed.. There are a number of samples in this directory for reading outline information including GetMembers.java and ViewOutlineTree.java.
    Tim Tow
    Applied OLAP, Inc

  • Regd OS versions supporting Essbase API and Essbase product suite.

    Hi All,
    Can some one clarify me whether there will be any change of Versions in Operating Systems supporting the Essbase API and Essbase product suite ( i.e Essbase Server,Client,AAS,EIS,APS).
    Is it possible like some of the Operating System versions supporting Essbase Server or AAS will not support the Essbase API of the same product version(9.3.1).
    If both of them support different versions of operating systems, can some body provide me with the supporting OS version documents for Essbase API 9.3.1 and Essbase API 7.1.
    Thanks and Regards
    Dheeraj

    I installed Photoshop CS4 after installing snow leopard. PS is crashing when saving JPG files. It is completely repeatable.
    I deleted the preferences files and I got it to save the file once. The second time it started to crash again.
    The file is a PSD file with several layers it is 4267x1200 pixels.
    I then flatten the file and save as ....  JPG
    As soon as I click on the JPG quality or OK button photoshop freezes. THIS IS REPEATABLE EVERY SINGLE TIME.
    The big lie from Adobe is that they said that CS4 was certified to work with Snow Leopard, it DOES NOT.
    I went and spent the $350 for the upgrade to find out that CS4 is just as unstable as CS3 (which actually can still save JPGs
    but crashes usually while retouching an image with the brush tool).
    My machine is a current iMac24 with plenty of free disk space and 4Gigs RAM
    I ran disk tools too. no problems here either. Even if I restart and only run PS it still fails.
    Adobe you have to fix this. It is completely unacceptable to tell customers to go buy CS4 and have it NOT WORK.
    I have used PS for more than a decade and it has been quite good. you have concentrated on bloatware features, too frequent updates to get more money (greed) at the expense of quality.
    I do not believe that you are honestly concerned about quality, just more money for overpriced upgrades.

  • Error 1030723 Unable to get UTF-8 locale when using Essbase API 11.1.1

    Now I got a question about how to connect to an Essbase Server by using essbase client API (11.1.1). I encountered an error “Unable to get UTF-8 locale” when I tried to EssInit((pInitStruct, phInstance) API.
    However, I had no problem to call the API if I uses essbase previous client APIs (7.1 or 9.3).
    I passed the “ESS_API_UTF8” to usApiType field in the ESS_INIT_T struct. When I openned the “essapi.h” header file, I found these are some new fields (highlighted in red color below) added in the essbase client API (11.1.1)
    ESS_TSA_API_typedef_struct(ess_init_t)
    ESS_TSA_ELEMENT(ESS_ULONG_T, Version); /* This should be set to ESS_API_VERSION */
    ESS_TSA_ELEMENT(ESS_PVOID_T, UserContext); /* void pointer to user's message context */
    ESS_TSA_ELEMENT(ESS_USHORT_T, MaxHandles); /* max number of context handles required */
    ESS_TSA_ELEMENT(ESS_SIZE_T, MaxBuffer); /* max size of buffer that can be allocated */
    ESS_TSA_ELEMENT(ESS_STR_T, LocalPath); /* local path to use for file operations */
    ESS_TSA_ELEMENT(ESS_STR_T, MessageFile); /* full path name of message database file */
    ESS_TSA_ELEMENT(ESS_PFUNC_T, AllocFunc); /* user-defined memory allocation function */
    ESS_TSA_ELEMENT(ESS_PFUNC_T, ReallocFunc); /* user-defined memory reallocation function */
    ESS_TSA_ELEMENT(ESS_PFUNC_T, FreeFunc); /* user-defined memory free function */
    ESS_TSA_ELEMENT(ESS_PFUNC_T, MessageFunc); /* user-defined message callback function */
    ESS_TSA_ELEMENT(ESS_STR_T, HelpFile); /* user-defined help file path */
    ESS_TSA_ELEMENT(ESS_PVOID_T, Ess_System); /* reserved for internal use */
    ESS_TSA_ELEMENT(ESS_USHORT_T, usApiType);
    ESS_TSA_ELEMENT(ESS_PCATCHFUNC_T, CatchFunc); /* user-defined kill-own-request signal callback function */
    ESS_TSA_ELEMENT(ESS_PCATCH_INIT_FUNC_T, CatchInitFunc); /* user-defined kill-own-request signal initialization callback function */
    ESS_TSA_ELEMENT(ESS_PCATCH_TERM_FUNC_T, CatchTermFunc); /* user-defined kill-own-request signal termination callback function */
    ESS_TSA_ELEMENT(ESS_PCOOKIE_CREATE_FUNC_T, CookieCreateFunc); /* user-defined cookie creation function */
    ESS_TSA_ELEMENT(ESS_PCOOKIE_DELETE_FUNC_T, CookieDeleteFunc); /* user-defined cookie creation function */
    } ESS_TSA_END(ESS_INIT_T);
    I could not find any document to introduce the API (11.1.1. And what does the error “Unable to get UTF-8 locale” mean? How can work around it. Any environment parameters or paths need to be set?
    Please advise.

    Hi,
    The API documentation for V11 is available from :- http://download.oracle.com/docs/cd/E12825_01/epm.111/esb_apiref/frameset.htm?launch.htm
    Hopefully it might point you in the right direction.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • System 9 Security Filters and VB Essbase API

    I currently maintain a lock and send Excel template sporting a custom login dialog which I use to capture the user's employee id. Having that, I then use a generic admin username/password and the API to get the security filter stored under the user's "underscored" ID on the Analytic server. I parse out the organizational entities stored in the write filter and use that to build a treeview to which the user can only select entities to which he/she can access. Basically, it gives me the ability to maintain a standard template across many lines of business. I also use the same code in a security management applet where superadmins can build/modify/delete the security filters of those people who have access to entities which are descendents of the entity to which the superadmin has access.
    Anyway, I understand in System 9, there is no longer an "underscored" id. I think I read that on the Planning forum. Other than a minor code change, will this have any further impact? The write filter has been migrated over to the non-underscored filter yes? We're going to System 9 soon and I'm just trying to get my hands around the impact this is going to have on all of the API (7.1.6) code I have deployed. This is just the first question that came to me. I expect I'll be on here for a few more. Any help or advice is appreciated.

    I wouldn't copy Essbase.sec from one server to another. The server name is embedded in there and it's drive/folder dependent.
    What you can do is use MaxL's display filter all command and then pipe the output to a text file. In turn you can import those definitions back into Essbase with a little work.
    I wonder if OlapUnderground's Advanced Securtity Manager might be used to move filters across servers and versions:
    http://www.appliedolap.com/free-tools/advanced-security-manager
    I've personally never used it, but I'm sure someone on this board will chime in.
    Regards,
    Cameron Lackpour

  • API Question

    Does the configurator provide a means of accessing the PS API..? I was contemplating createing a UI using C#/C++ or Delphi and COM but if this tool will give me the UI ability while exposing the SDK API for PS then that would be prefered. I looked through the threads and didnt see this question, apologies if its a dupe.
    Also, is there an example of running scripts and actions for PS from a UI element created with the configurator...?
    Thanks
    David

    Hi David,
    may I suggest you to get a look to the Photoshop Panel Developer's Guide here:
    http://www.adobe.com/devnet/photoshop/pdfs/photoshop_panel_developers_guide.pdf
    It gives you advices and examples on how to build photoshop panels in Flash/Flex (with Flex you've plenty of UI element to play with - sliders, drop down lists, etc). I don't think you need patchpanel, or at least I've been able to do my own stuff without it: I've some javascript functions that are called by the panel depending on few sliders and checkbox.
    Anyway, something that prooved to be impossible without writing some temporary image files and managing in fancy ways the input-output stream is to embed in the panel a PixelBender kernel - something that would make the panel a close brother of a Photoshop plugin
    Regards,
    Davide Barranca
    Bologna, Italy

  • Essbase MDX question

    Hi there
    I am at a client where I have to do comparative store analysis. Basically with MDX I need to do the following:
    When doing comparable store analysis on a daily level in my Time dimension a store must have traded a year ago on the same comparable day as per the company's trading calendar.
    When doing comparable store analysis on a weekly level a store must have traded a year ago for the full same comparable previous year's week (i.e. all the days in the week) as per company's trading calendar.
    If the criteria is not met #missing must be returned else the day or week value.
    On day level my MDX works fine:
    CASE
    WHEN
    IsLevel([Entity].CurrentMember, 0) AND
    IsLevel([Time].CurrentMember, 0) AND
    NOT IsEmpty([Periodicity].[LY])
    THEN
    ([LY], [Act], [Time].CurrentMember, [Entity].CurrentMember, [Account].CurrentMember)
    END
    The question is on a week level how do I check if a store traded on every single day of the same week last year. Getting the week is no problem, but checking every child of that week.
    Just another point on this: I need to do this on month, quarter etc levels as well, so hard coding to check from day 1 to 7 will not suffice.
    Thanks
    Johan

    You are correct, currently Essbase does not support updates via MDX.

  • Swing API question

    hello.
    my name is james mcfadden and i am a final year computing student at letterkenny IT in ireland. i have a program here that i want you to take a look at. i am using this program among many programs in my final year project. the program compiles and runs. but when it compiles, i get a message from the jGRASP compiler (which always works well for me) saying that i was using a depracated API function. i found out what that depracated API function was. it was the show() function. this function was used in version 1.4.2 of java, but was dropped out of java 5.0. i checked up the java 5.0 API on the web and discovered that the show() function had been replaced by the setVisible(boolean b) function. i don't know how to use this new API function in my code. the question that i have to ask you is: how do i replace the show() function in my code with the setVisible(boolean b) function? Below is the code and the result i got back from the compiler when i compiled the code. thank you very much for your help.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    class LogOn extends JPanel{
       private static JTextField username=null;
       private static JPasswordField password=null;
       private static JButton button=null;
       public LogOn(){
          setSize(260,160);
          username=new JTextField(15);
          password=new JPasswordField(15);
          JLabel usernameLabel=new JLabel("Username: ");
          JLabel passwordLabel=new JLabel("Password: ");
          add(usernameLabel);
          add(username);
          add(passwordLabel);
          add(password);
          show();
          button=new JButton("Ok");
          add(button);
          button.addActionListener(new ButtonListener());
          JFrame frame=new JFrame("Welcome to Home Entertainment");
          frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
          frame.add(this);
          frame.pack();
          frame.setVisible(true);
       private class ButtonListener implements ActionListener{
          public void actionPerformed(ActionEvent e){
             try{
                Demo d = new Demo();
                d.getChoice();
             catch(Exception ex){}
    }----jGRASP exec: javac -g X:\CP4B Project\LogOn.java
    Note: X:\CP4B Project\LogOn.java uses or overrides a deprecated API.
    Note: Recompile with -Xlint:deprecation for details.
    ----jGRASP: operation complete.

    Hi James,
    your class extends JPanel. JPanel inherits show from java.awt.Component. If you have a look at the API documentation. The extension path of JPanel is
    java.lang.Object
    java.awt.Component
    java.awt.Container
    javax.swing.JComponent
    javax.swing.JPanel
    javax.swing.JComponent has a method setVisible(<boolean>). That means JPanel has all methods,that are Implemented in JComponent
    So (although I have not yet used it)
    replacing
    show() ;
    by
    setVisible(true) ;
    in your code should do the trick...

Maybe you are looking for