10
%1!: Invalid call for this %2!.
The specified API has been called inappropriately for the specified type of command.
Review Chapter 3, “Routines,” for the appropriate use of the specified API. For example, if the error is about calling srv_langlen() during a cursor command, the documentation states that srv_langlen() can be used only to process language strings in cursor declare or update statements.
Symbolic constant: SRV_EBADCTXT