IBM DB2 Error Code -2001 – the number of host variable parameters f

In this post, you’ll learn about the IBM DB2 Error -2001 and the reason why you are receiving it

IBM DB2 Error Code :

-2001

Reason for this Error in DB2

THE NUMBER OF HOST VARIABLE PARAMETERS FOR A STORED PROCEDURE IS NOT EQUAL TO THE NUMBER OF EXPECTED HOST VARIABLE PARAMETERS. ACTUAL NUMBER sqldanum, EXPECTED NUMBER opnum