IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

File read logical error status code:46


IBM Mainframe Forums -> ABENDS & Debugging
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
avadhoot

New User


Joined: 22 Jan 2007
Posts: 3
Location: Mumbai

PostPosted: Thu Jan 25, 2007 5:19 pm
Reply with quote

Hi,

A batch job abended SOC4 saying:

neither FILE STATUS nor a declarative was specified for file INP01 in program.

I found the error cause could be:-

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.

However the file provided to me was taken directly from Acceptance Environment. How do we check if the file contents are correct?

How do you approach this problem?

Thanks,
Regards,
Avadhoot Jathar
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Thu Jan 25, 2007 5:28 pm
Reply with quote

Sounds more like a program logic problem. A read after at end condition seem likely, you should always include either the at end declaritive or a file status check.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> ABENDS & Debugging

 


Similar Topics
Topic Forum Replies
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 4
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
Search our Forums:

Back to Top