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



Can anyone help me understand the following?

We have a Sales Detail file that contains all of our sales transactions for
the year.  We keep 3 of these files on our system (2 years ago, last year,
and current year).  We have a muti-format logical across all 3 files so we
can read 3 years' sales, by item, by just processing the one logical.  There
are 8 keys on this logical consisting of various item, account, and date
fields.

We have an existing application that reads this logical.  I want to run this
same application on a subset of records instead of the full file (several
million records).  

Through OPNQRYF, I select the records I want, and then CPYFRMQRYF into a
file in QTEMP with the same name as the logical file.  I do this 3 times,
once for each record format (adding the records each time).  I then do one
last OPNQRYF on the file in QTEMP, setting the key fields the same as in the
original logical file.  I then OVRDBF to my file in QTEMP, with SHARE *YES,
and run my application.

I get the following error message:

                CPF5123 - 8 key fields not valid.  The number of key fields
specified for member XXX file XXX in library QTEMP is greater than 7, which
is the maximum allowed.

What is this 8 key field limitation?  Any suggestions on how to resolve my
problem?

Any help is greatly appreciated.

Bob L.
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.