Funny, just saw one of these last week. Coming from an odwek server interface. Just a hickup. Assuming something was out of sync on the odwek server. Same Reason 07 too.
ARS0013E E476530 DB Error: {DB2 FOR OS/390}{ODBC DRIVER}{DSN12015}
DSNT408I SQLCODE = -804, ERROR: AN ERROR WAS FOUND IN THE APPLICATION
PROGRAM INPUT PARAMETERS FOR THE SQL STATEMENT, REASON 07
DSNT418I SQLSTATE = 07002 SQLSTATE RETURN CODE
DSNT415I SQLERRP = DSNXECP SQL PROCEDURE
DETECTING ERROR DSNT416I SQLERRD = -202 0 0
1 109840 0 SQL DIAGNOSTIC INFORMATION DSNT416I SQLERRD = X'
FFFFFF36' X'00000000' X'00000000' X'FFFFFFFF' X'
0001AD10' X'00000000' SQL DIAGNOSTIC INFORMATION
ERRLOC=5:10:2 -- SQLSTATE=07002, SQLCODE=-804, File=arsdoc.c, Line=3442
DSNT408I SQLCODE = -804, ERROR: AN ERROR WAS FOUND IN THE APPLICATION
-------------------------------------------- V=IBM P=DB2 ERROR CODES R=V12 I=-804 D=M --
********************* Text Below Copyright (c) 2024, IBM *********************
-804
-804 AN ERROR WAS FOUND IN THE APPLICATION PROGRAM INPUT PARAMETERS FOR THE
SQL STATEMENT, REASON reason
Explanation
The call parameter list or the SQLDA is invalid.
o The call parameter list, which is created by the precompiler, might be
invalid if the application programmer has modified the output of the
precompiler, used a variable name beginning with 'SQL' in the
application program, or overwritten the call parameter list in some
other way.
o The SQLDA, which is created by the application program, has an invalid
data type or data length.
o The value of SQLDABC is not consistent with the value of SQLD.
The following is the list of reason codes:
01
Open issued for non-cursor.
02
07
SQLDA length is invalid.