137     SUBSCRIPT OUT OF RANGE

Cause:             During function execution, an entry was referenced in the table array that does not exist.  For example, the variable has a maximum of twelve entries, but the function is referencing the eighteenth entry.

                          If the reference is in the logic execution section of PROIV, the logic-ID part of the message appears.  Otherwise, the reference can be any place a variable name can be used (i.e., screen and report fields, report heading, etc.).

Action:            The system immediately terminates additional processing for this function, closes all opened files and stops at the command line prompt (?).  Modify the function so that references to the table are within the table range.

Comment on this topic

Topic ID: 710137