|
Can anybody explain why this would happen under V5R4:
A customer's physical file, FOO, in library FROBOZZ. Don't know whether it was created with a CRTPF or in SQL.
It has an unkeyed logical file that was created as an SQL view:
CREATE VIEW FOOV2 AS SELECT FOO01, FOO02, FOO03, FOO04, FOO05,
FOO06, FOO07, FOO08, FOO09, FOO10, FOO11, FOOBAR FROM
FROBOZZ.FOO WHERE FOOBAR <> 'HISTORY' RCDFMT FOOREC
This should produce a bunch of records that meet the where-clause. Thousands, in fact.
It seems that if you look at the logical using native record-level access, though, you initially get one record that meets the where-clause, followed by a bunch that don't. Unless you open the file in DFU first. Then, after perhaps some intermittent recurrence of the problem until you sign off and sign back on, it behaves as intended.
Then, if you remove all of the logicals, and the physicals, from the library, and restore them from the save file from whence they came, expecting the malfunction to return, it STILL behaves correctly.
(The file, library, and field names have been changed to protect the innocent.)
--
JHHL
As an Amazon Associate we earn from qualifying purchases.
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.