473,463 Members | 1,552 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Avoid data conversion in DB2

Hi,

I am facing a problem whle importing the DEL files ( encoding: Unicode)
into a Unicode database.The DEL files have French Characters.I observed
that the French Character é has been converted to é.
To avoid this conversion, I used MODIFIED BY CODEPAGE=1208 in the
IMPORT statement.
This worked perfectly fine.But now I do not want to modify the IMPORT
statement. Is there any way by which I can achieve this? Is there any
command line option which I can use before I import the data. Also, I
do not want to modify any DEL file encdoing, format,etc.
Iam using DB2 8.2
Thanks in advance,

Vj

Sep 26 '06 #1
2 3030
Have you considered using a CODEPAGE parameter on the export? You will
need to set the codepage to the codepage of the system you are using for
the IMPORT command.

Phil Sherman

bv****@gmail.com wrote:
Hi,

I am facing a problem whle importing the DEL files ( encoding: Unicode)
into a Unicode database.The DEL files have French Characters.I observed
that the French Character é has been converted to é.
To avoid this conversion, I used MODIFIED BY CODEPAGE=1208 in the
IMPORT statement.
This worked perfectly fine.But now I do not want to modify the IMPORT
statement. Is there any way by which I can achieve this? Is there any
command line option which I can use before I import the data. Also, I
do not want to modify any DEL file encdoing, format,etc.
Iam using DB2 8.2
Thanks in advance,

Vj
Sep 28 '06 #2
Hi Phil,

Thanks for your reply.
What I did was, I set up the registry variable DB2CODEPAGE =1208 even
before I created the Unicode database using the db2set command.
This solved my problem.

Thanks once again,
Vijay
Phil Sherman wrote:
Have you considered using a CODEPAGE parameter on the export? You will
need to set the codepage to the codepage of the system you are using for
the IMPORT command.

Phil Sherman

bv****@gmail.com wrote:
Hi,

I am facing a problem whle importing the DEL files ( encoding: Unicode)
into a Unicode database.The DEL files have French Characters.I observed
that the French Character é has been converted to é.
To avoid this conversion, I used MODIFIED BY CODEPAGE=1208 in the
IMPORT statement.
This worked perfectly fine.But now I do not want to modify the IMPORT
statement. Is there any way by which I can achieve this? Is there any
command line option which I can use before I import the data. Also, I
do not want to modify any DEL file encdoing, format,etc.
Iam using DB2 8.2
Thanks in advance,

Vj
Sep 29 '06 #3

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

Similar topics

5
by: William Ryan | last post by:
In a nutshell, I need to get the name of the object that was just pressed (in this case, the object will be a radioButton). I want to write one handler for all four radio buttons and branch off...
1
by: Wolfram Heinz | last post by:
Hi there, How can I avoid type-conversion (object variable --> string) when passing an object variable to a function? Example: --> catch(myerrorobject) alert(myerrorobject.filename); {...
1
by: Vladimir Khvostov | last post by:
Hi, We have some DB2 table on the host that has varchar(3200) columns that are used to store binary data (I know that "varchar(3200) for bit data" should have been used, by modifying host table is...
8
by: Mark | last post by:
When my form goes to a new record, I have a procedure that copies the last record added to the form's underlying table into the form. The intent is that a series of new records may have the same...
32
by: KK | last post by:
Hello all, I have a unsigned char buffer 'buffer' and I need to convert the first 12 bytes of it into a string. Below is a code that should work, however, how can I avoid reinterpret_cast...
0
by: bpo_ccs | last post by:
We are into BPO and Software development business for past six and half years. We are looking for the following any kind of business from your end. Back Office Process Data Entry, Large Volume...
5
by: StephQ | last post by:
This is from a thread that I posted on another forum some days ago. I didn't get any response, so I'm proposing it in this ng in hope of better luck :) The standard explanation is that pointer...
0
by: dataentryoffshore | last post by:
Get a Discount up to 60% on data entry, data capture, dataentry services, large volume data processing and data conversion services through offshore facilities in India. Offshore data entry also...
36
by: CK | last post by:
How do I write a set based query? I have a groupSets table with fields setId, idField, datasource, nameField, prefix, active Data: 1,someIDfield, someTable, someField, pre1, 1 2,someotherIDfield,...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
1
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.