Backing up Jobs, Chains and Programs in Oracle Job Scheduler

What is the best way to back up Jobs, Chains and Programs created in the Oracle Job Scheduler via Enterprise Manager - and also the best way to get them from one database to another. I am creating quite a long chain which executes many programs in our test database and wish to back everything up along the way. I will also then need to migrate to the production database.
Thanks for any advice,
Susan

Hi Susan,
Unfortunately there are not too many options.
To backup a job you can use dbms_scheduler.copy_job. I believe EM has a button called "create like" for jobs and programs but I am not sure about chains and this can be used to create backups as well.
A more general purpose solution which should also cover chains is to do a schema-level export using expdp i.e. a dump of an entire schema.
e.g.
SQL> create directory dumpdir as '/tmp';
SQL> grant all on directory dumpdir to public;
# expdp scott/tiger DUMPFILE=scott_backup.dmp directory=dumpdir
You can then import into a SQL text file e.g.
# impdp scott/tiger DIRECTORY=dumpdir DUMPFILE=scott_backup SQLFILE=scott_backup.out
or import into another database (and even another schema) e.g.
# impdp scott/tiger DIRECTORY=dumpdir DUMPFILE=scott_backup
Hope this helps,
Ravi.

Similar Messages

  • Job Chaining and Quickcluster

    I always get
    Status: Failed - HOST [Macintosh.local] QuickTime file not found.
    after the first part of the job is successful.
    If I just submit with "This Computer" it works fine. Original file is ProRes 422, first job uses ProRes 422 to scale it down to 480x270. Second job compresses to h.264. I found some info on this board from 2008 saying that job chaining and quickclusters don't work together. Is that still how it is? that's really useless..
    I also found this from Jan 2009
    David M Brewer said:
    The reason the second rendering is failing is.......this has happen to me a few times until I figured it out.....make sure you set the dimension to the video in the h.264 settings, set to the same size as the Pro Rez dimensions.
    For the most part the dimensions are left blank for the second link, h.264. And don't use 100% of source. Put the physical numbers into the spaces. When you link one video to another, the second codec doesn't know the specs settings you made for the first video settings.
    Also make sure you (at least check) set the audio for the second video. I usually have the Pro Res do the audio conversion and just past-through to the second video settings. Again it can happen the the audio is disable in the h.264 settings. This has happen a few time for me........... Check and double check your settings!
    He doesn't mention anything about with or w/o Quickclusters, but I tried what he said and could not get it to work with quickclusters...
    Anyone got any new info on this?

    Studio X,
    Thanks for taking the time to run some tests and post your results.
    I'm finding the same results with converting ProRes422 to mp4, But...
    Other codecs are giving me very different results.
    I've run some random tests to try to get a grip on whats happening.
    First I was playing around with the # of instances. I've read here and on Barefeats that (at least for my model MacPro) the instances should be set to (# of processors/2), so I've been using 4 for quite a while now and thought I'd test it for myself.
    A single 5min ProRes422 1920x1080 29.97 file to h.264
    This Computer- 15:28
    2 Instances- 14:56
    3 Instances- 13:52
    4 Instances- 14:48
    5 Instances- 13:43
    6 Instances- 13:48
    7 Instances- 13:58
    In this case 5i was the fastest but not using a Quickcluster wasn't far off
    A single 2m30s ProRes422 1920x1080 29.97 file to h.264
    This Computer- 3:19
    2 Instances- 3:45
    3 Instances- 3:45
    4 Instances- 3:45
    5 Instances- 3:50
    6 Instances- 4:00
    7 Instances- 4:00
    Interesting...not using a Quickcluster is fastest
    A single 2m30s ProRes422 1920x1080 29.97 file Scaled down using original codec
    This Computer- 5:20
    4 Instances- 4:10
    5 Instances- 4:10
    7 Instances- 4:11
    A single 1m30s ProRes422 1920x1080 29.97 file to mpeg-2
    This Computer- 2:12
    5 Instances- 2:10
    When Quickclusters are faster, 4-5 instances does seem to be the sweet spot(again for my setup).
    In the mpeg-2 test, I should have used a longer clip to get a better test but it was getting late and I was just tring to get an idea of the codecs usage of my resources. I was also monitoring CPU usage with Activity Monitor in all tests.
    Now multiclip batches:
    I forgot to write down the length of the clips in this first test but it consisted of 8 ProRes 422 clips. 3 about 1m long and the rest between 13s and 30s
    8 ProRes 422 clips to mp4
    This Computer- 11:25
    4 Instances- 5:16
    Same results as Studio X
    Next tests with 5 clips(total 1m51s)
    5 ProRes 422 clips to h.264
    This Computer- 5:00
    4 Instances- 4:52
    5 ProRes 422 clips to mpeg-2
    This Computer- 2:55
    4 Instances- 3:01
    5 ProRes 422 clips to DV NTSC
    This Computer- 6:40
    4 Instances- 5:12
    5 ProRes 422 clips to Photo Jpeg
    This Computer- 2:44
    4 Instances- 2:46
    I re-ran the last test with 7 clips because of the time it took reassemble the segmented clips
    7 ProRes 422 clips to Photo Jpeg(total 3m14s)
    This Computer- 4:43
    4 Instances- 3:41
    One last test,
    A single ProRes 422 clip to Photo Jpeg(4:05;23)
    This Computer- 5:52
    4 Instances- 4:10
    Let me start off by saying it is clear that there are many factors that effect compression times such as # of clips, length of clips, and codecs, but here are some of the things I noted:
    1)Some codecs themselves seem to be "more aware" of the computers resources than others.
    When I compress to h.264 w/o a cluster it will use about 80-85% of all resources
    When I compress to h.264 with a cluster it will use about 90-95% of all resources
    When I compress to PhotoJpeg w/o a cluster it will use about 20-25% of all resources
    When I compress to PhotoJpeg with a cluster it will use about 80-85% of all resources
    2)The time it takes to reassemble clips can be quite long and could effect overall speed
    In the very last test, compressing a single file to photoJpeg using 4 instances took 4m10s. Watching Batch Monitor I noted that it took 2m0s to compress and 2m10s to reassemble.Wow...
    It would be interesting to see how the disassemble/reassemble of bigger and larger batches using clusters effect overall time. But that would take some time.
    I think the thing I will be taking with me from all of this is your workflow is your own. If you want to optimize it, you should inspect it, test it and adjust it where it needs adjusting. Now if anyone has the time and was to run similar tests with very different results I'd love to know about it...

  • Date and Time issue oracle job

    i have wriited oracle job to execute my procedure and the job has to execute the procdedure at 11:30 pm every day.
    following are the parameters of the JOB.
    next_date => TRUNC(SYSDATE) + 23/24+ 0.5/24
    interval  => 'SYSDATE + 1'
    But it is not executing the procedure at 11.30 pm everydat. Waht coud be wrong in the schedule part. please help me in this.

    Hi,
    born2win wrote:
    i have wriited oracle job to execute my procedure and the job has to execute the procdedure at 11:30 pm every day.
    following are the parameters of the JOB.
    next_date => TRUNC(SYSDATE) + 23/24+ 0.5/24
    interval  => 'SYSDATE + 1'
    But it is not executing the procedure at 11.30 pm everydat. Waht coud be wrong in the schedule part. please help me in this.When you use SYSDATE in the interval parameter, it is the time when the job finishes , not the time when the job begins (which may not be the time you wanted the job to begin, if the database is down).
    If, regardless of when a job finishes, you want it to run again at 11:30 PM the next day, then use
    interval  => 'TRUNC (SYSDATE) + 1 + (23.5 / 24)'Unless you're using a very old version of Oracle, you should use dbms_scheduler instead of dbms_job. See
    http://docs.oracle.com/cd/B28359_01/appdev.111/b28419/d_sched.htm#CIHHBGGI

  • 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

  • Backing up all data and objects of Oracle 10g Express Edition...

    Hi,
    I have tables, packages, views, procedures, etc. in Oracle 10g Express Edition, running on Windows XP. I would like to create a backup of the complete database (objects, relationships, all data, etc) into a file that I can restore in case the database crashes.
    What do I do?
    Thanks.

    markk2 wrote:
    I am actually using it for Production. Yes, I would need objects and data.I would suggest to look at the Standard Edition as well if you are using it for production.
    Is there a way to backup everything without data and then backup everything with data? Also, is there a way to restore everything without data and then restore everything with data?What's the meaning of "backup everything withiut data" and "then backup everything with data" ? The data is in the tables alone. The rest of the objects are not containing data but are using it, be it views, procedures etc. There is no such restore like without data. Without data, all what you would be getting would be structures of the tables which is going to be of no use. The export/import tool, is a simple tool which can put the tables (and other objects as well) along with their data in your dumpfile . In the situation of loss of a table, you can do an import from that dump file and you can restore the table back(with or without data, depends on the choice of yours while running Import command) . But this is just going to be a logical recovery of the object(s). For a complete database, it's better to use RMAN which would copy the datafiles and keep it with itself. Later, when you have a crash, you can restore those files to get teh database recovered. But if you want complete security, its better to put your db in the archive log and then do the backup along with the archive log files.
    HTH
    Aman....
    How to do this exactly? Thanks!

  • Backing Up Database Table and Records in Oracle 10g

    Hi All,
    I created database for my company with Oracle 10g Database Server and want to backup all my database tables and records within (i.e creating another username inside the data and transfer them) and outside (i.e transfering them in another destination outside the database server) the database. Could you please instruct me on how to achieve?
    I look forward to hearing from you all.
    Thank you.
    Jc

    Hi, use RMAN utility
    do this
    rman target sys/*** nocatalog
    run {
      allocate channel t type disk;
      backup
        format '/app/oracle/backup/%d_t%t_s%s_p%p'
          (database);
       release channel t;
    {code
    Also read backup and recovery guide at http://download.oracle.com/docs/cd/B19306_01/backup.102/b14192/toc.htm
    regards                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to send a report for particular job chain every hour regarding the job

    Hi Gerben/Anton
    We are running one jobchain for all billing jobs . Is any chance is there to send a report automatically to certain pupils for every one hour regarding the job status(excel format ) .
    Coudl you please help on this it should be good if i get any reply on this .
    Thanks
    Ramkumar

    Hi Ram,
    I need your help on getting mail alert with  log file.
    here is how i have provide the parameter valure for job definition: system_mail_sent.
    Step1 with one job1 and step2 with one job1
    In step2 , i have included the job definition to send mail. with below parameter.
    Relative Job: Step 1, Job 1
    Job File: step 1, job 1: step 1/log.txt
    Please let me  know if the above method is correct or not.
    NOTE: mail server and from address are configured.
    Thanks,
    Karthik

  • My 5 year old iMac's hard drive is at the point of failing.  I'm trying to save al files on it, but it wont allow backup via Time Machine to an external hard drive.  How can I keep from losing all the files and programs if the hard drive fails?

    I'm concerned that my iMac, purchased 5 years ago, is about the crash and I can't back up my files and programs to an external hard drive via Time Machine because the computer freezes after only a couple hundred MB and gets nowhere near the required amount.
    How can I save these files and programs if the computer hard drive fails or has to be replaced without the backup being able to be done? I need to do something quickly, but I'm not sure what I can or should be doing.

    Get an external hard drive, some good ones that I like are the OWC, http://www.macsales.com Mercury Elite Pro drives...they are very good and reasonably priced.
    Get the drive, connect via USB or FireWire, then use Disk Utility to format the new drive as Mac OS X Extended (Journaled), and then use Disk Utility to Restore the current drive to the new drive.  Restore actually clones the drive so you will have a bootable backup on the external drive.
    After you have formatted and named the external drive, click Restore in the main Disk Utility window, drag the name of the old hard drive to the Source box, and drag the name of the new external drive to the Destination box.  DU will make an exact clone of the internal drive on the external drive.
    That clone will be a complete backup of the operating system and all of your data.
    You can test it by restarting the iMac and hold the Option key.  That will give you a grey screen showing all bootable drives.  Just click the external drive, then click the upward pointing arrow under it and the iMac will boot from that drive.

  • How to Schedule a Job Chain to start automatically on SAP CPS.

    Hi,
    I did a job chain and i want to run automatically on sap cps Tuesday thru Saturday at 6:00 a.m., i make a calendar on sap cps with this specific options but the job chain doesn't start running.  I don't know if i need to do something more, so if someone can give a little help with this i will apreciate a lot.
    Thanks,
    Omar

    It finished ok but on the operator message i got the following message:
    Unable to resubmit this job.
    Details:
    com.redwood.scheduler.api.exception.TimeWindowExpectedOpenWindowException: CalculateNextClose should only be called on an open time window
    at com.redwood.scheduler.model.method.impl.TimeWindowMethodImpl.calculateNextCloseIntersectionInt(TimeWindowMethodImpl.java:388)
    at com.redwood.scheduler.model.method.impl.TimeWindowMethodImpl.calculateNextCloseIntersectInt(TimeWindowMethodImpl.java:249)
    at com.redwood.scheduler.model.TimeWindowImpl.calculateNextCloseIntersectInt(TimeWindowImpl.java:212)
    at com.redwood.scheduler.model.method.impl.SubmitFrameMethodImpl.calculateNextInt(SubmitFrameMethodImpl.java:178)
    at com.redwood.scheduler.model.SubmitFrameImpl.calculateNext(SubmitFrameImpl.java:176)
    at com.redwood.scheduler.model.listeners.JobStatusChangePrepareListener.resubmitSubmitFrameJob(JobStatusChangePrepareListener.java:763)
    at com.redwood.scheduler.model.listeners.JobStatusChangePrepareListener.resubmitJob(JobStatusChangePrepareListener.java:637)
    at com.redwood.scheduler.model.listeners.JobStatusChangePrepareListener.processJobToFinalState(JobStatusChangePrepareListener.java:520)
    at com.redwood.scheduler.model.listeners.JobStatusChangePrepareListener.modelModified(JobStatusChangePrepareListener.java:233)
    at com.redwood.scheduler.persistence.impl.LowLevelPersistenceImpl.informListeners(LowLevelPersistenceImpl.java:728)
    at com.redwood.scheduler.persistence.impl.LowLevelPersistenceImpl.writeDirtyObjectListRetry(LowLevelPersistenceImpl.java:207)
    at com.redwood.scheduler.persistence.impl.LowLevelPersistenceImpl.access$000(LowLevelPersistenceImpl.java:38)
    at com.redwood.scheduler.persistence.impl.LowLevelPersistenceImpl$WriteDirtyObjectListUnitOfWork.execute(LowLevelPersistenceImpl.java:79)
    at com.redwood.scheduler.persistence.impl.PersistenceUnitOfWorkManager.execute(PersistenceUnitOfWorkManager.java:34)
    at com.redwood.scheduler.persistence.impl.LowLevelPersistenceImpl.writeDirtyObjectList(LowLevelPersistenceImpl.java:102)
    at com.redwood.scheduler.cluster.persistence.ClusteredLowLevelPersistence.writeDirtyObjectList(ClusteredLowLevelPersistence.java:59)
    at com.redwood.scheduler.model.SchedulerSessionImpl.writeDirtyListLocal(SchedulerSessionImpl.java:648)
    at com.redwood.scheduler.model.SchedulerSessionImpl.persist(SchedulerSessionImpl.java:626)
    at com.redwood.scheduler.apiint.model.UnitOfWorkManager.perform(UnitOfWorkManager.java:32)
    at com.redwood.scheduler.apiint.model.UnitOfWorkManager.perform(UnitOfWorkManager.java:13)
    at com.redwood.scheduler.jobchainservice.JobChainService.childJobFinalStatus(JobChainService.java:223)
    at com.redwood.scheduler.core.processserver.ProcessServerRuntime.childJobFinalStatus(ProcessServerRuntime.java:836)
    at com.redwood.scheduler.core.processserver.ProcessServerRuntime.onMessage(ProcessServerRuntime.java:248)
    at com.redwood.scheduler.infrastructure.work.MessageEnabledWork.run(MessageEnabledWork.java:104)
    at com.redwood.scheduler.infrastructure.work.WorkerImpl.run(WorkerImpl.java:109)
    at java.lang.Thread.run(Thread.java:534)

  • How to setup job chain with time dependant steps

    Hi
    I need to setup the following job chain with next job step waiting until specified time before starting
    Step 1 Job A Time 07:30 if complete go to job step 2
    Step 2 Job B start time 09:00 if complete go to job step 3
    Step 3 Job C start time 09:30 (end job)
    Have tried to use a pre-condition in step 2 and 3 but that just caused thoes steps to be skipped.
    can somebody point me in the right direction
    Thanks in advance
    Jon

    Hi Anton/Babu
    Thanks for your help, I managed to set this up by embedding multiple Job Chains with their own time window in a master job chain.
    As we continue our roll out not sure how scalable the solution will be as you have to create multiple job chains for essentially the same job with the only difference being a specific time window.
    I guess only time will tell.
    Thanks for you help again guys
    Jon

  • Need informations about dependency scenario with job chains

    Hi,
    I created several job chains containing one ora mor scripts.
    Now I want to create dependencies between this job chains. For example : job chain 2 must begin when job chain 1 is finished, job chain 3 must begin when job chain 2 is finished etc...
    So my first question : how can I do that ? (create dependencies between job chains)
    Second point : all this job chains have not the same time periods : example : job chain 1 must execute every day, job chain 2 every monday, job chain 3 every day...... so if i take the example of tuesday : job chain 1 must execute and when it is finished then job chain 3 must execute. On Monday : job chain1, then job chain 2 and for finish job chain 3. How can I do that ?
    Edited by: kennel yves on Aug 19, 2009 12:27 PM

    Hi Yves,
    If your chains are not dependent on each other, you should submit them as separate jobs.
    So if you have a chain that runs every workday at 18:00, and another chain that runs on Tuesday and Friday at 14:00, and there are no dependencies between the chains, then you should:
    - submit the first chain at 18:00, time window "Workdays", submit frame "EveryDay"
    - submit the second chain at 14:00, time window "TuesdaysAndFridays", submit frame "EveryDay" (it will skip the days that the time window is closed anyway)
    Same for the other independent chains with different schedules. If there are no dependencies, there is no need to combine chains together.
    The first reply was for the scenario where you have chain A and B, A starts at some time and B starts after A. Additionally, B only runs on Tuesdays, while A runs every workday. In that case there are dependencies between the two chains, and then a parent chain is very convenient:
    - chain "RunAandB", with two steps
    - step 1: call chain A
    - step 2: call chain B, with a precondition so that B only runs on Tuesdays.
    Regards,
    Anton Goselink.

  • Start external application with oracle job

    I'm trying to start external program with oracle job.
    Here is an example (I used SYS as SYSDBA):
    BEGIN
    DBMS_SCHEDULER.CREATE_JOB (
    job_name => 'my_job',
    job_type => 'executable',
    job_action => 'C:/WINDOWS/system32/cmd.exe',
    enabled => true,
    auto_drop => false );
    END;
    But job STATE comes FAILED.
    How should I do this?
    Result was not better when I used
    BEGIN
    DBMS_SCHEDULER.CREATE_PROGRAM (
    program_name => 'my_prg',
    program_type => 'EXECUTABLE',
    program_action => 'C:/WINDOWS/system32/cmd.exe',
    enabled=>TRUE);
    DBMS_SCHEDULER.CREATE_JOB (
    job_name => 'my_job',
    program_name => 'my_prg',
    enabled => TRUE,
    auto_drop => false );
    END;
    Edited by: user458393 on Feb 16, 2010 1:55 AM

    Take a look at this thread: Running a Windows BAT file using DBMS_SCHEDULER
    C.

  • Executing a job chain "on demand"

    Hello,
    I have a overall job chain which contains several job chains. This overall job chain is executing every day.
    The job chains included in the overall job chains have precondictions and different time windows.
    Now I want to include job chains (in this overall job chain) which are executing "on demand"
    How can I do that ?
    Thanks.

    Hello Shashi,
    here's the coding for an exit function that can be used to trigger any process chain.
    FUNCTION Z_RSPC_API_CHAIN_START.
    *"*"Local interface:
    *"  IMPORTING
    *"     VALUE(I_AREA) TYPE  UPC_Y_AREA
    *"     VALUE(I_PLEVEL) TYPE  UPC_Y_PLEVEL
    *"     VALUE(I_PACKAGE) TYPE  UPC_Y_PACKAGE
    *"     VALUE(I_METHOD) TYPE  UPC_Y_METHOD
    *"     VALUE(I_PARAM) TYPE  UPC_Y_PARAM
    *"     REFERENCE(IT_EXITP) TYPE  UPF_YT_EXITP
    *"     REFERENCE(ITO_CHASEL) TYPE  UPC_YTO_CHASEL
    *"     REFERENCE(ITO_CHA) TYPE  UPC_YTO_CHA
    *"     REFERENCE(ITO_KYF) TYPE  UPC_YTO_KYF
    *"  EXPORTING
    *"     REFERENCE(ETO_CHAS) TYPE  ANY TABLE
    *"     REFERENCE(ET_MESG) TYPE  UPC_YT_MESG
    * SEM-BPS: Exit function for starting a BW process chain
    * Parameter:
    * P_CHAIN     RSPC_CHAIN
    * Fields to be changed:
    * All
    * Run the function for a planning package that contains no data.
      DATA:
        ls_exitp TYPE upf_ys_exitp,
        l_pchain TYPE rspc_chain.
    * Get name of process chain from parameter
      READ TABLE it_exitp INTO ls_exitp WITH KEY parnm = 'P_CHAIN'.
      IF sy-subrc = 0.
        l_pchain = ls_exitp-chavl.
      ELSE.
        EXIT.
      ENDIF.
    * Start process chain
      CALL FUNCTION 'RSPC_API_CHAIN_START'
        EXPORTING
          i_chain = l_pchain.
    ENDFUNCTION.
    It looks simple but you have to provide additional logic to prevent users from running this function too many times.
    Regards,
    Marc
    SAP NetWeaver RIG

  • Oracle Back end job procedure and forms 10g

    Hi friends,
    I have to insert employee joining date into "B_join" Table from "Emp" table , with Flag of "IN" (inserted) after 10 Min the Flag has to be changed "VA"(validated), for this i have to create oracle job in the backend, before
    1)shoud i need to create procedure which is inserting data into "B_join" table?
    2)the same procedure i have to use it in the job procedure?
    3) i have to show Message to the Manager in the forms as "Hello Sir tomorow is joning of emp1,emp2,emp3,,emp4.......( list extends as per empployee).
    advice me
    Thanks and Regards
    VeeKay

    Hi friends i have created this procedure
    CREATE OR REPLACE PROCEDURE sms_insert1 is
    CURSOR c_update
    IS
    SELECT *
    FROM emp
    WHERE TO_CHAR (dob, 'ddmm') = TO_CHAR (TRUNC (SYSDATE + 1), 'dmm');
    r_update c_update%ROWTYPE;
    m_emp_cpr NUMBER (9);
    BEGIN
    FOR r_update IN c_update
    LOOP
    INSERT INTO b_join VALUES ('10000001',
    r_update.emp_name,
    'EN',
    r_update.emp_cpr_id);
    EXIT WHEN c_update%NOTFOUND;
    END LOOP;
    commit;
    EXCEPTION
    WHEN NO_DATA_FOUND
    THEN
    dbms_output.put_line ('NO employees joining is tommorow');
    dbms_output.put_line ('NO employees joining is tommorow');
    WHEN OTHERS
    THEN
    dbms_output.put_line ('recheck the employee details');
    END;
    I have to insert employee joining date into "B_join" Table from "Emp" table , with Flag of "IN" (inserted) after 10 Min the Flag has to be changed "VA"(validated), for this i have to create oracle job in the backend.
    I have run Scheduled Job
    BEGIN
    Dbms_Scheduler.create_job(
         job_name     => 'DEMO_INSERT_NEW'
         ,job_type     => 'STORED_PROCEDURE'
         ,job_action     => 'SMS_INSERT'
         ,start_date     => SYSDATE
         ,repeat_interval => 'FREQ=MINUTELY'
         ,enabled     => TRUE
         ,comments     => 'JOINING DETAILS INSERT.');
    END;
    LATER I HAVE RUN THIS PROCEDURE ALSO
    SQL> EXEC DBMS_LOCK.SLEEP (10)
    data is not inserted in to the table
    and how do i change the flag "IN" to "VA" in the table?
    shall put the procedure in DB Trigger?

  • Genetare the back ground jobs of the program from the SM36 tcode

    Hi All,
        Consider the following points:
    -- My main program will schedule the jobs using the CALL TRANSACTION method
    -- Now i want to create a Variant for the Main program and generate the back ground job using the SM36 Tcode
    -- Finally it has all the jobs of the main program
    -- Program is working fine from the Frontend only.....
    Please provide solution for the same.
    Thanks in Advance.
    Regards,
    Ramana

    Sravya,
    On SM36 when you schedule jobs, you will see options like AFTER EVENT and AFTER JOB. You can use these to schedule you jobs accordingly. Else you can also think of making each of these jobs as a steps in one single job if your requirement allows you to do the same.
    In case of using events, you should make sure to raise the event using available FMs.
    thanks,
    Vikram.M

Maybe you are looking for