: MIDRANGE dot COM Mailing List Archive

Re: Chain doesn't set %EOF


AddThis Feed Button


Alan,

Had a prior thread on DoW vs DoU read loops.

Who the heck was the IBMer who said never to use ReadE?  How long ago was
the Common conference?  Possible old performance problems with ReadE?

I doubt Barbara would agree with this recommendation to never use ReadE.

Paul

-- 
Paul Morgan
Senior Programmer Analyst - Retail
J. Jill Group
100 Birch Pond Drive, PO Box 2009
Tilton, NH 03276-2009
Phone: (603) 266-2117
Fax:   (603) 266-2333

"Alan Campin" wrote

> My recommendation.
>
> SetLL(SomeKey) File;
> DoU 0 = 1;
>   Read (File);
>   If %Eof(File) or
>     SomeKey <> KeyField;
>     Leave;
>   EndIf;
>   // Do something
> EndDo;
>
> Was told by IBM to never use a READE, always use a READ. From a Common
conference years ago.






Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2007 by MIDRANGE dot 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 here. If you have questions about this, please contact

.

counter