Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Read dataset - read data randomly

Former Member
0 Likes
307

Dear All,

I am facing a strange problem while reading data through READ DATASET statement.

The data is getting read randomly from the file.

For example, if my text file contains 10,000 records, i am able to see around 800 in my internal table.

Also, with read dataset statement, sometimes first record gets read, second time fifth record and so on. There is no particular order.

Read dataset statement is skipping a lot of records while reading data from the file.

Has anyone face this problem earlier?

Any clue in this direction will be highly appreciated.

Many thanks.

Best Regards,

Tarun

1 REPLY 1
Read only

Former Member
0 Likes
275

Hi,

how you are looking your input file, if it is in NOTEPAD check menu option 'Format----> Word wrap' is unchecked and then see the how many entries are there in the file.

Regards,

Sreeram.