×
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've now got an MI implementation of the "iteratively SETLL until a
record (or EOF) is found" in the initial testing stage, but I've got a
problem.
The concept works just fine if I know the read is going to fail, and go
straight to the iterative SETLL gambit before attempting to read a
record, but when I actually let the READ operation fail (whether in RPG
or in MI), the first SETLL operation throws a CPF5129 ("I/O is not
allowed because the program device or member . . . is in error")
Anybody know how, short of closing and reopening the file, to reset that
state?
Or does anybody know of a flag in the FIB, or the Open Feedback, or
someplace similar, that will tell me it's an SQL VIEW instead of a DDS
LF? It's been a few years since I was in those structures last (I think
it was when I figured out how to do RLA reads of files containing
SQL-only fields without crashing).
--
JHHL
As an Amazon Associate we earn from qualifying purchases.
This thread ...
Re: Problem with an SQL View that has selects/omits, (continued)
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.