Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Kanji charecters in Cobol

Status
Not open for further replies.

gopalrathi

Programmer
Oct 21, 2003
5
US
Hi,

Need some help on handling of Kanji charecters (for Japan System). We will receive a file with address details for the customer in Kanji. The address needs to be updated into a unicode DB2 table.

How should this be handled in Cobol?? Does Kanji always contain double byte charecters?

Gopal.
 
Perhaps you can look it up in the manuals about DBCS (Double byte character strings) characters with for example picture G or N.
 
If you are using a current IBM mainframe compiler, then make certain that you understand the differences between
DBCS
and
Unicode

Checkout the
- NSYMBOL compiler option
- The NATIONAL-OF and DISPLAY-OF intrinsic functions
- What "CCSID" means on an IBM mainframe system

All of these are discussed in the current Enterprise COBOL documentation


Bill Klein
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top