Solved

Lotue LEI Direct Transfer error message, SQL0407N

Posted on 2003-12-09
2
462 Views
Last Modified: 2013-12-18
Hi, I'm getting this error message, SQL0407N  Assignment of a NULL value to a NOT NULL column "*N" is not allowed.  SQLSTATE=23502,  Connector 'DataWarehouse',  Method -Insert-  (-407)

when i'm trying to send 9 fields from a Notes database to a AS400 DB2 database.   All the fields are Text on the Notes side and all are Alpha on the DB2 side.

Help!!!!

I searched Google and found this explanation, it looks like it comes down to data types incompatible but how can that be if I'm moving Text to Alphas?  



sqlcode: -407

sqlstate: 23502

SQL0408N A value is not compatible with the data type of its assignment target. Target name is "<name>".  


Explanation: The data type of the value to be assigned to the column, parameter, SQL variable, or transition variable by the SQL statement is incompatible with the declared data type of the assignment target. Both must be:

Numeric
Character
Graphic
Dates or character
Times or character
Timestamps or character
Datalinks
The same distinct types
Reference types where the target type of the value is a subtype of the target type of the column.
The same user-defined structured types. Or, the static type of the value must be a subtype of the static type (declared type) of the target.
The statement cannot be processed.

User Response: Examine the statement and possibly the target table or view to determine the target data type. Ensure the variable, expression, or literal value assigned has the proper data type for the assignment target.

0
Comment
Question by:stanstan30
2 Comments
 
LVL 24

Accepted Solution

by:
HemanthaKumar earned 500 total points
ID: 9905474
Change the column to accept nulls on DB2 side..

Or you can host domino on AS\400 which will overcome this problem

~Hemanth
0
 

Author Comment

by:stanstan30
ID: 9906422
Hemanth, thanks for the update.

We currently do have Domino running on a AS400 box.

Accepting Nulls on DB2 side worked.

0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Creating a bat file fo Note.ini 4 183
Missing Rules 1 281
IBM Domino web server 5 61
NT Kernel & System Process CPU Usage Maxin out 8 43
You’ve got a lotus Domino web server, and you have been told that “leverage browser caching” is a must do. This means that we have to tell the browser everywhere in the web to use cache. In other words, we set (and send) an expiration date in the HT…
Lack of Storage capacity is a common problem that exists in every field of life. Here we are taking the case of Lotus Notes Emails, as we all know that we are totally depend on e-communication i.e. Emails. This article is fully dedicated to resolvin…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now