How to track what your Calc Script/Business Rule is doing?

Hi,
I wanted to know the methods or the best way to keep a track of what your Calculation Script of Business Rule is doing once you execute it.
Or suppose it fails for some reason and the reason is not a syntax error (that it usually would show up in EAS while validating)how can you know what's going wrong?
Please let me know !
~ Adella

All the CDFs are available at - https://www.samplecode.oracle.com/tracker/tracking/linkid/prpl1004/action/ExecuteQuery?query=essbase1
There are also the Echo CDFs in the String collection -
@JechoBoth - Echoes back all arguments passed to the function. To pass an array of arguments use @List(comma delimited list).
@JechoString - Echoes back all arguments passed to the function. To pass an array of arguments use @List(comma delimited list).
@JechoDouble - Echoes back all arguments passed to the function. To pass an array of arguments use @List(comma delimited list).
Saying that they usually need to be a calc block so if you are expecting to find where a calc is up to in an aggregation it is not going to tell you much.
Also you have to watch out if you are calculating a large number of blocks then you can end up outputing more information that you would ever need.
If you look in the essbase application log you can actually get an idea of which part of the script the calc is executing and times without the need for CDFs.
Also if a script fails then the app log is the place to go and check.
You can also look at the standard calc commands in essbase
SET NOTICE - http://download.oracle.com/docs/cd/E17236_01/epm.1112/esb_tech_ref/frameset.htm?set_notice.html
"Monitors the progress of your calculation by providing completion notices at intervals during the calculation. The number of notices depends on the level you specify."
SET MSG - http://download.oracle.com/docs/cd/E17236_01/epm.1112/esb_tech_ref/frameset.htm?set_msg.html
"Sets the level of messaging you want returned about calculations, and enables simulated calculations."
or if on 11.1.2.x then the @RETURN function - http://download.oracle.com/docs/cd/E17236_01/epm.1112/esb_tech_ref/frameset.htm?return.html
"Exits the calculation immediately under specified logical conditions. You can use the IF... ELSEIF calculation command block to specify the logical error conditions, and use the @RETURN function to exit the calculation with customized error messages and levels."
Cheers
John
http://john-goodwin.blogspot.com/

Similar Messages

  • Call ODI 11g scenario from Essbase calc script/business rule using ODI SDK

    I am looking for any hints on how to use the ODI 11g SDK. I want to call a java application (CDF) that runs an ODI scenario using RUNJAVA in Essbase which I have successfully done in the 10g environment.
    The java application has the odi-core.jar included in the project and registers OK with Essbase and I have replicated code from the Oracle sample code site. When I run the application in a calc script I get the following error:
    EssbaseCluster-1.EFTS.EFTS.odi     Execute calculation script     June 17, 2011 10:20:40 AM NZST     Failed
    Error: 1200456 Problem running [indigo.essbase.odi.RunODIScenario]: [java.lang.NoClassDefFoundError: org/springframework/util/StringUtils]
    When I comment out the code that calls the creates the OdiInstance then the java app executes fine - i.e. writes something to the Essbase log.
    The research I have done so far indicates that a classpath is incorrect. If that is the case where do I start looking to correct the classpath? Is it the ODI classpath or the Essabase classpath?
    Any tips would be grateful.
    Thanks.

    You need to import more jars to execute this
    following are the jars
    1)     bsf.jar
    2)     bsh-2.0b2.jar
    3)     commons-collections-3.2.jar
    4)     eclipselink.jar
    5)     odi-core.jar
    6)     ojdl.jar
    7)     oracle.ucp_11.1.0.jar
    8)     persistence.jar
    9)     spring-beans.jar
    10)     spring-core.jar
    11)     spring-dao.jar
    12)     spring-jdbc.jar
    Once you have this in classpath - your scenario will execute
    Hope this helps.

  • Calc script, Business rule and business rule macro

    Hi John,
    Can we use calc script , BR sequence and a BR macro against different databases at a single go.
    In one calc script or BR sequence or BR macro itself can i calculate 2 databases

    If possible could you not start every post with my name, there are lots of others helping on this forum and they provide excellent answers
    Calc Scripts run against one database.
    Sequences can contain multiple business rules, in the launch variables you can set the database to run against for each rule (outside of the planning application though)
    Macros are called from a business rule and are run against the database the calling rule is being run against.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • How to backup Outline, Reports, Calc Scripts and Rule Files?

    just as the topic states, how do you do that for Essbase?

    Backup/Recovery guide -  http://docs.oracle.com/cd/E40248_01/epm.1112/epm_backup/launch.html
    Some options are to use file system copy or LCM
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • HT2404 how do you get your money back for software that does not perform as advertised?

    how do you get your money back for software that does not perform as advertised?  I purchased the batch coverter to watch .swf video which it states it supports, but it will not open the files and I want my money back!!!!!

    tell Apple.  http://www.apple.com/feedback/
    iTunes Store Terms and Conditions specifically states: All sales and rentals of products are final.

  • How to use Array in Calc script.

    Hi, <BR> I want to use Array in Calc scripts. Can anyone provide me some examples. <BR><BR>Thanks<BR>Murali

    For information on the ARRAY command, check out <a target=_blank class=ftalternatingbarlinklarge href="http://dev.hyperion.com/techdocs/essbase/essbase_712/Docs/techref/techref.htm">this hyperlink</a>.<BR><BR>Click on <b>Calculation Commands</b>, then choose <b>ARRAY</b>.<BR><BR>Can you give me some information explaining why you want to use ARRAY? It's use is pretty rare and I would like to understand what you're trying to do.

  • How to increase the max connections for business rules.

    How and where to increase the connection to EAS.currently we have max connection as 20.Also please let me know,what is the maximum connection we can increase.
    In our system totally,we have 350 users are present.
    when more that 20 users running the business rule,EAS is stopped.

    You can find this in the application property section in planning. Just navigate to Manage Properties and update the JDBC max connections and JDBC Olap connections to your desired number.

  • User Variable Options: How can I use them in a Business Rule?

    How can I use a "User Variable" set in File / Preferences in a Business Rule? It doesn't seem to appear as an Essbase Substitution Variable or as a Global Variable of Business Rules. The only way I know how to use it is to place the dimension on the POV or Page dimension of a data form, then use a Global Variable in a run time prompt to pick the member and run a BR against it, or some function of it.
    What do I do if I want to have that dimension in Columns or Rows? How can I set a BR to directly reference the member chosen under User Variable Options?
    J

    Thanks Alp, but I can't seem to reproduce what you are writing below. I want to refer my Business Rule to address the value set in File / Preferences / User Variable Options; no matter what members I show elsewhere in the data form.
    My other workaround is through a run time prompt and hope the user selects the appropriate user variable at the very bottom of the selection list in order to calculate the appropriate list of members.
    J

  • How to use  create & ruleExecutionSet in oracle business rules

    I am trying to run the demo example of oracle business rule (car demo) using
    ruleExecutionSet.
    What are the changes thet i have to made in example in order to create & use the ruleExecutionSet to run the car demo .
    with regards
    saleem khan

    you are in the Oracle Forms Forum and your question is related to JDeveloper and Crystal Reports, you think those two are linked to Oracle Forms in anyway??
    Please post your questions in the appropriate Forum.
    Tony

  • How do I FIX members in a Business Rule to those set in outline security?

    Let's say..
    - I've granted write access to one user a branch of members in one dimension.
    - I include a Level 0 selection of that dimension in a data form in the Page view, which correctly allows input only to those members for that user.
    How can my BR fix only on those bottom level members appearing in the dataform?
    J

    Hi,
    one possibility is to create RTPs in your Business Rule, insert these (global variables) in your fix statement, connect the Business Rule to your dataform and check in business rule properties tab the boxes for "Run on Save", "Use Members on Data Form" and "Hide Prompt".
    Then your users can only select members in pages for that they have access rights and the business rule calculates the selected member combination.
    Kind regards
    André

  • How do I invoke decision service of business rules in soa suite 11g?

    How do i invoke the decision service of my business rules in SOA 11g.
    I have an invoke activity in my bpel process which invokes my decision service from the dictionary BUT
    it fails saying that the "name" attribute (NCNAME type) has invalid value while calling the method 'callFunctionStateful'/'callFunctionStateful' !!
    What value do I pass in that attribute? Please help.
    Input:
    <input>
    <callFunctionStateful_InputVariable>
    <part name="payload">
    <callFunctionStateful name="">
    <parameterList>
    <customerdetails>
    <name>susmit</name>
    <address>kolkata</address>
    <sex>male</sex>
    <cellnumber>54355</cellnumber>
    </customerdetails>
    </parameterList>
    </callFunctionStateful>
    </part>
    </callFunctionStateful_InputVariable>
    </input>
    Fault:
    <bpelFault><faultType> <message>0</message></faultType><remoteFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="summary"><summary>oracle.fabric.common.FabricInvocationException: Schema validation failed for message part payload. Please ensure at the message sender level that the data sent is schema compliant.</summary></part><part name="detail"><detail>Invalid value '' for attribute: 'name'</detail></part><part name="code"><code>null</code></part></remoteFault></bpelFault>

    Provide the name of the Decision Service as specified in the .decs file under the tag <decisionService name="........".
    Regards
    Albin I

  • How to validate a node list using business rules

    Hello everybody:
    I'm developing with Oracle SOA Suite 11.1.1.6
    I'm using business rules to check some business requirements from my processes and I am having a situation that I like to share with you in
    order to receive some advices to solve it.
    In the rule input variable I have an element with the following structure (example):
    [code]
    <User>
        <Name>Big Boss</Name>
        <ExpertiseLevel>10</
    ExpertiseLevel>
         <DepCode>RRHH</DepCode>
        <AssignedUsers>
            <User>
                <Name>Roman</Name>
                <ExpertiseLevel>5</ExpertiseLevel>
                <DepCode>RRHH</DepCode>
                 </AssignedUsers>
            </User>
            <User>
                <Name>Mark</Name>
                <ExpertiseLevel>2</ExpertiseLevel>
                <DepCode>RRHH</DepCode>
                 </AssignedUsers>
            </User>
            <User>
                <Name>Jane</Name>
                <ExpertiseLevel>5</ExpertiseLevel>
                <DepCode>RRHH</DepCode>
                 </AssignedUsers>
            </User>
            <User>
                <Name>Lisa</Name>
                <ExpertiseLevel>3</ExpertiseLevel>
                <DepCode>FNZ</DepCode>
                 </AssignedUsers>
            </User> 
        </AssignedUsers>
    </Request>
    [/code]
    Using business rule I need to check that all the users departament code *<DepCode>* match with an specified code, besides another
    validations. As it's showed in the previous XML I have a user list inside the *<User>* node and I have to use a loop to check all the users
    assigned to the Big Boss user. My question is: Which could be the most "efficient" way to make that loop?
    I have been thinking in some options:
    1- Create a ruleset for users validation and make the loop inside the process executing the user ruleset many times as users exist?
    2- Using functions (but this is not an option because I have a requirement that forbid to use functions inside the business rules
    implementation)
    Could anybody tell me how can I use the foreach available in the ruleset advanced mode? Can I execute a desicion table in a loop?
    Thanks in advance

    hi
    I guess you will need a CX.
    when user enters a value to the node,your CX will get fired.
    it will take the current value and check with your database.if value already exists then you have to empty that node in the CX. and show a message that you needs to change the value of node.
    Let me know if you need code.
    send a mail on [email protected]
    I will provide you the code.
    Regards,
    Kaushal

  • How to add Exception handling in Oracle Business rules Function

    Hello,
    We use to have good number of business rules in our application. So we need to have some functions in BR Composite.
    Can some one let me know how to handle exception in Oracle business rules exception( Regular try catch will not compile)
    is there any way please let me know.
    Edited by: Network22 on Mar 25, 2013 10:21 AM

    Why aren't you using por_custom_pkg.custom_validate_req_line to add extra validations.
    Ensure that profile POR: Enable Requisition Line Customization is set to Yes if you were to use po_custom_pkg for Requisition line validations.
    OAF calls por_custom_pkg at various points depending upon the values in Profile Options:-
    POR: Enable Req Distribution Customization
    POR: Enable Req Header Customization
    POR: Enable Requisition Line Customization
    Thanks,
    Anil Passi

  • How to incorporate table data with Oracle Business Rule

    hello
    I want to use table with data in Oracle Business Rule can i do it.
    if yes please write how .
    with regs
    saleem

    Hi,
    like with coloring of cell according to value and so many.How to do that?
    Answer is, you can't
    Frank

  • How to group datasrc member in CarryForward Business Rule

    Hi Experts,
    I want to group few datasrc members to be used as source datasrc in CarryForward Business Rule. Which property of Datasrc Dimension will show the grouping in CarryForward rules ?
    For your information - i have DIMLIST, DIMLIST1, COPYOPENING, DATASRC_TYPE, OPENING_DATASRC with some values but none of these properties getting enabled in CARRYFORWARD Business Rule.
    Kindly help
    Regards,
    Samvir

    Hi,
    You need to define this in the Group property of the Datasource dimension.
    The GROUP :It is used to gather datasrc in six groups:  example:
    INPUT          Input datasrc
    STA          Standardization datasrc
    ELI          Eliminations datasrc
    C          Consolidation datasrc
    ICMATCH     Intercompany matching datsrc
    IC          Intercompany datasrc
    I think,  for carry forward , you need not assign this in the group above. in the business rules of carryforward, need assign like this.
    Source Account   Source Flow    Destination Account   Destination Flow Datasource Type
    BSDIM                     999                                                       100                     ALL
    Regards
    CSM Reddy

Maybe you are looking for

  • How to write a validaton rule for Cost Center and plant in PO

    Hi, I need to write a Validation Rule for Cost center and Plant in Purchase Order to get the error message if the Plant and cost center combination didnot match. But i am not sure in which transaction code do we need to write this validation. Kindly

  • Restriction of purchase order with valution type

    Dear, I want to restrict the valution type with the document type of purchase order type, Can i do it? E.g My valution type is Fg-dom, I want to use this valution type in stock transfer order , Restrict in other doc.type

  • Nokia 6680 Standby Mode Problem

    I cant change my Nokia 6680 Standby Mode. Its disapeard. When I go to Setting and then Standby Mode, I cant see Activate Standby Mode there anymore. Ive formated phone memroy but still I cant...Anybody has any information about this problem?

  • GR/IR accounts cannot be cleared manually

    Hello, When I try to clear GR/IR accounts thru F-03,  I get the message "GR/IR accounts cannot be manually cleared". Where is this setting made in SPRO? Thanks in advance Sadhana

  • AQ With 1...N data

    Hi, i want to know if i can define the data in the table with a cardinality of 1...N Clients, defining a Object Type "Client" and make an arrangement of that object.