×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




Hi,

it seems to have different values in the varying lenght field. Make sure to
remove trailling blanks in your key list field (with %TRIMR). If this is not
the problem, check the lenght of the key field in the file (with %LEN). May
be it contains trailling blanks.

Regards,
Werner Noll

-----Ursprüngliche Nachricht-----
Von: PITTOORS Luc [mailto:luc.pittoors@xxxxxxx]
Gesendet: Mittwoch, 28. Mai 2003 08:24
An: 'RPG400-L@xxxxxxxxxxxx'
Betreff: FW: Read a record from a LF with "varying length" - keyfield


Hi All,

I 'm trying to  read a record in a LF but I can't get any data 
The LF has a varying field as the first keyfield, 
followed by 4 fixed fields. 
I do a Chain with a Keylist using the first 2 fields  but the CHAIN always
fails . 

How do I have to code this ?

luc

_______________________________________________
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.


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