VMS Help  —  COBOL  Compiler Messages, ODOSAMDD
  OCCURS DEPENDING ON data-name must be defined in the same DATA
  DIVISION as the OCCURS DEPENDING ON.

  Explanation:  The compiler ignores the error.

  User Action:  You must take the following actions:

    a. Redefine the OCCURS DEPENDING ON data-name in the same Data
       Division as the OCCURS DEPENDING ON.

    b. Recompile your program.
Close Help