Problem solve Get help with specific problems with your technologies, process and projects.

Building a DSPF and PRTF with multi-language

I want to build a DSPF and PRTF with multi-language. For a DSPF, this is not a problem because I use a MSGID referenced to MSGF (MSGF in French, English and Spanish in a different library in my library-list). But for a PRTF, I can't use MSGID.

Unfortunately, MSGID can not be used with PRTF. There are other solutions. One would be to have several PRTF in "language libraries". Quite cumbersome and unwieldy. A better solution by far would be to have a single printer file where titles and labels would be named fields. You would then have a physical file in which you would have the same field names. You could then create one record per language and read the appropriate record in your program initialization. This would automatically load the titles and labels in your printer file.

This was last published in May 2001

Dig Deeper on RPG iSeries programming

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.