in reply to Re: how to update a field of a record in a large text file
in thread how to update a field of a record in a large text file

all i need is which commands or syntax will help me out in this . I have about 500000 records of record length 600 each . suppose on 25000th record i find that i have to change the 256th position. The value previously held is "N".now i want to move "Y" to it . Please help.
  • Comment on Re^2: how to update a field of a record in a large text file

Replies are listed 'Best First'.
Re^3: how to update a field of a record in a large text file
by CountZero (Bishop) on Mar 07, 2006 at 10:44 UTC
    Do you have an index on this file? In other words, do you know which record you need? If that is the case, you can use seek to go straight to the position you need in the file.

    CountZero

    "If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law