The '%1' attribute is not valid with procedure type '%2'

Error constant SQLE_INVALID_ATTRIBUTE_WITH_TYPE
ODBC 2 state ERROR
ODBC 3 state ERROR
Parameter 1 The attribute on the procedure.
Parameter 2 The procedure type.
Severity 16
SQLCODE -1034
SQLSTATE WW064
Sybase error code 13477
 Probable cause