SQL SERVER AGENT->JOBS ->JOB ACTIVITY MONITOR

  • Dear Expert,

    i can't find some jobs in SQL SERVER AGENT->JOBS ->JOB ACTIVITY MONITOR. but job exists in the system. and performed successfully.

    when i run 'select * from sysjobs_view order by name' or 'select * from msdb.dbo.sysjobs order by name' it shows all jobs. but in JOB ACTIVITY MONITOR panel can't show all jobs. i have total 127 jobs. but JOB ACTIVITY MONITOR shows only 117 jobs. 10 jobs doesn't show.

    my current server version is 2008, previously i run SQL 2000 version. two month before i upgraded my server from 2000 to 2008. system runs ok. is any issue causes by server upgradation?

    please show me the way..

    regards

    Neaz

  • That is not something I've run into during any of the upgrades I've done. Have you looked to see which specific jobs are missing? Is there anything unique about them?

    "The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
    - Theodore Roosevelt

    Author of:
    SQL Server Execution Plans
    SQL Server Query Performance Tuning

  • dear Grant Fritchey,

    thank you 4 your prompt reply. i found the issue what i mention in my query. when my server was 2000 and i was creating jobs and define a category which ID was 4. but after upgrading to 2012, there is not any category ID of 4. that's way in JOB ACTIVITY MONITOR can't retrieve those jobs name which category ID was 4.

    solution...

    ':-)';:satisfied:,':-)'

    USE msdb

    GO

    SELECT * from dbo.syscategories ORDER BY category_id ASC

    GO

    in 2000, category_id = 4 exists but in 2008, category_id = 4 doesn't exist.

    just i updated dbo.sysjobs table

    USE msdb

    GO

    -- SELECT * from dbo.sysjobs

    GO

    UPDATE dbo.sysjobs

    SET category_id = 10

    WHERE job_id = '<JOB_ID>'

    AND category_id = 4

    GO

    thanks and regards,

    Neaz

    imneaz@yahoo.com

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply