10-27-2015 02:01 PM - edited 03-01-2019 09:18 AM
Hello,
New to Tidal, this might be a silly question. How do i get a report for all scheduled jobs in Tidal.
--Thanks
VR
Solved! Go to Solution.
10-28-2015 07:19 AM
Thanks VR,
I've dropped the code tags and italicized the SQL query :-)
From the Tidal client, goto Job Activity, and click on the printer icon, then you have the option to save as a qrp (quick report) file or txt (text) file.
From the database backend, you can run a simple Select query:
SELECT jobmst.jobmst_name, jobrun.* FROM jobrun
JOIN jobmst ON jobmst.jobmst_id = jobrun.jobmst_id
WHERE jobrun_proddt >= '10/27/2015' AND jobrun_proddt < '10/28/2015'
AND jobrun.jobrun_adhoc = 'N'
ORDER BY jobrun.jobrun_esttime,jobrun.jobrun_time
The results returned from the above query will return all jobs scheduled for 10/27/2015, but does NOT include adhoc / inserted jobs. If you wish to include all scheduled jobs and adhoc jobs, then you can remove the last where clause.
BR,
Derrick Au
10-28-2015 07:19 AM
Thanks VR,
I've dropped the code tags and italicized the SQL query :-)
From the Tidal client, goto Job Activity, and click on the printer icon, then you have the option to save as a qrp (quick report) file or txt (text) file.
From the database backend, you can run a simple Select query:
SELECT jobmst.jobmst_name, jobrun.* FROM jobrun
JOIN jobmst ON jobmst.jobmst_id = jobrun.jobmst_id
WHERE jobrun_proddt >= '10/27/2015' AND jobrun_proddt < '10/28/2015'
AND jobrun.jobrun_adhoc = 'N'
ORDER BY jobrun.jobrun_esttime,jobrun.jobrun_time
The results returned from the above query will return all jobs scheduled for 10/27/2015, but does NOT include adhoc / inserted jobs. If you wish to include all scheduled jobs and adhoc jobs, then you can remove the last where clause.
BR,
Derrick Au
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide