Re: How to process a file (was: Report enhancements)

From: Howard Brazee (howard_at_brazee.net)
Date: 11/02/04


Date: Tue, 2 Nov 2004 17:31:06 GMT


On 2-Nov-2004, l.willms@jpberlin.de (Lueko Willms) wrote:

> Better make it wieldy as the proper structure:
>
> READ file NEXT RECORD
> PERFORM UNTIL has-found-EOF IN FILE-STATUS-file
> OR filekey > key-limit
> do-your-processing-of-that-record
> READ file NEXT RECORD
> END-PERFORM

I remember people teaching that we shouldn't have multiple READ commands. But
the above structure is so easy, so clean, and so simple that it I have ignored
them for decades.



Relevant Pages

  • Re: [SLE] Wireless Internet at public hotspots -- update
    ... You can create multiple versions, ... You could use the ifdown and ifup commands. ... What I see from ifconfig is that eth1 will show an IP ... > showing me an IP that wasn't really assigned by DHCP? ...
    (SuSE)
  • question regarding cacheline size
    ... This is for PCMCIA version of Silicon Image 3124 SerialATA controller. ... When cacheline size is configured, the controller uses Read Multiple commands. ... The SiI3124, when initiating a read transaction, will issue the Read Multiple PCI command if empty space in its FIFO is greater than the value programmed in this register. ... For all involved commands - memory read line, memory read multiple and memory write and invalidate - a value larger than actual cacheline size doesn't hurt but a smaller value may. ...
    (Linux-Kernel)
  • RE: Virus?
    ... When you clean your computer,you really should think about re-inforcing your ... > When you install it again boot in Safe Mode and copy its definitions. ... There is a space in front of all the commands, ... >> window pop up from a friend. ...
    (microsoft.public.security.virus)
  • Re: effing Nader
    ... >>>Typing a few simple commands is much faster than multiple clicks on ... >>>the commands the first time. ... If you're working only with graphics files, ... range of batch processing capabilities, and you can LOOK at the pics too! ...
    (rec.arts.sf.fandom)
  • Re: how to run interp on multiple inputs?
    ... but couldn't get my fileevent to happen. ... Testing whether multiple ... If your commands can't manage concurrency, I want to learn that before ... > eval when a complete command has been received all in tcl-land, ...
    (comp.lang.tcl)