473,395 Members | 1,969 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Data Conversion Error while loading DB2 table.

Hi,

We were in need of altering a DB2 table in which one of the column
has been changed from VARCHAR(256) to INTEGER. I have extracted the
table data into a tape before alters. After the alters was done, I am
reloading the data back into the table using IBM load utility. I
changed the load card from VARCHAR to INTEGER and loaded the table.
After loading, I could find that the data was not correct in the
table. The tape has a value of 3888537 where as the table has a value
of 521208. When I try INTEGER EXTERNAL in the load card, all rows were
getting discarded. Does any one have a solution for this?.

I am using DB2 version 6.1.

Thanks,
Balaji.
Nov 12 '05 #1
1 5420
What platform are you using, Windows? OS/390?

Rhino

"Balaji Neelakantan Pooruli" <pn******@yahoo.com> wrote in message
news:bd**************************@posting.google.c om...
Hi,

We were in need of altering a DB2 table in which one of the column
has been changed from VARCHAR(256) to INTEGER. I have extracted the
table data into a tape before alters. After the alters was done, I am
reloading the data back into the table using IBM load utility. I
changed the load card from VARCHAR to INTEGER and loaded the table.
After loading, I could find that the data was not correct in the
table. The tape has a value of 3888537 where as the table has a value
of 521208. When I try INTEGER EXTERNAL in the load card, all rows were
getting discarded. Does any one have a solution for this?.

I am using DB2 version 6.1.

Thanks,
Balaji.

Nov 12 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Ray in HK | last post by:
Will it be possible to specify the date format of type DATE during data loading ?
1
by: Amir | last post by:
Hi all, I have a table called PTRANS with few columns (see create script below). I have created a view on top that this table VwTransaction (See below) I can now run this query without a...
3
by: rdraider | last post by:
I'm doing a data conversion project, moving data from one SQL app to another. I'm using INSERT INTO with Select and have the syntax correct. But when executing the script I get: Server: Msg...
1
by: Richard | last post by:
I have been asked to copy a handfull of table spaces in to new identical table spaces so that they can be accessed with out running into the nightly batch update. I first did a FULLCOPY with...
4
by: Bill Stock | last post by:
The few times in the past that I've loaded unbound data, I've tended to cheat and use temp tables (not really unbound) or use code for small datasets. I'm currently involved in a project that...
1
by: Luis Esteban Valencia | last post by:
Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source...
3
by: Vivek Khera | last post by:
I have some historic data that I want to analyze. To do this I set up postgres on a spare box I picked up for cheap, which just lucked into having tons of RAM (1.5G). I set up postgres to use...
5
by: DBQueen | last post by:
I have a database where the user will have the opportunity to set up a number of Tests. I want the user to be able to enter the equation if a field for a particular test is to be a calculated...
0
by: quantumlady | last post by:
Hi, All. I am working on a project with another student that will be used on Oracle, MySWL and DB2 databases. We have completed all the basic functions, but I would like to see if we can improve...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.