Restart a job

good morning.
iused dba_jobs_running and dba_jobs to identifiy the sid and the running jobs. it shows it was in a active position.
but application develpers ask to restart the job. let me know how to restart a job
Thanks in advance
ganeshprrasadc

Hi,
It depends of the job transaction handling, etc...
If you're sure it's handled correctly, try:
1/ get the session's SERIAL# from V$SESSION thanks to the SID you got
2/ Kill the session via ALTER SYSTEM KILL SESSION 'sid,serial#';
3/ Connect to the job's owner account
4/ execute DBMS_JOB.RUN(jobid)
HTH,
Yoann.

Similar Messages

  • Error while restarting a job

    Hi All,
    I am in a crucial situation after we upgrade the Data Integratror to DI 11.7.3.
    We are frequently getting Heap errors. I know that this is not a new issue with DI. But the wierd one is the new error. Previously with DI 11.0 when ever we get heap error,  we were able to restart the job from the aborted step.
    But now, when we tried to restart the aborted job, we are always facing ACCESS_VIOLATION error. We cannot able to proceed due to this error.
    Can any body help me to solve this issue ?
    Additional Information:
    Source database : Sybase
    Destination database : Oracle 10g
    DI version : 11.7.3.0
    Please help me with any alternative solution so that i can try.
    Thanks in advance.

    Hello Sir,
    Many thanks for your reply.
    For your information, i noticied that there is no al_engine running after i got the access_violation error. And also i already using all the data flow as PAGEABLE.
    I can try compacting the repository now. But not sure how much improvement i can see by doing this.
    Please let me know if you have any other solution.
    Thanks again,
    Regards,
    Prasanth

  • Restart/resubmit job chain waiting of a file event

    Hi Experts,
    how can I restart/resubmit a job chain waiting of a file event?
    In my case the variables OriginalPath and FinalPath are used in job chain parameters as an Default Expression (waitEvents...). If I restart the job chain I get the message "Could not evaluate default value for parameter...".
    We are using SAP-CPS Build M28.20-37214.
    Regards
    Mathias

    Hi,
    You probably want to restart it because there was a failure somewhere in the chain. In this case it is easier to not let the chain end in error, but to let it go to status Console using the "Request Restart" postcondition.
    Then when the step is restarted, or the chain is restarted from the beginning, it is restarted within the original chain and it reuses the already determined parameter values.
    Regards,
    Anton.

  • Restart in Job chains and managing DST

    Hi,
    1) Given a 5 step job chain, if step 3 fails how is this handled in CPS? The following steps are chained but can the errored step be fixed and rerun to continue the job chain processing?
    2) How is day light saving handled for particular jobs. Is there anywhere this is captured in the detailed job request form solman?
    Regards,
    Esha

    Hi,
    1) Given a 5 step job chain, if step 3 fails how is this handled in CPS? The following steps are chained but can the errored step be fixed and rerun to continue the job chain processing?
       -- Yes, you can restart at any step of Job chain. (Not not at call level, remember one step might have multiple call inside it)
    2) How is day light saving handled for particular jobs. Is there anywhere this is captured in the detailed job request form solman?
    -- Use GMT timezone to submit jobs. There is nothing on redwood which can solve day light saving. It alwasy has to be at OS level. But redwood has all timezones availabe and you can submits job in any timezone.
    Regards,
    Sunil Rohit

  • Backgroud wp restarted before job finished!

    We schedule a job which runs in the backgroud,but the workprocess
    restarted itself after a period of time.No error report in st22,but
    only info in trace file of sm50 as below:
    at Mar 31 16:38:00 2007
    WP has reached abap/heaplimit = 50000000 bytes
    Sat Mar 31 19:28:05 2007
    ERROR => User BWREMOTE reached avail. heapsize = 1907 MB: see
    ST22 [abstor.c 1681]
    A *** ERROR => heap memory WP28: 0 MB [abstor.c 1686]
    A *** ERROR => heap memory WP29: 0 MB [abstor.c 1686]
    A *** ERROR => heap memory WP30: 0 MB [abstor.c 1686]
    A *** ERROR => heap memory WP31: 1907 MB [abstor.c 1686]
    A *** ERROR => heap memory WP32: 0 MB [abstor.c 1686]
    A *** ERROR => heap memory WP33: 0 MB [abstor.c 1686]
    A *** ERROR => heap memory WP34: 0 MB [abstor.c 1686]
    A *** ERROR => heap memory WP35: 0 MB [abstor.c 1686]
    It shows that abap/heaplimit is reached ,but the process should be
    restarted after the job finished if it had reached this limits .
    About the info "reached avail. heapsize",the process ,which is a backgroud
    one, can use the extend memory after the heap memory allowed by one
    process is used up.And now why is it restarted,could somebody help me?

    Hi
    This problem is related to memory(heap size)?.Change the memory settings.May be the amount of memory you have allocated is not sufficient as a result as the load increases the wp restarts.This is a typical behaviour.Check if your available heap size is less or equal to maximun heap size.
    Hope you know how to change memory settings (heap size)?If no,then let me knoe the OS ,DB,no of WP and i will tell you the approx memory parameters you can set and the process to set it.
    Reward suitable points

  • Holding and restarting background jobs

    We are going perform a code page conversion of our SAP system this weekend.  The conversion is expected to run Friday at 5:00pm thru Sunday at 8:00pm.  We are planning to run program btctrns1 to hold the jobs on Friday at 5:00pm and then run btctrns2 to release the jobs on Sunday.  My question is what happens to jobs that were scheduled to run on Friday evening or Saturday.  Will these jobs get run as soon as they are released on Sunday?  What if they were workday only jobs and Saturday or Sunday are not workdays.  Thank you in advance for any insight you can provide on this.

    Hi Russ.
    all the jobs which are in status "released" will start to run, if the job scheduler finds an empty workprocess for them.
    The date and time of the jobs is not affected if you execute btctrns1 they will just get a special status.
    So after running btctrns2 everything works as normal again. This of course means workday jobs still will be scheduled only on workdays. But the rescheduling is done right before the job is executed. So a worday-only job normaly should not be scheduled for Sunday (if this is no workday).
    I hope I made myself clear...
    By the way, the ABAP Batch scheduling is explained in SAP class ADM100.
    Regards,
    Sascha

  • 12.1.0.3 OMS Restarts with Job Dispatcher error: 31 JobWorkers are hung in pool Critical (Doc ID 1590566.1)

    Hi
    I am getting this exact error in EM 12c 12.1.0.4 and i can't find any information on oracle support for my version. Anyone had any experience with this?

    JLK wrote:
    ORA-04031: unable to allocate 32 bytes of shared memory ("shared pool","select job, nvl2(last_date, ...","SQLA","tmp")
    Fix fatal error above by increasing SGA
    Handle:      JLK
    Status Level:      Newbie (5)
    Registered:      Aug 20, 2007
    Total Posts:      371
    Total Questions:      126 (72 unresolved)
    so many questions & so few answers
    Edited by: sb92075 on Sep 25, 2011 6:21 PM

  • Restart Job

    Hi
    I executed an Archiving Job through SARA. This Job got cancelled due to system shutdown. Through a while the job had created some archive files. Is there any way that i can restart the job from where it left off.?

    Hi Subin,
    Archive jobs cannot be restarted from where it got cancelled. What you can do is...
    1. Mark the cancelled archive job (archive session with errors) as invalid in SARA->Management.
    2. Delete the archive files which were created, because these will not be of any use (you can have a backup or move to some other place temporarily)
    3. Run the archive job again with the same selection criteria as before
    4. run deleteion
    Hope this helps,
    Naveen

  • How to restart "Fill Header Table for Table EQUI" job?

    I've made some changes to the job through troubleshooting guide. Now my problem is I can't restart the job. The system says that the job is already running. How should I go about this?

    You may try to cancel (abort) the job in the sender system directly and then restart it from TDMS process tree.

  • How to restart canceled background job

    Hi,
    I scheduled a background job but because of database is down, When I hit SM37 it gives me list of canceled jobs.
    What should I do to restart this jobs?
    Regards,
    Rajesh

    Hi Rajesh,
    Click on the job and click menu Job - Repeat Scheduling.
    You can't repeat all, your should do it one-by-one.
    Regards,
    Fendi Suyanto

  • Restarting an aborted background job in CC

    One of our CC Static Text Upload daily jobs is showing as being in a current state of 'abort'.  I'm not sure how it got that way as I did not abort it.  I can only assume it ran into a problem when it last tried to run, maybe while server maintenance was being done and the SAP Adaptor was turned off.
    Anyway, need to know how to restart this job and get it running again on schedule.  I tried doing a 'disable' and then 'enable', but it still shows as 'abort' and is not running.
    We are using GRC 5.2 SP14.
    Thanks.

    Hi Bob,
    Normally you get "Abort" message when J2ee engine stops.
    Server restart will stop all jobs currently running and will not be effect any of your jobs that were scheduled to run in future.
    To get the aborted job re-run, just reschedule it again with "Immediate" option.
    Best Regards,
    Sirish Gullapalli.

  • How to Restart a Datapump Export Job

    hi experts,
    I have 10g on Windows.
    C:\Documents and Settings\jbates>set oracle_sid = ultradev
    C:\Documents and Settings\jbates>expdp system/ThePassword ATTACH=DP_EXPORT_ULTRADEV_SSU
    Export: Release 10.2.0.4.0 - 64bit Production on Tuesday, 04 August, 2009 10:04:
    41
    Copyright (c) 2003, 2007, Oracle. All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit
    Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    ORA-31626: job does not exist
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 79
    ORA-06512: at "SYS.KUPV$FT", line 438
    ORA-31638: cannot attach to job DP_EXPORT_ULTRADEV_SSU for user SYSTEM
    ORA-31632: master table "SYSTEM.DP_EXPORT_ULTRADEV_SSU" not found, invalid, or i
    naccessible
    ORA-00942: table or view does not exist
    When I run select * from dba_datapump_jobs the job does exist and has no attached sessions and the State is Not Running.
    How can I attach and restart this job? I'm missing something very simple I'm sure.
    Thanks, John

    Probably you started the job as different user than system, and this is why, you receive:
    ORA-31638: cannot attach to job DP_EXPORT_ULTRADEV_SSU for user SYSTEM
    ORA-31632: master table "SYSTEM.DP_EXPORT_ULTRADEV_SSU" not found, invalid, or i
    naccessible
    ORA-00942: table or view does not existWith kind regards
    Krystian Zieja

  • HP B8550 restarts entire print job whenever paper or ink runs out

    OS: Windows XP Profession, Version 2002, SvcPack3
    Intel Core 2 Quad CPU
    Q9650 @ 3.00GHz, 8 GB Ram
    Whenever the printer runs out of HP Advanced Photo Paper or Ink is changed during a job run, the printer restarts the job from the beginning wasting massive amounts of ink and paper.
    All the latest drivers are installed. This happens whether printing from Explorer, an HP Photo application or thrid party application.
    Is there a solution? This is getting very expensive.

    How long does it normally take to get a response to HP problems???

  • DAC to automatically restart a failed job

    Hi Gurus,
    Is there a way to automatically configure DAC to automatically restart a failed job, instead of manually restart the job in a windows environment.
    Thanks
    Simmz

    Are you looking to restart automatically anytime the DAC task fails?? I would assume you want to resolve what is causing the task to fail before you restart, correct? You can script the DAC to start a EP (as the other user suggested), but restarting a task automatically without fixing what is cauing it will result in continuois failures (unless you change the Session/WF properties to not Fail parent when session fails..which is not recommended). The other option is to mark it complete which, again, is probably not recommended. I am not sure what advatage there is of automating/scripting a restart without knowing how and when the issue will be fixed.

  • CS4 : unable to print / stops printer / halts print job on Fuji Xerox c2255

    Morning,
    This discussion posting may or may not have some relevance to my previous posting, CS4 : memory leak errors (?) in Os X console log
    I am working on a clients workstation and they are having a few problems. Specific hardware and software details are at the bottom of this posting.
    THE PROBLEM
    The problem is that I can not seem to print from CS4. The problem seems to be specifically Adobe CS4 related as I will explain below.
    From the end user perspective, the CS4 suite appears to function normally with one exception - CS4 will not print. In the below example, I am referring to mainly Adobe Acrobat CS4 and InDesign CS4 as these are the programs that they use the most. The artist can still work with all the CS4 applications - opening new or existing indesign/acrobat documents, adding text, import, export, create pdfs, saving to same name or new name, etc... but they can't print out to a printer (Fuji Xerox c2255). For example, using InDesign, the artist can open an existing Indesign document and make changes to the Indesign document. She can save the document using the same name or a new name, but when she attempts to print the Indesign document, the document will not printed. If she saves the file as a pdf and using Acrobat to open the pdf and attempts to print the document, it will not print. BUT, if she uses preview to open the document and attempts to print, then it WILL print.
    When attempting to print, the following happens,
    - in acrobat CS4 or Indesign CS4, choose 'Print'
    - choose A4 or A3 format
    - click print
    The job processes and is set to the printer spool as per normal. About a couple of second later, after the processing is done, the Printer Queue starts jumping up and down in the dock. Open up the printer queue, shows the following message 'Printer has stopped'. The job is present in the printer queue list. Restart the Printer, and restart the job, and then about 5 seconds later, the message appears again, 'Printer has stopped'. This continues ad nauseum until the job is manually deleted from the queue. No print outs.
    PRINTER or PRINTER DRIVER
    I have installed and uninstalled the printer driver half a dozen times. I have source the driver from different locations (US, Asia and Australia). In all three cases,the Fuji Xerox printer drivers look identical (I've opened them up in text edit). Every other application, on the Mac, appears to access the printer without any problems -Office 2008 ( Word, Excel), Preview, Text Edit, Text Wrangler, Mail, etc can all address the printer and print to the printer without any problems. Using any of these programmes, I can access all the functionality of the printer (A4 in Tray 1, A3 in Tray 2, Levels of the inks, etc) via the driver. When I installed the generic printer drive, I have no access to any of the Fuji Xerox Printer functionality. This leads me to think that the Fuji Xerox printer driver is not the problem.
    Interestingly, using Apple's Preview, I can print any existing Acrobat documents without any problems - in either A4 or A3. However, if I attempt to print the SAME Acrobat document from Acrobat CS4, it will not print.
    USE 'PRINTER DRIVER' option rather then choosing paper size.
    I read in another posting, in the Adobe forum, of a similar problem with Duplex printing - if the the paper size is manually set (A3/A4) in the 'print document options', printers do not print duplex. The answer seemed to be instead of manually choosing the paper size (A4/A3), allow CS4 to determine the paper size. So, in the 'print document' dialog option, one should choose 'use printer driver' instead of specifying A3 or A4. An explanation suggested that the print engine refers to the printer driver to find out what options are availible and then CS4 chooses what size it wants to send the print job to. Forcing CS4 seems to stop duplex printing from working.
    I will look at this suggestion next week when I return to the site.
    NETWORK PRINTER
    The fuji Xerox c2255 is a network printer. Both Mac Pro and printer have a fixed IPs. I have eliminated the network as a problem, by running a network cable directly from Mac Pro ethernet port to Fuji Xerox ethernet port. I can ping the printer directly from the Mac Pro; I can see the printer from the Mac. I can print directly to the printer from the Mac, using Text edit or any other application EXCEPT CS4. CS4 will not print.
    CLIENT HAS UPDATED ALL DOCUMENT FILES TO CS4 via INX
    I have since been informed that a staff member had (recently) updated all the documents to CS4 via INX. I wonder if this anything to do with the problems ? Unfortunately, I don't have any 'old' documents to test with. I wonder if the conversion process had 'modified' the pdf wrapper in some way ? I have tested this in the following manner - I opened a 'updated' CS4 document in Indesign CS4. If I try to print straight out of CS4, then the above problem occurs (i.e. the document will not print as descibed above). BUT, if I copy all the contents - from the updated CS4 document - and paste the contents directly into a NEWLY created document, then it WILL print.
    UNINSTALL CS4 AND REINSTALL
    Yes, this has been done three times so far with no further improvement. Each time, the steps that I have taken are as follows,
    - repaired disk permissions.
    - fsck in single user mode to confirm directory structure is fine
    - uninstalled CS4 using the uninstaller.
    - manually searched and remove any file, folder, cache that has the word 'adobe' in it from both User account, System Library and Library.
    - used Onyx manual and automatic functions to clear all logs, font caches, spotlight databases, kernal caches, etc, etc
    - ZapRAM Cmmd-Option-P-R (wait for start up chime 3 times)
    - fsck again
    - start Mac in Safe mode
    - reinstalled CS4 from media (see version above)
    - Following reinstallation, restarted mac as per normal.
    - run Disk Utility to repair permissions
    I have tried printing an existing CS4 document file with a freshly installed CS4 suite - directly from the media file (will not print). And I have attempted to print a CS4 document file after applying all updates (will not print) Neither approach improves the situation.
    USE CS3
    This has been considered but as the client(s) have already done the conversion of all their documents to the CS4 format using INX, then they are really committed to working with CS4. What I am attempting to do at this time is to find out WHY CS4 is doing what it is doing, and if there is a fix to this problem. If there is no fix, then I know I should use a different approach.
    I am posting this message in the hope that someone may have already come across this problem or perhaps may be able to spot something that I have overlooked. This problem has really got me stumped - I have had experience with Adobes products since Photoshop 1.0 (1990s / Pre-CS1) but never had a problem as annoying or time consuming as this one - this is a dousy.  I have lodged a case number with Adobe Technical Support.
    Thank you for taking the time to read this longish posting. I would be most grateful for any feedback solutions, or suggestions.
    Have a wonderful weekend.
    Thank you,
    Fred
    Workstation specs are as follows,
    MACINTOSH MODEL (Intel) 8 core - new model Mac Pro; just 1 month old.
    Model Name: Mac Pro
      Model Identifier: MacPro4,1
      Processor Name: Quad-Core Intel Xeon
      Processor Speed: 2.26 GHz
      Number Of Processors: 2
      Total Number Of Cores: 8
      L2 Cache (per core): 256 KB
      L3 Cache (per processor): 8 MB
      Memory: 6 GB
      SMC Version (system): 1.39f5
      SMC Version (processor tray): 1.39f5
      System Version: Mac OS X 10.5.7 (9J61)
    ADOBE CS4 VERSION - Installed from media.  No updates applied (but have already done with with an earlier installation)
    Adobe Acrobat Pro 9.0 v9.0.0, Adobe Bridge CS4 v3.0.0.464, Dreamweaver CS4 v10.0.0.4117, Adobe Flash CS4 v10.0.0.544, Adobe InDesign 6.0.3.557, Adobe Media Encoder CS4 v4.0, Adobe Media Player v.11, Adobe Photoshop CS4 v11.0 (11.0x20080919 [20080919.r.488 2008/09/19:02:00:00 cutoff; r branch]), Adobe Updater 6.0.1.1464

    Try resetting the printer subsystem.

Maybe you are looking for