tableusage

TEMP-TABLE|BUFFER [name] is not used

Rule "tableusage" is a rule that identifies unused TEMP-TABLE, WORK-TABLE, and BUFFER definitions.

Notes:

The author, Igor Natanzon says:

  • Line number for the END keyword is not a reliable block indicator (
    ie. END. END. on one line). However, as each block is processed
    separately, I haven't noticed any problems yet. I suspect it should
    not be a problem because procedures, functions, and event triggers
    cannot be nested (or can they??).
  • Blocks I consider local for buffer define purpose are PROCEDURE,
    FUNCTION, METHOD, and ON event trigger. Any more? Any other define is
    considered global.