Problem in Jobs

sql>select * from dba_jobs
2 ;
JOB LOG_USER PRIV_USER SCHEMA_USER LAST_DATE LAST_SEC THIS_DATE THIS_SEC NEXT_DATE NEXT_SEC TOTAL_TIME B INTERVAL
WHAT
NLS_ENV
MISC_ENV INSTANCE
1 SYSMAN SYSMAN SYSMAN 22-MAY-08 12:00:00 22-MAY-08 12:01:00 76078 N sysdate + 1 / (24 * 60)
EMD_MAINTENANCE.EXECUTE_EM_DBMS_JOB_PROCS();
NLS_LANGUAGE='AMERICAN' NLS_TERRITORY='AMERICA' NLS_CURRENCY='$' NLS_ISO_CURRENCY='AMERICA' NLS_NUMERIC_CHARACTERS='.,' NLS_DATE_FORMAT='DD-MON-RR' NLS_DATE_LANGUAGE='AMERICAN' NLS_SORT='BINARY'
What does this mean ?

Some of my objects have been analyzed some have not, further more
SQL>SELECT * FROM DBA_SCHEDULER_WINDOW_GROUPS;
WINDOW_GROUP_NAME ENABL NUMBER_OF_WINDOWS NEXT_START_DATE COMMENTS
MAINTENANCE_WINDOW_GROUP TRUE 2 23-MAY-07 10.00.00.400000 PM +05:00
SQL>SELECT JOB_NAME, REPEAT_INTERVAL FROM DBA_SCHEDULER_JOBS
2 ;
JOB_NAME
REPEAT_INTERVAL
AUTO_SPACE_ADVISOR_JOB
GATHER_STATS_JOB
FGR$AUTOPURGE_JOB
freq=daily;byhour=0;byminute=0;bysecond=0
PURGE_LOG
RLM$SCHDNEGACTION
FREQ=MINUTELY;INTERVAL=60
RLM$EVTCLEANUP
FREQ = HOURLY; INTERVAL = 1
Lastly
SQL>SELECT JOB_NAME, STATE FROM DBA_SCHEDULER_JOBS
JOB_NAME STATE
AUTO_SPACE_ADVISOR_JOB SCHEDULED
GATHER_STATS_JOB SCHEDULED
FGR$AUTOPURGE_JOB DISABLED
PURGE_LOG SCHEDULED
RLM$SCHDNEGACTION SCHEDULED
RLM$EVTCLEANUP SCHEDULED
Thank you
Adith

Similar Messages

  • Problem creating job steps variants

    Hi Gurus!
    I have a problem with job steps creation.
    In my program I need to copy the exist job with some condition accords to job steps variants.
    But when I create the new job and it steps and variants in SM37, I can not see the variants names, only number.
    For example in template that I am copying it looks like that:
    No. Program name/command      Prog. type  Spool list   Parameters              User Lang.
    1              RMCVNEUA                  ABAP                        BW_TEMPLATE       aaa     EN
    But in job that I create it is:
    Program name/command      Prog. type   Spool list   Parameters               User  Lang.
    RMCVNEUA                          ABAP                           &0000000000271     ddd     EN
    How can I create steps with variant names instead of numbers/indexes?   BW_TEMPLATE instead of &0000000000271.
    My code:
    CALL FUNCTION 'JOB_OPEN'
        EXPORTING
          jobname          = lv_jobname
          sdlstrtdt        = lv_date
          sdlstrttm        = lv_time
        IMPORTING
          jobcount         = lv_jobcount
        EXCEPTIONS
          cant_create_job  = 1
          invalid_job_data = 2
          jobname_missing  = 3
          OTHERS           = 4.
    SUBMIT (ps_tbtcp-progname) VIA JOB pv_jobname NUMBER pv_jobcount
                                     USING SELECTION-SET ls_cat-variant
                                     AND RETURN.
    CALL FUNCTION 'JOB_CLOSE'
        EXPORTING
          jobcount                          = lv_jobcount
          jobname                           = lv_jobname
         direct_start                      = lv_imm_run
       EXCEPTIONS
         cant_start_immediate              = 1
         invalid_startdate                 = 2
         jobname_missing                   = 3
         job_close_failed                  = 4
         job_nosteps                       = 5
         job_notex                         = 6
         lock_failed                       = 7
         invalid_target                    = 8
         OTHERS                            = 9
    Edited by: Dani_K on Oct 27, 2010 4:35 PM

    No any suggestions?

  • Problem with job scheduling

    When I execute that job :
    VARIABLE nojob NUMBER;
    begin
    DBMS_JOB.SUBMIT(:nojob,'my_proc();', sysdate, 'sysdate + 15/24');
    end;
    the job is submitting successfully, but it can't run automatically. If I force it :
    begin
    DBMS_JOB.RUN(:nojob);
    end;
    I've the following error :
    ERROR at line 1:
    ORA-12011: execution of 1 Jobs failed
    ORA-06512: at "SYS.DBMS_IJOB", line 394
    ORA-06512: at "SYS.DBMS_JOB", line 267
    ORA-06512: at line 2
    Have you already seen that problem !
    And do you know how resolve it?
    Thanks.
    null

    Same Problem persists. I removed ':' from my code and tried again, No progress. Here is my code and error message again when I try to run the job manually by dbms_job.run(jobno).
    DECLARE
    jobno number;
    BEGIN
    DBMS_JOB.SUBMIT(jobno,
    'dbms_utility.analyze_schema(''JHTMW_TU_KAMAL'',''COMPUTE'');',
    SYSDATE, 'NEXT_DAY(TRUNC(SYSDATE), ''WEDNESDAY'') + 13/24');
    COMMIT;
    END;
    The error code is
    SQL> exec dbms_job.run(21);
    BEGIN dbms_job.run(21); END;
    ERROR at line 1:
    ORA-12011: execution of 1 jobs failed
    ORA-06512: at "SYS.DBMS_IJOB", line 394
    ORA-06512: at "SYS.DBMS_JOB", line 276
    ORA-06512: at line 1
    Michael
    My job processes are on. I have a value 2 set for job_queue_processes and the value 10 is set for job_queue_interval in my init.ora file.
    null

  • Problem scheduling job in userexit_save_document

    Hi,
    I'm struggling with this problem for a while now, and can't seem to find any logical reason why should SAP behave like this:
    In the user-exit include MV50AFZ1 (for SAPMV50A) I have a piece of code that  makes some checks, and then using internal structure XLIPS schedules a job with some delay in it - this allows me to make sure data is updated at the time my program is sumbmited (this program sends Idocs via EDI). Somehow, although I have all the possible checks and the program seems to reach this point only once per delivery saved (checked with a break user) <b>I always get 2 jobs per delivery</b>, and consequently two idocs!? I'm expecting a single job per delivery/run, and a step for each delivery line, but somehow it's not working....
    Here's my code in the form userexit_save_document:
    DATA: itab_data  LIKE xlips OCCURS 0,
            itab_b021  LIKE b021 OCCURS 0,
            itab_b009  LIKE b009 OCCURS 0,
            wa_b021 LIKE LINE OF itab_b021,
            wa_b009 LIKE LINE OF itab_b009,
            wa_data    LIKE LINE OF itab_data,
            l_jobname  TYPE tbtcjob-jobname,
            l_jobcount TYPE tbtcjob-jobcount,
            objky      TYPE nast-objky,
            start_time TYPE sy-uzeit,
            f_zwma,
            f_job_trig,
            number TYPE i value 1.
      DATA: wa_nast LIKE nast.
      CLEAR: f_zwma,
             f_job_trig,
             wa_nast,
             wa_data,
             wa_b021,
             wa_b009.
      IMPORT f_job_trig FROM MEMORY ID 'ZML_ZWMA'.
      IF f_job_trig IS INITIAL.
      itab_data[] = xlips[].
    *-- Preliminary check: no NAST record with processed ZWMA
      LOOP AT itab_data INTO wa_data.
        CONCATENATE wa_data-vbeln wa_data-posnr INTO objky.
        SELECT SINGLE *
               FROM nast
               INTO wa_nast
               WHERE objky = objky
               AND   kschl = 'ZWMA'
               AND ( vstat = '1'
                 OR  vstat = '2' ).
        IF sy-subrc = 0.
          f_zwma = 'X'.
          EXIT.
        ENDIF.
      ENDLOOP.
      IF f_zwma IS INITIAL.
    *-- Get conditions
        SELECT * FROM b021
                 INTO CORRESPONDING FIELDS OF TABLE itab_b021
                 WHERE kappl = 'V2'
                 AND   kschl = 'ZWMA'.
        SELECT * FROM b009
                 INTO CORRESPONDING FIELDS OF TABLE itab_b009
                  WHERE kappl = 'V2'
                  AND   kschl = 'ZWMA'.
        LOOP AT xlikp.
          READ TABLE itab_b021 INTO wa_b021
                               WITH KEY lfart = xlikp-lfart
                                        vstel = xlikp-vstel.
          IF sy-subrc NE 0.
            READ TABLE itab_b009 INTO wa_b009
                       WITH KEY lfart = xlikp-lfart.
            IF sy-subrc NE 0.
              f_zwma = 'X'.
              EXIT.
            ELSE.
              EXIT.
            ENDIF.
          ELSE.
            EXIT.
          ENDIF.
        ENDLOOP.
        IF f_zwma IS INITIAL.
    *-- Delete items not relevant for picking from selection
          CLEAR wa_data.
          LOOP AT itab_data INTO wa_data.
            SELECT SINGLE *
                   FROM tvlp
                   WHERE pstyv = wa_data-pstyv.
            IF sy-subrc = 0.
              IF tvlp-komrl NE 'X'.
                DELETE itab_data INDEX sy-tabix.
                CONTINUE.
              ENDIF.
            ENDIF.
            IF wa_data-lfimg = 0.
              DELETE itab_data INDEX sy-tabix.
              CONTINUE.
            ENDIF.
          ENDLOOP.
          IF NOT itab_data[] IS INITIAL.
            CLEAR: l_jobcount.
            MOVE: 'ZML_ZWMA' TO l_jobname.
            start_time = sy-uzeit + 10.      "delay the job running for 10 secs
    *-- Open Job
            CALL FUNCTION 'JOB_OPEN'
              EXPORTING
                jobname          = l_jobname
              IMPORTING
                jobcount         = l_jobcount
              EXCEPTIONS
                cant_create_job  = 01
                invalid_job_data = 02
                jobname_missing  = 03.
            LOOP AT itab_data INTO wa_data.
            SUBMIT zwm_ml_zwma_trigger user sy-uname
                                       VIA JOB l_jobname NUMBER  l_jobcount
                                       WITH p_lgnum = wa_data-lgnum
                                       WITH p_vbeln = wa_data-vbeln
                                       WITH p_posnr = wa_data-posnr
                                       AND RETURN.
            CLEAR wa_data.
            ENDLOOP.
              f_job_trig = 'X'.
              EXPORT f_job_trig TO MEMORY ID 'ZML_ZWMA'.
              CLEAR f_job_trig.
    *--  Close the job
            CALL FUNCTION 'JOB_CLOSE'
              EXPORTING
                jobcount             = l_jobcount
                jobname              = l_jobname
                sdlstrtdt            = sy-datum
                sdlstrttm            = start_time
                strtimmed            = 'X'
              EXCEPTIONS
                cant_start_immediate = 01
                invalid_startdate    = 02
                jobname_missing      = 03
                job_close_failed     = 04
                job_nosteps          = 05
                job_notex            = 06.
          ENDIF.
        ENDIF.
      ENDIF.
      ENDIF.
    Any ideas would be more than welcome !!!
    Helpfull answers will of course be rewarded!

    CALL FUNCTION 'JOB_OPEN'
              EXPORTING
                jobname          = l_jobname
              IMPORTING
                jobcount         = l_jobcount
              EXCEPTIONS
                cant_create_job  = 01
                invalid_job_data = 02
                jobname_missing  = 03.
    <b>
            LOOP AT itab_data INTO wa_data.</b>
    why r u LOOPING here in itab_data. I believe ITAB has 2 entries in it. thts y it is getting executed f 2 times.
    U can use
    READ itab_data into wa_data with some key/Index 1.
    If sy-subrc EQ 0.
            SUBMIT zwm_ml_zwma_trigger user sy-uname
                                       VIA JOB l_jobname NUMBER  l_jobcount
                                       WITH p_lgnum = wa_data-lgnum
                                       WITH p_vbeln = wa_data-vbeln
                                       WITH p_posnr = wa_data-posnr
                                       AND RETURN.
            CLEAR wa_data.
    ENDif.
            <b>ENDLOOP</b>.
              f_job_trig = 'X'.
              EXPORT f_job_trig TO MEMORY ID 'ZML_ZWMA'.
              CLEAR f_job_trig.
    *--  Close the job
            CALL FUNCTION 'JOB_CLOSE'
              EXPORTING
    Hope this will help
    Thanks
    Ashwani

  • Problem submitting jobs in OEM

    Hi,
    I've been trying to utilize backup manager inside the OEM, and finally, I am able to log into OEM, my preferred credentials are set properly to user oracle, my user has been given the logon as batch job privilage.
    I've also given my user Full Control to my Oracle Home directory. Prior, I only gave it read/write privilages, and it gave me the error "operating system resource shortage". Now, after Full Control, it tells me "Access is denied".
    What have I missed? Is there some addition permissions I need to assign? Please help. I feel like I'm almost there, but as a novice, am missing the last clues.
    Thanks in advance,
    Willis Chang
    Oracle 8.1.7
    Windows 2000 Professional

    Hi Rajkumar,
    I can definitely help you with that part. However, you may end up in the same boat as me. Or maybe you might be able to help me figure out my problem afterward.
    First, you are supposed to be using an NT (2000) account as your preferred credentials. I hope you already know that.
    Secondly, you need to assign that user to the Administrators group and the ORADBA group.
    Thirdly, in your problem, you need to go to Control Panel > Administrative Tools > Local Security Policy
    Then you navigate the following tree:
    Local Policies > User Rights Management > Logon as a batch job. Assign your user that right, and it should start working. Please post again so that I know if you were successful, as it might help me figure out my problem.
    Thanks,
    Willis

  • Problem with job RDDEXECL (STMS)

    Hi Coleagues
    The problems is that  job RDDEXECL(Execution of programs for post - import processing) is canceled during execution.
    with the error:
    *What happened?
        Error in ABAP application program.
        The current ABAP program "SAPLPRGN_UTILITIES" had to be terminated because one
         of the
        statements could not be executed.
        This is probably due to an error in the ABAP program.
        In program "SAPLSUPRN ", the following syntax error occurred
        in the Include "LSUPRNF3J " in line 117:
        "Different number of parameters in FORM and PERFORM (routine: AUTH_NEW_"
        "AUTH, number of formal parameters: 3, number of actual parameters: 2)."
        Author and last person to change the Include are:
        Author "SAP "
        Last changed by "SAP "*
    I have  performed  the checking of syntax for programs involved and checked if occur some change in this programs  recently.
    I not found nothing.
    My sap is ECC 5.0 on Unix with oracle .
    Could anyone let me know where is the issue please ?

    Hi Deepika
    The version of this report is the same in the all environments. In the others environments this report works without problems.
    More details about error:
    A Thu Jan  5 21:57:51 2012
    A  *** ERROR => Syntax error in program SAPLSUPRN                               
    A  *** ERROR => > Include LSUPRNF3J                                line 117
    A  *** ERROR => > Different number of parameters in FORM and PERFORM (routine: AUTH_NEW_AUTH, numb
    A  *** ERROR => > er of formal parameters: 3, number of actual parameters: 2).
    tks
    Edited by: Marcos A. Magalhães Jr on Jan 5, 2012 10:32 PM

  • Problem with job sceduling

    Hi experts,
    i have schedule a job, but it could not executed because the system was down.
    like i schedule my job at 1:00 PM, but system is shutdown at that time, so the job could not executed,
    so i want to execute the same job again on some event like at system start etc.
    how can i do this, please suggest
    regards,

    I believe that the link below will solve your problem ..
    http://help.sap.com/saphelp_nw70/helpdata/en/c4/3a7f87505211d189550000e829fbbd/frameset.htm
    For further reference you can use the book
    *Job scheduling for SAP by Sap press ... *
    Really good book ..
    If your issue is that you want the job to happen if not at the scheduled time then at startup you can simply schedule the job twice both at the particular time as well as on Startup ..
    Hope this helps ..
    Regards
    Manthan

  • Problems running jobs in db 10gR2 from owb 10.1.0.4

    Hi all,
    we have a little problem, we can not run jobs through the deployment manager. The deployment is ok but instead of something running we get to see nothing at all. I already noticed some minor problems that could be solved by granting a few privileges and I am afraid there are a few more missing.
    The installation was a fresh 10.2.0.2 database in which a new runtime repository and schema was created. In the location we specified 10.2 as target database release.
    Is any tip available about where to check ?
    What log/trace could be usefull ?
    Who is running this combination for production ?
    thanks.
    Ronald.

    Thanks for the pointer, it did not help ...
    We opened a TAR and we were suggested changing to owf 2.6.3 instead of 2.6.4. This looks a bit weird to me since as fas as I remember 2.6.4 ( from the 10gR2 companion cd) was installed ... This seems to be working ok now.
    Ronald
    http://ronr.nl/unix-dba

  • Problems with jobs

    Hello, I never have had used jobs in oracle, I need create a job for my procedure, but now i have current problem:
    DECLARE
      X NUMBER;
    BEGIN
      SYS.DBMS_JOB.SUBMIT
      ( job       => X
       ,what      => 'BIS.PRC_FIN_ATUCREDNOTURNA(SYSDATE);'
       ,next_date => to_date('01/08/2011 10:27:20','dd/mm/yyyy hh24:mi:ss')
       ,interval  => 'SYSDATE+30/1440 '
       ,no_parse  => FALSE
      SYS.DBMS_OUTPUT.PUT_LINE('Job Number is: ' || to_char(x));
    COMMIT;
    END;
    Result: 09:57:53 Info: Job #1 could not be executed.  ORA-12011: a execute  job failed
    ORA-06512: em "SYS.DBMS_IJOB", line 406
    ORA-06512: em "SYS.DBMS_JOB", line 275
    ORA-06512: em line 1how you see, the job failed, I need execute the procedure 30 minutes in 30 minutes, what is the problem?
    how create a schedule? it is necessary?
    Thanks!
    Edited by: BluShadow on 01-Aug-2011 14:13
    added {noformat}{noformat} tags.  Please read {message:id=9360002} to learn to do this yourself.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    What's your database version?
    If it's 10g or above you should be using the newer DBMS_SCHEDULER package.
    First guess from me...
    Add, BEGIN and END to your "what" line...
       ,what      => 'BEGIN BIS.PRC_FIN_ATUCREDNOTURNA(SYSDATE); END;'

  • F150 and problem with job deleted

    Hi all,
    I have a problem with F150: we have made a dunning session,
    but the batch job was manually stopped and than deleted.
    Now I don't know how to delete the dunning run (all delete
    option are unabled), and if we execute another session the customer
    are blocked by this dunning run.
    Someone know how to delete it?
    Thanks in advance
    Alessio

    Hi,
    Can u check whether Dunning Notices - Delete Dunning run disabled?
    If no dunning notice has been printed - try to restart the session thru SM35.
    Regards,
    Sridevi
    <i>Assign points, if useful</i>

  • 'Laserjet 1022n Windows Update' causing printing problems: print jobs don't stop printing

    Hello,
    a few days ago, I installed the Laserjet 1022n Windows Update on my Windows 7 64 bits and since then, I can't print a page normally: the page doesn't stop printing. I am using a network port with TCP/IP.
    I made several trials to solve this problem:
    - uninstall the printer driver and installing it again (I tried the last version on the HP site and an older one that worked perfectly before)
    - update the firmware of the printer to the last version on the HP site.
    When I pause the printer and start the print job, you see it arriving in the list. Resuming the printer, the print starts on the printer but you see that the job stays in the list, flashing again and again. The printer keeps printing the same page.
    I don't know what I can do to solve this problem. There is no mean of uninstalling the HP Laserjet 1022n software update because it doesn't appear in the list of installed programs (well on the list of the done updates by the way op windows updates).
    I have the same problem printing on the same printer from another Windows  7 PC (with the same windows update done)
    But I have no problem printing with my laptop on another network printers.
    Is there someone having the same problem and how to solve it ?
    Thanks for answering
    This question was solved.
    View Solution.

    I found the solution on this site : http://www.tomshardware.co.uk/forum/59912-29-1022n-printer-stop-printing
    You just have to uncheck the chekbox "Enable two-way communication" on the "Ports" tab of the printer properties and it works normally again !!!!

  • Please Help | Major Problems | Lost Job/Need Fix

    Hello guys, I have an Early 2011 Macbook Pro with many problems and I don't know where to begin.  There are so many things that Ill just list a few to get started.
    Here are my specs:
    MacBook Pro (15-inch, Early 2011)
    2.2 GHz Intel Core i7
    8 GB 1067 MHz DDR3
    Intel HD Graphics 3000 512 MB
    NOTE: about a week ago I reinstalled the OS to fix a problem temporarily  Ive been out of work for 3 months now because of these problems and am now out of money so I cannon afford to take it to a shop or the Apple store for fixing. If I cant get this fixed ill be unable to start my work again and that would be terrible.
    SOME PROBLEMS TO START: I really need someone/something to look at my computer and determine ALL the problems with it both internal hardware and also within the OS itself.
    *The core of all this is that i NEED windows 7 installed on my mac for work and bootcamp wont allow me to do it for some reason, I also don't want it installed virtually. I want windows installed cleanly. If i could install windows in place of the Mac os and then bootcamp Mac OS I would rather do that.
    - Console has so many errors its crazy.
    - Computer randomly restarts when I play games or am watching a movie
    - I CANNOT install Windows 7 via bootcamp or any other method
    - My Optical Drive failed so I have removed it so my only option is to install windows via a usb drive
    - For some reason my External HDD that I save everything on now all of a sudden wont read.
             - Disk Utility reads it and if i verify it and repair it it tells me everything is ok but then also reads that its updating drivers but nothing ever happens
    I THINK IF I CAN GET THESE PROBLEMS FIXED THEN THE OTHERS MIGHT GO AWAY
    Please respond asap as every minute my laptop sits like this is another dollar that I am losing

    Make an appointment at an Apple store genius bar and have them test you MBP and define what is exactly wrong with it.  The evaluation will be FREE!
    Ciao.

  • Problem with Job.

    Hi, i submited the stored procedure:
    {color:#000000}*create or replace*
    procedure run_export
    as
    * hand NUMBER;*
    BEGIN
    * hand := Dbms_DataPump.Open(operation =&gt; 'EXPORT',*
    * job_mode =&gt; 'FULL',*
    * job_name =&gt; 'FULLEXPJOBXE',*
    * version =&gt; 'COMPATIBLE');*
    * Dbms_DataPump.Add_File(handle =&gt; hand,*
    * filename =&gt; 'expdp_plsql.log',*
    * directory =&gt; 'DMPDIR',*
    * filetype =&gt; 3);*
    * Dbms_DataPump.Add_File(handle =&gt; hand,*
    * filename =&gt; 'expdp_plsql.dmp',*
    * directory =&gt; 'DMPDIR',*
    * filetype =&gt; 1);*
    * -- Dbms_DataPump.Set_Parameter(handle =&gt; hand,*
    * -- name =&gt; 'ESTIMATE',*
    * -- value =&gt; 'STATISTICS');*
    * /* Dbms_DataPump.DATA_FILTER(HANDLE =&gt;HAND,*
    * Dbms_DataPump.Start_Job(hand);*
    END;{color}
    BEGIN
    * DBMS_SCHEDULER.CREATE_JOB (*
    * job_name =&gt; 'FULLEXPJOBXE',*
    * job_type =&gt; 'EXECUTABLE',*
    * job_action =&gt; 'unilit.run_export',*
    * repeat_interval =&gt; 'FREQ=DAILY',*
    * enabled =&gt; TRUE*
    END;
    I submited the following sentence:
    SELECT FROM dba_scheduler_jobs WHERE job_name = 'FULLEXPJOBXE';*
    SELECT FROM dba_scheduler_job_log WHERE job_name = 'FULLEXPJOBXE';*
    ..the sentence 2 indicate job status_ FAILED.
    Help me please.
    Roberto.

    Perhaps you can try this ->
    BEGIN
       sys.DBMS_SCHEDULER.create_job (
          job_name          => 'MYSCHEMUSER.FULLEXPJOBEX',
          job_type          => 'PLSQL_BLOCK',
          job_action        => 'DECLARE
                                  hand   NUMBER;
                                BEGIN
                                  hand :=
                                      DBMS_DATAPUMP.Open (operation   => ''EXPORT'',
                                                          job_mode    => ''FULL'',
                                                          job_name    => ''FULLEXPJOBXE'',
                                                          version     => ''COMPATIBLE'');
                                  DBMS_DATAPUMP.Add_File (handle      => hand,
                                                          filename    => ''expdp_plsql.log'',
                                                          directory   => ''DMPDIR'',
                                                          filetype    => 3);
                                  DBMS_DATAPUMP.Add_File (handle      => hand,
                                                          filename    => ''expdp_plsql.dmp'',
                                                          directory   => ''DMPDIR'',
                                                          filetype    => 1);
                                  DBMS_DATAPUMP.Start_Job (hand);
                              END;',
          repeat_interval   => 'FREQ=DAILY;BYHOUR=7;BYMINUTE=0;BYSECOND=0',
          start_date        => SYSTIMESTAMP AT TIME ZONE 'US/Eastern',
          job_class         => 'DEFAULT_JOB_CLASS',
          comments          => 'Full Export Job',
          auto_drop         => FALSE,
          enabled           => FALSE
       sys.DBMS_SCHEDULER.set_attribute (name        => 'MYSCHEMAUSER.FULLEXPJOBEX',
                                         attribute   => 'restartable',
                                         VALUE       => TRUE);
       sys.DBMS_SCHEDULER.enable ('MYSCHEMAUSER.FULLEXPJOBEX');
    END;N.B.: Not Tested...
    Regards.
    Satyaki De.

  • Imp problem on --- jobs

    I have a 9i database exp file called test.dmp. I need to imp to 10.2 g database. I can import everything else but jobs. Following is the error message I got. I checked the 10.2 database, there is no jobs running on that database for that schema.
    Any help is appraciated.
    import done in US7ASCII character set and AL16UTF16 NCHAR character set
    import server uses AL32UTF8 character set (possible charset conversion)
    . importing APS's objects into APS
    IMP-00017: following statement failed with ORACLE error 1:
    "BEGIN SYS.DBMS_IJOB.SUBMIT(JOB=>2,LUSER=>'APS',PUSER=>'APS',CUSER=>'APS',"
    "NEXT_DATE=>TO_DATE('2007-06-05:02:13:02','YYYY-MM-DD:HH24:MI:SS'),INTERVAL="
    ">'SYSDATE+30/1440 ',BROKEN=>FALSE,WHAT=>'APS.ACC_LOCK;',NLSENV=>'NLS_LANGUA"
    "GE=''AMERICAN'' NLS_TERRITORY=''AMERICA'' NLS_CURRENCY=''$'' NLS_ISO_CURREN"
    "CY=''AMERICA'' NLS_NUMERIC_CHARACTERS=''.,'' NLS_DATE_FORMAT=''DD-MON-RR'' "
    "NLS_DATE_LANGUAGE=''AMERICAN'' NLS_SORT=''BINARY''',ENV=>'0102000200000000'"
    "); END;"
    IMP-00003: ORACLE error 1 encountered
    ORA-00001: unique constraint (SYS.I_JOB_JOB) violated
    ORA-06512: at "SYS.DBMS_IJOB", line 210
    ORA-06512: at line 1

    There is already a job number 2 on the destination database. The job number is independent of the user/owner of the job. You have three choices...
    1) drop the existing job 2
    2) copy and past the script provided in the import log, edit it to change the job number, clean up the text as necessary, and submit it yourself.
    3) use a gui tool of some sort to create the job, all the information you need is provided in the dml dumped into the log.

  • Problem Exporting Job to a Production Repository

    We're running Data Integrator 11.5.
    I'm exporting jobs from my development repo to a production repo and am having some weirdness when starting jobs from the Designer client.  No matter which repo I connect to, if I start a job, I see it running in the Monitor tab of both repositories.  Same name and everything.  It's really only running in the repo I start it in, using the correct System Configuration settings, etc., but I can see it in both.  I cannot view the log contents from within the non-starting repo, however.  Bu, if I cancel it in the non-starting repo, it will cancel the running job.  Even if I go back into my dev repo and rename the jobs, when I start the job in the prod repo, it will show the dev job, with it's different name, running in the dev repo monitor (even though, in fact, that job is not running).  In the prod repo monitor, I see the correct job name.
    I'm wondering if anyone else has had these kinds of issues and whether it's something I can fix, or whether I'm just going to have to live with it until we upgrade to DS 4.0 in a couple of months.

    Andy
    It has everything to do with the Format of the card.
    These cards are formatted FAT16 or FAT 32, and these older Windows formats have a limit to the number of objects they can have on the root directory of the volume. So, don’t copy the images from the folder on your desktop, just drag the folder to the card...
    Regards
    TD

Maybe you are looking for

  • Won't retrieve new mail

    I am running Mail.app 3.6 on OS X 10.5.8. I have three IMAP mail accounts set up. Last night, Mail.app stopped pulling in new mail. You can click the Get Mail button, it goes and looks (it all looks normal in the Activity Window), and returns with no

  • Forgot passcode for phone 6

    When I set my new iphone 6 up I changed the passcode and forgotten it.  I tried to restore from a back up from itunes but it says that "find my iPhone" on the phone needs to be turned off. Seriously? the solutions conflict against one another. I know

  • USB 2 external hard drive - 40 GB.

    I have a new 40 GB hard drive which is formatted as FAT32. From what I read in these pages, I am gathering that it would be to my advantage to reformat as Mac Extended (journalled), before loading any files to it. It seems to be easy to reformat usin

  • Dashboard widgets won't install

    When I download a widget and click 'install' nothing happens. I have tried to move the widget directly to my home/library/widgets folder, but apparently I don't have one. When I tried to create this folder, I was told "The item cannot be created beca

  • [solved] a2ps - what's happened?

    I used to use 'a2ps' a lot - great for source listings! I haven't used it for a while - and now when I try, it generates a ps-file (as always), but the hp-printer wont accept it (it ends up in the big bit-bucket) and 'gv' complains about some error a