Hello All,
We have a zlinux application whose DB2 version is upgraded from V8fp16 to V95 fp3a on the Test environment.
Since the time we have upgraded this we are having some or the other issue
with testing the application properly.
Currently we are having an issue with fetching data from an upstream application, an insert to a table is unsuccessful due to below error, a field is unable to handle this large data. The problem is , the data is not Bad and is being handled in PROD environment correctly.
This has happened since the version is upgraded and hence not allowing such Values.
Please help as to what should be a probable solution to handle such values, does any configuration or system settings need to be changed... ??
An early response is expected..Thank you !!
Please find the Error Below.
The command was processed as an SQL statement because it was not a
valid Command Line Processor command. During SQL processing it returned:
SQL0433N Value "L£" is too long. SQLSTATE=22001
SQL0433N Value "L£" is too long.
Explanation:
The value "<value>" required truncation by a system (built-in) cast or
adjustment function, which was called to transform the value in some
way. The truncation is not allowed where this value is used.
The value being transformed is one of the following:
* an argument to a user defined function (UDF)
* an input to the SET clause of an UPDATE statement
* a value being INSERTed into a table
* an input to a cast or adjustment function in some other context
* a recursively referenced column whose data type and length is
determined by the initialization part of recursion and may grow in
the iterative part of the recursion
* an XML data value being serialized to the output by XMLSERIALIZE
function.
The statement cannot be processed.
Quote:
|
Originally Posted by grofaty
Hi,
I have migrated database v8.2 fixpack 11 to v9.5 fixpack 2 last week and there is no problem. The only think is you should execute off-line backup (on-line backup is not supported). Restore is the same.
If you would like to insert data from one database and make a select to another, you have to use federation. Try seaching Google for DB2 Federation. We have used this approach for more then 5 years connecting together DB2/Linux zServer with DB2/VSE zServer. There was some performance problems with this too combination, but it was working without any other big problems. We are very happy now, last year we have migrated all data from DB2/VSE to DB2/zLinux and performance boomed.
Regards
|