OEM tables for scheduled jobs
Hi,
What are the DB tables in which OEM is saving scheduled jobs that one can add inside the OEM web interface?
I have more than 100 jobs scheduled inside OEM and I want to get a report with job name, what that job is doing, etc. The kind of info that I can find in DBA_SCHEDULE% tables inside a DB.
I tried to get the info from DBA_SCHEDULER_JOBS but the jobs in this view are for DB only, and not the jobs that OEM is running against the databases registered with OEM.
Thanks,
Daniel
See if you find the information you want in the MGMT$JOB* views.
Eric
Similar Messages
-
Sending log files for scheduled jobs as attachment through mail
Hi All,
Can any one please help me out to write a pl/sql program to send log files for scheduled jobs as attachment through mail.
Thanks.Why would anyone do that as this code has already been posted here a thousand times, it is all over the Internet, and the only thing you need to do is to search for it?
I agree it would cost you some effort, but you are getting paid for it, and we are not getting paid for delivering it on a golden plate on your doorstep, as you can not be bothered to use online resources.
Sybrand Bakker
Senior Oracle DBA -
Waiting for scheduling job to complete. Job ID...and it never completes
I have created my first Publication. It's a pretty basic single source document, single Dynamic Recipients list publication.
When I run it in Test mode (I haven't tried it in non-Test mode yet), the document(s) are never delivered.
When I view the Log File, everything looks fine. The second and last entry in the log says
"- The global delivery rule for this publication was met; publication processing will now begin."
The Status Message I see in the Publication History is:
"Waiting for scheduling job to complete. Job ID:3,879, name:Unviewed Invoices Report (Copy), kind:CrystalReport in Pending state (FBE 60509) [0 recipients processed.] " and it never changes. I've tried this several times, creating new publications with the same source documents, and the same thing always happens.
Any help would be appreciated.All of the servers were configured correctly.
It turned out to be my source document, a report, had some field in it that BOE didn't like.
I removed a bunch of fields and added them back, one by one, and couldn't make the error occur again.
Go figure. -
Table for background job spool list ?
i know the table for spool request : TSP01
But how should i link it to background job name ?
i want the link between background job name and spool request.
TBTCPV is the view but it stores only one spool request.....rather than multiple spoolreq generated by background job..Hi,
Table TBTCP has the Spool Request field PLIST field as well as Jobname JOBNAME field in it. Youc an link them together.
Regards,
Anji -
Load Balancing for scheduled job in XMII V12
Hi XMII experts,
We are going to schedule a lots of jobs in XMII V12.
On our production server we have several JAVA Application servers.
Do you know if there is some kind of load balancing between java instance when we schedule jobs in XMII V12 ?
Regards
Jean-LouisHi,
If there is so many Applications in one Production server, then it will be overloaded. Suppose Java Applications and xMII Application are consuming lots of memory space and you are going to schedule lots of jobs in xMII, then it will be overloaded.
First you need to check how much memory your Java Applications and xMII Aplication is consuming. If it exceeds the RAM then system will be hanged.
Thanks,
Manisha -
Reg: Tables for Batchman jobs
Hi Experts ,
Is there any table which gives the information about scheduling of batchman jobs i.e. table should give the list of the batchman jobs that are scheduled daily, weekly, monthly.
I found some tables but these tables(J_5H1_RUNTIME, J_5H1_BWAAPL) but these tables gives the information about the batchman jobs that are already started, but i need the table that gives the information about the batchman jobs that yet to be start but already scheduled.
Please help me, points will be given.
Thanks in advance
naga
Edited by: Nagaraj Gumatimath on Aug 9, 2011 12:28 PMHi srinivas, Subash,
Thnks for your info. as I mentioned the question after finding the status of the BATCHMAN JOBS I need to mail that status to an external mail, so for this I need to fetch status data from STANDARD TABLE into internal table and pass this internal table to function module to send a mail. But I am not able to find the STANDARD TABLE that gives the status of the BATCHMAN JOBS, I have gone through tables TBTCO, TBTCS but these tables does not contain information about Batchman jobs( Eg: B1_STAGING_SAP_PC_COS, B1_OTIF_EMEA_LOAD), so please help me in finding the appropriate Standard Table. -
DPM - Incorrect StartTime for Scheduled Jobs
Team,
With most that have used SC - Data Protection Manager, we have felt the built-in reporting lacking. We decided to search around for available summarization reports to better detail the backup tasks, etc, etc. In that search we discovered this widely used
community report found:
http://www.buchatech.com/2014/04/free-dpm-backup-summary-report/
Everything went smoothly importing, but when running the report we found the Created column displaying the incorrect time; off-set +4 hours as shown below:
*At the time of this image, it was 1.17PM EST
We then searched through the report, stripping away the SQL Query, located the table via the inner join responsible for the Created column which shows:
We checked the Windows Time on the Application Server, Database Server and respective Client servers all to find them set properly for Eastern Standard. At this point I am at a loss to explain how the time is logged in the database incorrectly while presented
properly in the DPM GUI, Quantum i40 Scalar appliance, and the Server OS.
Any ideas?
Thanks in advance for your help!
- StevenHi,
The below blog may assist with troubleshooting your issue.
http://blogs.technet.com/b/dpm/archive/2014/10/08/how-to-troubleshoot-scheduled-backup-job-failures-in-dpm-2012.aspx
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually
answer your question. This can be beneficial to other community members reading the thread. Regards, Dwayne Jackson II. [MSFT] This posting is provided "AS IS" with no warranties, and confers no rights." -
How to use customer extension table for schedule line for shopping cart ?
Dear Experts,
One of our client wants to have schedule lines in shopping cart item. I am thinking of using customer extension table at item level for shopping cart. Could you please help me on how I should proceed with the appending the structures so that the end user can fill the shopping cart schedule line details?
Which fields should I consider in such cases?
Thanks and regards,
RanjanHi.
I guess you use SRM 7.0. Please go to IMG.
SRM -> SRM Server -> Cross-Application Basic Settings -> Extensions and Field Control (Personalization) -> Create Table Extensions and Supply with Data
Regards,
Masa -
[SD] table for Schedule line date
If we display a sales order through Va03 and Go to tab Item overview. There is a excel sheet kind of display showing
all items. The 12th col is 'First Date' and the f1 help says its 'Schedule line date'.
I need to display this date in my report.
<i>F1 Help Says :</i>
<b>Schedule line date</b>
The delivery date for the schedule line. The delivery date can be the
Date requested by the customer, or (if the requested date cannot be met)
Earliest date proposed by the system after automatic availability checks and delivery scheduling
<b>Use</b>
The system uses the delivery date for each schedule line together with predefined time estimates for delivery activities (such as picking and packing) to determine the
Material availability date
Loading date
Goods issue date
Transportation planning date
<b>Dependencies</b>
If you want the system to automatically determine the above dates, the Delivery scheduling and Transportation scheduling fields must be active in the sales document definition ( Tools --> Customizing, Sales and Distribution --> Basic Functions --> Delivery scheduling and transportation scheduling --> Define scheduling by sales document type).
<b>Note</b>
If there is more than one schedule line for the item, the system displays the earliest delivery date in the item and overview screens.Hi flora
You can get he details of the schedule line data in the VBEP table.
EDATU is the schedule line date
regards
kishore -
Tables for background job details
hi
iam having a job name
i want to know the program name associated with this job or the events related to this job.
Iam not able to see this job in SM37/ SM36
any other way to find thisDId you check all available statuses and did you remove all not-required criteria from SM37 starting screen
Remember there are some jobs that purge logs and definitions of old jobs as well as job statistics.
(Jobs starting with SAP_REORG_JOBS)
To look for job statistics -> SM37 -> select job -> Goto -> Job Statistics
(So if you don't see the job in SM37...)
Regards,
Raymond -
Offset after trigger for scheduling jobs
We are using IR 11.1.2.1. While trying to schedule a job, would it be an option to schedule a certain number of hours after a trigger goes on(like say, 2 hours after a trigger goes on). If yea, where can I find this option?
Thanks.There is an option called "Externally triggered event" in workspace,I think you can use that option,Please check the following documentation
http://docs.oracle.com/cd/E17236_01/epm.1112/raf_webuser.pdf (page 241),Section "EVENTS" -
How to stop a scheduled job using OMB*Plus ?
Hello everyone,
I use a OMB*Plus script to deploy a project in various environments. This includes scheduled jobs.
In this context, I need to stop the schedules of the previous versions to avoid a script crash.
I found the OMBSTOP command thad could do, but I need to retrieve the job ID of the schedule I want to stop. And I don't know how to get the Job ID.
I could get it from a previous launch and save it somewhere, but it wouldn't work if the schedule was manually stopped and restarted. Maybe is there a command that lists the running / scheduled jobs and their IDs? I didn't find it.
Thanks in advance for your help.
Cedric.Frankly, I cannot see where this is available via pure OMB+, however you could back-door it if if you can figure out how to get these values from the public views (I would guess from the "Scheduling Views" section at http://download-east.oracle.com/docs/cd/B31080_01/doc/owb.102/b28225/toc.htm).
Then you could use my SQL library from OMB+ to get these values and stop the schedules before deploying. you can save this file as omb_sql_library.tcl and then just "source /path/to/omb_sql_library.tcl in your own script to make the functions available in your script.
{code}
package require java
# PVCS Version Information
#/* $Workfile: omb_sql_library.tcl $ $Revision: 1.0 $ */
#/* $Author: $
#/* $Date: 03 Apr 2008 13:43:34 $ */
proc oracleConnect { serverName databaseName portNumber username password } {
# import required classes
java::import java.sql.Connection
java::import java.sql.DriverManager
java::import java.sql.ResultSet
java::import java.sql.SQLWarning
java::import java.sql.Statement
java::import java.sql.CallableStatement
java::import java.sql.ResultSetMetaData
java::import java.sql.DatabaseMetaData
java::import java.sql.Types
java::import oracle.jdbc.OracleDatabaseMetaData
# load database driver .
java::call Class forName oracle.jdbc.OracleDriver
# set the connection url.
append url jdbc:oracle:thin
append url :
append url $username
append url /
append url $password
append url "@"
append url $serverName
append url :
append url $portNumber
append url :
append url $databaseName
set oraConnection [ java::call DriverManager getConnection $url ]
set oraDatabaseMetaData [ $oraConnection getMetaData ]
set oraDatabaseVersion [ $oraDatabaseMetaData getDatabaseProductVersion ]
puts "Connected to: $url"
puts "$oraDatabaseVersion"
return $oraConnection
proc oracleDisconnect { oraConnect } {
$oraConnect close
proc oraJDBCType { oraType } {
#translation of JDBC types as defined in XOPEN interface
set rv "NUMBER"
switch $oraType {
"0" {set rv "NULL"}
"1" {set rv "CHAR"}
"2" {set rv "NUMBER"}
"3" {set rv "DECIMAL"}
"4" {set rv "INTEGER"}
"5" {set rv "SMALLINT"}
"6" {set rv "FLOAT"}
"7" {set rv "REAL"}
"8" {set rv "DOUBLE"}
"12" {set rv "VARCHAR"}
"16" {set rv "BOOLEAN"}
"91" {set rv "DATE"}
"92" {set rv "TIME"}
"93" {set rv "TIMESTAMP"}
default {set rv "OBJECT"}
return $rv
proc oracleQuery { oraConnect oraQuery } {
set oraStatement [ $oraConnect createStatement ]
set oraResults [ $oraStatement executeQuery $oraQuery ]
# The following metadata dump is not required, but will be a helpfull sort of thing
# if ever want to really build an abstraction layer
set oraResultsMetaData [ $oraResults getMetaData ]
set columnCount [ $oraResultsMetaData getColumnCount ]
set i 1
#puts "ResultSet Metadata:"
while { $i <= $columnCount} {
set fname [ $oraResultsMetaData getColumnName $i]
set ftype [oraJDBCType [ $oraResultsMetaData getColumnType $i]]
#puts "Output Field $i Name: $fname Type: $ftype"
incr i
# end of metadata dump
return $oraResults
# SAMPLE CODE to run a quick query and dump the results. #
#set oraConn [ oracleConnect myserver orcl 1555 scott tiger ]
#set oraRs [ oracleQuery $oraConn "select name, count(*) numlines from user_source group by name" ]
#for each row in the result set
#while {[$oraRs next]} {
#grab the field values
# set procName [$oraRs getString name]
# set procCount [$oraRs getInt numlines]
# puts "Program unit $procName comprises $procCount lines"
#$oraRs close
#oracleDisconnect $oraConn
{code}
So you would want to connect to the control center, query for scheduled jobs, stop them, and then continue on with your deployment. I assume that you also need to pause and check that an scheduled job in mid-run has time to exit before moving ahead. You could do a sleep loop querying against system tables looking for active sessions running mappings and waiting until they are all done or something if you really want to bulletproof the process.
Hope this helps,
Mike -
Report Queue Manager - Scheduled Jobs
Question: How/where does the Queue Manager store info for scheduled jobs?
It is possible (IN 9iAS) to configure the Reports Server to store all requests in a database table. The Table(s) / View(s) are created by the script rw_server.sql located in $ORACLE_HOME/reports/admin/sql
To configure this options, create the table and view with the rw_server.sql script, then add these lines in the
<reports server name>.conf file <jobStatusRepository class="oracle.reports.server.JobRepositoryDB"> <property name="repositoryConn" value="user/password@tnsalias" confidential="yes" encrypted="no"/> </jobStatusRepository> The "value" attribute of the property "repositoryConn" should be a user/password@tnsalias that will be used to connect to the database. The account must have access to the tables created by the script rw_server.sql The combination confidential="yes" and encrypted="no" will provoke the encryption of the value attribute once the Report Server is re-started : After the Reports Server has started you will find: <jobStatusRepository class="oracle.reports.server.JobRepositoryDB"> <property name="repositoryConn" value="ihjFFBFD3jk5Xfrd5HeX5w3dE/E=" confidential="yes" encrypted="yes"/> </jobStatusRepository> Description of the rw_server_queue view columns can be found in the script rw_server.sql itself.
Thanks, -
From what I've read, you can't rely on launchd for scheduled jobs - in my case I want to back up at 3am in the morning - upon it being woken by another application.
Now that cron is disabled - how can I achieve this scheduled tasks?
I cannot believe that Apple have released into production a component that simply does not work ( that relies on the machine being on 100% without sleeping etc ).Hi Stewart:
I can't speak to 10.4.3, but in 10.4.2, I just rebuilt my /etc/crontab file the way I wanted it, because cron still is a part of 10.4.2, and my Mac stays on 24x7.
Looking at the "OEM" version of Tiger's crontab, it appears that what they did was basically make a crontab file full of comment lines, so I guess when cron parsed it, there was nothing there telling cron that it had to launch something.
So, if you make a bonafide crontab file, I think (in 10.4.3) you'll be okay. If you don't recall the format for the crontab file, or don't have access to an old legacy one from 10.2 or so (I never had 10.3 so don't know whether they used cron or launchd), I can post mine here, if you'd like, that you could use as a model. I'll check back sometime later this week and see if you'd like me to post it here.
Anyhow, after I made a new crontab file, I had asked on this forum how to disable the launchd daily/weekly/monthly stuff. Although it isn't important to do so, I figured, why run it more often than once daily/weekly/monthly, at what I understood would be random times of day, if the jobs would even be run at all, based on all the reports about undesired behavior caused by reboot, sleep, etc.?
Some smart person on this forum told me that I could take the three com.apple.periodic-daily/weekly/monthly.plist files and save them off somewhere else other than in /System/Library/LaunchDaemons. So I just tarballed 'em (tar -cvvvzf com.apple.periodic-\*.plist.tgz com.apple.periodic-monthly.plist com.apple.periodic-weekly.plist com.apple.periodic-daily.plist) and left the tarball right there in /System/Library/LaunchDaemons, then deleted the originals. If I ever need 'em again I can just "tar -xvvvzf com.apple.periodic-\*.plist.tgz".
So as near as I can tell, I don't even have to fuss about whether the daily/weekly/monthly jobs are being launched by launchd, and as near as I can tell, the daily/weekly/monthly jobs are being run daily, weekly, and monthly, as appropriate, and at the desired times of day, by cron and crontab.
Quicksilver G4 Mac OS X (10.4.2)
Quicksilver G4
Quicksilver G4 -
How can I maintain start_time and end_time in my audit table for mydbms_job
Hi Guys,
Need some help on runing this job, I need to maintain start_time and end_time. However we are getting job details from the user_jobs table.
DECLARE
l_job BINARY_INTEGER;
BEGIN
DBMS_JOB.SUBMIT(l_job, '<your job code>', sysdate, 'sysdate + 1/24');
COMMIT;
END;
Here I am planing to use audit log table which I have created with job_name,start time,end_time. Once I execute this job, I need to audit the job with start and end times. Is it possible.
can any one help me on this.
Thanks in advance!
-KLR.If you switch from dbms_job to using dbms_scheduler (as recommended by oracle) then this auditing information would be delivered out of the box. For scheduler jobs there are much better dictionary information then for the older dbms_jobs solutions.
Views like this
select * from user_SCHEDULER_JOBS;
select * from USER_SCHEDULER_JOB_LOG;
select * from USER_SCHEDULER_JOB_RUN_DETAILS;
Maybe you are looking for
-
When sighning in and out of an ios device some of the icloud data from the icloud account used to sighned in stays even after sighning out. Is it the same on pc icloud and if so how do you delete it. ( This is the online site by the way.)
-
Unable to create the partition
Tthe admin console show "ERR missing parameter" after I try to add the new partition. This error messsage show me after I submit to save. Please you suggest me how do i add the new partition and setting some user to used secondary partition. nickname
-
Add new field as selection parameter in HUMO report
Dear Experts, We have arequirement to add a new selection criteria in a standard report HUMO. We need to add a new filtering field from VEPO table. How can we do this without going for development. Please suggest Regards, Shashidhar
-
Oracle ADF Business Components Vs PL/SQL Application
Hi, Has anybody used Oracle Application Development Framework's Business Components (ADF BC)? What are the disadvantages and issues that you faced? Can anyone compare PL/SQL with ADF BC? Would like to know the advantages and dis-advantages of both th
-
My listener in oracle 11GR2 can not start . when i want to give the status of that , the error in below is shown : Connecting to > TNS-12541 : TNS:no listener TNS-12560 : TNS:protocol adapter error TNS-00511 : NO LISTENER