GSE3042N Could not read number-bytes bytes from locator at offset offset. Total length of data is length.

Explanation

An attempt was made to read number-bytes bytes from the locator, starting at the offset offset. This exceeds the total length of the data length that is referenced by the locator. The data might be truncated.

For binary representations of a geometry, the binary representation might indicate an invalid binary encoding. The encoded geometry has fewer points than the header indicates.

User response

Verify and correct the representation of the geometry. Make sure that the binary or textual representation does not get truncated before it is passed to the IBM® Spatial Support for Db2® for z/OS® function.

msgcode: -3042

sqlstate: 38SV1