View previous topic :: View next topic
|
Author |
Message |
saujanya_2831
New User
Joined: 09 May 2007 Posts: 27 Location: pune
|
|
|
|
can i anybody explain what is file status -46 and how to resolve it. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
trying to read past end of file ??? ( JUST A GUESS ) |
|
Back to top |
|
|
sreenivasreddyg
New User
Joined: 23 Apr 2005 Posts: 39 Location: delhi
|
|
|
|
Enrico is correct and you may need to use AT END condition |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Even when you use AT END, you need to ensure that the code does not issue another read to that file. Once the AT END condition is raised, you will have problems if you try to read that file again. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
sreenivasreddyg wrote: |
Enrico is correct and you may need to use AT END condition |
AT END is not of much help, the logic where one issue READ command needs to be reviewed. |
|
Back to top |
|
|
saujanya_2831
New User
Joined: 09 May 2007 Posts: 27 Location: pune
|
|
|
|
got it after reading file was not closing.thanks |
|
Back to top |
|
|
|