MC Systems Insight
MC Power Technology Manager
MC RPG Developer
MC Power Developer
MC TNT Tips 'n Techniques
MC AIX Expert
MC Linux Expert
MC Mobile on Power
This Week @ the MC Press Bookstore

October 6, 2010 | Volume 9 Issue 19


TOP STORY: Practical RDPi: Managing Message Descriptions
FEATURED ARTICLE: Sometimes Programs and Procedures Want to Know: Who Am I?
NEWS HIGHLIGHT: CODA Financials Released on IBM i 7.1
FORUM: Mail Merge from System i to Word
MC STORE: Top 10 Best-Selling Titles for September 2010

Manage Subscription | Contact Us

Feature Article - Programming
Practical RDPi: Managing Message Descriptions

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.

joe_plutaWritten 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!


Feature Article - Programming
Sometimes Programs and Procedures Want to Know: Who Am I?

If you were a program, could you answer this question?

junlei_liWritten 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.


In the News

Support MC Press - Visit Our Sponsors

Forums Sponsor



Search Sponsor