|
Hi Brad
I have the job log, will post it here or where y'all can see it. I don't
remember seeing anything, though. Opens and closes would be done by the
functions of CGIDEV2. I do wonder about the template file itself, it has
to be opened every time, but supposedly only if it has changed. Also,
the user has responded to the messages with a C until there are no more,
then can repeat the operation and is successful.
But I'll bring more info here.
Thanks
Vern
On 12/1/2021 7:58 AM, Brad Stone wrote:
Can you post the job log? Maybe there's a clue there. It could beprogram
something like too many open sockets/files. Especially if in your
you are opening stream files and maybe not closing them all the time.user.
On Tue, Nov 30, 2021 at 5:00 PM Vern Hamberg via RPG400-L <
rpg400-l@xxxxxxxxxxxxxxxxxx> wrote:
Y'all
We have one user who gets an MCH3402 a couple times a week when creating
receipts - the programs uses CGIDEV2 to create HTML files used to email.
It seems to happen after a busy morning of this. And it is to only 1
related
Generally, the program does things in this order -
getHtmlIfsMult (only 1 template, though)
clrHtmlBuffer
updHtmlVar/wrtSection as needed
wrtHtmlToStmf
There is no information in CGIDEBUG that helps.
MCH3402 generally means that something a pointer points to is gone,
right? But it has to be in the getHtmlIfsMult.
I don't think we are running out of memory, and that isn't the cause for
MCH3402, is it, anyhow?
Our solution right now is to wrap a monitor/endmon around the call to
getHtmlIfsMult, display something to the user, then back to the caller.
They are able to go to a different app and resend the receipts.
OK, enough, TIA
Vern
--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription
questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com
--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com
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.