Illegal reference to correlation name '%1'

Error constant SQLE_INVALID_CORRELATION_NAME_REFERENCE
ODBC 2 State S0002
ODBC 3 State 42S02
Parameter 1 The correlation name that is incorrectly referenced.
Severity 15
SQLCODE –824
SQLSTATE 42U01
Sybase error code 13830
Probable cause

Your query contains a reference in a table expression to a correlation name that is not contained in that table expression.