KB5003615 - FIX: SQLCODE -313 error occurs when calling a statement twice

Applies To
Host Integration Server 2016

Symptoms

When calling a statement twice, the following SQLCODE -313 error occurs:

Note

THE NUMBER OF HOST VARIABLES SPECIFIED IS NOT EQUAL TO THE NUMBER OF PARAMETER MARKERS.

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

Resolution

This issue is fixed in the following cumulative update for Host Integration Server:

Cumulative Update 5 for Host Integration Server 2016

Cumulative Update 1 for Host Integration Server 2020

References

Learn about the terminology that Microsoft uses to describe software updates.