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

This attribute is not applicable to the given procedure type.