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 Passing data from REXX to C programme... chong.zhou CLIST & REXX 0 Wed Jul 26, 2017 9:11 pm
No new posts Passing data from REXX to C programme... chong.zhou All Other Mainframe Topics 0 Wed Jul 26, 2017 4:55 pm
No new posts copying data without knowing location arunsoods DFSORT/ICETOOL 6 Thu Jul 20, 2017 1:03 pm
This topic is locked: you cannot edit posts or make replies. Fetching data from BAI File arunsoods JCL & VSAM 1 Wed Jul 19, 2017 4:28 pm
No new posts Loading data to table gives wrong for... Raghu navaikulam DB2 19 Thu Jul 13, 2017 2:11 pm


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