on 03-29-2012 7:25 PM
I would like to run a SQL statement to check if certain DBA jobs (Update Stat and DBcheck) are schdeuled.
What oracle tables do I need to look at?
Thanks in advance.
Hi Bill,
You can check TBTCO table to check certain jobs, on DB13. You can query this table for all scheduled job definitions, also, such as JOBNAME="*CHECKDB*"
Best regards,
Orkun Gedik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If I run this query I get the results for the last week...
SELECT JOBNAME, STATUS, LASTSTRTDT
FROM SAPSR3.TBTCO
WHERE (JOBNAME LIKE '%DBA:UPDATESTATS%' OR JOBNAME LIKE '%DBA:CLEANUP%' OR JOBNAME LIKE '%DBA:CHECK%')
AND LASTSTRTDT >= TO_CHAR(SYSDATE-7,'YYYYMMDD')
AND LASTSTRTDT <= TO_CHAR(SYSDATE, 'YYYYMMDD')
ORDER BY JOBNAME;
What column do I use to tell if the job ran successfully?
Hi,
several tables starting with SDBA* are related to DB13.
Check the systemcopy guides. Esp. the ones that are to be deleted after a system copy might be relevant. SDBAH, SDBAP, ... ?
Volker
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
http://service.sap.com/instguides
Select your product on the left like
NW -> NW 7.0 -> Installation
Volker
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.