Easy Que: How to load/import .dat file in fastest way?
Posted on 2004-04-12
I am working on a project, which takes input data from .dat file which is 3000 charaters/row and more than 30000 rows per file.
- There is not delimiter in .dat file. Each field is of fixed number of charaters and fixed poisition in row.
- If there is no data for field then filled with blank spaces.
- Field's data may be alphanumaric
Which one is fastest way to import data? and how
1. Into predefined 'TYPE' structure?
2. Into CLASS?
3. Into predefined charater 'ARRAY'?
Please give me example