|
Chris, You can specify MSGID in/on your screen and have your application RPG/COBOL whatever move a specific number to the MSGID. This would populate the MESSAGE with the corresponding info. Doing this involves creating a message file and populating the file with (in your case multiple language) messages. You could prefix each message with an identifier e.g... GKMS001 or SPMS001 etc.. These two lines go in you DDS A MSGNBR 7A H A SCRMSGA 77A B 23 2MSGID(&MSGNBR QGPL/TLSMSGF) This is how you set the message in COBOL MOVE "TLI0002" TO MSGNBR IN LSSU801R3-O You can also use as many message files as you need. for instance you could create a Greek msgf a Spanish msgf etc, the just code multiple message lines like the SCRMSGA and point to the language you need. Note that in this example you will need to use indicators to select the lib/msgf for the language. Hope this helps! _____________________________________________________________________ Howard Weatherly hweatherly@dlis.dla.mil howard.weatherly@ctg.com hweath@ibm.net X4324 <<Multilingual Screens>>
- Subject: Multilingual Screens
- From: Chris.Chambers@xxxxxxxxxxx
- Date: Wed, 6 Jan 1999 12:30:04 -0500
I am constructing a system which needs the screens to be presented to each user in the langauage of their choice(eg English, German, French, Italian and Greek). I am initially exploring this using message files via the ERRMSGID and MSGCON keywords in the DDS. But it seems one has to designate the exact message file at compilation and so compile the DDS once for each language used which is a pain and means one has to retain multiple libraries of screens. Perhaps the COBOL programs could populate the texts on screen using a different msg file via OVRDBF at run time but what about the time overhead and the normal DDS ERRMSG processing would be lost. Anyone got any experience in this area? Any ideas or tips ideas gratefully appreciated. Kind Regards, Chris +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.