• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2084
  • Last Modified:

Arabic Data From as400 To PC

Hi

We have a iseries server with OS400 V5R2 and arabic as a secondry language,now arabic is working fine and data is stored and retrived  in correct format if we use as400 programs but if we use pc program like vb or others to acess this as400 data through client access odbc connection we are getting garbage ,is there any solution for this.

Thanks
0
Mohd_Farooqui
Asked:
Mohd_Farooqui
  • 4
  • 3
  • 2
  • +1
1 Solution
 
shalomcCTOCommented:
Hey,
That's a similar problem to systems supporting hebrew, and that's a language I'm familiar with.
What is the system CCSID?
What is the user's CCSID?
What is the database file's CCSID?

ShalomC
0
 
Mohd_FarooquiAuthor Commented:
Thanks Shalomc for your reply

The CCSID for the system is 65535
In QCHRID the code page is 420 which is arabic
The CCSID for user is 420(arabic)
Database file CCSID is default .

 
0
 
AFouadCommented:
Hi Mohd.

Before using ODBC with any other external Developing tool like VB specially with Arabic you have to verify that ODBC do not Translate the data...

1- Open the ODBC drive you have created
2- Select "Translate" Tab
3- Check "Do not translate CCSID 65535" radio box

AFouad
0
Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

 
AFouadCommented:
Hi Mohd.

Sorry I missed up ... I meant the opposite

Check "Translate CCSID 65535" radio box

Sorry

AFouad
0
 
Mohd_FarooquiAuthor Commented:
Thanks Fouad,

But This option is already Checked ,but the problem is same.
0
 
AFouadCommented:
Ok Mohd.

- Old version of CA400 requires a fix of two files called BIDION.ini and BIDIOFF.ini to enable BI Directional retreival of data ... anyway if you can transfer correct data from AS400 using ordinary CA transfer you should not care about this anymore

- All projects that I have implemented with ISeries and VB were more easy than you described so let me check about our settings on the ISeries (cause we use Arabic also) and I will get back to you shortly.

- At the mean time have a look at
             http://www2.asna.com/datagateinfo.asp
  It's a usefull tool but only trial
0
 
AFouadCommented:
Hi Mohd.

- QCCSID     = 65535
- QCHRID     = 337 & Code Page = 37
- QCCSID for user = 65535
- QCCSID for file   = 65535

Try this (if Possible)

Regards
AFouad
0
 
shalomcCTOCommented:
Fouad,
When we couldn't get hebrew via ODBC, it turned out that the file code page was 65535.
When the file code page was changed to 424, the conversion took place.

I suggest that you change the file CCSID to 420 and retry the operation.
Then, there is the matter of right-to-left text direction....
With JDBC there should be no problem, with ODBC we have to see what happens.

ShalomC

0
 
Mohd_FarooquiAuthor Commented:
Thanks very much guys,

I am not in the office these days ,i will try all these settings and
let you know once i will be back in the office.

Thanks again
0
 
hashmatjamalCommented:
Hello,

we r using iseries 810 with V5R2 , having problem in arabic printing on Lasers and Deskjet printers,
its printing only on printers having arabic fonts .

as one thing we upgrade to V5R2 from 4R4 and in 4R4 it was working fine

so can anyone help us in this issue

second thing

HTTP server
=======

HTTP server cant start if CCID page code 420 in use , we hav to change it thn it starts the HTTP server so anyone any idea how to fix it


Thanks

Hashmat Jamal
*** email address removed by Netminder, Site Admin ***
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

  • 4
  • 3
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now