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

Displaying Chineese character in CICS


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
JayarajM

New User


Joined: 18 Oct 2007
Posts: 1
Location: India

PostPosted: Thu Oct 18, 2007 3:04 pm
Reply with quote

We will be receiving files that has Chinese characters in BIG-5 character set (DBCS) in which some hexadecimal values are recognized as being the first byte of a two-byte sequence that collectively identifies a particular character. We should get the file, decipher the data and display it in CICS screen. This is where we are facing the challenge. icon_neutral.gif

Ö As a First step, I am looking for the details of emulator that can support Chinese characters. Only after we get the emulator details/set up required for displaying Chinese data, we can proceed to the next step, viz., processing the data and display it in CICS screen. icon_cool.gif

Ö Next step is to process the data to display it. Once we get the required emulator set up in a machine, we hope that the below approach will work out. Please correct if we are wrong.

icon_idea.gif For batch processing we are planning to proceed in this way. The file that we receive will be in BIG-5 character set (DBCS). We need to pull that file using FTP/XCOM in the ASCII format. Convert the DBCS (ASCII) data to DBCS (EBCDIC) data. Usually this is done through some converter routine. At this point we don’t have much information regarding the processing of this converter routine. Mostly it may a third party program where only the load module alone would be sufficient. In the conversion from ASCII to EBCDIC, the length of the converted data might differ from the original length because of the insertion and deletion of shift-out (SO) characters and shift-in (SI) characters and the DBCS code scheme difference. An SO character is a code extension character that substitutes, for the graphic characters of the standard character set, an alternative set of graphic characters upon which an agreement exists or that has been designated by use of code-extension procedures. An SI character is a code extension character that is used to terminate a sequence that has been introduced by the SO character to make effective the graphic characters of the standard character set.

icon_idea.gif For Online processing, we need to enable SOSI parameter for the DBCS field in the screen. No changes are required to the online program. This MAP definition is sufficient to convert the DBCS character to EBCDIC internally.

If we can get the set up details for the emulator, we can try out the above method to display the Chinese data.

Any information you can provide in this regard will be highly appreciated.
Back to top
View user's profile Send private message
Earl

Active User


Joined: 17 Jun 2007
Posts: 148
Location: oklahoma

PostPosted: Thu Oct 18, 2007 8:06 pm
Reply with quote

I'm not the brightest bulb on the planet, but are you saying,

your project
is to receive Chinese data file, translate it to EBCIDIC, and then your online CICS transaction can display the data in English?
Back to top
View user's profile Send private message
Johnson_Jiang

New User


Joined: 05 Apr 2007
Posts: 11
Location: China,ShenZhen

PostPosted: Thu Oct 18, 2007 8:30 pm
Reply with quote

Hi, all,

I know how to solve this problem because i'm now using Bancs system and got the same problem with you. But the solution is a very long story.
For batch program, as you said, you can transfer the DBCS to EBCDIC first and then use FTP, but the EBCDIC on PC is different from HOST, there is little change on the format. So you need a very short COBOL program to do the conversion. I have done this successfully. (Our host doesn't support APVUFILE to transfer BIG5 characters, only supports INDFILE, so we work out this solution); For online transactions, if you want to display/process DBCS, first you should chang your CICS initialization procedure/parm to support DBCS, and then you need use DISPLAY-OF or NATIONAL-OF function to display/process DBCS. For details, you can contact me on MSN. Or post a reply(but maybe i can't reply to you in time).....
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 -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts Calling an Open C library function in... CICS 1
No new posts How to 'Ping' a CICS region in JCL CICS 2
No new posts IBM OnDemand Folders displaying to al... IBM Tools 6
No new posts Parallelization in CICS to reduce res... CICS 4
Search our Forums:

Back to Top