The instructions *XDIM_NOSCAN and *NOSCAN in *CALC_DUMMY_ORG allows you to load in memory information that is only needed in a *GET( ) statement and never used in a *IS statement.
For example, in a Units * Price
calculation the logic might read as follows:
Example
*XDIM_MEMBERSET ACCOUNT=UNITS, PRICE
*WHEN ACCOUNT
*IS UNITS
*REC(FACTOR=GET(ACCOUNT=”PRICE”),ACCOUNT=”REVENUE”)
*ENDWHEN
In such situations, users can now instruct the logic to ignore the PRICE by simply saying:
*XDIM_MEMBERSET ACCOUNT=UNITS, PRICE
*XDIM_NOSCAN ACCOUNT=PRICE
*WHEN *
*IS *
*REC(FACTOR=GET(ACCOUNT=”PRICE”),ACCOUNT=”REVENUE”)
*ENDWHEN
This makes the scanning of the record set loaded in memory faster, as all those with account PRICE are skipped efficiently.
Similarly, a *NOSCAN instruction can be added to a *CALC_DUMMY_ORG structure. See *CALC_ORG.