Hi,
There was an abend in one of the Jobs in production yesterday. Upon investigation, it was found that there was a data field in the file which came "empty" in the last record of the file. When the record was removed the job ran successfully.
To this one of our senior guy said, the record was not corrupt, instead the file missed its 'end-of-marker' and so failed. As this file comes from outside to mainframe, it should be reallocated and data should be cut pasted rather than running the abended Job by removing the last record. We did not hear about this as the job executed successfully after removing the record. But today we got to know that "empty date" is a usual condition and had happened in past many time and it did not abend the job.
Question is, what is "end of file marker" for a sequential dataset in mainframes?
End of File marker.
- Akatsukami
- Global Moderator
- Posts: 122
- Joined: Tue Oct 20, 2015 3:20 am
- Location: Bloomington, IL
- Contact:
Re: End of File marker.
What medium are we talking about?
"I come to the conclusion that, men loving according to their own will and fearing according to that of the prince, a wise prince should establish himself on that which is in his own control and not in that of others." -- Niccolò Machiavelli
- Bijoy Tank
- New Member
- Posts: 5
- Joined: Fri Dec 07, 2018 4:58 pm
- enrico-sorichetti
- Global Moderator
- Posts: 843
- Joined: Wed Sep 11, 2013 3:57 pm
Re: End of File marker.
To this one of our senior guy said, the record was not corrupt, instead the file missed its 'end-of-marker' and so failed.
.....
We did not hear about this as the job executed successfully after removing the record.
THE RECORD WAS CORRUPTED
a missing - as Your idiot senior says - End of File marker.
( whatever is the meaning )
would have caused a completely different error
and, if You were able to delete the offending record
the file structure was not damaged
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort

Create an account or sign in to join the discussion
You need to be a member in order to post a reply
Create an account
Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute