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



Hi Alan,

<snip>
Thanks for your reply Larry
however, I think I will get the same problem. Not necessarily the same
code, but a different one.
The problem is NOT that the CPF5020 is being generated, (the program
continues on its merry way, after all that's I'm surmising that's how
%found works ) but how can I remove it from the program log.
</snip>

I think you're missing my point - you DON'T get the CPF5020 message (or any other NOTIFY message) in your joblog if you read your subfile using READC because you never attempt to read a record that doesn't exist.

I have just written a little test program which built a 10-line subfile and then attempted to read it in the two ways described.

results:

Original way - joblog looked like this...
call tstsfl
Subfile record not found.
C
Subfile record not found.
C
dspjoblog

Using readc the joblog looked like this...
call tstsfl
dspjoblog


As you can see - the message is never sent on a readc because you can't read a changed record if it doesn't exist. QED you can never get a "can't find subfile record" message using readc.

Give it a go and see if it works for you.

Cheers

Larry Ducie



As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.