Correlation name '%1' not found

Item Value
SQLCODE -142
Constant SQLE_CORRELATION_NAME_NOT_FOUND
SQLSTATE 52W02
Sybase error code 208
ODBC 2 State S0002
ODBC 3 State 42S02
Parameter 1 Name of the invalid correlation name.

Probable cause 

You misspelled a correlation name, or you used a table name instead of the correlation name.