Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Displaying Chineese character in CICS

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: Displaying Chineese character in CICS
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    Post subject:
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    Post subject: Reply to: Displaying Chineese character in CICS
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    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Identifying Interfaces in CICS/mainframe Ashishpanpaliya CICS 5 Fri Oct 13, 2017 3:21 pm
No new posts Accessing CICS tran with map from JCL... navdeepaggarwal CICS 5 Tue Oct 03, 2017 6:15 pm
No new posts Partial color change of a field in CI... waseem0424 CICS 5 Fri Sep 29, 2017 7:56 pm
No new posts FUSE - IBM MQ - CICS integration error Kevin Vaz CICS 1 Mon Sep 18, 2017 4:31 pm
No new posts Julian Date to CICS ABSTTIME blayek CICS 3 Wed Aug 30, 2017 11:15 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us