Job Scheduling question

If I request a ob to be scheduled with the command:
dbms_job.submit()
How can I monitor the status of the job
Which table do I need to perform a select on ?
Thanks

You can answer any question about the dictionary views by issuing
select *
from dict
where table_name like '%'||upper('&keyword')||'%'
in your case 'job'
This should result in dba_jobs, dba_jobs_running and user_jobs
Sybrand Bakker
Senior Oracle DBA

Similar Messages

  • Webview Job Scheduler Questions

    If you schedule a report to run in Webview - does the user have to be logged in to Webview for the report to run?
    Also - where do the reports actaully go?
    We are taking on a new business that wants some webview reports shceudled to run and dump to a location so they can grab them and import them into their own reporting database/dashboards.
    I know we have another customer that has something similar setup - but it was done by a 3rd party contractor before I was on the team.
    Thanks in advance.

    Hi Ronnie,
    Couple of things to note:
    Webview Job Scheduler uses Windows Task Scheduler to schedule reports
    As such, PC needs to remain on and the user who scheduled the job must be logged into WebView at the time the job is scheduled to be run (also needs to remain logged in if you are exporting to file and the drive you are exporting to is a mapped drive)
    User who is scheduling the reports needs to be an administrator of the machine they are scheduling from in order to create the Scheduled Tasks
    When you output locally to a drive letter. It automatically goes into a Drive:\Job_Scheduler\ directory
    Hope that helps. The requirement for local admin rights is a real pain as usually in most environments it's end business users who are trying to do this and IT departments don't like giving them local admin rights to their PCs...
    Cheers,
    Nathan

  • Job schedule question

    Hi:
    If I make a change to a job, will the scheduled job need to be re-activate for the new change to take effect? Or will BOBJ recognize the change without having to re-activate the scheduled job?
    Thanks in advance.

    You can change all the objects (like dataflows, workflows, ...) in the job, it will not affect the job schedule (so no need to re-activate).
    The job schedule uses the GUID to identify the job in the repo, this will not change when you modify objects in the job. So the next time the schedulesd job is executed it will get the new job definition automatically.
    - Ben.

  • Basis job scheduling question

    A job was set up by one of our consultant it was running fine but now it has been failing. I need to change the userid on this job, how can this be done....???
    Sorry if I have posted this on the wrong forum.
    Regards

    You can step into SM37, select the failed job and use the menu to "reschedule" it under a different user.
    The other possibility is to just copy the job.
    Markus

  • Weekly Job scheduling question

    Hi all,
    I need to create a job that is required to run every sunday at 18:00.
    where can i set the time (sunday 18:00)?
    in start condition->start immediately->period job->period values, does 'weekly' need to be selected? how about the time?
    there is another job running every saturday, but i didn't find any setting that could be helpful.
    thanks.

    Hi,
    Yes you are right. Please start condition->start immediately->period job->period values, does 'weekly' and specify the time i.e. Start Date & Start Time. The same time would be continued every Sunday.
    Best regards,
    Prashant

  • Question on Job Scheduling in SAP

    Hi Experts,
    I want to schedule a job to run every half hour from 7 am to 5 pm on Mondays to Fridays.  That is, the job should not run on Saturday or Sunday, or after 5 pm on the weekends.  Any information on how I can do this will be greatly appreciated!

    Deborah,
    Solution 1:
    Does your company use an external job scheduling software such as Control-M, AutoSys, or Maestro? If so, have them schedule the job for you. They have much more flexibility than what SAP's job scheduling allows.
    Solution 2:
    This is a laborious process, but can be implemented without doing any additional development. You have to create 22 separate jobs. Each job will run at a specific time on every working day according to your factory calendar. First one will run only at 7 AM, second one at 7:30 AM, and so on.
    Solution 3:
    Develop a wrapper ABAP program as suggested by others.

  • Error in Backup job scheduling in DB13

    Hi All
    Backup job scheduled in DB13 kicks error ,I am using Oracle as database and ERP6.0
    database and application are on diffrent servers.Before it was working fine,I didn't changed any password
    I can run backupjob sucessfully directly from BRtools on database server.Please provide any hint
    Job started
    Step 001 started (program RSDBAJOB, variant &0000000000060, user )
    No application server found on database host - rsh/gateway will be used
    Execute logical command BRBACKUP On host DLcSapOraG08
    Parameters:-u / -jid INLOG20090120204230 -c force -t online -m incr -p initerd.sap -w use_dbv -a -c force -p in
    iterd.sap -cds -w use_rmv
    BR0051I BRBACKUP 7.00 (31)
    BR0128I Option 'use_dbv' ignored for 'incr'
    BR0055I Start of database backup: bdztcorv.ind 2009-01-20 20.42.31
    BR0484I BRBACKUP log file: D:\oracle\ERD\sapbackup\bdztcorv.ind
    BR0280I BRBACKUP time stamp: 2009-01-20 20.42.32
    BR0301E SQL error -1017 at location BrDbConnect-2, SQL statement:
    'CONNECT /'
    ORA-01017: invalid username/password; logon denied
    BR0310E Connect to database instance ERD failed
    BR0280I BRBACKUP time stamp: 2009-01-20 20.42.32
    BR0301E SQL error -1017 at location BrDbConnect-2, SQL statement:
    'CONNECT /'
    ORA-01017: invalid username/password; logon denied
    BR0310E Connect to database instance ERD failed
    BR0056I End of database backup: bdztcorv.ind 2009-01-20 20.42.32
    BR0280I BRBACKUP time stamp: 2009-01-20 20.42.32
    BR0054I BRBACKUP terminated with errors
    BR0280I BRBACKUP time stamp: 2009-01-20 20.42.32
    BR0291I BRARCHIVE will be started with options '-U -jid INLOG20090120204230 -d disk -c force -p initerd.sap -cds -w use_rmv'
    BR0002I BRARCHIVE 7.00 (31)
    BR0181E Option '-cds' not supported for 'disk'
    BR0280I BRARCHIVE time stamp: 2009-01-20 20.42.33
    BR0301W SQL error -1017 at location BrDbConnect-2, SQL statement:
    'CONNECT /'
    ORA-01017: invalid username/password; logon denied
    BR0310W Connect to database instance ERD failed
    BR0007I End of offline redo log processing: adztcorw.log 2009-01-20 20.42.32
    BR0280I BRARCHIVE time stamp: 2009-01-20 20.42.33
    BR0005I BRARCHIVE terminated with errors
    BR0280I BRBACKUP time stamp: 2009-01-20 20.42.33
    BR0292I Execution of BRARCHIVE finished with return code 3
    External program terminated with exit code 3
    BRBACKUP returned error status E
    Job finished

    Hi,
    not sure if the recommendations given will address this issue.
    You are getting this error:
    BR0301E SQL error -1017 at location BrDbConnect-2, SQL statement:
    'CONNECT /'
    ORA-01017: invalid username/password; logon denied
    the log file indicates:
    > No application server found on database host - rsh/gateway will be used
    This indicated that the user that is connecting from the AS to the DB server is not properly configured to perform the DB tasks on it.
    So, first question would be to know if you have configured a gateway on the DB server and how, or if you are using remote shell.
    Second question, you can do backups on the DB server.
    > I can run backupjob sucessfully directly from BRtools on database server
    How did you run exactly the backup job (what is the exact command line, what is the exact OS user that executed it)?
    What is the OS of the DB server?
    I have reread your post, your OS is windows therefore you fall in the "typical" error in Windows.
    You have executed your backup as <sid>ADM and it works. Unfortunatelly, in windows, SAP is exectuted by SAPSERVICE<sid>, and this is the user who should be connecting to your DB server, and this is the user who cannot execute the backup.
    The fact that you can run the backup with <sid>ADM in Windows does not means that you have SAPService<sid> properly configured.
    For the error (see before) I think your ops$ user for this user is not properly configured in the DB server. take a look at the note mentioned by KT and pay attention to the SAPSERVICE<sid> configuration
    Edited by: Fidel Vales on Jan 24, 2009 12:45 AM

  • Drop/Create sequence using Oracle Job Scheduler

    IDE for Oracle SQL Development: TOAD 9.0
    Question: I am trying to do the following:
    1. Check if a certain sequence exists in the user_sequences table
    2. Drop the sequence if it exists
    3. Re-create the same sequence afterward
    All in a job that is scheduled to run daily at 12:00 AM.
    What I would like to know is if this is even possible in the first place with Oracle jobs. I tried the following:
    1. Create the actual "BEGIN...END" anonymous block in the job.
    2. Create a procedure that uses a dynamic SQL string using the same "BEGIN...END" block that drops and recreates the sequence using the EXECUTE IMMEDIATE commands
    But I have failed on all accounts. It always produces some sort of authorization error which leads me to believe that DDL statements cannot be executed using jobs, only DML statements.
    BTW, by oracle jobs, I mean the SYS.DBMS_JOBS.SUBMIT object, not the job scheduler.
    Please do not ask me why I need to drop and recreate the sequence. It's just a business requirement that my clients gave me. I just want to know if it can be done using jobs. If not, I would like to know if there are any work-arounds possible.
    Thank you.

    Please do not ask me why I need to drop and recreate the sequence. It's just a business requirement that my clients gave me. I just want to know if it can be done using jobs. If not, I would like to know if there are any work-arounds possible.Well, I won't ask you then, but can you ask your clients why on earth they would want that?
    Do they know that doing DDL 'on the fly' will invalidate the dependent objects?
    Best shot you can give at it is reset the sequence. And you could do it in a job, yes, as long as it's interval is during some maintenance window (no active users).
    Regarding resetting a sequence, you, (and your clients) should read this followup:
    http://asktom.oracle.com/pls/apex/f?p=100:11:0::::P11_QUESTION_ID:1119633817597
    (you can find lots more info on sequences and jobs by doing a search from the homepage http://asktom.oracle.com)
    Regarding the authorization errors: your DBA should be able to provide you the nessecary privileges.
    But in the end, this is something I'd rather not would like to see implemented on a production system...

  • Parallel processing in background using Job scheduling...

    (Note: Please understand my question completely before redirecting me to parallel processing links in sdn. I hve gone through most of them.)
    Hi ABAP Gurus,
    I have read a bit till now about parallel processing. But I have a doubt.
    I am working on data transfer of around 5 million accounting records from lagacy to R/3 using Batch input recording.
    Now if these all records reside in one flat file and if I then process that flat file in my batch input program, I guess it will take days to do it. So my boss suggested
    to use parallel processing in SAP.
    Now, from the SDN threads, it seems that we have to create a Remote enabled function module for it and stuf....
    But I have a different idea. I thought to dividE these 5 million records in 10 flat files instead of just one and then to run the Custom BDC program with 10 instances which will process 10 flat files in background using Job scheduling.
    Can this be also called parallel processing ?
    Please let me know if this sounds wise to you guys...
    Regards,
    Tushar.

    Thanks for your reply...
    So what do you suggest how can I use Parallel procesisng for transferring 5 million records which is present in one flat file using custom BDC.?
    I am posting my custom BDC code for million record transfer as follows (This code is for creation of material master using BDC.)
    report ZMMI_MATERIAL_MASTER_TEST
          no standard page heading line-size 255.
    include bdcrecx1.
    parameters: dataset(132) lower case default
                                 '/tmp/testmatfile.txt'.
       DO NOT CHANGE - the generated data section - DO NOT CHANGE    ***
      If it is nessesary to change the data section use the rules:
      1.) Each definition of a field exists of two lines
      2.) The first line shows exactly the comment
          '* data element: ' followed with the data element
          which describes the field.
          If you don't have a data element use the
          comment without a data element name
      3.) The second line shows the fieldname of the
          structure, the fieldname must consist of
          a fieldname and optional the character '_' and
          three numbers and the field length in brackets
      4.) Each field must be type C.
    Generated data section with specific formatting - DO NOT CHANGE  ***
    data: begin of record,
    data element: MATNR
           MATNR_001(018),
    data element: MBRSH
           MBRSH_002(001),
    data element: MTART
           MTART_003(004),
    data element: XFELD
           KZSEL_01_004(001),
    data element: MAKTX
           MAKTX_005(040),
    data element: MEINS
           MEINS_006(003),
    data element: MATKL
           MATKL_007(009),
    data element: BISMT
           BISMT_008(018),
    data element: EXTWG
           EXTWG_009(018),
    data element: SPART
           SPART_010(002),
    data element: PRODH_D
           PRDHA_011(018),
    data element: MTPOS_MARA
           MTPOS_MARA_012(004),
         end of record.
    data: lw_record(200).
    End generated data section ***
    data: begin of t_data occurs 0,
          matnr(18),
          mbrsh(1),
          mtart(4),
          maktx(40),
          meins(3),
          matkl(9),
          bismt(18),
          extwg(18),
          spart(2),
          prdha(18),
          MTPOS_MARA(4),
        end of t_data.
    start-of-selection.
    perform open_dataset using dataset.
    perform open_group.
    do.
    *read dataset dataset into record.
    read dataset dataset into lw_record.
    if sy-subrc eq 0.
    clear t_data.
    split lw_record
       at ','
    into t_data-matnr
          t_data-mbrsh
          t_data-mtart
          t_data-maktx
          t_data-meins
          t_data-matkl
          t_data-bismt
          t_data-extwg
          t_data-spart
          t_data-prdha
          t_data-MTPOS_MARA.
    append t_data.
    else.
    exit.
    endif.
    enddo.
    loop at t_data.
    *if sy-subrc <> 0. exit. endif.
    perform bdc_dynpro      using 'SAPLMGMM' '0060'.
    perform bdc_field       using 'BDC_CURSOR'
                                 'RMMG1-MATNR'.
    perform bdc_field       using 'BDC_OKCODE'
                                 '=AUSW'.
    perform bdc_field       using 'RMMG1-MATNR'
                                 t_data-MATNR.
    perform bdc_field       using 'RMMG1-MBRSH'
                                 t_data-MBRSH.
    perform bdc_field       using 'RMMG1-MTART'
                                 t_data-MTART.
    perform bdc_dynpro      using 'SAPLMGMM' '0070'.
    perform bdc_field       using 'BDC_CURSOR'
                                 'MSICHTAUSW-DYTXT(01)'.
    perform bdc_field       using 'BDC_OKCODE'
                                 '=ENTR'.
    perform bdc_field       using 'MSICHTAUSW-KZSEL(01)'
                                 'X'.
    perform bdc_dynpro      using 'SAPLMGMM' '4004'.
    perform bdc_field       using 'BDC_OKCODE'
                                 '/00'.
    perform bdc_field       using 'MAKT-MAKTX'
                                 t_data-MAKTX.
    perform bdc_field       using 'BDC_CURSOR'
                                 'MARA-PRDHA'.
    perform bdc_field       using 'MARA-MEINS'
                                 t_data-MEINS.
    perform bdc_field       using 'MARA-MATKL'
                                 t_data-MATKL.
    perform bdc_field       using 'MARA-BISMT'
                                 t_data-BISMT.
    perform bdc_field       using 'MARA-EXTWG'
                                 t_data-EXTWG.
    perform bdc_field       using 'MARA-SPART'
                                 t_data-SPART.
    perform bdc_field       using 'MARA-PRDHA'
                                 t_data-PRDHA.
    perform bdc_field       using 'MARA-MTPOS_MARA'
                                 t_data-MTPOS_MARA.
    perform bdc_dynpro      using 'SAPLSPO1' '0300'.
    perform bdc_field       using 'BDC_OKCODE'
                                 '=YES'.
    perform bdc_transaction using 'MM01'.
    endloop.
    *enddo.
    perform close_group.
    perform close_dataset using dataset.

  • NWA Job scheduler, how to change parameters?

    Dear guys,
    moving to AEX (java-only) the ABAP Stack is gone.
    Regarding job scheduling there is no more transaction sm37, but Job scheduler within NWA to be used for scheduling jobs.
    I configured a job for the predefined job definition AlertConsumerJob to get emails in case of alerts.
    Doing this the questions arises how to change parameters once a job is scheduled e.g. add additional email receiver.
    So far is seems you have to stop the configured job and define a NEW one from scratch by providing all job parameters. It seems not possible to adjust a job.
    This is not very comfortable?
    Is there an workaround / solution for this?
    Best regards
    Jochen

    Hello Gaurav
    thanks for your reply.
    It's a pity, but shows that there is still some room of improvement regarding AEX functionality (java only)
    Best regards
    Jochen

  • Errors in job scheduled SSIS package

    A job scheduled for SSIS package failed with the below errors:
    Microsoft (R) SQL Server Execute Package Utility  Version 10.50.4321.0 for 64-bit  Copyright (C) Microsoft Corporation 2010. All rights reserved.    
    Started:  5:00:02 AM  
    Error: 2015-01-02 05:06:39.25     
    Code: 0xC0202009     
    Source: Data Flow Task OLE DB Destination [46]     
    Description: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. 
    Error code: 0x80004005.  An OLE DB record is available.  
    Source: "Microsoft SQL Server Native Client 10.0"  
    Hresult: 0x80004005  
    Description: "Could not allocate a new page for database because of insufficient disk space in filegroup 'PRIMARY'. Create the necessary
    space by dropping objects in the filegroup, adding additional files to the filegroup, or setting autogrowth on for existing files in the filegroup.".  End Error  Error: 2015-01-02 05:06:39.42     
    Code: 0xC0209029     
    Source: Data Flow Task OLE DB Destination [46]     
    Description: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR.  The "input "OLE DB Destination Input" (59)"
    failed because error code 0xC020907B occurred, and the error row disposition on "input "OLE DB Destination Input" (59)" specifies failure on error. An error occurred on the specified object of the specified component.  There may be
    error messages posted before this with more information about the failure.  
    End Error  Error: 2015-01-02 05:06:39.44     
    Code: 0xC0047022     
    Source: Data Flow Task SSIS.Pipeline     
    Description: SSIS Error Code DTS_E_PROCESSINPUTFAILED.  The ProcessInput method on component "OLE DB Destination" (46) failed
    with error code 0xC0209029 while processing input "OLE DB Destination Input" (59). The identified component returned an error from the ProcessInput method. The error is specific to the component, but the error is fatal and will cause the Data Flow
    task to stop running.  There may be error messages posted before this with more information about the failure.  
    End Error  Error: 2015-01-02 05:06:39.48     
    Code: 0xC02020C4     
    Source: Data Flow Task Flat File Source [1]     
    Description: The attempt to add a row to the Data Flow task buffer failed with error code 0xC0047020.  
    End Error  Error: 2015-01-02 05:06:39.50     
    Code: 0xC0047038     
    Source: Data Flow Task SSIS.Pipeline     
    Description: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED.  The PrimeOutput method on component "Flat File Source" (1) returned
    error code 0xC02020C4.  The component returned a failure code when the pipeline engine called PrimeOutput(). The meaning of the failure code is defined by the component, but the error is fatal and the pipeline stopped executing.  There may be error
    messages posted before this with more information about the failure.  
    End Error  Error: 2015-01-02 05:16:23.49     
    Code: 0x00000000     
    Source: Execute SQL Task 1      
    Description: Could not allocate space for object 'bo.TLE'.'PK_new' in database because the 'PRIMARY' filegroup is full. Create disk space
    by deleting unneeded files, dropping objects in the filegroup, adding additional files to the filegroup, or setting autogrowth on for existing files in the filegroup.  
    End Error  Error: 2015-01-02 05:16:23.70     
    Code: 0xC002F210     
    Source: Execute SQL Task 1 Execute SQL Task     
    Description: Executing the query "Sp_load" failed with the following error: "Warning: Null value is eliminated by an aggregate
    or other SET operation.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly.  
    End Error  DTExec: The package execution returned DTSER_FAILURE (1).  
    Started:  5:00:02 AM  
    Finished: 5:16:27 AM  
    Elapsed:  984.928 seconds.  The package execution failed.  The step failed.
    Please help!!!!

    Hi,
    Based on the error message” Could not allocate a new page for database because of insufficient disk space in filegroup 'PRIMARY'. Create the necessary space by dropping objects in the filegroup, adding additional files to the filegroup, or setting autogrowth
    on for existing files in the filegroup”, we can know that the issue is caused by the there is no sufficient disk space in filegroup 'PRIMARY' for the database.
    To fix this issue, we can add additional files to the filegroup by add a new file to the PRIMARY filegroup on Files page, or setting Autogrowth on for existing files in the filegroup to increase the necessary space.
    As to the issue that the job executed successfully for the next run when executed, I think it can be caused by someone or something had made something to increase the space. 
    The following document about Add Data or Log Files to a Database is for your reference:
    http://msdn.microsoft.com/en-us/library/ms189253.aspx
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Running Job Scheduler in Restricted Session

    I want the database to be in Restricted Session while my ETL load is running via the Job Scheduler so that users will not be able to access tables during the load. When I put it in restricted session however all scheduled jobs cease to run. What user needs Restricted Session privilege? Is it DBSNMP? Is this an acceptable practice?
    Thanks,
    Susan

    Hi Susan,
    Sorry for the delay in replying, I was testing this out and talking with another developer. It turns out that you are right.
    The Scheduler will not begin running any new jobs or new job chain steps while the database is in restricted mode.
    This is intended behaviour and there is no workaround for this. The job coordinator will simply not start any new jobs if it sees that the database is in restricted mode.
    This design choice was made a long time ago and isn't currently planned to be changed (although there have been some questions about it so it may in future).
    Unfortunately you will need to find another way around this.
    -Ravi

  • SAP tables that underlie job scheduler

    Has anyone ever queried the tables that support the job scheduling system in SAP?  I need to list each scheduled job name and the email recipients, where applicable, that receive the given job's output.  Our company was recently sold, and our email address domain is changing, so numerous jobs need checked and changed.  Having this ability would accelerate this process greatly.
    Thanks,
    Eric

    Hi Eric,
    This may be a question for one of the ABAP forums.
    The table is TBTCO. And the field is RECOBJKEY. You may need to do some debugging to figure out how to convert it back to an email address.
    Cheers,
    Ramki Maley.

  • RAR Job Scheduler Status

    hi,
    In RAR I have a message in the Job Scheduler which says :
    Job Scheduler Status: unknown error
    therefore jobs are not working...
    thanks for help me
    actual config :
    GRC AC 5.3 SP10
    Edited by: Aurélien GARDE on Jan 21, 2010 3:18 PM

    Hi Aurélien GARDE ,
       I am not very clear about your question, however I am assuming that you are getting the error when running the Background Job , If this is the case  ,please check following
    1)     http://:/sap/CCBgStatus.jsp - it should come up with status u201Crunningu201D
    2) Check Analysis Engine Daemon Manager
    Type URL http://:/sap/CCADStatus.jsp - it should come up with
    status  u201Crunningu201D By default you should see 3 bg job threads and 5 web services threads per server
    Could you please let us know the findings ,If there is blank screen for step 2, then you need to apply note number 999785 , which will resolve your issue.
    Thanks & Regards
    Umashankar T

  • Has anyone built a job scheduling interface for BMC's Control-M product

    Has anyone built a job scheduling interface for BMC's Control-M product?  If so - how did you notify control-m when the XI job completed successfully versus unsuccessfully?

    Have you received any help on this?  I would like to know the answer to this question.

Maybe you are looking for

  • Voice over on an ipad

    I cannot activate voice over on an ipad 1. Is there a tutorial on it? I'm trying to set it up for a visually impaired person.

  • Transfer of Purchase Order History

    Hi, I am working in migrating the open Purchase orders from 4.6c to the new system ECC 6.0. In reference to this migration, I am asked to use the report RM06EEI1 to upload the PO history. Please guide me on how to use this report and what are all the

  • Save As under Maverick is very slow showing folders path

    I've noticed after updating to Maverick that when I click on "Save As", it takes a long time (10-20 sec.) for the file pathways to show up in the Save As window. Is anyone else having this problem?  I've tried re-booting but that doesn't help.  Thank

  • How do i clear all the albums in Complete My Album?

    I already have downloaded the songs i want and I want to clear off the leftover album icons.

  • Windows media player to Quicktime

    Hi; Can anyone please help with how to convert wmv files to a format the Quicktime can play? I have QuicktimePro v.7. Cheers