-778   ENDING LABEL label-name DOES NOT MATCH THE BEGINNING LABEL

Explanation

The label that is specified at the end of a compound, WHILE, REPEAT, or LOOP statement in an SQL routine is not the same as the label at the beginning of the statement. The end label cannot be specified if the begin label is not specified.

label-name
The name given for the ending label.

System action

The statement cannot be processed.

User response

Ensure that the end label is the same as the begin label for the compound, WHILE, REPEAT, or LOOP statement.

SQLSTATE

428D5