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

Then how to do it ???

Like this???

Without showing any sample data or coding, how can you expect a correct solution?

Prasad

  • Comment on Re: how to update a field of a record in a large text file

Replies are listed 'Best First'.
Re^2: how to update a field of a record in a large text file
by sandeep (Novice) on Mar 07, 2006 at 10:38 UTC
    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.
      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