in reply to How to capture data length from the record ?

See many of your previous questions, many of the answers apply, you may have to change 280 to 4.
  • Comment on Re: How to capture data length from the record ?

Replies are listed 'Best First'.
Re^2: How to capture data length from the record ?
by bh_perl (Monk) on Feb 15, 2009 at 00:47 UTC
    hi..

    Thank you very much for your apply. But this data is different because the length of data record is flexible and the length of data record can be know on first 4 bytes for each record. That why i have to read first 4 bytes every record to know the length record for the data. The next record will be continue after that.

    Right now, i have not any ideas how to read first 4 bytes for every record to get the record length.

    This is an ASCII file format.

    Thank you,