Message descriptions are one of the unsung heroes of IBM i application development, and this article shows you how to use RDPi to manage them with ease.
Written by Joe Pluta
The message description is unique to the IBM i. The concept is simple: a seven-character key provides a link to a fully featured message, which supports both a short version suitable for presentation on a user display and a long message with enough information to provide full diagnostic and help capabilities. Such a basic idea, yet message descriptions provide a wide range of capabilities. For example, messages are contained in a message file,m and internationalization is as simple as supplying a different message file for the locale. The i had i18n before i18n was cool!
If you were a program, could you answer this question?
Written by Junlei Li
In software programming, sometimes a program, a procedure, or a process or thread needs to answer the question: "Who am I?" For example, in an error-logging framework, after getting the answer to this question, the error-logging framework might write a log entry like the following: "Failed to allocate heap storage in SOMELIB/SOMEPGM, procedure FOO of module BAR. From job QZDASOINITQUSER 123456, thread 00000030." To answer the "Who am I?" question, programmers could hard-code names of programs or procedures everywhere log entries need to be written, but doing that is obviously error-prone and will make code hard to maintain. A utility that can answer this question on behalf of any program or procedure will significantly reduce the efforts in maintaining code that writes log entries.