Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

EQSL-C null indicators not zero or -1

5 views
Skip to first unread message

Mark

unread,
Sep 5, 2014, 5:37:02 AM9/5/14
to
We have some code written in C using Embedded SQL. We read data out
of two tables which should contain identical data. However one column
of one table returns a null indicator > 0. I believe this can happen
if the data is truncated, which is not the case here.

This only happens under AIX and not under Linux or Solaris, even
though the same source code is being used.

The SQL is like:

EXEC SQL SELECT thisdata FROM table
INTO :thisdata:null_ind
...

thisdata is char[120000] and null_ind is a short.

Any ideas?
--
(\__/) M.
(='.'=) If a man stands in a forest and no woman is around
(")_(") is he still wrong?

0 new messages