Invalid procedure subtype '%1' for type '%2'

Item Value
SQLCODE -987
Constant SQLE_INVALID_PROCEDURE_SUBTYPE
SQLSTATE WW056
Sybase error code 13502
ODBC 2 State ERROR
ODBC 3 State ERROR
Parameter 1 The procedure subtype
Parameter 2 The procedure type

Probable cause 

A procedure or function was specified with an invalid subtype for the given procedure type.