IBM Support

Error -1215 When FETCHING bigint attribute into long int

Troubleshooting


Problem

You receive a -1215 when Fetching a recently converted (from INT to) BIGINT into a 64 bit long host variable. A column, is defined as BIGINT with the host variable declared as long in 'C'. Since the 64 bit long host var is 8 bytes and the BIGINT storage is 8 bytes this fails.

[{"Product":{"code":"SSGU8G","label":"Informix Servers"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"--","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"10.0;11.5;11.7","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

More support for:
Informix Servers

Software version:
10.0, 11.5, 11.7

Operating system(s):
AIX, HP-UX, Linux, Solaris, Windows

Document number:
482183

Modified date:
16 June 2018

UID

swg21615410

Manage My Notification Subscriptions