Prompt in Calc Script

i have a very simple calc script, but i can't get it to prompt. i want it to prompt me for the version that i'm trying to clear data for. can anyone help? i hope!
/*This rule clears the forecast and actual data of the specified version*/
FIX ([Version],"C75")
CLEARDATA Forecast;
CLEARDATA Actual;
ENDFIX

I think you posted this in the wrong forum. You should be putting this in the Essbase forum as you aren't talking about reports I believe
To answer your question you have 2 options
Put your script in a "Business Rule" or a "Calc Manager Script" and then add a "Run Time Prompt"
That's really your 2 options unless you want to start coding something yourself.
You can create a variable in Essbase but it won't "prompt" you to fill it in when you run it, it will simply take what you had in that variable and execute. So i don't believe that's what you are looking for.
if you meant something different let me know.

Similar Messages

  • Hyperion business rules and calc scripts

    Hi...can anyone differentiate HBR and Calc scripts.. what is the advantage HBR got over Calc scripts.. replies will be highly appreciated

    Hi
    there are many you can easily get answer reading thro documentation.
    major difference is the runtime prompt in HBR , which differentiates Calc script.
    however I recently learned that you can put run time prompts in calc scripts lusing VBA macros.
    good luck.

  • Calc script prompt issue in workspace

    Hello Gurus,
    This issue is related to running Calc scripts from EPM Workspace 11.1.2.2.300.
    Browser : IE8/IE9
    We are facing an issue where users are able to run CALC from workspace successfully.
    But they are not getting prompt as CALC XYZ ran successfully.
    The browser just keeps showing CALC XYZ is processing. If we check in logs, its shows Calc has already completed its execution.
    Can this happen if we have a slow network? Or is it a bug as the calc seems to be completing on the required time in the background (when checking logs) but the front process keeps going on.
    Any help will be highly appreciated.
    Thanks,
    hyperionEPM

    Hi Rahul,
    Thanks for your quick reply..
    Yes we are on planning 11.1.2.2.300
    Following is what happens --
    <li> We open workspace and login to a planning application.
    <li> We navigate to the Business Rules from Tools.
    <li> We then run the Calc script from within Workspace for that application
    What happens is the calc should be running for ~ 3 mins (it runs for approx same time when we check the logs) however the workspace keeps showing that it is still in progress even if it exceeds ~10 mins, giving us a feel that the calc is still running which is not the case as the log file has the appropriate time when it completed.
    We then have to manually close the UI which shows that the calc is still running as it had already completed.
    Any ideas on what could be causing this?
    Thanks,
    hyperionEPM

  • Use of RTP in calc script

    Hi,
    Can anyone please let me know if run time prompts can be used in calc scripts? Actually, we need to have some aggregation at a particular scenario, division and month level in essbase.
    We are using 11.1.1.
    Thanks.

    Runtime prompts are for use with Business rules (either original business rules via EAS or Calc Manager) and not essbase calc scripts.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Enhanced Calc Script more flexible than native Essbase Calc Script?

    What makes an Enhanced Calc Script more flexible than native Essbase Calc Script?
    Run on Save or @CALCMODE function or Run time prompts or Can be run over the web or Substitution Variables or Custom Defined Functions.
    Appreciate if u reply ASAP!!
    Thanks in Advance!!!

    Some posts on the subject
    Business Rule
    Business rule
    Business rule
    Cheers
    John
    http://john-goodiwn.blogspot.com/

  • DataExport   Calc Script

    Can we use Substitutional variables or Global variables in Business rule to specify the file export path, instead of hard coding it.
    Edited by: 974347 on Nov 30, 2012 4:36 PM

    This does work as a substitution variable is just a simple text replacement within a calc script. I have not tried to use a run time prompt for any other purpose than a member name substitution in a business rule, so I am unsure that you could do this. Give it a try and let us know if this works out. Thanks,
    --Scott Danesi                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Calc script - equal sign

    Hi, I'm trying to write a Fix Statement that says if CurMonth equals to @ISMBR(Aug) then shift the following... but I am having issues with the equal. Not sure how or where to put it...
    FIX ([Year])
         [playType]
              (IF(@ISMBR(Estimate3))
                   IF (@ISMBR(AUG) == @ISMBR(&CurMonth))
                        NOV -> [playType]= @SHIFT("Amort Amount",-3);
                        DEC -> [playType]= @SHIFT("Amort Amount",-3);
                   ENDIF
    -----------------------------------------------------------------------------------------------------------

    That FIX error that I was having was because I had copied run-time prompts into my calc scripts. This script that I have been working on is a Business Rule with prompts for the user's selection.
    When validating in EAS's calc script, it does not recognize these run-time prompts so it gave an error message about my Fix statement, because the run-time prompts are within my Fix statement. Hope this explains everything about my issue. Though I am still not sure why I am able to run my Business Rule with only 1 ENDIF statement when (I agree with you) I should need 2. Below is my BR if you are curious and want to look over. The members in [] are the run prompts.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    SET AGGMISSG ON;
    SET CreateBlockonEq On;     /* compatible? */
    SET frmlbottomup on;
    /* push 90 days */
    FIX(VersionF,[scenario],[studio],@RELATIVE([entities],0),@UDA("Titles",[studio]),"Amort Amount")
         FIX ([Year])     
         [playType]
         IF(@ISMBR(E3))     /* E3 moves OCT:Dec into next year Jan:Mar */
              IF(@ISMBR(JAN))
                   "w1-pr"->Budget=@SHIFT("w1-pr"->OCT,-1,@RELATIVE("Years",0));
              ELSEIF(@ISMBR(FEB))
                   "w1-pr"->Budget=@SHIFT("w1-pr"->NOV,-1,@RELATIVE("Years",0));
              ELSEIF(@ISMBR(MAR))
                   "w1-pr"->Budget=@SHIFT("w1-pr"->DEC,-1,@RELATIVE("Years",0));
              ENDIF
         "w1-pr"
         IF(@ISMBR(E3)) /* E3 clears out Oct:Dec */
              OCT = #missing;
              NOV = #missing;
              DEC = #missing;
              ENDIF
         ENDFIX          
         FIX ([Year])
         [playType]
              IF(@ISMBR(E3) AND @ISMBR(&CurMonth))      /* E3 place data into Nov:Dec from prior 3 months */
                   IF(@ISMBR(AUG))
                        NOV = AUG;
                        DEC = SEP;
                   ELSEIF (@ISMBR("SEP"))
                        DEC = SEP;
              ENDIF
         ENDFIX
         FIX ([YEAR])
              [playType]
                   IF(@ISMBR(E3) AND @ISMBR(&CurMonth))      /* E3 Outmonth is Aug - clears dups from Aug:Sep */
                        IF(@ISMBR(AUG))
                             AUG = #missing;
                             SEP = #missing;
                        ELSEIF(@ISMBR(SEP))
                             FEB = #missing;     
                   ENDIF
         ENDFIX      
    ENDFIX

  • How do you stop multiple users executing the same calc script at the same time?

    We have an issue when  users uplaod a spreadsheet and then run a calc script. at one time we have multiple exectuions of the script running.
    This slows up the system and we have to go cancel all the executions and run it again.
    Can we stop this and put them on a queue, so only one execution of the calc happens at one time. Or stop multiple executions getting submitted at all.

    You could use EXCLUSIVECALC to stop more than one calc running at the same time, although this will apply to all applications on your server.  And it doesn't just stop the same calc being launched twice.  Easier than the alternatives I can think of though, if it works for you.

  • @ATTRIBUTESVAL works properly in Calc script but not in Member Formula.

    We are using Essbase 11.1.2 –
    "Global_Period" is a Dynamic Calc Member. Below is its Member Formula:
    "ProjType " is an attribute (text) dimension.
    "Global_Period" ="ValidAccount";
    IF (@ISLEV ("Total_Expenses", 0) AND @ISMBR("HSP_InputValue") AND @ISLEV ("Version",0) AND
    @ISMBR("No_GL_Account") AND @ISLEV ("Scenario",0) AND @ISLEV ("Years",0) AND @ISMBR ("Local")
    AND @ISLEV("Tot_Org",0) AND NOT @ISIDesc ("Service_Division") AND @ISLEV("Tot_PRJ",0) )
    "Global_Period"->"No_GL_Account"-> @CURRMBR ("Projects") =
    1* "ValidAccount"->"Global_Version" ->"Global_Scenario"->&Budget_Year->"Global_Entity"->
    "No_GL_Account"->"HSP_InputValue"->"Local"->
    @MEMBER(@NAME(@CONCATENATE ("Proj_",@ATTRIBUTESVAL("ProjType"))));
    ENDIF
    The above Member- Formula is failed to work when opening a Data Form that contain "Global_Period".
    The error messages in the log file are as follow:
    [Thu Mar  1 16:55:39 2012]Local/Projects/Plan1/admin@Native Directory/1122748736/Error(1200370)
    Error executing formula for [Global_Period] (line 1): attempt to cross a null member in function [@X]
    [Thu Mar  1 16:55:39 2012]Local/Projects/Plan1/admin@Native Directory/1122748736/Error(1200370)
    Error executing formula for [Global_Period] (line 0): attempt to cross a null member in function [@_VAL]
    When converting the "Global_Period" to be a Store member.
    The Calc Script below is exactly equivalent to the Formula, and run perfectly with no Errors.
    "Global_Period" ="ValidAccount";
    FIX ("HSP_InputValue", "Local","No_GL_Account", @RELATIVE ("Total_Expenses", 0),
    @RELATIVE ("Version",0), @RELATIVE("Scenario",0), @RELATIVE ("Years",0),
    @REMOVE (@RELATIVE ("Tot_Org",0),@IDESCENDANTS ("Service_Division")),
    @RELATIVE ("Tot_PRJ",0))
    SET CREATENONMISSINGBLK ON;
    "Global_Period"
    ("Global_Period"->"No_GL_Account" -> @CURRMBR ("Projects")=
    1* "ValidAccount"->"Global_Version" ->"Global_Scenario"->&Budget_Year->
    "Global_Entity"->"No_GL_Account"->"HSP_InputValue"->"Local"->
    @MEMBER(@NAME(@CONCATENATE ("Proj_",@ATTRIBUTESVAL("ProjType"))));
    SET CREATENONMISSINGBLK OFF;
    ENDFIX
    For many reasons we prefer to use the Dynamic Calc Formula for "Global_Period".
    As result of some checking I discover that the problem is with the function @ATTRIBUTESVAL,
    because the formula has worked fine when I replace the @ATTRIBUTESVAL with a string.
    Please help, what is the right way to write the formula in order to make it work.
    Thanks
    Tami Kedem

    Dear Cameron Lackpour,
    Thank you very much, for your reply.
    I'd given it a try, but it didn't help.
    The purpose of this formula is as follow:
    We holds 1's (ones) for allowable combinations of "Project_Type and Accounts", namely, each project type has different list of accounts that are allowed for input.
    I need to populate the input 1's to all projects (and their children) according to its "ProjType".
    The Data forms has periods in columns, thus by putting "Global_Period" (Hide) as the first column, and use "Suppress Missing rows" - for each project (on the "Page") , the form will show just the allowable Accounts in rows.
    (we have around 300 Accounts, 50,000 members in Project dimension and around 25 Types of projects).
    Please help.
    Thanks!
    Regards,
    Tami Kedem

  • IF Statement with multiple ORs in Calc Script

    Hello,
    May I know what is the best way to script the following statement in a Member formula, not calc script (can't use Fix statements)
    If (A->B->C == 1, 3 or 5 AND X->B->C == Value1)
    returnvalue1
    ELSE
    #Missing.
    Basically I am looking for syntax for an IF statement where IF one condition is equal to multiple values as mentioned, then the result is this...
    Help is much appreciated.  Thanks.
    Adi

    You won't be able to use a comma separated list, you'll have to repeat the combination. A->B->C == 1 or A->B->C == 3 so on and so forth
    If you can give a use case scenario or the logic behind it then there are more chances that you might end up with a nicer solution.
    Regards
    Celvin

  • How to make a calc script on a dense dimension ?

    Dears,
    I want to make a calculation script on a dense dimension where :
    - I want to get an input from a member, then make a mathematical calculation , then populate the result in another member at the same dimension .
    For More Clarification :
    I have the following fix
    CALC ALL ;
    FIX ("SAR","Working.V01","Budget2012","FY12","G_10","NM_CAT01","Employee General","BegBalance")
    "Internal Transportation" = "Monthly Transportation"*30 ;
    ENDFIX
    -Internal transportation and monthly transportation are 2 members on FB_account dimension (dense dimension) .
    Waiting for your response, Thanks in advance.

    Dear ,
    I appreciate your feedback . But, My problem is that after executing the calc script , No calculation happens .
    by another means ,
    -If I wrote "Internal transportation" = 500 ; --> It put 500 in it
    -If I wrote "Internal transportation" = "Internal transportation" * 100 ; --> No calculation happened but it executed successfully
    -if I wrote "Internal transportation" = "Monthly transportation" = 500; --> No calculation happened but it executed successfully
    I don't know Why ???

  • The export file from a calc script - naming and date/time stamp

    Here is a simple calc script to export data.
    2 questions:
    1. Is there an easy way to add a date/time stamp on the name of the data file so that it does not overwrite the older ones every time?
    2. I tried to specify the path so that it write to another server. "\\mfldappp011\E:\Exp_AW.txt". It's not working. How should I specify the path ?
    Fix (@Relative("Yeartotal",0),"Actual","Working",&ActualYear);
    Dataexport "file" "," "C:\Exp_AW.txt" "#MI";
    EndFix;
    Edited by: user9959627 on Sep 7, 2012 11:25 AM

    Probably easiest to call the maxl script from a command line script, then rename the exported file to include the tme stamp and copy/move it to a location.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Assigning a value to a constant in Calc Script

    Hi All,
    I'm trying to assign a value to a constant in a calc script, but not able to make it work.
    I need to get a user entered value from the database such as Indexation Value, and use that many times in my script. Rather than use:
    "member1"->"member2"->"member3"->"member4"->"member5"
    every time I access the value, I'd like to use:
    VAR IndexVal = "member1"->"member2"->"member3"->"member4"->"member5";
    and then use IndexVal in the script.
    Is this possible?, or do I have to use a substitution variable?
    Thanks.

    It is possible, but the variable and the calculations that use it must exist in the same Calc Bloack statement (Beginning and ending in parens)

  • An error ocurred while running the specified calc script. Check the log...

    Hi,
    I get the following error when I use the "Mass Mllocate" of hyperion planning (11.1.1.3) , specifically when i try to use "Spread Type" and select "Relational Spread".
    I check the log for details, i see the following messages:
    [Mon Mar  5 17:34:18 2012]Local/TCM/VtaCto/admin/Info(1013162)
    Received Command [Calculate] from user [admin]
    [Mon Mar  5 17:34:18 2012]Local/TCM/VtaCto/admin/Info(1200481)
    Formula for member [FY11] will be executed in [CELL] mode
    [Mon Mar  5 17:34:18 2012]Local/TCM/VtaCto/admin/Error(1200315)
    Error parsing formula for [FIX STATEMENT] (line 24): invalid object type
    [Mon Mar  5 17:34:18 2012]Local/TCM/VtaCto/admin/Error(1012001)
    Invalid Calc Script syntax [
    FIX ("Ene","Feb","Mar","Abr","May","Jun","Jul","Ago","Sep","Oct","Nov","Dic","42300007","CC_054","CIA_063","PPTO","TRABAJO","S_241","S_251","S_252","S_253","S_254","S_255","S_259","S_260","S_227","S_228","S_229","S_230","S_231","S_232","S_233","S_234...]
    [Mon Mar  5 17:34:18 2012]Local/TCM/VtaCto/admin/Error(1200421)
    Error encountered on or after line [25]
    [Mon Mar  5 17:34:18 2012]Local/TCM/VtaCto/admin/Info(1020055)
    Spreadsheet Extractor Elapsed Time : [0] seconds
    [Mon Mar  5 17:34:18 2012]Local/TCM/VtaCto/admin/Info(1020082)
    Spreadsheet Extractor Big Block Allocs -- Dyn.Calc.Cache : [0] non-Dyn.Calc.Cache : [0]
    But i can not identify which calculation is referenced and that I understand is what is failing.
    Could guide me about that would have to check to find what is generating the error.
    Thanks in advance!!!

    Hi,
    One problem is that I can not identify the script because it was not created by me, as I understand this calc is implicit in planning, only runs when you select the option "mass allocate".
    The published extract was obtained from the log of the application in which the calculation is running, this was extracted from essbase directory that hosts the application.
    Hector Ortega

  • OBIEE 11g write back to Essbase and run calc script feature

    Hi,
    I have a requirement to write back into Essbase Cube and run calc script from OBIEE dashboard.
    From what i have search on google, we must deploy additional Java Script into weblogic, but that is before OBIEE 11.1.1.6.
    I have 2 question:
    - Does OBIEE 11.1.1.6 already supported native write-back to Essbase and running calcscript?
    - Anyone has example of the custom java-script for write back and running calcscript?
    And another, if there are requirement like this, is it better to install Essbase Add-in on Microsoft Excel and do the what-if analysis there, then just display the report on OBIEE dashboard? (based on user-friendliness and the complexity on maintenance)
    Thanks in advance.

    Hi,
    Even I am trying to achieve the same thing as you have mentioned but think that it is not possible to achieve easily in obiee 11.1.1.6, though we do have a work around to perform a writeback in Essbase cube using JAPI as mentioned below.
    Also we can call Hyperion reports from OBIEE using Action Links and also pass parameters to the same but dont know if it runs calculation script.
    Below link could be useful for you for write back workaround.
    http://oraclebizint.wordpress.com/2009/05/25/oracle-bi-ee-10-1-3-4-1-writebacks-to-essbase-using-japi-and-custom-html-part-1/
    Let me know in case you have found out anything else related to same.
    Thanks,

Maybe you are looking for

  • Replaced MSVM with Java in XP SP-2.2, now Java console start crashes OS/PC

    Hi all, can anyone here help me out? I upgraded from Microsoft Virtual Machine to the Sun Java VM. I did everything the directions said to do meticulously, but when I went to start the console and then check to see if it was installed properly I coul

  • Movies in Iphoto and Aperture wont play

    After updating to Iphoto 9.3 and Aperture 3.3, whenever i open a video i get this message "A necessary data reference could not be resolved." I have a new MacBook Pro and have been trying to organize all my iphoto libraries.  After trying to get Ipho

  • Grphics Card - 3 Monitors

    Hi Everyone, Having isues selecting a new GFX Card. Have read the forum up and down, and am still not understanding what I should do. So my current system is as follows: MacPro 3,1 NVIDIA GeForce 8800GT 2x - 22" Acer Monitors OSX - 10.6.3 Processor -

  • Serial number has been revoked

    Trying to install Creative Suite 6 and get message serial number has been revoked. Any help?

  • How to read block of rows from database tables

    I have created a Database Application in Java and display all the records in tabular format of one Table. This table have Millions of Rows, If I run Select * from Table, then my Machine not responding, so Now I wants to add paging of 1000 rows at one