To go further on this, you have separate message file for each language. Then, based on the language ID of the system, you either OVRMSGF or change the library list. This is what IBM does. They put message files and other language-specific things into a library like QSYS2978 or whatever. You could even put yours into the system portion of the library list, as IBM does.

HTH
Vern

At 11:17 PM 3/5/2004 +1100, you wrote:

On Friday, March 5, 2004, at 09:43 PM, L. Maartens wrote:

For display files this means that I want to put all screen constants with
text in them into a data base file, which can then be loaded using the
*Inzsr routine in the RPG programs.

Use the MSGCON or MSGID DDS keyword and let the system do the work for you.


Printouts are defined using RPG O specs. I am looking into using the same
concept I as I want to use for the display files.

Convert to DDS and use MSGCON. Other benefits will ensue too. There are third-party tools to do conversion. See http://archive.midrange.com/midrange-l/199904/msg00427.html


The process is quite a handfull to do manually, so I am looking for an
automated way to do this. The most cumbersome thing for me to do is to
extract all literals. This means I need to read all source files with DDS
specs, and then determine which lines contain a literal, and also take care
of the continuation lines.

Does anyone care to share such a utility, if it does exist at all?

There are some third-party tools to do this. See http://www.navan.co.uk/


Regards,
Simon Coulter.
--------------------------------------------------------------------
   FlyByNight Software         AS/400 Technical Specialists

   http://www.flybynight.com.au/
   Phone: +61 3 9419 0175   Mobile: +61 0411 091 400        /"\
   Fax:   +61 3 9419 0175                                   \ /
                                                             X
                 ASCII Ribbon campaign against HTML E-Mail  / \
--------------------------------------------------------------------


_______________________________________________ This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/midrange-l or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 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.