Cancelling job using OEM

1)If a OWB process is run as a job using OEM and if it is interrupted or aborted due to database shutdown or I try to remove job using OEM, I run into a problem.
When the database was disconnected, the job that was running (and associated with a OWB process package) leaves something like a lock on the package. I am not able to recompile that package.
2) When I removed a job using OEM, it shows the status as deleting, but that never completes.
How do I identify and remove the locks if any and clean it up?
Thanks,
Tapas

Tapas,
Your questions are really about OEM/Intelligent Agent rather than OWB. The OEM forum is here Enterprise Manager
Regarding #1, from OEM doc: "If the Agent goes down for any period of time while the job is running, the Agent will return a job status message "Agent was down." This does not affect job operation, but merely indicates that the repeating job did not run as scheduled during the period the Agent/node was down." Could this be your case?
Regarding #2, I found this thread "Pending Deletion (job)" on OEM Forum, please see if it helps you Pending Deletion (job)
Nikolai

Similar Messages

  • Problem with CUPS and Canceling jobs

    I am using OS 10.3.9 on a 1.42 MDD PowerMac
    I am having a problem trying to cancel Jobs using the CUPS interface. When I select "Cancel" I get an error "client-error-forbidden".
    I have tried logging in as Root but the same error occurs.
    I have run "CacheOut" and deleted all cache thinking that it would solve my problem.
    I can't seem to find any answers anywhere.
    I have 1 fax job and 1 print job that I would like to remove from the Que.
    If I knew where these files were I would manually delete them, but I cannot find them, except in the CUPS interface
    I was thinking of installing CUPS 1.2b2, as it has more features and maybe it would solve my problem.
    Are there any problems that I should know about before installing this software. If I install it I can't go back to my original CUPS without re-installing the system.
    Thanks,
    Nick
    G4 1.42 MDD   Mac OS X (10.3.9)   2 GB memory

    Nicholas,
    I assume you're talking about accessing your printer from your browser by using the URL http://127.0.0.1:631/printers/
    Understand you can't log in as Admin?
    Do you have an appication named after your printer in the folder Home/Library/Printers ? If so, click on it and see if you can see your job.
    If not, try downloading Printer Setup Repair from:
    http://www.fixamacsoftware.com/software/index.html
    Seems to do a great job in fixing problems, and might restore your ability to monitor your print jobs. I was only able to monitor and delete my print jobs through the CUPS interface on my browser until I ran Printer Setup Repair. After that, I was able to use the application mentioned in my first paragraph to do the monitoring (and it works great!)
    Hope this helps!
    Bob

  • Using &variables in a SQL Script scheduled job within OEM

    Hi...I've been searching through the forum looking for any examples of setting up a job within OEM, using the SQL Script job type, where I can basically use a WHERE clause that says 'where column_name = &variable_name' and somehow provide that at run time, as if I were in a SQL*Plus session and using a PROMPT and ACCEPT command. I thought there might be a way to emulate that situation by placing the value I'd like to qualify on within some placeholder in the Parameter section of the job. We have a few users who have limited access to OEM and need to run queries on GRANTS and ROLES for various users etc. I realize there are other ways to do this, however I'm wondering if OEM has a capability like this. Any info is appreciated! Tks!

    Looks like you're missing the schema name and you'll want to use QUOTENAME to add delimiters to the objects
    e.g. 
    DECLARE @DATABASE AS VARCHAR(50)
    DECLARE @SchemaName as SYSNAME;
    DECLARE @TABLE AS VARCHAR(50)
    DECLARE @QUERY AS VARCHAR(MAX)
    SELECT @DATABASE = '602'
    SELECT @SchemaName = 'dbo' --change as appropriate
    SELECT @TABLE = 'Items'
    SET @QUERY = 'SELECT TOP 10 * FROM ' + QUOTENAME(@DATABASE)+'.' + QUOTENAME(@SchemaName) + '.'+QUOTENAME(@TABLE)
    print @query
    EXEC( @QUERY)

  • How to run an OWB 11gR2 process flow using OEMS Jobs?

    How to run an OWB 11gR2 process flow using OEMS 11g Jobs?
    In other words iam trying to create an Oracle Enterprise manager job for scheduling and running an OWB Process flow.
    Can any one of you please route me to a documentation for the same,or enlist the steps involved?

    Hi,
    look at OWB API Reference (it is of 11gR1 OWB release but you can apply this procedure to OWB11gR2 as well)
    http://download.oracle.com/docs/cd/B28359_01/owb.111/b31279/api_4sqlforjobs.htm#BABEBGHA
    Regards,
    oleg

  • Report for cancelled jobs

    Hi ,
    I have a requirement in which I have to create a report that should pickup all the cancelled CRM marketing jobs (due to whatever reason) based on on job name, copy them and restart them.
    In your selection screen, you will give the cancelled job name (wildcard acceptable..like ZE00*) and a radio button to show the cancelled job list and copy the jobs.
    Could anyone guide me on how to go ahead with this report?
    Regards,
    Mohit

    Hi,
    in table TBTCO and TBTCP you have all jobs with current status. You can search them by name.
    Selected jobs you can "popup_with_table" FM. Then you need to use fm to submit job in ackground;
    'JOB_OPEN', 'JOB_SUBMIT' and 'JOB_CLOSE'.
    Good luck !

  • How to Fetch Cancelled Jobs info along with the Short Dump Text

    Hi Gurus,
    I need to develop a report to fetch the cancelled jobs information for the given period. I also need to display the "Error Analysis" part of the Short Dump if it exists.
    I am able to fetch the Failed Jobs information and the Job log details using the FM "BP_JOBLOG_READ". But I need to show the "Error Analysis Text" on the report , if there is any Short Dump Exists for the Dump.
    Please give me your ideas to fetch the Error Analysis part of the short dump for a given Batch Job Name.
    Thanks in Advance.
    Best Regards,
    Sumalatha

    The dump information is in table SNAP. You could identify which dump you want by the date & time of the failed job - let's hope you don't have more than one dump with the same time. If it is ambiguous you could also compare the program name of the failed step with the program name in the SNAP data.
    The error analysis texts are in table SNAPT keyed according to which error occurred (which is data element code FC right at the start of the first record in the SNAP data). You will have to expand out the includes, and substitute the variable codes using values from the SNAP data. There is standard code to do this that you could copy - see program SAPMS380.
    To find out the details of the SAP process you could run transaction ST22 via the debugger and use the same mechanism.
    best wishes
    Ed
    PS Note these details apply to recent systems I think there may be differences if you go back to before ?2004, but I don't have such a system so can't check. You didn't say what release you have.

  • Error in automatically starting canceled job in a zreport

    Hi All
    I developed a zreport in which the input is canceled status taken from SM37.
    When the zreport will execute the canceled job automatically restart and completed.
    But it is not happening in Zreport. I am using SAP 4.7.
                                                  Kindly advice how to proceed.
    Thanks
    Raj

    A service specific error occurred: 2.fix OS/networking configuration error
    when was last time EM worked without error?
    what changed since then?

  • Rediscover using OEM in Oracle 10.2.0.4

    Hi,
    Can somebody post detailed steps as to how to rediscover using OEM. (I have performed at the session level)
    My system is Oracle 10.2.0.4 RAC on RHEL.
    Example: Steps to rediscover an instance (or) agent (or) listener using OEM.
    To put it in simple terms...mys listener is showing DOWN status in OEM, but is actually UP when I go in and check at the session level.
    I do not want to restart the agent at the sesion level which I have already done. Kindly help.
    Edited by: Redstorm on Feb 24, 2009 7:09 PM

    Do you have a lot of jobs scheduled via OEM ? (you can save the definitions in the job library and re-submit them later if not. You may also have to reset the backup preferences etc.)
    This seems strange. Is there an error message with the listener status (click on the Down targets from the homepage.)
    Also can you provide the output from the agent status.
    cheers,
    graham
    Edited by: Graham_R on Feb 24, 2009 5:12 PM

  • Problem in running job from OEM

    I have registered JOB with OEM using TCL script from warehouse builder. I login to OEM and it shows me one job in JOB library. Now i submit this job. It keeps on showing status submitting on the Active jobs tab. It does not do anything
    Thanks in advance.

    Hi Garcia,
    Thanks a lot for this help. Acutally "select count(1) from dual" was returning 3 initally so i have used delete statement twice and now its returning only one value. Though problem is solved but still i couldn't understand the cause of this.
    Thanks a lot again.
    Regards,
    Ashish.

  • Authentication Error when I execute JOBS in OEM registered by OWB !!

    Hi !
    As I saw in the last question JOBS with
    authentication error it's a commum problem ....
    So follow I will detail what's happening with me:
    I4m using the OWB and I did a map to extract data from two tables
    on my source database and populate a destination dimension table, in my destination database.
    I deploy this map, it4s sucesfull;
    I run the map from OWB and it populates the destination dimension table perfectly;
    I saved the TCL file and it4s OK;
    I choose "Register in OEM" option and it register sucesfull;
    but ... when I open the OEM and run the job from OEM, it fails !
    It give this error:
    VNI-2015 : Authentication error
    Even when I try do it with "sysman" user
    Could you help me ?
    Thanks,
    Renato

    Hi,
    Please check whether you have carried out these steps. Because I had the same problem and I resolved it.
    1. I reckon you would have installed OWB and OEM.
    2. In OEM if you are using the default SYSMAN user for running jobs, you should create the user SYSMAN in the OWB schema and assign the role SYSDBA, DBA AND OEM_MONITOR.
    3. If you created a new user in OEM to run the jobs, you should create the user in OWB schema and assign the roles SYSDBA, DBA & OEM_MONITOR.
    4. Then under your Windows NT/2000, create the OEM user and assign the user the rights "Logon as Batch Job to Run" previlege.
    5. Configur OEM preferred credintials for NODE, DATABASE with proper values. The NODE user/password must be the one you have created under step 4.
    6. Configur OWB with the OEM user. This can be done under Projects/Preferences, selecting OEM tab. The user/password must be thesame as under step 4.
    If you do these things, not necessarily in the order mentioned, you should be able to run the jobs.
    Best of luck.

  • Schedule Disoverer reports Using OEM

    Hi All
    Has anyone scheduled Oracle Discoverer reports using OEM ?
    Thanks
    Diwakar

    Are you using OEM 9i or 10g GC?
    Statistics gathering is done in a different way depending on which platform you are on. However, when you submit a job to do anything including stats gathering, the job is scheduled by OEM and sent to the agent. So, you can close your "client" because it's not doing anything. The job has been submitted and will run as scheduled.

  • How can I suspend the job using IPP_CANCEL_JOB of ipp api

    hi, Can anyone help how can I suspend the job using IPPCANCELJOB of ipp api,so that I can cancel my previous job.
    thanks

    As before, you should try http://lists.apple.com/mailman/listinfo/printing.

  • How to check who has cancel jobs in SM37

    Hello every one.
    Can any one explain how to check  who has cancel jobs in SM37(job overview).
    Is it possible to know such logs.
    In sm37 its only gives details about jobs what ever.
    Thanks & Regards.

    hi.
         Use SM 36 for creating the job...and SM 37 for displayin the job...here
    u can see some details such as job name,job modifier name,modified date from which date to which date....but u must know the job name den only u can find the modifier name there...
    it is possible to know such logs.....
          select the job..in that screen job log button is there..select the button,can get the job log ..ie start time and end time and some  other informations..
    hope this helps u..
    assign sum points if applicable...
    regards,
    ramanan

  • Registering JOBS in OEM

    Hello everybody !
    I4m writing because I4m having problems when
    I try to execute a JOB in OEM that I registered
    with OWB. If I run this script(OWB MAP) from OWB it works
    and populate the table perfectly.
    But when I try to run this same thing, but now like a JOB
    in OEM(that I registered with OWB too), it fails !
    Somebody could give some information about it ?
    Thanks !
    Renato

    Are you using OWB from 9iDS? I had the same problem, and it was solved a follows:
    To avoid the error, edit the file setowbenv.bat in ORACLE_HOME/owb/bin/win32 so that all instances of oembase-9_0_1.jar are changed to oembase-9_0_2_.jar. Also change all instances of oemtools-9_0_1.jar to oemtools-9_0_2.jar.
    A patch will be released on Metalink at the earliest opportunity.

  • How to use OEM to moniter sql server 2000

    Hi,
    I need to learn How to use OEM to moniter sql server 2000.
    Can anyone help me and give me some website or documents
    to read?
    So I can learn to do this job.
    Thanks.

    See Note 115302.1 in Metalink.oracle.com
    in how to use OEM Diagnostic pack addon for SQL Server
    Or search for
    oem "user events"
    to build your own monitor script.

Maybe you are looking for

  • [solved] Template virtual function in C++

    I know this isn't legal C++ due to the compiler not being able to determine how big exactly the vtable is. I'm looking for alternatives. Basically, I have an abstract base class defining the interface for a set of derived classes. One of the function

  • Design looks good in IE but off in Safari & Firefox

    Hi: I have a design that has rounded corners on all 4 sides surrounding a site - I'm using tables (the layout otherwise is pretty basic) and everything lines up beautifully in IE, but appears to be a pixel or two off in Firefox and Safari. It's drivi

  • Output determination for outbound delivery

    hi , I have configured outbound delivery with standard output type LAVA. The output type LAVA is determining automatically for header (EXTRAS-HEADER) whereas it is not determining for item ( EXTRAS-ITEM). I am using Access sequence 0003 sales org/dis

  • What files need to be backed up to make sure film project is safe?

    Editing a feature film using Premiere Pro, Audition, Speedgrade, and possibly After Effects?  My question is what files do I need to backup to make sure the film project is safe in the event that the computer and hard drive both break.  Editing on a

  • MouseLeave and mouseUp outside stage don't fire if wmode=opaque

    http://fraticelli.info/temp/mouseFuncTest.html Click and release on the stage. 'mouseDown' and 'mouseUp' appear. Mouse out of the stage. 'mouseLeave' appears. Click and hold on the stage, then drag your cursor outside the stage, then let go of the mo