This will extract all JOBP and JOBS types of objects. You'll probably want to adjust it to also select scripts, events, and other types of executable objects as well;
select *
from oh
where oh_deleteflag = 0
and oh_otype in ('JOBP', 'JOBS')
I like to use this SQL query to identify all tasks that are scheduled via a JSCH object;
select oh_client as client
, oh_name as SCHEDULE
, jpp_object as OBJECT
, JPP_ErlstStTime as STARTTIME
, jppc_calekeyname as CALENDAR
from oh
inner join jpp
on oh_idnr = jpp_oh_idnr
left outer join jppc
on jppc_jpp_lnr = jpp_lnr and jppc_oh_idnr = oh_idnr
where oh_otype = 'JSCH'
order by 4,3,5;
------------------------------
Pete
------------------------------
Original Message:
Sent: 04-29-2020 10:23 AM
From: Kishore Kumar
Subject: Extract UC4 workflows & jobs
Hi Team
Could you pls help us to extract the list of UC4 Workflow & Job names.
Also If possible, How the workflow & jobs are scheduled & at what time.
Thanks