|
I think you should take a look at the call stack level. it might be 1coteijgeler@xxxxxxxxx 02/10/2009 12:18:12 PM >>>
With OPM programs, we've used message subfiles for years and havealways
called a CL to send the message (from a message file) to the messagecalls
subfile.
I'm now converting some of these to use procedures like: MsgqClear()
and MsgqWrite(MyMsgId). This encapsulates the QMHRMVPM & QMHSNDPM
and takes care of the library, message file, etc. The code waslist
copy/pasted from a Search400 article by Kent Milligan - the only
difference is that I put it in a procedure (not in a service program)
rather than inline.
I can see the messages in the joblog but nothing is appearing in the
subfile. I've tried changing the call stack name and counter values to
see if that was the issue. I can see (with F1, F9) that it changes the
"TO PROCEDURE" but still no success.
It seems so simple but I'm stuck. Any suggestions? Thanks.
--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing
To post a message email: RPG400-L@xxxxxxxxxxxx02/09/09
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.
No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.0.233 / Virus Database: 270.10.19/1941 - Release Date:
06:50:00
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.