can someone please clarify the below assignment of sqldabc...??
what is 44? what is 16?
i'm getting an error code 6 when I attempt to do
execute s1_write using descriptor :descName;
error code is...
6 -- The value specified for SQLDABC is not valid. The value is either not
large enough for the number of entries specified in SQLN or the value is
greater than the maximum allowed.
in debug at time of error my sqlda looks like...
EVAL sqlda
SQLDA.SQLDAID = ' '
SQLDA.SQLDABC = 960
SQLDA.SQLN = 16
SQLDA.SQLD = 16
calculate based on sqlda.sqldabc = sqlda.sqln * 59 + 16;
59 because that is my record length... somewhere in documentation i read I thought that is what it was referring to... regardless, the 44 doesn't work and my tutorial shows 80 and and that didn't work either.
sqldabc SQLDABC |
INTEGER | Length of the SQLDA, equal to SQLNx * 44+16. | Length of the SQLDA, greater than or equal to SQLNx* 44+16. |
i'm getting an error code 6 when I attempt to do
execute s1_write using descriptor :descName;
error code is...
6 -- The value specified for SQLDABC is not valid. The value is either not
large enough for the number of entries specified in SQLN or the value is
greater than the maximum allowed.
in debug at time of error my sqlda looks like...
EVAL sqlda
SQLDA.SQLDAID = ' '
SQLDA.SQLDABC = 960
SQLDA.SQLN = 16
SQLDA.SQLD = 16
calculate based on sqlda.sqldabc = sqlda.sqln * 59 + 16;
59 because that is my record length... somewhere in documentation i read I thought that is what it was referring to... regardless, the 44 doesn't work and my tutorial shows 80 and and that didn't work either.
Comment