If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > I am working with Magic

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-27-03, 12:21
MYEHIA MYEHIA is offline
Registered User
 
Join Date: Sep 2003
Posts: 3
Angry I am working with Magic

We are connecting to DB2 for OS/390. When we issue SELECT statment from Our Java Application no data is retrived. The SELECT statment include WHERE that contain arabic search critirea. We test the same SQL statment in Command Center and it worked ok. The code page for the mainframe is 420 while our PCs is 1256... I don't know what going on that make the select stamtent retrive nothing from java. ANY BODY COULD HELP ME WITH THIS ONE.....................................
Reply With Quote
  #2 (permalink)  
Old 10-01-03, 08:38
bdschlue bdschlue is offline
Registered User
 
Join Date: Oct 2003
Location: Nebraska
Posts: 1
I am working with Magic

What version and platform are you runing your Java application?
Are you using the JDBC version 2 drivers?
We had a simular problem with Java not returning anything using the orginal drivers from version 7.2, version 8 comes with the version 2 drivers.
Reply With Quote
  #3 (permalink)  
Old 10-01-03, 11:50
MYEHIA MYEHIA is offline
Registered User
 
Join Date: Sep 2003
Posts: 3
Re: I am working with Magic

Quote:
Originally posted by bdschlue
What version and platform are you runing your Java application?
Are you using the JDBC version 2 drivers?
We had a simular problem with Java not returning anything using the orginal drivers from version 7.2, version 8 comes with the version 2 drivers.
We are using the JDBC 2 with version 7.2. But the data in the database is in arabic format. So when every we try to select any records there is no records retrived.
Reply With Quote
  #4 (permalink)  
Old 01-19-04, 13:01
shreevats shreevats is offline
Registered User
 
Join Date: Jan 2004
Posts: 1
Inserting Arabic data into DB2

Hi All,

Has anybody got a solution to insert Arabic data into DB2 Version 7.2[Fixpak 7] on Windows through a Java program.

Please let me know. I am using JDBC Version 2 driver.

Thanks
Sri
Reply With Quote
  #5 (permalink)  
Old 01-21-04, 00:58
MYEHIA MYEHIA is offline
Registered User
 
Join Date: Sep 2003
Posts: 3
Re: Inserting Arabic data into DB2

Quote:
Originally posted by shreevats
Hi All,

Has anybody got a solution to insert Arabic data into DB2 Version 7.2[Fixpak 7] on Windows through a Java program.

Please let me know. I am using JDBC Version 2 driver.

Thanks
Sri
I think you should convert Arabic character to Unicode format (\uXXXX format) before post it to database. We had tried this for CICS and it works fine.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On