× 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.



Nope, it doesn't work, I've already tried that; I've, also, tried to use
the API with *PRV parameter, doesn't work either...


Thank you


Florin Todor

Programmer/Analyst




-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Stuart Rowe
Sent: Friday, October 08, 2010 4:12 PM
To: RPG programming on the IBM i / System i
Subject: Re: Unwanted messages

Florin,

Well then you just QMHRCVPM twice. Simple as that.

Stu


On Fri, Oct 8, 2010 at 12:58, Florin Todor - YYZ Concord <
ftodor@xxxxxxxxxxxxxxxx> wrote:

Stu,

Thanks a lot, it works almost like a charm... The only problem is that
the CHAIN opcode to the subfile, creates automatically _two_ "Subfile
Record not found" messages (I have no clue why); the API you suggested
takes care about one of them, but not the second.
Even in this situation, it is much better than before.


Thank you,


Florin Todor

Programmer/Analyst




-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Stuart Rowe
Sent: Thursday, October 07, 2010 5:04 PM
To: RPG programming on the IBM i / System i
Subject: Re: Unwanted messages

Florin,

After you CHAIN to the subfile, and your indicator is on (meaning "not
found") or however you trap it, just QMHRCVPM to remove the messages
you
know will be there and continue. You shuld not have to go to the
trouble of
processing joblog messages because the messages will have been sent to
the
call stack entry that did the CHAIN or errant READC.

Stu


On Thu, Oct 7, 2010 at 15:21, Alan Shore <AlanShore@xxxxxxxx> wrote:


Lets be careful here guys
I don't know Florins status, but a friend of mine has just found
work
after
almost 2 years of being out of work
At the moment, he is battling to save his house from going into
foreclosure, so as far as he is concerned $1 a year is definitely
out
of
the question never mind $149

Alan Shore
Programmer/Analyst, Direct Response
E:AShore@xxxxxxxx
P:(631) 200-5019
C:(631) 880-8640
"If you're going through Hell, keep going" - Winston Churchill



Charles Wilt
<charles.wilt@gma
il.com>
To
Sent by: "RPG programming on the IBM i
/
rpg400-l-bounces@ System i"
<rpg400-l@xxxxxxxxxxxx>
midrange.com
cc


Subject
10/07/2010 04:12 Re: Unwanted messages
PM


Please respond to
RPG programming
on the IBM i /
System i
<rpg400-l@midrang
e.com>






If your company can't afford $149/yr (?)....you better make sure
your
resume is up to date...

Heck, I pay my out of my own pocket...it's easier than dealing with
the red tape and it means the hard copies are mine to take with me
if
I leave. If there's more than one subscriber from the same company,
it only costs $79/yr(?).

If you're not willing to put out anything to help your own
career....don't come crying when you get let go...

Just my opinion....

Charles

On Thu, Oct 7, 2010 at 3:14 PM, Florin Todor - YYZ Concord
<ftodor@xxxxxxxxxxxxxxxx> wrote:
Thanks, Alan

It appears to be exactly what I am looking for; unfortunatelly, to
download this command requires a ProVip subscription and this is
not
an
option for my company. Probably someone knows a "free way" to
accomplish
this...


Florin Todor

Programmer/Analyst




-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Alan Shore
Sent: Thursday, October 07, 2010 2:38 PM
To: RPG programming on the IBM i / System i
Cc: rpg400-l@xxxxxxxxxxxx; rpg400-l-bounces@xxxxxxxxxxxx
Subject: Re: Unwanted messages


Hi Florin
there is a command called RMVJLMSG that I have downloaded and now
use
extensively to remove whatever message is wanted to be removed (in
my
case
CPF5020)
However, it only seems to be available from systemiNetwork
The author is named Rory Hewitt


Alan Shore
Programmer/Analyst, Direct Response
E:AShore@xxxxxxxx
P:(631) 200-5019
C:(631) 880-8640
"If you're going through Hell, keep going" - Winston Churchill




"Florin Todor -

YYZ Concord"

<ftodor@concordtr
To
ans.com> <rpg400-l@xxxxxxxxxxxx>

Sent by:
cc
rpg400-l-bounces@

midrange.com
Subject
Unwanted messages



10/07/2010 02:29

PM





Please respond to

RPG programming

on the IBM i /

System i

<rpg400-l@midrang

e.com>









Hello,



I have this interactive program processing a display file with a
subfile; the user enters values in the input fields (both, Control
and
Subfile records). When the values are wrong, the program issues
error
messages (in a subfile message record), using QMHSNDPM API, which
are
shown the next time when the file is displayed. The problem is
that
the
system issues, also, messages, like "Subfile Record not found"
followed
by a "C" (for Cancel) and the user sees this messages, too.



My question is how could I get rid of these system messages, so
the
user
sees only error messages directly related to the values he enters?

(Hopefully I was clear enough with my explanation...)







Thank you





Florin Todor



Programmer/Analyst





<mailto:ftodor@xxxxxxxxxxxxxxxx>



--
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.

--
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.


--
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.


--
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.



--
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.

--
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.



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.