On 1/7/26 12:29 PM, Rick Rauterkus wrote:
Are you putting a value into JAN31? If not, you are just positioning to
the beginning of the file and reading the previous record which won't find
anything.

Yes. It's got a value (my apologies for not saying so earlier). The INZ(D'2017-01-31') clause on the declaration would have wrapped in the email.

And it has three friends, all of them INZ'd to different dates.

This excerpt is from a test program, after the real program exhibited the symptom; it uses a date value constructed from month, day, and year values read from a file.

--
JHHL


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