Label '%1' not found

Item Value
SQLCODE -262
Constant SQLE_LABEL_NOT_FOUND
SQLSTATE 42W24
Sybase error code 133
ODBC 2 State 37000
ODBC 3 State 42000
Parameter 1 Name of the label that could not be found.

Probable cause 

You reference a label in a LEAVE statement, but the label could not be found.