By submitting your personal information, you agree that TechTarget and its partners may contact you regarding relevant content, products and special offers.
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.
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.