|
Barbara: Want to get your opinion on below Lets say this is what I want to do: 1) Covert a huge OPM RPG program to ILE and run it in name activation group. 2) Note: I'm not sure what kind of notify messages will be generated from this program. Which one would you pick: 1)Create a generic condition handler program to not percolate any message with severity of 0 or 1. or 2)Create a generic condition handler program to not percolate by specific message such as CPF4906.... -----Original Message----- From: Barbara Morris [mailto:bmorris@xxxxxxxxxx] Sent: Monday, December 15, 2003 5:33 PM To: rpg400-l@xxxxxxxxxxxx Subject: Re: stop Severity ?? message from percolate 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. _______________________________________________ This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/rpg400-l or email: RPG400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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.