|
"Charles St-Laurent" <dringpiece@xxxxxxxxxxx> 05/14/07 8:50 AM >>>
One of the drawbacks on monitor, in which the possibility ofnumerous
errors is high, is just what you cited. A method commonly used whenlog
errors are smaller, but you still do not want them cluttering the job
(since you've already handled them) is to use the api to receive amessage
from the job message queue in he on-error logic to remove theclutter. If
that sounds like the ticket, respond back and someone may post asample.
<rpg400-l@xxxxxxxxxxxx>
Rob Berendt
--
Group Dekko Services, LLC
Dept 01.073
PO Box 2000
Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com
"Charles St-Laurent" <dringpiece@xxxxxxxxxxx>
Sent by: rpg400-l-bounces@xxxxxxxxxxxx
05/14/2007 08:06 AM
Please respond to
RPG programming on the AS400 / iSeries
from
To
rpg400-l@xxxxxxxxxxxx
cc
Fax to
Subject
Message queue is full...
Hi!
I run a program that detects decimal errors in files that I converted
S/36 environment to native externally described files. The way myprogram
works is simple: I trap the decimal errors with MONITOR blocks. Theonly
problem is: with big files, my program generates many "decimalerror"
messages in the background and sometimes I received a message sayingthat
the message queue is full.*WRAP
The way I temporary patched my application is to launch it with
parameter for my message queue but I do believe that it is not thebest
solution. Is there any way to launch my program without changingdeeply my
code and without generating this message? Or at least, can I deletethis
message each time it is generated in my message queue?
Thanks in advance for your answers
Charles
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.