You sure can as long as you specify somewhere that you only are using the first key field. If you are using a KLIST, you will only specify it as having one key field. If you use %KDS you will have to specify %KDS(key:1).
-----Original Message-----
From: Adam West [mailto:adamster@xxxxxxxxx]
Sent: Wednesday, July 23, 2008 2:42 PM
To: rpg400-l@xxxxxxxxxxxx
Subject: READE question
HI I have a Logical file that has several fields as the key. Can I do a SETLL/READ if I have only the first field of this key? Instead of having to create another logical.
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.