Hi,
Can any one suggest me how to retrieve most recent job from msdb..sysjobhistory table?

I want to supply the job name which has more than 1 steps. Step 1 or more is already completed ( success/failure) and in the last step I am trying to retrieve sysjobhistory.messages(success/failure) stored in the sysjobhistory table for the steps already executed.
I want the records related with last/current job executed.

Thanks.