× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Thanks Carel & Lim. As it turned out, I had shot myself in the foot
with this. The procedures worked fine. I had typo'd a line number in
the DDS and was overlaying the message subfile with another format on a
couple of screens.



coteijgeler@xxxxxxxxx 02/10/2009 12:18:12 PM >>>
I think you should take a look at the call stack level. it might be 1
higher as defined at the moment.

With regards,
Carel Teijgeler

*********** REPLY SEPARATOR ***********

On 10-2-2009 at 9:36 Roger Harman wrote:

With OPM programs, we've used message subfiles for years and have
always
called a CL to send the message (from a message file) to the message
subfile.

I'm now converting some of these to use procedures like: MsgqClear()
and MsgqWrite(MyMsgId). This encapsulates the QMHRMVPM & QMHSNDPM
calls
and takes care of the library, message file, etc. The code was
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
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.


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:
02/09/09
06:50:00




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.