Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How DBCS data type store Chinese and Japanese

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: How DBCS data type store Chinese and Japanese
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    Post subject:
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

Senior Member


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

PostPosted: Wed Apr 13, 2011 10:38 am    Post subject:
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    Post subject: Reply to: How The chinese and Japanese is stored
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    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Replace values in the input data Vikas Maharnawar DFSORT/ICETOOL 10 Thu May 11, 2017 2:18 pm
No new posts Group Data based on a key Arun Raj DFSORT/ICETOOL 7 Thu Apr 27, 2017 11:29 pm
No new posts unload data from table with lob columns farhad_evan DB2 0 Sat Apr 22, 2017 1:32 pm
No new posts SORT JSON type of data maxsubrat DFSORT/ICETOOL 8 Wed Apr 19, 2017 6:01 pm
No new posts Data replication from multiple Db2 ta... kishpra DB2 9 Mon Mar 27, 2017 9:58 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us