Why calculation script is not availble in aso ?

why calculation script is not availble in aso ?

I suggest you to go through the below link for Essbase Database Administrator guide:
https://docs.oracle.com/cd/E17236_01/epm.1112/esb_dbag.pdf
The  Dbag has complete information about the Calculation Scripts, BSO, ASO and its differences.
The first preference and the best document/pdf to refer for any question related to Essbase is Hyperion Essbase DBAG.

Similar Messages

  • Script can not be invoked from a java stored procedure

    i made a java procedure and called it via a sql procedure which takes a string as input :
    the string is passed to Runtime.getRuntime().exec("myString");
    if that string is :
    rm -f /test/test22.log
    proc = Runtime.getRuntime().exec("rm -f /test/test22.log");
    the file test22.log which is in the test folder gets deleted
    but when i pass the command . /test/batchstart.ksh to execute a script the script does not execute.
    proc = Runtime.getRuntime().exec(". /test/batchstart.ksh");
    file permissions have been given and also the executable rights.
    if some bobdy can tell why the script is not executing that will be of great help

    i am Still facing the following problem:
    if i pass a parameter like :
    rm -f /test/menu.ksh
    then the required output is that the menu.ksh file gets deleted.
    but when i pass this command:
    ./test/menu.ksh
    It is supposed to execute the specified script but it does not.
    I have tried multiple things like giving chmod 777 rights to the following file and changing the command to /test/menu.ksh but nothing happens
    Can you kindly tell me what can the problem be. Is there any execution rights issue: i am executing these scripts from pl sql developer.
    You can find both the procedure and java method which is being called below
    ==========================================================================================
    create or replace procedure TEST_DISPLAY(filename in varchar2, result out varchar2, error out varchar2) is
    command varchar2(100);
    vRetChar varchar2(100);
    begin
    command := filename ;
    prc_host(command, vRetChar);
    result := vRetChar;
    dbms_output.put_line(result);
    Exception
    when No_Data_Found Then
    error := 'Command is not Found';
    dbms_output.put_line('Failure');
    return;
    end TEST_DISPLAY;
    ======================================================================
    create or replace and compile java source named host as
    import java.io.*;
    import java.lang.Runtime;
    import java.lang.Process;
    import java.io.IOException;
    import java.lang.InterruptedException;
    public class Host {
    public static void executeCommand(String command,String[] outString) {
    String RetVal;
    try {
    String[] finalCommand;
    final Process pr = Runtime.getRuntime().exec(command);
    // Capture output from STDERR...
    }

  • Why last  4 lines of  every page in sap script are not coming ,it is not o

    pls give some solution why last  4 lines of  every page in sap script are not coming ,it is not over flowing to next page even? it is any page format related problem or coding problem?

    Hi,
    Use PROTECT ENDPROTECT statement it displays hole paragraph in to the single page and also to over come this issue.
    Regards
    Md.MahaboobKhan

  • Custom calculation script not working

    Hi...
    I've been looking at the samples and searching but have yet to make my custom calculation script work.  The bottom line is that I want one field to be blanked out if another is populated.
    My script currently looks like this:
    event.value = (getField("List_B1") + '').length > 0 ? '' : getField("List_A1");
    I've also tried
    event.value = (getField("List_B1").value + '').length > 0 ? '' : getField("List_A1").value;
    Neither result in List_A1 being empty when List_B1 has something in it.
    Anyone see something I'm missing?
    Thanks
    Mark

    The fields are being processed in programmatically.  The request came in that when we save the form values as a pdf that they don't want any List A value to show if List B has a value set.  So to give an example the inputs would be
    List A : foo
    List B : bar
    List C : baz
    What I'm trying to do with the custom calculation is to have the output pdf be
    List A:
    List B: bar
    List C: baz
    at least that's what my script was aiming for, but what's coming out is
    List A : foo
    List B : bar
    List C : baz
    Come to think about it, it probably has to do with the order with which the fields are being set and the expression fires.  In other words, it could be that when List A is set, List B hasn't been set yet, so the expression's a no-op...
    Thanks
    Mark

  • Why do I get a continued msg that a script is not completing. It seems to be slowing my Mac: "Script: chrome://forecastfox/content/observers.js:1

    A pop-up window keeps appearing with the message that a script is not completing correctly - " "Script: chrome://forecastfox/content/observers.js:1" I'm given the choice to a) let it continue in the hopes it will complete or b) cancel. No matter which choice I make, the little window persists up in the corner of my screen and then sometimes brings itself to the front again, so I get to make the choice all over again. Most annoying also because I can't close the little pop-up...it hides itself in the top left and appears as a small blank there. I have the distinct impression that it's making my Mac run slower... and I would love to get rid of it. It's not related to Firefox 5...it was there before with the previous version, too...and is one of the reasons I upgraded. I don't want Chrome, by the way...so it's also annoying to see its name in the offending script-name. I took a screen shot but can't figure out how to attach it to this description. It happens every time I open Firefox...not immediately but after a while.

    Disable or uninstall the ForecastFox extension.
    https://support.mozilla.com/en-US/kb/Uninstalling%20add-ons#w_how-to-uninstall-extensions-and-themes

  • Why is Script not listed in the flex documentation

    hello;
    when I go to: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/all-index-S.html ,'Script' is not listed.
    ideally I would like to see both the mx and the s versions so that I can compare them.
    when I search it does show the mxml-only fx version, but that is not consistent with the rest of the documentation ( or as much as I have seen so far ) where seemingly all classes are indexed.
    any thoughts,
    thanks,
    dsdsdsdsd

    The special MXML tags that don't simply 'new' up an instance of a class are:
    Binding
    Component
    Declarations
    Definition
    DesignLayer
    Library
    Metadata
    Model
    Private
    Reparent
    Script
    Style
    I found the following doc page:
    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/mxml-tag-detail.html
    It also includes XML and XMLList, but I don't thing those are actually special.
    Gordon Smith
    Adobe Flex SDK Team

  • When we use calculation script and when we use business rule

    when we use calculation script and when we use business rule can anyone please tell me

    Re the OP's question, here is an excellent introduction to Calculation Manager and business rules. It was the first hit when I googled "calculation manager hyperion".
    http://ranzal.wordpress.com/2010/06/11/oracle-hyperion-calc-manager-%E2%80%93-part-1/
    You can also go to odtug.com -- the Tech Resources section has a series of presentations on Calculation Manager, from beginner to intermediate.
    The added benefit with business rules are that you can use variables and runtime prompts. You can also link planning with business rules and pass information from a web form into a business rules.^^^Only with Planning. There are no runtime prompts with Essbase in 11.1.2.2 but I hear it is coming back in 11.1.2.3
    We can use Business Rule for all applications and it is GUI.^^^Doesn't have to be GUI-based. You can (depending on version) flip back and forth between GUI and script. I have not tried writing (nor can I actually think why you would want to do this) a Calc Mgr rule for multiple apps. Maybe you are thinking of a script object that can be called multiple times?
    To check whether a calc script is executed or not you have to use the Essbase application database log file (Plan1.LOG)^^^As business rules are, sooner or later, translated to BSO (and hey, ASO too and HFM and Fusion and HPCM and they can differ, a lot, so this is not always true) calc script language, you can always check in the application log to see what is run if Planning or BSO Essbase.
    Regards,
    Cameron Lackpour

  • Which is faster - Member formula or Calculation scripts?

    Hi,
    I have a very basic question, though I am not sure if there is a definite right or wrong answer.
    To keep the calculation scripts to a minimum, I have put all the calculations in member formula.
    Which is faster - Member formula or calculation scripts? Because, if i am not mistaken, FIX cannot be used in member formulas, so I need to resort to the use of IF, which is not index driven!
    Though in the calculation script,while aggregating members which have member formula, I have tried to FIX as many members as I can.
    What is the best way to optimize member formulas?
    I am using Hyperion Planning and Essbase 11.1.2.1.
    Thanks.

    The idea that you can't reference a member formula in a FIX is false. Here's an example:
    - Assume you have an account that has a data storage of Stored or Never Share.
    - This account is called Account_A and it has a member formula of Account_B * Account_C;.
    - You would calculate this account within a FIX (inside of a business rule) something like this:
    FIX(whatever . . . )
    "Account_A";
    ENDFIX
    If you simply place the member named followed by a semi-colon within a business rule, the business rule will execute the code in the in that member's member formula.
    Why would you want to do this instead of just putting ALL of the logic inside the business rule? Perhaps that logic gets referenced in a LOT of different business rules, and you want to centralize the code in the outline? This way, if the logic changes, you only need to update it in one location. The downside to this is that it can make debugging a bit harder. When something doesn't work, you can find yourself searching for the code a bit.
    Most of my applications end up with a mix of member formulas and business rules. I find that performance isn't the main driving force behind where I put my code. (The performance difference is usually not that significant when you're talking about stored members.) What typically drives my decision is the organization of code and future maintenance. It's more art than science.
    Hope this helps,
    - Jake

  • I am trying to create a PDF document that calculates Gains and Losses in Mutual Funds. The calculation scripts are repetitive from line to line. The scripts work well until I reach the line 32. Script stops calculating...

    I am trying to create a PDF document that calculates Gains and Losses in Mutual Funds. The calculation scripts are repetitive from line to line. The scripts work well until I reach the line 32. Although I am using the same script as the fields above in the columm, the script eventually stops calculating and I can't figure out why. Is there a limit of how many calculation scripts you can enter? I will attempt to attach my pdf as soon as I figure out how. Thanks.

    For e31 :
    var e30 = +getField("e30").value ;
    var c31 = +getField("c31").value ;
    if ( (e30 !== 0) && (c31 !== 0) ) event.value = e30 + c31 ;
    else event.value = "";
    for e32 :
    var e31 = +getField("e31").value ;
    var c32 = +getField("c32").value ;
    if ( (e31 !== 0) && (c32 !== 0) ) event.value = e31 + c32 ;
    else event.value = "";
    for e33 :
    var e32 = +getField("e32").value ;
    var c33 = +getField("c33").value ;
    if ( (e32 !== 0) && (c33 !== 0) ) event.value = e32 + c33 ;
    else event.value = "";
    Java console doesn't show any error... That's why I am wondering if it's not a limitation issue... or memory issue, because they are maybe too many rows or something....
    The c value is not calculated.

  • Script does not pick up values as intended

    Hi
    I have written a CALC routine where in i want to do the following:
    -If there is any input done for that rate in the month, the routine should do nothing
    - If there is no input in that rate account in the month, it should pick up the previous period data.
    But this IF condition does not work and I have not been able to understand why so.
    Can someone pl tell me what goes wrong in the below script?
    If i remove the IF command the script works (but if then overwrites any input made for the period)
    SUB Exch_Rate_Cf
    'carry forward of composite exchange rates for FA Opening Balances
    IF HS.GETrate("A#Exch_EquCap.I#[ICP None].C3#[NONE].C4#[NONE]") = "0" THEN
         IF HS.PERIOD.MEMBER = "JULY" THEN
    HS.EXP "A#Exch_EquCap.I#[ICP None].C3#[NONE].C4#[NONE] = A#Exch_EquCap.Y#Prior.P#Last.I#[ICP None].C3#[NONE].C4#[NONE]"
    ELSE
    HS.EXP "A#Exch_EquCap.I#[ICP None].C3#[NONE].C4#[NONE] = A#Exch_EquCap.P#Last.I#[ICP None].C3#[NONE].C4#[NONE]"
    END IF
    else
    END IF
    END SUB

    Hi
    I have tried both the approaches.
    "JUL' does not work as we have given JULY as the dimension member name
    The other approach also does not result in any result being calculated --- i think something is going wrong and the script does not go into the IF condition itself :(

  • Error in Calculation Script TCP IP Error

    <p>Hi all,</p><p> </p><p>I am getting a strange error while running a calculation scriptthrough esscmd.</p><p> </p><p>When i run a calculation script from ESSCMD i get"Network Error: The client or server timed out waiting toreceive data using TCP/IP. Check network connections. Increase theNetRetryCOunt and/or NetDelay values in the ESSBASE.CFG file.Update tis file on both client and server. Restart the client andtry again"<br><br>Actually the script was running fine last week but since 3 daysit's throwing an error.<br><br>The scripts are running from ESSCMD and there are 5 calc scriptsruns. First and Second goes through fine and execute with sts id =0. Starting 3rd calc script it is throwing this error.<br><br>All calc scripts starts with<br>//ESS_LOCALE English_UnitedStates.Latin1@Binary<br>SET CACHE HIGH;<br>SET MSG SUMMARY;<br>SET NOTICE DEFAULT;<br>SET UPDATECALC OFF;<br>SET CALCPARALLEL 7;<br>SET CREATEBLOCKONEQ ON;<br><br>1. Calc Script 1 is about 1988 lines. - Executed successfully<br>2. Calc Script 2 is about 1988 lines. - Executed successfully<br>3. Calc Script 3 is about 600 lines - Throwing TCP/ IP Error<br>4. Calc Script 4 is about 600 lines - Throwing TCP/ IP Error<br>5. Aggregation script - Throwing TCP / IP Error.</p><p> </p><p>Any idea... ??</p><p> </p><p>Thanks in advance..    <br><br><br></p>

    While there is a possibility that you are seeing a real network error, you might want to run a couple of checks if you are running the script that runs the calc on a different unit than the server. If it is the network, changes to the NETDELAY and NETRETRYCOUNT will help.<BR><BR>But more likely, it is a problem with the essbase server and the specific app process. I'd suspect that the calc and other things happening are swamping the memory and/or overloading IO.<BR><BR>Take good look at your cube, it's block sizes, and the nature of the calcs you are running. How many blocks are needed to do a particular calc, and will those all fit in memory at the same time?<BR><BR>You may need to modify your SET MSG and SET NOTICE parameters so that you can identify the specific step where your calc is having problems. Those are long calc scripts, you may find it useful to break them into smaller modules for testing to determine what the problem is. Also, you need to look at the server and app logs to see if there are any hints there.<BR><BR>The "Network Error" message is quite non-specific; it only says that the communication has failed, not why. In my experience, it more often happens when a an app or the main server process freezes up, and it may actually take a shutdown and restart of at least Essbase if not the whole server.<BR><BR>As an additional note: Is the database fragmented? All apps benefit from a periodic export, reset, reload routine to defrag the database.

  • Creating Basic Calculator Script - Needs help

    I'd like to create a basic calculator script that makes doing calculations a bit easier from the command line.  Normally i do:
    echo "32*24" | bc
    So I built a bash script that I can just type "calc 32*24":
    bc << EOF
    scale=4
    $@
    quit
    EOF
    And it works ok until i try to use parenthesis:
    calc (1+49)/5
    bash: syntax error near unexpected token `1+49'
    if I use parenthesis, directly in the bc command it does ok:
    bc
    bc 1.06...
    (1+49)/5
    10
    I've tried putting $@ in quotes but not luck.  Looks like bash isn't transferring the parenthesis.  How can I get the bash script to pass theparenthesis?

    Dusty wrote:This is why I always have at least one terminal in an IPython session.
    +1!
    I normally use a standard python instance in the same way but have just installed ipython and am having a look at it now. Looks cool!

  • Help in Calculation Script

    I need your help in calculation script: Using 9.3.1 version
    In below script , I have to write same code for total 10 account members used in the same place A and all 10 accounts members are level 0 children of 1 parent.
    A = A + B / C*D
    I need to write a code where 10 Account members can be used during calculation in place of A.
    Please can you help me on this query .. How to achieve this requirement ...
    Regards
    Vishal

    Using my Very Favorite Essbase Database In The Whole Wide World, aka Sample.Basic, I wrote the following nonsense code snippet:
    FIX(@RELATIVE("Profit", 0), @LEVMBRS("Product", 0), @LEVMBRS("Market", 0), @LEVMBRS("Year", 0))
         "Actual" = "Actual" + "Actual"->"Opening Inventory" / "Actual"->"Additions" * "Actual"->"Ending Inventory" ;
    ENDFIXDon't focus on why you would never ever want to do the above with inventory, just look at the code.
    The code does work.
    Before:
              100-10     New York     Actual
    Jan               Sales     679          
                   COGS     271          
              Margin     408          
                   Marketing     94          
                   Payroll     51          
                   Misc     0          
              Total Expenses     145          
         Profit     263          
              Opening Inventory     2101          
              Additions     644          
              Ending Inventory     2066          After
              100-10     New York     Actual
    Jan               Sales     7419.164596          
                   COGS     7011.164596          
              Margin     408          
                   Marketing     6834.164596          
                   Payroll     6791.164596          
                   Misc     6740.164596          
              Total Expenses     20365.49379          
         Profit     -19957.49379          
              Opening Inventory     2101          
              Additions     644          
              Ending Inventory     2066          I can't remember if your to be affected members are under a common parent or not. If the latter, use a UDA to go after the members.
    Oh yes, this code violates one of my personal design considerations -- it modifies the source data so it can only be run once. That is really dangerous but the choice is yours.
    Regards,
    Cameron Lackpour

  • Regarding calculation script optimization

    Hi,
    I have a gone through the calculation optimization in dbag.
    I have a calc script that needs to be optimized.
    So are there any particular ways that can be followed to optimize an calc script inoder to reduce the time taken to run.
    Thanks,
    Ram

    Hi,
    1. When you say , it needs optimized. Is it taking more time , or whats the issue.
    2. In addition to the standard recommendations in DBAG, you need to look your calculation script and which line of your script is taking time ( with the help of logs).
    3. NOt every standard recommendation would work , thats why consultants come handy.
    Sandeep Reddy Enti
    HCC
    http://hyperionconsultancy.com/

  • Calc Script does not recgonize the 0 or !=0 or #Missing

    Hello Experts,
    My calculation script needs to recognize when data is zero or #missings
    Calculation Script:
    //ESS_LOCALE English_UnitedStates.Latin1@Binary
    SET CREATEBLOCKONEQ ON;
    FIX((@DESCENDANTS ("IncomeStatement")),(@DESCENDANTS ("AMA_CONS")))
    "Budget" (
    IF (@ISMBR("2010") AND @ISMBR("Working") AND "Actual" ->"2009"<>0)
    "Budget" =@ALLOCATE("Budget"->"YearTotal",(@DESCENDANTS("YearTotal") AND @LEVMBRS ("Period", 0)), "2009"->"Project"->"Final"->"Actual”,, share);
    ENDIF
    ENDFIX
    Please advice.
    Regards,
    Sudhir

    I decided to look further at your code (don't ask me why) and there are a few things I see
    FIX((@DESCENDANTS ("IncomeStatement")),(@DESCENDANTS ("AMA_CONS")))
    "Budget" (
    IF (@ISMBR("2010") AND @ISMBR("Working") AND "Actual" ->"2009"0)
    "Budget" =@ALLOCATE("Budget"->"YearTotal",(@DESCENDANTS("YearTotal") AND @LEVMBRS ("Period", 0)), "2009"->"Project"->"Final"->"Actual”,, share);
    ENDIF
    ENDFIX1. why are you fixong on the descendants of the two dimensions? If there are more than children of income statement and AMA_Cons, you are calculating more than is necessary
    2. Why not move 2010 and working to the fix statement? If if they are dense dimensions, since there are sparse dimennsions in the fix, it will improve performance.
    3. is Budget in a sparse or dense dimension? If sparse, then most likely you do not need the createblockonequation statement as sparse members get added without it.
    4. If you can, get rid of the @allocate statement and use cross dimensional operators to do the allocations. @allocate is a slow function.
    5. I don't know what the other dimensions in your cube are, but you should fix on the level zero members (or @relative athe promary hierarchy in them) to reduce the number of members you are looking at.
    I;m sure there are more things, but this is a good start.

Maybe you are looking for

  • How to Format a number to support multiple languages

    I am trying to format a number so that it shows up with the corret decimal separators and thousands separators for different regions/languages, but can't seem to. 123456.223 is 123,456.223 (US English) and 123 456,223 in French (France) I don't know

  • Extension for tiff files - tif vs tiff

    I have encountered some (for me) confusing behavior. I have been working with both aperature and photoshop cs4. When I take a file from aperture to cs4, aperture creates a file with the extension.tiff. when I then save the file after working on it in

  • Printing a boarderless photo problem

    I could not print a photo:  The error message said that I could not print a boarderless photo with only a black cartridge and that I should install a color cartridge too.  But my color cartridge is installed and works properly.  I tried taking the co

  • Code 41 Error when installing my HID keyboard driver with my HID mouse driver

    I am developing a HID keyboard driver and a HID mouse driver based on HIDUSBFX2 sample code. So I added some lines as below into both keyboard driver inf file and mouse driver inf file. ;-------------- Service installation [hidKeyboard_Device.NT.Serv

  • Why Bother with Apple TV?

    Get a Mini, hook it up via DVI to your TV, and enjoy your music, movies, rented movies, downloaded movies, photos, etc - without streaming anything or buying another box that will just need to be replaced in 6 months. At least with a Mini you get a w