This SQL, gives me the Open remote cursors and lists the Agents...? So this is the only thing I can come up. Any ideas?
select SUBSTR(i.DB_NAME,1,8) AS DB_NAME,
i.AGENT_ID,
SUBSTR(i.APPL_NAME,1,10) AS APPL_NAME,
i.APPL_STATUS ,
a.uow_start_time,
a.uow_stop_time,
a.appl_idle_time,
a.open_loc_curs
from sysibmadm.SNAPAPPL_INFO as i
inner join sysibmadm.SNAPAPPL as a on (i.agent_id = a.agent_id)
AND i.DB_NAME = 'PSFTPROD'
AND i.APPL_NAME like '%RF%'
AND a.OPEN_REM_CURS <> 0 -- open remote cursors
Thanks.
CC