Pitfall

  • NL003: Module name contains trailing or leading whitespace
  • NL004: Subroutine name cut on compilation
  • NL007: NatUnit test case won't be recognized
  • NL008: Test names are duplicated
  • NL012: COMPRESS statement might be missing NUMERIC
  • NL013: COMPRESS WITH DELIMITER might be missing ALL
  • NL014: Multiple work file attributes of the same type specified
  • NL015: COMPRESS target is used as work file path without LEAVING NO SPACE
  • NL016: Missing source header
  • NL017: Condition is always false
  • NL021: Literal value truncated at runtime
  • NL022: Prototype is defined more than once
  • NL023: Condition is always true
  • NL024: Test result is ignored
  • NL025: IGNORE is unnecessary
  • NL026: Unreachable code
  • NL032: Use of END/GET/BACKOUT TRANSACTION statements outside of Natural Program is strongly discouraged
  • NL033: Use of DEFINE/READ/WRITE/CLOSE WORK FILE statements outside of Natural Program is discouraged
  • NL036: Called function has no prototype definition
  • NL037: Prototype is defined but not used
  • NL041: Parameter Data Area data structure violations