• What is it exactly you're attempting to do?

    SELECT * FROM msdb.dbo.sysjobs

    SELECT * FROM msdb.dbo.sysjobhistory

    All your information is in those two tables ... join the job_id's and you're good to go.