thx jonathan, i'm having trouble typing it to a specific run/instance of the job. i'm using this query and dont believe its working. the start and stop time of the job itself will be important. sorry about the repetitive substring but i think you get the idea. my assumption right now is that sysjobhistory is at the step level while sysjobactivity is at the job instance level.
select sj.name,sja.job_history_id,sja.session_id,s.*
from sysjobhistory s
join sysjobs sj
on sj.job_id=s.job_id
join sysjobactivity sja
on s.job_id=sja.job_id and
--CONVERT(DATETIME, CONVERT(CHAR(8), s.run_date, 112)
cast(
cast(CONVERT(date, CONVERT(varchar(8), s.run_date)) as varchar(10))
+ ' ' + --CONVERT(CHAR(8), s.run_time, 108))
substring(RIGHT('000000' + CAST(s.run_Time AS VARCHAR), 6),1,2) + ':' +
substring(RIGHT('000000' + CAST(s.run_Time AS VARCHAR), 6),3,2) + ':' +
substring(RIGHT('000000' + CAST(s.run_Time AS VARCHAR), 6),5,2)
as datetime)
between sja.start_execution_date and sja.stop_execution_date
where name like '...%'