Previous Topic: IDCMGENX05 - A label name, NAME, is referenced in a $COUNT FUNCTION, but is not defined on a "LOOP" or "FOR EACH" statementNext Topic: IDCMGENX07 - Duplicate SQLCAs defined in the program


IDCMGENX06 - A label name LABEL, is referenced in a "PROCESS NEXT" statement, but is not defined on a "LOOP" or "FOR" statement

Reason:

The specified label applies to a non-iterative construct, which cannot be processed with the PROCESS NEXT statement, for example:

FOR NEW
PROCEDURE

Action:

If the construct LABEL, is not iterative, consider using QUITto terminate the construct.

If LABEL, was used in place of a different appropriate label (for an interactive construct), rewrite the statement with the appropriate label.

In the unlikely case that the construct LABEL, should be written originally as an iterative construct, rewrite the program.