Please paste the error, resolution is to store the recent MSDB full backup.
Regards, Pradyothana DP http://www.dbainhouse.blogspot.in/ Please Mark This As Answer if it solved your issue.
What makes you think sysjobhistory is corrupt? In SQL Server, table corruption is extremely rare.
Is it missing records you think should be there? That is caused by the SQL Agent retention policy.
Is it anything related to Master Data Services or just a generic question for SQL Server Agent?
I guess its generic question and must be moved to database engine forum