Query Resources the jobs
Posted: 20 Jun 2011 10:40
Hi to all.
I need to know that jobs use two unique resources.
I did a query but duplicate jobs:
select a.job_name, b.RESOURCE_
from def_job a, DEF_LNKI_C b
where RESOURCE_ = 'SINCMULT01'
and a.JOB_ID=b.JOB_ID
Or filter for two resources, the output is 0 rows, when there are jobs with both resources.
select a.job_name, b.RESOURCE_
from def_job a, DEF_LNKI_C b
where RESOURCE_ = 'SINCMULT01' and RESOURCE_ = 'COC700'
and a.JOB_ID=b.JOB_ID
Exists any query or way of knowing that jobs using these two resources.
I need to know that jobs use two unique resources.
I did a query but duplicate jobs:
select a.job_name, b.RESOURCE_
from def_job a, DEF_LNKI_C b
where RESOURCE_ = 'SINCMULT01'
and a.JOB_ID=b.JOB_ID
Or filter for two resources, the output is 0 rows, when there are jobs with both resources.
select a.job_name, b.RESOURCE_
from def_job a, DEF_LNKI_C b
where RESOURCE_ = 'SINCMULT01' and RESOURCE_ = 'COC700'
and a.JOB_ID=b.JOB_ID
Exists any query or way of knowing that jobs using these two resources.