Hi all,
Step 1 was to get a list of JOBS where agent CMA1CS0373 is used:
select a.oh_name "Object",
a.oh_otype "Job type",
a.oh_client "Client",
b.jba_hostdst "Host",
a.oh_lastdate "Div"
from uc4admin.oh a,
uc4admin.jba b
where a.oh_idnr = b.jba_oh_idnr
and b.jba_hostdst like upper('cma1cs0373')
and a.oh_deleteflag = 0
and b.jba_hostdst not like '<%'
order by oh_client,jba_hostdst, oh_name
vara preview would look something like this:
Step 2 would be to remove the Agent from all of the above JOBS.
My question is: Is it possible via script, SQL, commands or similar to remove the reference to the agent from those JOBS ?