IBM Support

"Assignment of NULL value to a not NULL Column" error when trying to load blank data into XSTAGEFACT table

Troubleshooting


Problem

Customer wants to use the 'import from staging tables' functionality. As part of this, they want to load data into the 'staging area' (table XTAGEFACT). They run a script to put data in there, but an error appears.

Symptom


Assignment of a NULL value to a NOT NULL column "TBSPACEID=2, TABLEID=562, COLNO=17" is not allowed.. SQLCODE=-407, SQLSTATE=23502, DRIVER=4.19.5

[{"Product":{"code":"SS9S6B","label":"IBM Cognos Controller"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Controller","Platform":[{"code":"PF033","label":"Windows"}],"Version":"10.3.1","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}},{"Product":{"code":"SSMRTZ","label":"IBM Cognos Controller on Cloud"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}}]

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:
IBM Cognos Controller

Software version:
10.3.1

Operating system(s):
Windows

Document number:
712411

Modified date:
09 May 2025

UID

swg22017508

Manage My Notification Subscriptions