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

Error constant SQLE_INVALID_PROCEDURE_SUBTYPE
ODBC 2 State ERROR
ODBC 3 State ERROR
Parameter 1 The procedure subtype.
Parameter 2 The procedure type.
Severity 16
SQLCODE –987
SQLSTATE WW056
Sybase error code 13502
Probable cause

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