pq11918.st HOST VARIABLES WITH NULL INDICATORS IN EMBEDDED SQL The database code seems to use the host variable (instead of its specified null indicator) as the null indicator. So the external buffer is loaded with the host variable in both places(in the host variable's position and its null indicator's position) and never gets the specified null indicator. File in pq11918.st to fix the problem.