Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Job Abended with S001-05

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging
View previous topic :: :: View next topic  
Author Message
Binaya

New User


Joined: 03 Jul 2007
Posts: 77
Location: Hyderabad

PostPosted: Wed Jan 30, 2008 11:52 am    Post subject: Job Abended with S001-05
Reply with quote

Hello Everybody,

While executing a program my job abended with S001-5,
The message is "FOR QSAM, A GET WAS ISSUED AFTER END-OF-FILE."

Please let me know.

Regards,
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10274
Location: italy

PostPosted: Wed Jan 30, 2008 12:23 pm    Post subject: Reply to: Job Abended with S001-05
Reply with quote

Quote:
...A GET WAS ISSUED AFTER END-OF-FILE...


what' s wrong in understanding the message meaning ??
Back to top
View user's profile Send private message
Binaya

New User


Joined: 03 Jul 2007
Posts: 77
Location: Hyderabad

PostPosted: Wed Jan 30, 2008 12:31 pm    Post subject:
Reply with quote

For your info there is no problem with the logic in my program as its running in Production successfully. I am just executing it in test region to see the output. So How can I get this error??

Regsrda,
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10274
Location: italy

PostPosted: Wed Jan 30, 2008 12:37 pm    Post subject: Reply to: Job Abended with S001-05
Reply with quote

Do You trust more the MVS diagnostics or Your assumption about the program logic ???
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10274
Location: italy

PostPosted: Wed Jan 30, 2008 12:42 pm    Post subject: Reply to: Job Abended with S001-05
Reply with quote

if the reason code had been 2 the cause could have been an EOV processing error at close time
( so the fault could be somewhere else )

but unfortunately You got a reason code 5... meditate please meditate
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Wed Jan 30, 2008 9:09 pm    Post subject:
Reply with quote

Hello,

Quote:
For your info there is no problem with the logic in my program
Yes, there is. As the system told you, your code issued another read after end-of-file was encountered. This would be a problem with the logic.

What sometimes happens is that there are problems with code that only occur when the input data is not exactly as expected. This is always a design flaw in the code. If the data is not as expected the code should detect this and react appropriately.

It may be that the "test data" is not complete, causing the code to fall down (if so, the code should be fixed).
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts IDMS DC027007 T58 TASK:ADS2 PROG:ADSO... gpowell382 IDMS/ADSO 2 Fri Jun 30, 2017 11:52 pm
No new posts Fastload abended with S222 chetanambi CA Products 5 Sun Jun 14, 2015 10:02 am
No new posts How to identify which DSN has an aben... dineshjyrm JCL & VSAM 14 Fri May 08, 2015 6:13 pm
No new posts Need some help in resolving job abend... tuvi_kp JCL & VSAM 2 Wed Nov 20, 2013 5:37 am
No new posts EXECUTION ABENDED, REASON=X'00E40347'... Jimy Carol DB2 2 Sat Sep 07, 2013 6:35 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us