calc/createblockoneq-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 CREATEBLOCKONEQ ON; must be followed, further down, by a
SET CREATEBLOCKONEQ 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. Turning the setting off just in case does no harm. - 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”CREATEBLOCKONEQ tells Essbase to create a data block when an equation writes to
a sparse member combination that has no block yet. You turn it on for a reason:
a seeding step, or an allocation that has to write where no data exists. It is
meant for a few statements, not a whole Rule. Essbase keeps it on until something
turns it off, so an ON left open changes every assignment after it. Statements
meant to touch only existing blocks start creating new ones, the Rule slows down,
and the database grows with blocks nobody asked for. 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 CREATEBLOCKONEQ ON;
FIX("Budget", "Working", "FY26") "Net Income" = "Revenue" - "Total Expenses";ENDFIX
AGG("Entity");The message reads:
`SET CREATEBLOCKONEQ ON;` is never turned back off. Add `SET CREATEBLOCKONEQ OFF;` after the statements that need it, so the rest of the script does not create blocks on every equation.Turn it off as soon as the block that needs it is done:
SET CREATEBLOCKONEQ ON;
FIX("Budget", "Working", "FY26") "Net Income" = "Revenue" - "Total Expenses";ENDFIX
SET CREATEBLOCKONEQ 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.