SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 20531: SCD Type 2 Loader does not maintain NOT NULL attribute for temporary DBMS tables to match the columns of the table

DetailsHotfixAboutRate It

When you use the SCD Type 2 Loader to load a target table defined in a DBMS, SAS® Data Integration Studio 3.4 generates the following error if the target table contains columns defined as NOT NULL:

ERROR: CLI execute error: [IBM][CLI Driver][DB2/AIX64] SQL0407N Assignment of a NULL value to a NOT NULL column "TBSPACEID=2, TABLEID=5, COLNO=25" is not allowed. SQLSTATE=23502

The error occurs because the DBNULL= option is not being specified in the generated code which builds the temporary DBMS tables to match the columns in the target table which have been defined as "Is Nullable=NO".

Select the Hot Fix tab in this note to access the hot fix for this issue.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Data Integration StudioMicrosoft Windows Server 2003 Enterprise Edition3.44.29.1 TS1M3 SP49.2 TS1M0
Microsoft Windows 2000 Advanced Server3.44.29.1 TS1M3 SP49.2 TS1M0
Microsoft Windows 2000 Datacenter Server3.44.29.1 TS1M3 SP49.2 TS1M0
Microsoft Windows 2000 Server3.44.29.1 TS1M3 SP49.2 TS1M0
Microsoft Windows 2000 Professional3.44.29.1 TS1M3 SP49.2 TS1M0
Microsoft Windows Server 2003 Datacenter Edition3.44.29.1 TS1M3 SP49.2 TS1M0
Microsoft Windows XP Professional3.44.29.1 TS1M3 SP49.2 TS1M0
Microsoft Windows Server 2003 Standard Edition3.44.29.1 TS1M3 SP49.2 TS1M0
Microsoft® Windows® for x643.44.29.1 TS1M3 SP49.2 TS1M0
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.