Parameter not registered as output parameter

Error constant SQLE_PARAM_NOT_REGISTERED
ODBC 2 State ERROR
ODBC 3 State ERROR
Severity 16
SQLCODE –671
SQLSTATE WJ002
Sybase error code 13712
Probable cause

The parameter must be registered as an output parameter before the value of the parameter can be obtained.