In this blog post, you’ll learn more about the Sybase Error Input parameter index out of range and the reason for receiving this error
Sybase SQL Error Message
Input parameter index out of range
Reason for this Error
The range for valid parameters is from 1 up to the number of host variables specified in the prepared/callable statement.