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



I cannot recall the complete thread and answers given, but would not the
INFDS give the RRN of the actual record being processed, regardless
blocking?

With regards,
Carel Teijgeler

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

On 10-12-2008 at 13:30 CRPence wrote:

Use an override to the blocking of the data, to effect one row at a
time retrieval from the database, by issuing a request to OVRDBF
SEQONLY(*YES 1) for the file being accessed. Issue that request with
the appropriate override scope, prior to starting the program for the
debug activity. The active row should then be more obviously inferred
from RRN in the Open Files output, because the data from multiple rows
will not have been buffered into the area provided by the RPG runtime.

Regards, Chuck

Marchini, Richard wrote:

Thank you, that's the information I was looking for (although I was
hoping for a more favorable answer). I suppose with a large input
file, we can narrow down the range of records to manually examine.

Crispin Bates wrote:

If the data is blocked, I don't know that there is any way to tell
what record is being processed by the program. *OPNF on
DSPJOB/WRKJOB show the Jobs Open files, not where the RPG program
is in the block. This isn't specific to Primary files...

"Marchini, Richard" wrote:

Good thought, but, no, it's in arrival sequence. By the way, we
determined which record caused the error by manually viewing the
data and comparing it. That works with a relatively small file,
but not if the file is large.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



No virus found in this incoming message.
Checked by AVG - http://www.avg.com
Version: 8.0.176 / Virus Database: 270.9.15/1838 - Release Date: 8-12-2008
18:16




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.