View previous topic :: View next topic
|
Author |
Message |
pattabhiram_c
New User
Joined: 17 Apr 2007 Posts: 3 Location: Hyderabad
|
|
|
|
Hi,
While processing a file i got file status 46. Can i know the process to solve this File status.
Thanks and Regards |
|
Back to top |
|
|
Raphael Bacay
New User
Joined: 04 May 2007 Posts: 58 Location: Manila, Philippines
|
|
|
|
I looked up file status 46 and came up with the following:
A sequential READ statement was attempted on a file open in the input or I-O mode and no valid next record had been established because:
1. The preceding READ statement was unsuccessful but did not cause an at end condition
2. The preceding READ statement caused an at end condition.
You better take a look at your READs. It might not be getting the data from the input file. What's your READ command and the preceeding and succeding commands like?
Regards. |
|
Back to top |
|
|
miggranados
New User
Joined: 12 Jun 2007 Posts: 2 Location: BRASIL
|
|
|
|
this verifies if command OPEN being executed before the READ. |
|
Back to top |
|
|
Vineet
New User
Joined: 14 Sep 2005 Posts: 20
|
|
|
|
This Error = 46 generally comes Once last Record being Red from File & again it encounters the 'Read Verb' for the same file. Verify all Read statements in your Pgm. & Correct. One Alternate Sol. (Suggestion is to Fix, If Not Able to Do so then Go for Alternate Sol.). Check for Status-Code of File, Once Status Code = 10. Put 'Stop Run'. |
|
Back to top |
|
|
|