Default Rules
EPM Workbench ships with 12 built-in Validation Rules. Ten read Calc Script bodies, two read Groovy. Every one of them is adjustable: you can raise or lower its severity, turn it off, or except an individual artifact from it. None is pinned, and none is special compared to a rule you write yourself.
The Default severity column is what the rule runs at when no scope has configured it. See Validation Rules for how severities are set, and Creating Rules for adding your own.
Calc Script rules
Section titled “Calc Script rules”| Rule | Default severity | What it catches |
|---|---|---|
calc/member-exists | error | Every member referenced in the script exists in the application, and no alias is ambiguous. |
calc/fix-balance | error | Every FIX has a matching ENDFIX. |
calc/exclude-balance | error | Every EXCLUDE has a matching ENDEXCLUDE. |
calc/fix-trailing-comma | error | No trailing comma inside a FIX / FIXPARALLEL / EXCLUDE member list. Calc Manager fails with a generic error that never points at the comma. |
calc/require-updatecalc-off | warning | The script sets SET UPDATECALC OFF; so Intelligent Calculation cannot skip blocks. |
calc/require-aggmissg-on | warning | The script sets SET AGGMISSG ON; so cleared children aggregate to parents. |
calc/require-emptymembersets-on | warning | The script sets SET EMPTYMEMBERSETS ON; so an empty FIX does not run against the whole cube. |
calc/createblockoneq-paired | warning | SET CREATEBLOCKONEQ ON is turned back off after the statements that need it. |
calc/createnonmissingblk-paired | warning | SET CREATENONMISSINGBLK ON is turned back off after the statements that need it. |
calc/all-dimensions-accounted | warning | Every dimension is either inside a FIX member list or the anchor of an assignment block. |
Groovy rules
Section titled “Groovy rules”| Rule | Default severity | What it catches |
|---|---|---|
groovy/rtp-declared | warning | Every Run-Time Prompt read through the rtps binding is declared by the Rule. |
groovy/macro-resolves | error | Every %Template / %Script / %Rule macro names an artifact that exists in this Pod. |