×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
One caveat about Message Files and Printer Files . . . and Soft-Coding of messages extracted from a message file
MSGCON - - where it is compiled into the screen at compile time (old way) and
" If you change the message description, you will have to create the file again if you want the display file to contain the updated message."
3 2MSGCON(079 APL1140 *LIBL/PLMSGC)
MSGID - - where it is dynamically extracted at runtime
CCS0037037 37A O 11 2MSGID(CCS 0037 PLMSGC)
and even the &MSGF can be a variable . . . nice !
- - Our vendor software (Infor Infinium) internationalized the codebase using message files when they introduced Open fields in the DDS.
But it turns out the Printer Files do not do message files nicely like screens, so there is a subproc in the RPG code in every report pgm to retrieve the message's 1st-level-descriptor)
CCS00441 =getmsg1st('CCS0044':'*LIBL/PLMSGC':message_repl);
Summary
MSGCON (loads at compile) works for DSPF and PRTF
MSGID (load dynamically at runtime) only works for DSPF
J Voris
-======================================-
message: 2. . .
. . . Column titles (1 row, 2 row) (mostly reports but surely some DSPF's too) are a particular issue.
As an Amazon Associate we earn from qualifying purchases.