Retrieve job Details in SQL Server 2005 How do I retrieve information about a SQL Server Agent job scheduled against databases on SQL server 2005?
Jobs are DB agnostic: the steps that comprise a job may have a database context

sysjobsteps has a database_name column


  Name of the database in which command is executed if subsystem is TSQL.


You can join this back to sysjobs and the other related tables to get what you need.