11-16-2006 7:15 PM
Hi
I have a file on application server in .dat format, it contains large amount of data may be 2 million of records or more, I need to open the file to check the record count, is there any software or any option to open the file, I have tried opening with Notepad, excel .... it gives error..
please let me know
Thanks
11-16-2006 7:20 PM
Hi,
Try this..
Go to AL11..
Go to the file directory..Then in the file there will be field called length..which is the total length of the file in characters..
If you know the length of a single line..
Divide the length of the file by the length of single line..I believe you will get the number of records..
Thanks,
Naren
11-16-2006 7:37 PM
Hi Narendran
I think length of single line may not be equal everytime, because in some lines there may not be some values.
please correct me if I am wrong
Thanks
11-16-2006 7:42 PM
Hi KP,
I don't think what I am saying is not a good approch. But if don't find any other solution, you can try the following.
Use OPEN DATASET, READ DATASET & CLOSE DATASET and move the data to an internal table and check number of entries using DESCRIBE statemenmt.
Thanks
Ramakrishna
11-16-2006 7:50 PM
11-16-2006 7:54 PM
Hi,
Try Importing into Access?
Could you please explain, how to do it.
Thanks
11-16-2006 8:00 PM
1. Open MS Access
2. Click "New"
3. Click "Blank database"
4. Give it a name and click "Create"
5. Go to File->Get External Data->Import...
6. Change file type to your file extension
7. Select your file and click "Import"
8. Select "Delimited" radiobutton and click "Next"
9. Select "Other" radiobutton and enter your delimiter in the box
10. Click "Finish"
11-16-2006 8:26 PM
11-16-2006 8:29 PM
Glad it worked for you. Access is a nice alternative to Excel when you have large datasets or if quick querying in a SQL environment is necessary.
11-16-2006 7:39 PM
11-16-2006 7:42 PM