How to get a listing of jobs using a resource

A lot of scripts ans example to extract information from Control-M tools.
Post Reply
User avatar
grogahn
Nouveau
Nouveau
Posts: 3
Joined: 30 Nov 2010 12:00

How to get a listing of jobs using a resource

Post by grogahn » 30 Nov 2010 10:24

Is there a way to get a report listing all jobs that use a Control Resource?

User avatar
philmalmaison
Nouveau
Nouveau
Posts: 1148
Joined: 08 Jun 2007 12:00
Location: Ile de France

Post by philmalmaison » 01 Dec 2010 11:15

Hi,
Sure there is one...
select them in in DEF_LNKI_C Controlm/em table
for example:
select b.TABLE_ID,b.JOB_ID,b.RESOURCE_,a.JOBNAME,a.APPLICATION,a.GROUPNAME from DEF_LNKI_C b, DEF_JOB a
where
b.TABLE_ID = a.TABLE_ID
and
b.JOB_ID=a.JOB_ID
go (sybase)
; (oracle)



Regards,
Philmalmaison

Post Reply