OBIEE Top N Calculation

Hello,
We are working on a report.
# The Report has Items
# Each item has many Transaction Dates.
We need to pick all items with its latest transaction date.
for example,
__Item_-------------Transaction Date_
123 ---------------------23 Sep
123----------------------24 Sep
123----------------------12 Oct
345----------------------19Dec
345----------------------23Dec
The Output expected:
__Item_-------------Transaction Date_
123----------------------24 Sep
345----------------------23Dec
Please advise, and thanks in advance.
Regards
Sandeep

The Output expected:
__Item_-------------Transaction Date_
123----------------------12 Oct
345----------------------23Dec
Please advise, and thanks in advance.
Regards
Sandeep

Similar Messages

  • Top-down calculation

    is the sample 4 in this url:
    http://docs.oracle.com/cd/E10530_01/doc/epm.931/html_esb_techref/funcs/calcmode.htm
    for top-down calculation is right? in my test, i have feb->budget calculated for both topdown and bottomup.
    thanks!

    Hi,
    The concept as per the technical reference is correct.
    Just they do not provide the detail on which condition satisfy the concept.
    To simulate the concept, you can try this using sample basic:
    1. Set Year and Scenario dimension as sparse
    2. Load data into actual only.
         Sales     Cola     New York
         Actual          
    Feb     200          
    Mar     400          
    3. Run the following calc:
    SET MSG DETAIL;
    FIX("Budget")
    "Cola"(
    @CALCMODE(TopDown);
    "Budget"="Actual"*1.10;
    ENDFIX
    4. Run a retrieve, you should get #Missing for the Budget
    5. Load Budget data for Jan and Mar
         Sales     Cola     New York
         Budget          
    Jan     50          
    Mar     450          
    6. Run the calc again, you should get Mar-> Budget 440, and nothing for Feb->Budget
    (by this time review the Sample.log file to see which block is calculated)
    7. Run the following calc:
    SET MSG DETAIL;
    FIX("Budget")
    "Cola"(
    @CALCMODE(TopDown);
    "Budget"="Actual"*1.10;
    ENDFIX
    8. Run a retrieve, you should now see Feb->Budget 220
    (Again review Sample.log to find out which block are calculated).
    Cheers,
    Lian

  • OBIEE 11g Prompt calculation

    Hi
    I'm quite new with Obiee. Is it possible to make prompt which make calculation for a specific column?
    For example:
    When user open analysis, the analysis asks to enter a percent. User input percent: 60. After that one column's values are calculated automatically: (columnvalues x 0,6).
    Thank you

    In the prompt pull any (number) column, select as text/edit field, set Presentation variable and use it in your report.
    if helps mark
    ~ http://cool-bi.com

  • OBIEE - (Actual - Plan) Calculation

    HI,
    I have a simple question on OBIEE.
    I am using Obiee with Essbase and have a simple calculation to calculate (Actual - Plan) Data.
    FILTER("SalesFlat"."Sales" USING "Scenario"."Gen2,Scenario" = 'Actual') - FILTER("SalesFlat"."Sales" USING "Scenario"."Gen2,Scenario" = 'Plan')
    This works fine if i have Actual and Plan Data. However, if one of the value (Actual or Plan) is missing, obiee gives null.
    It works if i use CASE statement or direct essbase formula.
    Any suggestion is highly appreciated.
    Thanks
    Sam.

    Something like
    (ifnull(A,0)/ifnull(B,0) - ifnull(C,0)/ifnull(D,0)) * ifnull(B,0)
    btw: Generally fact metrics should be 0 try to handle it in db or using etl

  • OBIEE 11.1.1.6 dashboard reports embeded into JS_HTML_JAVA pages

    Customers asked us to use OBIEE dashboard reports(Framework) embeded into the specail pages which are developed through Java + JS+ Html.
    Could you please tell me how to implement this functionality? Thank you for your kindly help.
    For example:
    Logo Image-----------|--- JS+HTML+JAVA Developing
    Tree Reports------|
    (JS+HTML+JAVA----|--------------Framework
    Developing------------|--------------Embed OBIEE reports(Excluding OBIEE TOP Frame,Only retain reports frame)
    )--------------------------|
    ---------------------------|

    Hi,
    It seems "Add on" missing , Can you try to upgrade IE then check it .
    I can suggest you please check matrix.
    Thanks,
    Satya Ranki Reddy

  • Input Parameter Mapping is not working in Sap HANA

    Hi, We created on ANALYTICAL view(A) with Input Parameters, on top of Analytical view created one Calculation view(B) and mapped Calculation view input parameter with Analytical view input paramter and its working fine. Finally we created one more calculation view on top existing calculation view(B) and mapped with corresponding input parameters. Input parameter mapping is working fine in between A(analytical view) and --------> B (first Calc view) but input parameter mapping is not working properly in between B(first Calc View)-----------C(second Calc View). it is giving all data whatever is coming from Calc View B. Kindly help us to resolve this.

    Hi,
    Write c in small for Command,
    theButton.mappingOfOnAction().addParameter("command","Save");
    Regards,
    Murtuza

  • Issue in MaxL. illegal block type.

    hi all.
    I am using Essbase 9.3
    I have got a Invalid block header.
    error message "Invalid block header: Illegal block type -- Please use the IBH Locate/Fix utilities to find/fix the IBH problem"
    For recovery, I use the following command
    alter application sample disable commands;
    alter system logout session on database sample.basic;
    alter database sample.basic validate data to local logfile 'invalid_blocks';
    alter database sample.basic repair invalid_block_headers;
    When I execute the above statements, Iam encountering the following error messages:
    MAXL> alter database pov_fin.f1_pl validate data to local logfile 'D://hyperion/
    essbase/app/pov_fin/pov_fin.log';
    OK/INFO - 1054014 - Database F1_plCCP loaded.
    OK/INFO - 1051061 - Application POV_FIN loaded - connection established.
    OK/INFO - 1054027 - Application [POV_FIN] started with process id [11228].
    OK/INFO - 1054014 - Database F1_pl loaded.
    ERROR - 1042012 - Network error [10054]: Cannot Send Data.
    ERROR - 1042012 - Network error [10054]: Cannot Send Data.
    ERROR - 1241101 - Unexpected Essbase error 1042012.
    Can anyone help me with what causes the issue and how to prevent it ?
    Thanks for your time.
    With Regards
    The application log
    [Wed Mar 06 15:10:38 2013]Local/POV_FIN///Info(1002035)
    Starting Analytic Services Server - Application [POV_FIN]
    [Wed Mar 06 15:10:38 2013]Local/POV_FIN///Info(1200480)
    Loaded and initialized JVM module
    [Wed Mar 06 15:10:39 2013]Local/POV_FIN///Info(1200445)
    External [GLOBAL] function [@ESSBASEALERT] registered OK
    [Wed Mar 06 15:10:39 2013]Local/POV_FIN///Info(1019008)
    Reading Application Definition For [POV_FIN]
    [Wed Mar 06 15:10:39 2013]Local/POV_FIN///Info(1019009)
    Reading Database Definition For [F1_pl]
    [Wed Mar 06 15:10:39 2013]Local/POV_FIN///Info(1019009)
    Reading Database Definition For [F1_plCCP]
    [Wed Mar 06 15:10:39 2013]Local/POV_FIN///Info(1019021)
    Reading Database Mapping For [POV_FIN]
    [Wed Mar 06 15:10:39 2013]Local/POV_FIN///Info(1019010)
    Writing Application Definition For [POV_FIN]
    [Wed Mar 06 15:10:39 2013]Local/POV_FIN///Info(1019011)
    Writing Database Definition For [F1_pl]
    [Wed Mar 06 15:10:39 2013]Local/POV_FIN///Info(1019011)
    Writing Database Definition For [F1_plCCP]
    [Wed Mar 06 15:10:39 2013]Local/POV_FIN///Info(1019022)
    Writing Database Mapping For [POV_FIN]
    [Wed Mar 06 15:10:39 2013]Local/POV_FIN///Info(1013202)
    Waiting for Login Requests
    [Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1013205)
    Received Command [Load Database]
    [Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1019018)
    Writing Parameters For Database [F1_plCCP]
    [Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1019017)
    Reading Parameters For Database [F1_plCCP]
    [Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1019012)
    Reading Outline For Database [F1_plCCP]
    [Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1007043)
    Declared Dimension Sizes = [311 3 3 1 7 17 5834 54 ]
    [Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1007042)
    Actual Dimension Sizes = [305 2 2 1 6 12 5755 54 ]
    [Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1007125)
    The number of Dynamic Calc Non-Store Members = [55 1 1 0 0 5 0 0 ]
    [Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1007126)
    The number of Dynamic Calc Store Members = [0 0 0 0 0 0 0 0 ]
    [Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1007127)
    The logical block size is [1220]
    [Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1010008)
    Maximum Declared Blocks is [37489284] with data block size of [2799]
    [Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1010007)
    Maximum Actual Possible Blocks is [31698540] with data block size of [250]
    [Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1200481)
    Formula for member [PY] will be executed in [CELL] mode
    [Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1200481)
    Formula for member [YTD] will be executed in [CELL] mode
    [Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1012710)
    Essbase needs to retrieve [12] Essbase Kernel blocks in order to calculate the top dynamically-calculated block.
    [Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1012736)
    The Dyn.Calc.Cache for database [F1_plCCP] can hold a maximum of [107436] blocks.
    [Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1012737)
    The Dyn.Calc.Cache for database [F1_plCCP], when full, will result in [allocation from non-Dyn.Calc.Cache memory].
    [Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1019018)
    Writing Parameters For Database [F1_plCCP]
    [Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1019017)
    Reading Parameters For Database [F1_plCCP]
    [Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1070013)
    Index cache size ==> [1048576] bytes, [128] index pages.
    [Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1070014)
    Index page size ==> [8192] bytes.
    [Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1070081)
    Using buffered I/O for the index and data files.
    [Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1070083)
    Using waited I/O for the index and data files.
    [Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1019019)
    Reading Data File Free Space Information For Database [F1_plCCP]...
    [Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1006025)
    Data cache size ==> [3145728] bytes, [1572] data pages
    [Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1006026)
    Data file cache size ==> [0] bytes, [0] data file pages
    [Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1024033)
    Missing Database Config File [D:\Hyperion\ESSBASE\APP\POV_FIN\F1_plCCP\F1_plCCP.cfg], Query logging disabled
    [Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1203135)
    Starting the Data Mining Framework
    [Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1203136)
    Data Mining Framework successfully initialized.
    [Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1200551)
    Allocated TRIGMAXMEMSIZE: [4096] Bytes.
    [Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1013205)
    Received Command [Get Database Volumes]
    [Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1013205)
    Received Command [Set Database State]
    [Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1019018)
    Writing Parameters For Database [F1_plCCP]
    [Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1019018)
    Writing Parameters For Database [F1_plCCP]
    [Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1013205)
    Received Command [Get Database State]
    [Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1013205)
    Received Command [Get Database Info]
    [Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1013205)
    Received Command [SetApplicationState]
    [Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1019010)
    Writing Application Definition For [POV_FIN]
    [Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1019011)
    Writing Database Definition For [F1_pl]
    [Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1019011)
    Writing Database Definition For [F1_plCCP]
    [Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1019022)
    Writing Database Mapping For [POV_FIN]
    [Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1013205)
    Received Command [Load Database]
    [Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1019018)
    Writing Parameters For Database [F1_pl]
    [Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1019017)
    Reading Parameters For Database [F1_pl]
    [Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1019012)
    Reading Outline For Database [F1_pl]
    [Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1007043)
    Declared Dimension Sizes = [321 16 9 1 7 17 8377 6195 4 5 5 6 ]
    [Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1007042)
    Actual Dimension Sizes = [315 15 8 1 6 12 8311 6094 0 0 0 5 ]
    [Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1007125)
    The number of Dynamic Calc Non-Store Members = [53 11 7 0 0 5 0 0 ]
    [Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1007126)
    The number of Dynamic Calc Store Members = [0 0 0 0 0 0 0 0 ]
    [Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1007127)
    The logical block size is [37800]
    [Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1010008)
    Maximum Declared Blocks is [6175566285] with data block size of [46224]
    [Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1010007)
    Maximum Actual Possible Blocks is [5166017868] with data block size of [1048]
    [Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1200481)
    Formula for member [LM] will be executed in [CELL] mode
    [Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1200481)
    Formula for member [PY] will be executed in [CELL] mode
    [Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1200481)
    Formula for member [PPY] will be executed in [CELL] mode
    [Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1200481)
    Formula for member [YTD] will be executed in [CELL] mode
    [Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1200481)
    Formula for member [PYTD] will be executed in [CELL] mode
    [Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1200481)
    Formula for member [PYTD AVG] will be executed in [CELL] mode
    [Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1012710)
    Essbase needs to retrieve [12] Essbase Kernel blocks in order to calculate the top dynamically-calculated block.
    [Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1012736)
    The Dyn.Calc.Cache for database [F1_pl] can hold a maximum of [3467] blocks.
    [Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1012737)
    The Dyn.Calc.Cache for database [F1_pl], when full, will result in [allocation from non-Dyn.Calc.Cache memory].
    [Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1019018)
    Writing Parameters For Database [F1_pl]
    [Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1019017)
    Reading Parameters For Database [F1_pl]
    [Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1070013)
    Index cache size ==> [314572800] bytes, [38400] index pages.
    [Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1070014)
    Index page size ==> [8192] bytes.
    [Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1070081)
    Using buffered I/O for the index and data files.
    [Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1070083)
    Using waited I/O for the index and data files.
    [Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1019019)
    Reading Data File Free Space Information For Database [F1_pl]...
    [Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1006025)
    Data cache size ==> [821657600] bytes, [98003] data pages
    [Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1006026)
    Data file cache size ==> [0] bytes, [0] data file pages
    [Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1080053)
    Free space recovery skipped. Estimated free space recoverable by RecoverDbFreeSpace: [11394603094] bytes
    [Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1024033)
    Missing Database Config File [D:\Hyperion\ESSBASE\APP\POV_FIN\F1_pl\F1_pl.cfg], Query logging disabled
    [Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1200551)
    Allocated TRIGMAXMEMSIZE: [4096] Bytes.
    [Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1013205)
    Received Command [Get Database Volumes]
    [Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1013205)
    Received Command [Set Database State]
    [Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1019018)
    Writing Parameters For Database [F1_pl]
    [Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1019018)
    Writing Parameters For Database [F1_pl]
    [Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1013205)
    Received Command [Get Database State]
    [Wed Mar 06 15:10:41 2013]Local/POV_FIN///Info(1013210)
    User [admin] set active on database [F1_pl]
    [Wed Mar 06 15:10:41 2013]Local/POV_FIN/F1_pl/admin/Info(1013091)
    Received Command [Locate IBH] from user [admin]
    [Wed Mar 06 15:10:41 2013]Local/POV_FIN/F1_pl/admin/Info(1006016)
    Invalid block header: Illegal block type
    [Wed Mar 06 15:10:41 2013]Local/POV_FIN///Info(1008108)
    Essbase Internal Logic Error [7100]
    [Wed Mar 06 15:10:41 2013]Local/POV_FIN///Info(1008106)
    Exception error log [D:\Hyperion\ESSBASE\app\POV_FIN\log00026.xcp] is being created...
    [Wed Mar 06 15:10:41 2013]Local/POV_FIN///Info(1008107)
    Exception error log completed -- please contact technical support and provide them with this file
    [Wed Mar 06 15:10:41 2013]Local/POV_FIN///Info(1002089)
    RECEIVED ABNORMAL SHUTDOWN COMMAND - APPLICATION TERMINATING
    Edited by: JH_lee on 2013. 3. 5 오후 10:38

    Report Scripts, DATAEXPORT command, JEXPORT are some types of ways to select an area of the database and export the data though it all depends on how corrupted the databas is to whether you will be able to get any of the data out.
    It is probably worth having a read of the following doc in Oracle Support "Error "1006060 - Invalid block header: Block numbers do not match -- Please use the IBH Locate/Fix utilities to find/fix the IBH problem" [ID 596748.1]"
    It is not exactly the same error but it gives suggestions on attempting to fix the error.
    You might be out of luck if you did not take regular backups.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Dense Restructure 1070020 Out of disk space. Can't create new data file

    During a Dense Restructure we receive: Error(1070020) Out of disk space. Cannot create a new [Data] file.
    Essbase 6.5.3 32-bit
    Windows 2003 32bit w/16GB RAM
    Database is on E: drive with 660GB space total, database is ~220GB.
    All cubes are unlimited
    Tried restoring from backup same problem.
    Over years and years the database is never recalculated, never exported and imported, never verified. Only new data loaded and dense restructured.
    Towards the end of a dense restructure (about 89 pan files through about 101 2GB pag files), getting an error: Error(1070020) Out of disk space. Cannot create a new [Data] file.
    There are still several hundred GB of free space available, and we can write to this free space outside of the essbase application within windows.
    The server's file system is consistent, defragmented, and can prove use of additional space. Hard drive controller and system does not report any "hardware issues".
    Essbase.cfg file
    ; The following entry specifies the full path to JVM.DLL.
    JvmModuleLocation C:\Hyperion\Essbase\java\jre13\bin\hotspot\jvm.dll
    ;This statement loads the essldap.dll as a valid authentication module
    ;AuthenticationModule LDAP essldap.dll x
    DATAERRORLIMIT 30000
    ;These settings are here to deal with error 1040004
    NETRETRYCOUNT 2000
    NETDELAY 1600
    App log
    [Sat Oct 17 13:59:32 2009]Local/removedfrompost/removedfrompost/admin/Info(1007044)
    Restructuring Database [removedfrompost]
    [Sat Oct 17 15:48:42 2009]Local/removedfrompost/removedfrompost/admin/Error(1070020)
    Out of disk space. Cannot create a new [Data] file. [adIndNewFile] aborted
    [Sat Oct 17 15:48:42 2009]Local/removedfrompost///Info(1008108)
    Essbase Internal Logic Error [7333]
    [Sat Oct 17 15:48:42 2009]Local/removedfrompost///Info(1008106)
    Exception error log [C:\HYPERION\ESSBASE\app\removedfrompost\log00002.xcp] is being created...
    log00002.xcp
    Assertion Failure - id=7333 condition='((!( dbp )->bFatalError))'
    - line 11260 in file datbuffm.c
    - arguments [0] [0] [0] [0]
    Additional log info from database start to restructure failure
    Starting Essbase Server - Application [removedfrompost]
    Loaded and initialized JVM module
    Reading Application Definition For [removedfrompost]
    Reading Database Definition For [removedfrompost]
    Reading Database Definition For [TempOO]
    Reading Database Definition For [WTD]
    Reading Database Mapping For [removedfrompost]
    Writing Application Definition For [removedfrompost]
    Writing Database Definition For [removedfrompost]
    Writing Database Definition For [TempOO]
    Writing Database Definition For [WTD]
    Writing Database Mapping For [removedfrompost]
    Waiting for Login Requests
    Received Command [Load Database]
    Writing Parameters For Database [removedfrompost]
    Reading Parameters For Database [removedfrompost]
    Reading Outline For Database [removedfrompost]
    Declared Dimension Sizes = [289 125 2 11649 168329 1294 622 985 544 210 80 2016 11 9 9 8 8 1 1 6 1 3 1 2 2 1 2 1 2 77 2 65 1 1 1 1 1 1 1 1 1 1 1 260 4 3018 52 6 39 4 1577 6 ]
    Actual Dimension Sizes = [289 119 1 1293 134423 1294 622 985 544 210 80 2016 11 9 9 8 8 1 1 6 1 3 1 2 2 1 2 1 2 77 2 65 1 1 1 1 1 1 1 1 1 1 1 260 4 3018 52 6 39 4 1577 5 ]
    The number of Dynamic Calc Non-Store Members = [80 37 0 257 67 ]
    The number of Dynamic Calc Store Members = [0 0 0 0 0 ]
    The logical block size is [34391]
    Maximum Declared Blocks is [1960864521] with data block size of [72250]
    Maximum Actual Possible Blocks is [173808939] with data block size of [17138]
    Formula for member [4 WK Avg Total Sls U] will be executed in [CELL] mode
    Formula for member [Loc Cnt] will be executed in [CELL] mode
    Formula for member [OH Str Cnt] will be executed in [CELL] mode
    Formula for member [Current Rtl] will be executed in [CELL] mode
    Essbase needs to retrieve [1017] Essbase Kernel blocks in order to calculate the top dynamically-calculated block.
    The Dyn.Calc.Cache for database [removedfrompost] can hold a maximum of [76] blocks.
    The Dyn.Calc.Cache for database [removedfrompost], when full, will result in [allocation from non-Dyn.Calc.Cache memory].
    Writing Parameters For Database [removedfrompost]
    Reading Parameters For Database [removedfrompost]
    Unable to determine the amount of virtual memory available on the system
    Index cache size ==> [1048576] bytes, [128] index pages.
    Index page size ==> [8192] bytes.
    Using buffered I/O for the index and data files.
    Using waited I/O for the index and data files.
    Unable to determine the amount of virtual memory available on the system
    Reading Data File Free Space Information For Database [removedfrompost]...
    Data cache size ==> [3145728] bytes, [22] data pages
    Data file cache size ==> [0] bytes, [0] data file pages
    Missing Database Config File [C:\HYPERION\ESSBASE\APP\removedfrompost\removedfrompost\removedfrompost.cfg], Query logging disabled
    Received Command [Get Database Volumes]
    Received Command [Load Database]
    Writing Parameters For Database [TempOO]
    Reading Parameters For Database [TempOO]
    Reading Outline For Database [TempOO]
    Declared Dimension Sizes = [277 16 2 1023 139047 ]
    Actual Dimension Sizes = [277 16 1 1022 138887 ]
    The number of Dynamic Calc Non-Store Members = [68 3 0 0 0 ]
    The number of Dynamic Calc Store Members = [0 0 0 0 0 ]
    The logical block size is [4432]
    Maximum Declared Blocks is [142245081] with data block size of [8864]
    Maximum Actual Possible Blocks is [141942514] with data block size of [2717]
    Essbase needs to retrieve [1] Essbase Kernel blocks in order to calculate the top dynamically-calculated block.
    The Dyn.Calc.Cache for database [TempOO] can hold a maximum of [591] blocks.
    The Dyn.Calc.Cache for database [TempOO], when full, will result in [allocation from non-Dyn.Calc.Cache memory].
    Writing Parameters For Database [TempOO]
    Reading Parameters For Database [TempOO]
    Unable to determine the amount of virtual memory available on the system
    Index cache size ==> [1048576] bytes, [128] index pages.
    Index page size ==> [8192] bytes.
    Using buffered I/O for the index and data files.
    Using waited I/O for the index and data files.
    Unable to determine the amount of virtual memory available on the system
    Reading Data File Free Space Information For Database [TempOO]...
    Data cache size ==> [3145728] bytes, [144] data pages
    Data file cache size ==> [0] bytes, [0] data file pages
    Missing Database Config File [C:\HYPERION\ESSBASE\APP\removedfrompost\TempOO\TempOO.cfg], Query logging disabled
    Received Command [Get Database Volumes]
    Received Command [Load Database]
    Writing Parameters For Database [WTD]
    Reading Parameters For Database [WTD]
    Reading Outline For Database [WTD]
    Declared Dimension Sizes = [2 105 2 11649 158778 1279 609 971 531 208 78 2017 11 9 9 1 1 1 1 6 1 2 1 1 2 1 1 1 2 77 1 1 1 1 1 1 1 1 1 1 1 1 1 260 3 2954 52 6 39 4 1581 6 ]
    Actual Dimension Sizes = [1 99 1 1293 127722 1279 609 971 531 208 78 2017 11 9 9 1 1 1 1 6 1 2 1 1 2 1 1 1 2 77 1 1 1 1 1 1 1 1 1 1 1 1 1 260 3 2954 52 6 39 4 1581 5 ]
    The number of Dynamic Calc Non-Store Members = [0 29 0 257 57 ]
    The number of Dynamic Calc Store Members = [0 0 0 0 0 ]
    The logical block size is [99]
    Maximum Declared Blocks is [1849604922] with data block size of [420]
    Maximum Actual Possible Blocks is [165144546] with data block size of [70]
    Formula for member [Loc Cnt] will be executed in [CELL] mode
    Formula for member [OH Str Cnt] will be executed in [CELL] mode
    Formula for member [Current Rtl] will be executed in [CELL] mode
    Essbase needs to retrieve [1017] Essbase Kernel blocks in order to calculate the top dynamically-calculated block.
    The Dyn.Calc.Cache for database [WTD] can hold a maximum of [26479] blocks.
    The Dyn.Calc.Cache for database [WTD], when full, will result in [allocation from non-Dyn.Calc.Cache memory].
    Writing Parameters For Database [WTD]
    Reading Parameters For Database [WTD]
    Unable to determine the amount of virtual memory available on the system
    Index cache size ==> [1048576] bytes, [128] index pages.
    Index page size ==> [8192] bytes.
    Using buffered I/O for the index and data files.
    Using waited I/O for the index and data files.
    Unable to determine the amount of virtual memory available on the system
    Reading Data File Free Space Information For Database [WTD]...
    Data cache size ==> [3145728] bytes, [5617] data pages
    Data file cache size ==> [0] bytes, [0] data file pages
    Missing Database Config File [C:\HYPERION\ESSBASE\APP\removedfrompost\WTD\WTD.cfg], Query logging disabled
    Received Command [Get Database Volumes]
    Received Command [Set Database State]
    Writing Parameters For Database [removedfrompost]
    Writing Parameters For Database [removedfrompost]
    Received Command [Get Database State]
    Received Command [Get Database Info]
    Received Command [Set Database State]
    Writing Parameters For Database [TempOO]
    Writing Parameters For Database [TempOO]
    Received Command [Get Database State]
    Received Command [Get Database Info]
    Received Command [Set Database State]
    Writing Parameters For Database [WTD]
    Writing Parameters For Database [WTD]
    Received Command [Get Database State]
    Received Command [Get Database Info]
    Received Command [SetApplicationState]
    Writing Application Definition For [removedfrompost]
    Writing Database Definition For [removedfrompost]
    Writing Database Definition For [TempOO]
    Writing Database Definition For [WTD]
    Writing Database Mapping For [removedfrompost]
    User [admin] set active on database [removedfrompost]
    Clear Active on User [admin] Instance [1]
    User [admin] set active on database [removedfrompost]
    Received Command [Restructure] from user [admin]
    Reading Parameters For Database [Drxxxxxx]
    Reading Outline For Database [Drxxxxxx]
    Reading Outline Transaction For Database [Drxxxxxx]
    Declared Dimension Sizes = [289 126 2 11649 168329 1294 622 985 544 210 80 2016 11 9 9 8 8 1 1 6 1 3 1 2 2 1 2 1 2 77 2 65 1 1 1 1 1 1 1 1 1 1 1 260 4 3018 52 6 39 4 1577 6 ]
    Actual Dimension Sizes = [289 120 1 1293 134423 1294 622 985 544 210 80 2016 11 9 9 8 8 1 1 6 1 3 1 2 2 1 2 1 2 77 2 65 1 1 1 1 1 1 1 1 1 1 1 260 4 3018 52 6 39 4 1577 5 ]
    The number of Dynamic Calc Non-Store Members = [80 37 0 257 67 ]
    The number of Dynamic Calc Store Members = [0 0 0 0 0 ]
    The logical block size is [34680]
    Maximum Declared Blocks is [1960864521] with data block size of [72828]
    Maximum Actual Possible Blocks is [173808939] with data block size of [17347]
    Formula for member [4 WK Avg Total Sls U] will be executed in [CELL] mode
    Formula for member [Loc Cnt] will be executed in [CELL] mode
    Formula for member [OH Str Cnt] will be executed in [CELL] mode
    Formula for member [Current Rtl] will be executed in [CELL] mode
    Essbase needs to retrieve [1017] Essbase Kernel blocks in order to calculate the top dynamically-calculated block.
    The Dyn.Calc.Cache for database [Drxxxxxx] can hold a maximum of [75] blocks.
    The Dyn.Calc.Cache for database [Drxxxxxx], when full, will result in [allocation from non-Dyn.Calc.Cache memory].
    Reading Parameters For Database [Drxxxxxx]
    Unable to determine the amount of virtual memory available on the system
    Index cache size ==> [1048576] bytes, [128] index pages.
    Index page size ==> [8192] bytes.
    Using buffered I/O for the index and data files.
    Using waited I/O for the index and data files.
    Unable to determine the amount of virtual memory available on the system
    Data cache size ==> [3145728] bytes, [22] data pages
    Data file cache size ==> [0] bytes, [0] data file pages
    Performing transaction recovery for database [Drxxxxxx] following an abnormal termination of the server.
    Restructuring Database [removedfrompost]
    Out of disk space. Cannot create a new [Data] file. [adIndNewFile] aborted
    Essbase Internal Logic Error [7333]
    Exception error log [C:\HYPERION\ESSBASE\app\removedfrompost\log00002.xcp] is being created...
    Exception error log completed -- please contact technical support and provide them with this file
    RECEIVED ABNORMAL SHUTDOWN COMMAND - APPLICATION TERMINATING

    To avoid all these things as a best practice
    we didn't allow dense restructure on the cubes size>30 GB
    As an altrnative, we will export the level0 data, clear the DB, and load the new data. After that aggregate the cube to store the data at all the consolidation levels.

  • Retrive time with Dynamic Calc

    Hi Experts,
    My users run a large smart view report which works well
    However, when they change one of the member on the query to DC member (dense)
    Then the retrieve takes forever and they getting network error from smart view.
    I try to figure out , how can I improve the retrieve time on my BSO app, focusing on DC issues
    I try to increase the data cache, index cache, retrieval buffer and sort.
    I add command of DYNCALCCACHEMAXSIZE and the retrieve doesn’t getting better.
    In addition, can you pls help me understand the app log file,
    Here’s what happen after I ran the report, maybe it will lead
    To the problem:
    [Mon Aug 06 02:41:03 2012]Local/Orac///1768/Info(1200481)
    Formula for member [YTD USD Display] will be executed in [TOPDOWN and CELL] mode
    [Mon Aug 06 02:41:03 2012]Local/Orac///1768/Info(1012710)
    Essbase needs to retrieve [1] Essbase Kernel blocks in order to calculate the top dynamically-calculated block.
    [Mon Aug 06 02:41:03 2012]Local/Orac///1768/Info(1012736)
    The Dyn.Calc.Cache for database [Main] can hold a maximum of [242] blocks.
    [Mon Aug 06 02:41:03 2012]Local/Orac///1768/Info(1012737)
    The Dyn.Calc.Cache for database [Main], when full, will result in [allocation from non-Dyn.Calc.Cache memory].
    [Mon Aug 06 02:41:03 2012]Local/Orac///1768/Info(1019018)
    Writing Parameters For Database [Main]
    [Mon Aug 06 02:41:03 2012]Local/Orac///1768/Info(1019017)
    Reading Parameters For Database [Main]
    [Mon Aug 06 02:41:05 2012]Local/Orac///1768/Info(1070013)
    Index cache size ==> [307200000] bytes, [37500] index pages.
    [Mon Aug 06 02:41:05 2012]Local/Orac///1768/Info(1070014)
    Index page size ==> [8192] bytes.
    [Mon Aug 06 02:41:05 2012]Local/Orac///1768/Info(1070081)
    Using buffered I/O for the index and data files.
    [Mon Aug 06 02:41:05 2012]Local/Orac///1768/Info(1070083)
    Using waited I/O for the index and data files.
    [Mon Aug 06 02:41:05 2012]Local/Orac///1768/Info(1019019)
    Reading Data File Free Space Information For Database [Main]...
    [Mon Aug 06 02:41:05 2012]Local/Orac///1768/Info(1006025)
    Data cache size ==> [512000000] bytes, [9359] data pages
    [Mon Aug 06 02:41:05 2012]Local/Orac///1768/Info(1006026)
    Data file cache size ==> [0] bytes, [0] data file pages
    [Mon Aug 06 02:41:05 2012]Local/Orac///1768/Info(1080053)
    Free space recovery skipped. Estimated free space recoverable by RecoverDbFreeSpace: [11068706640] bytes
    [Mon Aug 06 02:41:05 2012]Local/Orac///1768/Info(1024033)
    Missing Database Config File [E:\Hyperion\AnalyticServices\APP\Orac\Main\Main.cfg], Query logging disabled
    [Mon Aug 06 02:41:05 2012]Local/Orac///1768/Info(1203135)
    Starting the Data Mining Framework
    [Mon Aug 06 02:41:05 2012]Local/Orac///1768/Info(1203136)
    Data Mining Framework successfully initialized.
    [Mon Aug 06 02:41:05 2012]Local/Orac///1768/Info(1200551)
    Allocated TRIGMAXMEMSIZE: [4096] Bytes.
    [Mon Aug 06 02:41:05 2012]Local/Orac///1768/Info(1013205)
    Received Command [Get Database Volumes]
    [Mon Aug 06 02:41:05 2012]Local/Orac///1768/Info(1013205)
    Received Command [Set Database State]
    [Mon Aug 06 02:41:05 2012]Local/Orac///1768/Info(1019018)
    Writing Parameters For Database [Main]
    [Mon Aug 06 02:41:05 2012]Local/Orac///1768/Info(1019018)
    Writing Parameters For Database [Main]
    [Mon Aug 06 02:41:05 2012]Local/Orac///1768/Info(1013205)
    Received Command [Get Database State]
    [Mon Aug 06 02:41:05 2012]Local/Orac///1768/Info(1013205)
    Received Command [Get Database Info]
    [Mon Aug 06 02:41:05 2012]Local/Orac///1768/Info(1013205)
    Received Command [SetApplicationState]
    [Mon Aug 06 02:41:06 2012]Local/Orac///1768/Info(1019010)
    Writing Application Definition For [Orac]
    [Mon Aug 06 02:41:06 2012]Local/Orac///1768/Info(1019011)
    Writing Database Definition For [Main]
    [Mon Aug 06 02:41:06 2012]Local/Orac///1768/Info(1019022)
    Writing Database Mapping For [Orac]
    [Mon Aug 06 02:41:06 2012]Local/Orac///5132/Info(1013210)
    User [essadmin] set active on database [Main]
    Pls help me find out how can I overcome this.
    Many thanks,

    I'll add on to Dan's comment that you very much need to test the dynamic calc (if indeed that is the problem) in the proper context.
    Amusing but painful story:
    I was once tasked with reducing calc time on a BSO database. i saw long ugly stored member calcs. Hah! I cleverly converted them to dynamic and calc times dropped. No one told me (and I didn't ask) how they were to be reported. There were thousands of instances of this member on the Excel sheet. What had been a nice fast retrieve dropped to five minutes. Whoops.
    Take your pain wherever you like -- if you are reading multiple blocks to do the calc (my guess) nothing on earth is going to make it fast. Why make it dynamic in the first place? How many times is the member retrieved? Is it all in the block or, as i guessed, across multiple blocks?
    Last comment -- again (this is getting boring) I agree with Dan -- caches are not, usually, the source of any performance joy and it always comes down to design.
    Regards,
    Cameron Lackpour

  • Cache Settings - How much do I have to work with?

    I am doing testing to optimize a calculation. I want to Enable Cache Memory locking but I get an error. Here's the log:[Thu Dec 12 13:56:55 2002]Local/DEVL_EAS///Info(1012710)Essbase needs to retrieve [1] Essbase Kernel blocks in order to calculate the top dynamically-calculated block.[Thu Dec 12 13:56:55 2002]Local/DEVL_EAS///Info(1012736)The Dyn.Calc.Cache for database [Devl_eas] can hold a maximum of [2275] blocks.[Thu Dec 12 13:56:55 2002]Local/DEVL_EAS///Info(1012737)The Dyn.Calc.Cache for database [Devl_eas], when full, will result in [allocation from non-Dyn.Calc.Cache memory].[Thu Dec 12 13:56:55 2002]Local/DEVL_EAS///Info(1019018)Writing Parameters For Database [Devl_eas][Thu Dec 12 13:56:55 2002]Local/DEVL_EAS///Info(1019017)Reading Parameters For Database [Devl_eas][Thu Dec 12 13:56:55 2002]Local/DEVL_EAS///Info(1070077)Locking the index cache pages into physical memory.[Thu Dec 12 13:56:55 2002]Local/DEVL_EAS///Warning(1008132)Unable to Lock the Allocated Memory [ppPage] in [adIndInitContext], because of insufficient quota. Refer to the Application Log for details.[Thu Dec 12 13:56:55 2002]Local/DEVL_EAS///Info(1008112)Memory Allocation error codes: O/S error = [2], O/S return code = [1453].[Thu Dec 12 13:56:55 2002]Local/DEVL_EAS///Info(1008114)Allocation request for [106496] bytes of virtual memory. Percentage of memory in use is [14%].[Thu Dec 12 13:56:55 2002]Local/DEVL_EAS///Info(1008115)Total physical memory is [1609912320] bytes. Available physical memory is [1312927744] bytes.[Thu Dec 12 13:56:55 2002]Local/DEVL_EAS///Info(1008116)Total swap space is [3163615232] bytes. Available swap space is [2807894016] bytes.[Thu Dec 12 13:56:55 2002]Local/DEVL_EAS///Info(1008117)Total virtual memory is [4773527552] bytes. Available virtual memory is [4120821760] bytes.[Thu Dec 12 13:56:55 2002]Local/DEVL_EAS///Info(1008118)Memory page size is [4096] bytes. Allocation granularity is [65536] bytes.[Thu Dec 12 13:56:56 2002]Local/DEVL_EAS///Info(1070078)Turning off cache memory locking due to lack of physical memory. Using virtual memory to allocate the remainder of the index and data caches.[Thu Dec 12 13:56:56 2002]Local/DEVL_EAS///Info(1070013)Index cache size ==> [204800000] bytes, [25000] index pages.[Thu Dec 12 13:56:56 2002]Local/DEVL_EAS///Info(1070014)Index page size ==> [8192] bytes.[Thu Dec 12 13:56:56 2002]Local/DEVL_EAS///Info(1070080)Using direct I/O for the index and data files.[Thu Dec 12 13:56:56 2002]Local/DEVL_EAS///Info(1070082)Using no-wait I/O for the index and data files.[Thu Dec 12 13:56:56 2002]Local/DEVL_EAS///Info(1019019)Reading Data File Free Space Information For Database [Devl_eas]...[Thu Dec 12 13:56:56 2002]Local/DEVL_EAS///Info(1006025)Data cache size ==> [153600000] bytes, [66666] data pages[Thu Dec 12 13:56:56 2002]Local/DEVL_EAS///Info(1006026)Data file cache size ==> [750000128] bytes, [91552] data file pagesHow do I read this? How do I know how much cache I've got to play with. Is it unable to set the locking because I don't have enough physical space on the drive or because there's not enough RAM?I have no other databases loaded. Any suggestions?

    iosforever wrote:
    How much do I have to pay when buying an iPhone with 2-year contract? Carrier Plan- AT&T & Next
    Thank You
    You would probably find out the answer buy calling those carriers.

  • CALCHASHTBL removed from old calc scripts

    Hi
    I have just removed "SET CALCHASHTBL ON" from my old scripts ,as it has been removed from 7 version.
    How it is going to effect with my new script execution.

    I'm stretching here, as it's been a while...
    I believe the impact is on the use of "top down" calculations and the optimization of sparse formulas. Both of these are automatically set by the database now (unless you override them), whereas in the past you had to play with it to manually find a good setting.
    So, unless I'm wrong on that, you won't need to do anything special to get "optimum" results. If the results are outright wrong, however, you will need to override the default top down settings. I don't recall the exact settings off the top of my head, but they are fairly easily found in the techref -- IF that is what must be done.

  • Wizard control trigger transition

    Hi,
    I encountered a problem with the Wizard Control of VC7.1 SP4
    I have a wizard with several steps which are shown as numbers in the upper wizard bar in the correct order. If I trigger a transition from step 1 to step 3 the wizard bar now only shows the numbers 1 and 3. After a transition to from step 3 to step 2, the wizard bar shows the steps in the order 1 3 2.
    Is this a bug? Where is the correct place to report VC bugs? There are some more VC controls with odd behavior which should be fixed in the next service pack.
    Regards,
    Kevin

    Hi Kevin,
    Did you use actions to switch between the wizard steps?
    If so, this may be the reason.
    The wizard road-map (the numbers on the top), are calculated when the wizard is drawn on the screen for the first time.
    However, this calculation is done only according to the default transition lines and ignores transition actions.
    So if there are no transition lines, the road-map will show only steps the user has already visited.
    To fix that, you need to connect the steps with default transition lines in the order you wish them to appear. The transition lines don't have to do anything, just be there so the default route will be calculated correctly.
    I have created two screenshots that will help you find how to create transitin lines and how to select which is the default transition (in case you have more than one transition form a single step):
    [How to drag a transition line|http://img215.imageshack.us/img215/5589/wizardtransitioncreatenz0.png]
    [How to set the default transition|http://img122.imageshack.us/img122/2367/wizardtransitiondefaultmr5.png]
    I hope this helps,
         Shai

  • BAM Active Studio bug

    I am unable to see the Data Objects/Fields/Sort/Filter/Top N/Calculation/Drilling in the tabbed pane of the Updating Ordered List in the Oracle BAM Active Studio. This looks like a bug. How can I fix it. I am using 11.1.1.2 version. Please advise.
    Thanks

    This appears to be the Sun jdk issue covered in another thread. See REQD for Fresh BAM Install 11.1.1.3.0 -Data labels missing issue
    Change the jdk and it should work.

  • Postfix Evaluation

    I am having trouble understanding why the PostfixEvaluator method in the class PostfixEvaluator is causing a number of problems; everything else works fine.
    import java.io.*;          
    import javax.swing.JOptionPane;
    class Stack
       private int maxSize;
       private char[] stackArray;
       private int top;
       public Stack(int s)       // Constructor of Stack
          maxSize = s;
          stackArray = new char[maxSize];
          top = -1;
       public void push(char j) {  // Puts item on top of stack
           stackArray[++top] = j; }
       public char pop(){         // Takes an item from the top of stack
       return stackArray[top--]; }
       public char peek(){        // Shows item at the top of the stack
       return stackArray[top]; }
       public boolean isEmpty(){  // Returns true if stack is empty
       return (top == -1); }
    class Converter                  // This class converts Infix input to Postfix output
       private Stack theStack;
       private String input;
       private String output = "";
       public Converter(String in) { // Constructor for the Converter class
          input = in;
          int stackSize = input.length();
          theStack = new Stack(stackSize);
       public String toPostFix()    // toPostFix method
          for(int j=0; j<input.length(); j++)     
             char ch = input.charAt(j);           
             switch(ch)
                case '+':              
                case '-':
                   gotOper(ch, 1);     
                   break;              
                case '*':              
                   gotOper(ch, 2);     
                   break;              
                case '(':              
                   theStack.push(ch);  
                   break;
                case ')':              
                   gotParen(ch);       
                   break;
                default:              
                   output = output + ch;
                   break;
                }  // end switch
             }  // end for
          while( !theStack.isEmpty() )    
             output = output + theStack.pop();
          return output;                   // Returns Postfix Answer to User
       public void gotOper(char opThis, int prec1) // Get Operator from entered Expression
          while( !theStack.isEmpty() )
             char opTop = theStack.pop();
             if( opTop == '(' )            // if it's a '(' (left parentheses)
                theStack.push(opTop);      // Push '(' into the stack
                break;
             else                          // If it isn't a left parentheses
                int prec2;                 //
                if(opTop=='+' || opTop=='-')  // Gets precedence of operator
                   prec2 = 1;     //
                else
              prec2 = 2;       // Assigns Precedence
                if(prec2 < prec1)          // Compares Precedence
                   theStack.push(opTop);  
                   break;
                else                      
                   output = output + opTop; 
      theStack.push(opThis);
       public void gotParen(char ch)
          while( !theStack.isEmpty() )
             char chx = theStack.pop();
             if( chx == '(' )         
                break;                
             else                      
                output = output + chx; 
    public class PostfixEvaluator
           StackArray stackArray = new StackArray();
           StringTokenizer tok;
           private int val1,val2;
           private int result;
        public PostfixEvaluator(String output)
        tok = new StringTokenizer(output);
         while(tok.hasMoreElements())
         String token = tok.nextToken();
         if(Numeral.isOperand(token))
         stack.push(token);
         else if(Numeral.isOperator(token))
         if(token.equals("+"))
         val1 = Integer.parseInt(stackArray.pop().toString());
         val2 = Integer.parseInt(stackArray.pop().toString());
         result = val1 + val2;
         stack.push(new Integer(result));
         else if(token.equals("-"))
         val1 = Integer.parseInt(stackArray.pop().toString());
         val2 = Integer.parseInt(stackArray.pop().toString());
         result = val2 - val1;
         stackArray.push(new Integer(result));
         else if(token.equals("*"))
         val1 = Integer.parseInt(stackArray.pop().toString());
         val2 = Integer.parseInt(stackArray.pop().toString());
         result = val1 * val2;
         stackArray.push(new Integer(result));
         else if(token.equals("/"))
         val1 = Integer.parseInt(stackArray.pop().toString());
         val2 = Integer.parseInt(stackArray.pop().toString());
         result = val2 / val1;
         stackArray.push(new Integer(result));
         public String getResult()
         return String.valueOf(stackArray.top());
    class Calculator
       public static void main(String[] args) throws IOException
          String input, output;
               input = JOptionPane.showInputDialog(null, "Enter an Infix Expression:"); // Enter an infix expression
             Converter docalculation = new Converter(input); // --> See Converter Class
              output = docalculation.toPostFix(); // Does Infix to Postfix Calculation
             JOptionPane.showMessageDialog(null, "The Postfix Expression is: " + output); // Outputs the postfix expression
             JOptionPane.showMessageDialog(null, "The evaluated expression is: " + getResult(output));
       }  Edited by: babypurin on Oct 14, 2009 10:37 PM

    I get the following compiling errors (I am having trouble interpreting what these error messages mean).
    Calculator.java:123: cannot find symbolsymbol : class StackArraylocation: class Converter.PostfixEvaluator     StackArray stackArray = new StackArray();     
    Calculator.java:124: cannot find symbolsymbol : class StringTokenizerlocation: class Converter.PostfixEvaluator     StringTokenizer tok;     
    Calculator.java:123: cannot find symbolsymbol : class StackArraylocation: class Converter.PostfixEvaluator     StackArray stackArray = new StackArray();     Calculator.java:131: cannot find symbolsymbol : class StringTokenizerlocation: class Converter.PostfixEvaluator tok = new StringTokenizer(output);
    Calculator.java:135: cannot find symbolsymbol : variable Numerallocation: class Converter.PostfixEvaluator     if(Numeral.isOperand(token))     
    Calculator.java:137: cannot find symbolsymbol : variable stacklocation: class Converter.PostfixEvaluator     stack.push(token);     
    Calculator.java:139: cannot find symbolsymbol : variable Numerallocation: class Converter.PostfixEvaluator     else if(Numeral.isOperator(token))     
    Calculator.java:146: cannot find symbolsymbol : variable stacklocation: class Converter.PostfixEvaluator     stack.push(new Integer(result));     
    Calculator.java:200: cannot find symbolsymbol : variable output2location: class Converter.Calculator     output2 = output.PostfixEvaluator(); // Calculates value of postfix expression     Calculator.java:200: cannot find symbolsymbol : method PostfixEvaluator()location: class java.lang.String     output2 = output.PostfixEvaluator(); // Calculates value of postfix expression     
    Calculator.java:204: cannot find symbolsymbol : variable output2location: class Converter.Calculator JOptionPane.showMessageDialog(null, "The evaluated expression is: " + output2);
    Calculator.java:188: inner classes cannot have static declarations public static void main(String[] args) throws IOException

  • New G4, Batt full power, Computer says 0%

    I bought the computer only 3 months ago and the battery had been calibrated and running fine. The battery had only 8 or 9 cycles when the icon up the top said "calculating" for a long period of time. The next time I tried to use the computer, it would not start up with the battery even though all green indicator lights showed it had full charge. On plugging in the power adaptor, it worked, bot the battery icon up the top sad the battery had 0% which is false.
    Has anybody else had this problem and how can I fix it?
    Craig Turner

    Hi, Craig. You have a new Aluminum Powerbook, and this is the area for posts about the 2-4 year-old Titanium PBs. You may get more focused, model-specific advice in one of the Albook forums.
    Of course you do have a warranty, and if you don't get an answer in the Albook Discussions, don't hesitate to drop in at an Apple dealership and see what they have to suggest.

Maybe you are looking for

  • Quicktime Streaming of keynotes does not work

    When I want to watch the keynotes on apple.com all I get is stuttering audio and chopped video. Why? How can I solve this? It's independent of the resolution I select. btw. why am I forced to use that stone-aged Quicktime to watch a movie by the "HTM

  • Error in joining Total A/R Down Payment Invoice with A/R Invoice.

    Hi Everybody, After creating a sales order for a customer, with the help of that sales order I had created the A/R Down Payment Invoice. But while making A/R Invoice, when I browse for A/R Invoice down Payment It shows  me the error, No down payments

  • I want to delete the version I am running and then upgrade

    I am using a MacBook pro and having some issues with the touch pad (background info). I want to delete the current version of Firefox and up grade to FF 4.0.1 I can only find FF listed under 'Drives' in finder and am unable to delete it. I have downl

  • JTextArea & Gridbag layout

    Hello everyone: I am currnetly using a JTextArea with the Gridbag layout. I want to limit the size of the JTextArea. Found an article when I did a "search" that says the size is actually controlled by the layout manager. Have tried setMaximunSize(),

  • Mountain Lion Security

    Hi, I am a PGA/LGA certified hardware engineer who worked R&D for decades. One of the processes in R&D is the Verification of design function within complex designs that both do and do not use computers and or software. In the case of a design where