End of File marker.

Other Mainframe related questions which attracts you and there is no suitable Forum you find for it and related FAQs.
Post Reply
User avatar
Bijoy Tank
New Member
Posts: 5
Joined: Fri Dec 07, 2018 4:58 pm

End of File marker.

Post by Bijoy Tank »

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?
User avatar
Akatsukami
Global Moderator
Global Moderator
Posts: 122
Joined: Tue Oct 20, 2015 3:20 am
Location: Bloomington, IL
Contact:

Re: End of File marker.

Post by Akatsukami »

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
User avatar
Bijoy Tank
New Member
Posts: 5
Joined: Fri Dec 07, 2018 4:58 pm

Re: End of File marker.

Post by Bijoy Tank »

Akatsukami wrote: Thu Dec 13, 2018 11:27 pmWhat medium are we talking about?
File is on mainframe. Sent from a windows server, using FTP or MFT.
nicc
Global Moderator
Global Moderator
Posts: 691
Joined: Wed Apr 23, 2014 8:45 pm

Re: End of File marker.

Post by nicc »

MEDIUM - Tape, floppy disk, DASD, paper...
Regards
Nic
enrico-sorichetti
Global Moderator
Global Moderator
Posts: 826
Joined: Wed Sep 11, 2013 3:57 pm

Re: End of File marker.

Post by enrico-sorichetti »

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 8-)
Post Reply

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

Register

Sign in

Return to “Other Mainframe Topics, Off-Topics, FAQs.”