calc/createnonmissingblk-paired
Starts at Warning. It reads Calc Script files in Rules only. A Template or Script is a piece that Deploy places inside a Rule, so the setting belongs to the Rule as a whole.
What it checks
Section titled “What it checks”Every SET CREATENONMISSINGBLK ON; must be followed, further down, by a
SET CREATENONMISSINGBLK OFF;.
- They pair up in order. Each
OFFcloses the nearestONabove it that is still open, so twoONlines need twoOFFlines. - An
OFFabove anONdoesn’t close it. - An
OFFon its own is never flagged. - Case and extra spaces don’t matter, and commands inside comments are ignored.
The ON that was left open is underlined.
Why it matters
Section titled “Why it matters”CREATENONMISSINGBLK makes Essbase create blocks for member combinations it
would otherwise skip as #Missing. You need that for a few statements: seeding a
slice, or an allocation whose result has to land where there is no data yet. The
setting stays on until something turns it off, so leaving it on affects the rest
of the Rule. The calculations that follow can create extra blocks, which makes
the Rule slower and the database bigger. Turn it off right after the statements
that need it.
Example
Section titled “Example”This Rule triggers the finding, because the ON is never closed:
SET CREATENONMISSINGBLK ON;
FIX("Budget", "Working", "FY26", @RELATIVE("Total_Entity", 0)) "Net Income" = "Revenue" - "Total Expenses";ENDFIX
AGG("Entity");The message reads:
`SET CREATENONMISSINGBLK ON;` is never turned back off. Add `SET CREATENONMISSINGBLK OFF;` after the statements that need it — left on, it keeps creating blocks for the rest of the script.Turn it off right after the block that needs it:
SET CREATENONMISSINGBLK ON;
FIX("Budget", "Working", "FY26", @RELATIVE("Total_Entity", 0)) "Net Income" = "Revenue" - "Total Expenses";ENDFIX
SET CREATENONMISSINGBLK OFF;
AGG("Entity");Adjusting it
Section titled “Adjusting it”Change its level (Error, Warning, Info) or turn it off in the Lint Rules panel, or excuse one file with a Lint Exception.
A seeding Rule whose only job is to create blocks is the usual reason for an Exception. Keep the Lint Rule on for everything else.