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
 
COBOL - Generate Mainframe report in German/Chinese Language

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
Itanium

Active User


Joined: 22 Jan 2006
Posts: 114
Location: India

PostPosted: Tue Jan 04, 2011 1:59 am    Post subject: COBOL - Generate Mainframe report in German/Chinese Language
Reply with quote

Hi,

We have a requirement to generate few mainframe reports in German (Deutsch)/Chinese.

Currently these reports are generated in English, as part of a new client initiative we would need these reports to be generated in German/Chinese as well.

Is there any feature in COBOL that helps us to convert these reports to another language (in my case its German (Deutsch)/Chinese) ?

Any kind of direction would help us to proceed further.
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10326
Location: italy

PostPosted: Tue Jan 04, 2011 2:39 am    Post subject: Reply to: COBOL - Generate Mainframe report in German/Chines
Reply with quote

NO!

You have to devise Your own translation procedure!
dictionary and friends!
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Tue Jan 04, 2011 3:06 am    Post subject:
Reply with quote

Hello,

What i have seen done a few times it to create (in your case) 3 reports - one for each language. Each report contained all of the "Common Text". Variable values (quantity/amount/dates/etc) were inserted at run time.

One challange may be that the length of text may be longer or shorter between languages. . .

The language translation was not done dynamically.
Back to top
View user's profile Send private message
Itanium

Active User


Joined: 22 Jan 2006
Posts: 114
Location: India

PostPosted: Tue Jan 04, 2011 3:17 am    Post subject:
Reply with quote

Hi Dick,
Thanks for your inputs.

How was the German equivalent of "quantity" found in COBOL and replaced ? Was all hardcoded or you had a reference file maintained ?
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Tue Jan 04, 2011 3:22 am    Post subject:
Reply with quote

Hello,

Everything that was "text" was hard-coded - once (a separate report) for each language.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10326
Location: italy

PostPosted: Tue Jan 04, 2011 3:53 am    Post subject: Reply to: COBOL - Generate Mainframe report in German/Chines
Reply with quote

a process for I18N is not something that can be devised on the spot by asking on a forum!

word/sentences dictionaries must be build,
an appropriate parametrization and coding for language stubs retrieval has to be devised

as a clumsy initial approach You might want to write one subroutine for each language
to fill the descriptive part of each report... but as I said, clumsy initial

if You had <for example> an bill of materials application
the parts descriptions in each supported language would be part of the BOM database
Back to top
View user's profile Send private message
Kjeld

Active User


Joined: 15 Dec 2009
Posts: 365
Location: Denmark

PostPosted: Tue Jan 04, 2011 4:02 pm    Post subject:
Reply with quote

I will suggest looking into the possibilities of page print formatting (APF). If all variable information is not to be translated, you only have to change page definitions and/or overlays to change report language.
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 Identifying Interfaces in CICS/mainframe Ashishpanpaliya CICS 5 Fri Oct 13, 2017 3:21 pm
No new posts IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts Mainframe scheduling tool ddhar Compuware & Other Tools 2 Wed Sep 27, 2017 12:48 am
No new posts Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am
No new posts Generate public-private key in batch ... vasanthz All Other Mainframe Topics 3 Fri Sep 15, 2017 9:20 am

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