IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How DBCS data type store Chinese and Japanese


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
pradeepkit
Warnings : 1

New User


Joined: 25 Jun 2008
Posts: 60
Location: chennai

PostPosted: Tue Apr 12, 2011 6:48 pm
Reply with quote

Hi,

My requirement is to send one file into chinese description. How this will be handled in COBOL. As per my knowledge it is done thru DBCS data type. Can you please explain about what is the DBCS and how it is stored.

Thanks
Pradeep
Back to top
View user's profile Send private message
rakesh1155

New User


Joined: 21 Jan 2009
Posts: 84
Location: India

PostPosted: Wed Apr 13, 2011 10:21 am
Reply with quote

Hi Pradeep,

You need to tell us where is the data coming from and where is it going to ?

The subject line says "How The chinese and Japanese is stored"
Where do you want to store the data ? In datasets or database
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Wed Apr 13, 2011 10:38 am
Reply with quote

Quote:
How The chinese and Japanese is stored
The way English Alphabets are stored! Or you did not mean Alphabets? icon_smile.gif
Back to top
View user's profile Send private message
pawasthi

New User


Joined: 08 Mar 2010
Posts: 15
Location: India

PostPosted: Thu Apr 14, 2011 10:25 am
Reply with quote

As chinese and Japanese characters are carrying double bytes so we use DBCS for that, which means at both the end we use control cards known as shift in(HEX '0E') at starting point and shift out(HEX '0F') at ending point,which makes the string understandable by IBM environment.
Anyone please correct me if i am wrong...
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Store the data for fixed length COBOL Programming 1
No new posts Data set Rec-Cnt and Byte-Cnt Testing & Performance 2
No new posts SCOPE PENDING option -check data DB2 2
No new posts Check data with Exception Table DB2 0
No new posts JCL EXEC PARM data in C Java & MQSeries 2
Search our Forums:

Back to Top