The jomGetMessageText call, shown in the following example, is an architecture-independent call that returns a character string of the text of a system or error message from the jadmsgs file.
int jomGetMessageText(int num, Character *msgString, Size length)
The parameters for this call are described in the following subsections.