|
Lim Hock-Chai wrote: > > Please help. > > Question 1: > 1) As I understand it, OPM RPG program ignores error messages that are under > a certain severity level. Anybody know what the severity level is? > > Question 2: > 2) If I want to compile a OPM RPG program to a ILE RPG program and run the > program in a name activation group, is it save to just add the condition > handler (CEEHDLR) to the program to not percolate those messages with > severity level lower than answer from question 1? The message CPF4906 is sent as a notify message. I don't know if there's any correlation between the severity you see in the joblog and the severity parameter for CEEHDLR. It's the "notify" aspect of it that's causing the problem - MONMSG monitors for escape, status and notify. OPM RPG and ILE RPG both monitor for some notify messages, but by message id, not by severity. The ILE RPG programmer's guide discusses this situation in the section called "Problems when ILE CL Monitors for Notify and Status Messages". It suggests either having the caller in a different activation group, or using CEEHDLR to handle any messages with a severity of 0 or 1.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.