WHat does Reason Code 1 mean ?
------------------------------------------------------------------------
                         Additional Message Information
 Message ID . . . . . . :   CPI432C
 Date sent  . . . . . . :   01/03/02      Time sent  . . . . . . :
08:48:11
 Message . . . . :   All access paths were considered for file DCLFROL18.
 Cause . . . . . :   The OS/400 Query optimizer considered all access paths
   built over member DCLFROL18 of file DCLFROL18 in library TILIPD.
     The list below shows the access paths considered. If file DCLFROL18 in
   library TILIPD is a logical file then the access paths specified are
   actually built over member DCPFROL of physical file DCPFROL in library
   TILIPD.
     Following each access path name in the list is a reason code which
   explains why the access path was not used.  A reason code of 0 indicates
   that the access path was used to implement the query.
     TILIPD/DCLFROL18  1, TILIPD/DCPFROL  0,

     The reason codes and their meanings follow:
     1 - Access path was not in a valid state. The system invalidated the
   access path.
----------------------
This logical is over a PF with 17 Million records.  The SQL statement did a
SELECT * FROM DCLFROL18 WHERE Kfld1 = 'ABC' And Kfld2 = 12345

So I was selecting using the same keyfields as the LF and it used the PF
sequencially.

What does "The system invalidated the access path."   mean?

John Carr

______________________________________________
This message is intended only for the person or entity to which it is
addressed and may contain confidential material.  If you are not the
intended recipient, any use, distribution or other action taken in reliance
on this message is prohibited.  If you received this message in error,
please contact the sender and delete the material from any computer.



As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 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.