runCalc
Runs calculations in an application.
Using this command, you can run calculations using rules in a Model POV against data in a different Data POV without copying rules across POVs.
Applies to
Profitability and Cost ManagementRequired Roles
- Service Administrator
- Power User
Usage
epmautomate runCalc APPLICATION_NAME POV_NAME [DATA_POV_NAME] PARAMETER=VALUE [comment="comment"] stringDelimiter="DELIMITER" where:
APPLICATION_NAMEis the name of the Profitability and Cost Management application that contains the POV to be calculated.-
POV_NAMEis the name of the model POV to be calculated. -
DATA_POV_NAMEis, optionally, the name of the data POV that is to be calculated using the rules of the model POV.If
DATA_POV_NAMEis not specified, by default,POV_NAMEwill be used.You can use only
exeType=ALL_RULESif you specifyDATA_POV_NAME. -
PARAMETER=VALUEindicates runtime parameters and their values to run the calculation. Specify as many parameter and value pairings as the process requires. Valid parameters and their values:exeType=ALL_RULES|RULESET_SUBSET|SINGLE_RULEidentifies the rule execution type. This is a required parameter.Depending on the value set for
exeType, the following parameters may be specified:- If you specify
exeType=ALL_RULES, do not include rule subset or single rule related parameters such assubsetStart,subsetEnd,ruleSetName, andruleName. Must use thisexeTypeif you setDATA_POV_NAMEparameter. - If you specify
exeType=SINGLE_RULE, specify the values forruleSetNameandruleNameonly. - If you specify
exeType=RULESET_SUBSET, specify the values forsubsetStartandsubsetEnd.
- If you specify
subsetStartspecifies the sequence number of the first rule in the rule set to runsubsetEndspecifies the sequence number of the last rule in the rule set to runruleSetNameidentifies the rule set that contains the calculations you want to runruleNamename of the rule to run (to run a single rule)isClearCalculated=true|falsespecifies whether to clear existing calculationsisExecuteCalculations=true|falsespecifies whether to run calculationsisRunNow=true|falseset this value totrueto run the process nowoptimizeReporting=true|falseset this optional value tofalseif the calculations are to be run without optimization for reporting. Default istrueBest Practice:
- Set
optimizeReporting=falseonly when necessary to save processing time; for example, when running a single rule or a sequential series of several POVs - When running multiple concurrent calculation jobs, set
optimizeReporting=truefor all jobs; only the last job to complete will perform the aggregation, avoiding redundant processing and preventing running jobs from slowing down.
- Set
Note:
Parameter values (trueorfalse) must be in all lower case. commentis an optional comment enclosed in double quotation marksstringDelimiteris the delimiter used in POV values. Delimiter must be enclosed in double quotation marks.
Example
epmautomate runCalc BksML12 2012_Jan_Actual Jan-2016 isClearCalculated=true isExecuteCalculations=true isRunNow=true subsetStart=10 subsetEnd=20 ruleSetName="Utilities Expense Adjustment" ruleName="Occupancy Expense Allocations" exeType="ALL_RULES" comment="Test calculation" stringDelimiter="_"