Problem in Date info at scheduling jobs....

Hi...
I have defined a materialized view ..
create materialized view mv_ekkrem_vlavon
  build immediate
  refresh on demand
  as
select distinct seq_code_eidos .....I want to create a scheduled job using the DBMS_SCHEDULER which will refresh this materialized view ... doing a full refresh of its contents....
so....i following the following steps...-connected as sys:
begin
  dbms_scheduler.drop_job('mv_ekkrem_vlavon_job');
end;
begin
  dbms_scheduler.drop_schedule('mv_ekkrem_vlavon');
end;
begin
dbms_scheduler.create_schedule
('mv_ekkrem_vlavon','15/08/2007 17:20:00','FREQ=DAILY;INTERVAL=1');
end;
exec dbms_scheduler.create_job(job_name=>'mv_ekkrem_vlavon_job',schedule_name=>'mv_ekkrem_vlavon',job_type=>'PLSQL_BLOCK',job_action=> 'BEGIN dbms_mview.refresh(''mv_ekkrem_vlavon''); END;');
exec dbms_scheduler.enable('mv_ekkrem_vlavon_job');However , after 17:20:00 local time (db time) the mv refresh did not take place....
Trying to find out what may be the reason... i issued the following command:
SQL> select job_name,schedule_name,start_date,repeat_interval,last_start_date,next_run_date from dba_scheduler_jobs
  2  where job_name='MV_EKKREM_VLAVON_JOB';
JOB_NAME                       SCHEDULE_NAME                                                                    START_DATE                                                                       REPEAT_INTERVAL                                                                  LAST_START_DATE                                                                  NEXT_RUN_DATE
MV_EKKREM_VLAVON_JOB           MV_EKKREM_VLAVON                                                                 15/08/20 07:17:20,000000 +03:00                                                                                                                                                                                                                    15/08/20 07:17:20,000000 +03:00and issuing the command:
SQL> select to_char(NEXT_RUN_DATE,'dd/mm/rrrr hh24:mi') from dba_scheduler_jobs where job_name='MV_EKKREM_VLAVON_JOB';
TO_CHAR(NEXT_RUN_DATE,'DD/MM/R
15/08/2020 07:17
SQL> Select to_char(START_DATE,'dd/mm/rrrr hh24:mi') from dba_scheduler_jobs where job_name='MV_EKKREM_VLAVON_JOB'
2 /
TO_CHAR(START_DATE,'DD/MM/RRRR
15/08/2020 07:17
Can you find out which is the error in the job definition...????
Needless to write that i use Oracle Db10g.
Many thanks,
Simon

Hi,
The repeat_interval gets its timezone from the start_date parameter so if you want the job to run every 9am in a particular timezone XXX you would need to do something like
START_DATE => SYSTIMESTAMP at time zone 'XXX',
REPEAT_INTERVAL => 'FREQ=DAILY; BYHOUR=9;byminute=0;bysecond=0',
XXX can be something like -2:00 or a named time zone.
There is a dedicated dbms_scheduler forum at
Scheduler
Hope this helps,
Ravi.

Similar Messages

  • Info Package-Schedule Jobs in Back ground

    Hi,
       I want to schedule a job in back ground,I can find that option under schedule tab in the infopackage,
    But there is a similar data flow for different data targets when i checked the info package
    The column-Job Name Prefix/Sufic is filled with some value
    what exactly Job Name Prefix/Sufix will do
    Thanks

    Hi
    Thanks for the info provided,But u misunderstood my question
    I want to know what exactly the function of Job name prefix/sufix
    in the schedule
    Thanks

  • Report Queue Manager  - Scheduled Jobs

    Question: How/where does the Queue Manager store info for scheduled jobs?

    It is possible (IN 9iAS) to configure the Reports Server to store all requests in a database table. The Table(s) / View(s) are created by the script rw_server.sql located in $ORACLE_HOME/reports/admin/sql
    To configure this options, create the table and view with the rw_server.sql script, then add these lines in the
    <reports server name>.conf file <jobStatusRepository class="oracle.reports.server.JobRepositoryDB"> <property name="repositoryConn" value="user/password@tnsalias" confidential="yes" encrypted="no"/> </jobStatusRepository> The "value" attribute of the property "repositoryConn" should be a user/password@tnsalias that will be used to connect to the database. The account must have access to the tables created by the script rw_server.sql The combination confidential="yes" and encrypted="no" will provoke the encryption of the value attribute once the Report Server is re-started : After the Reports Server has started you will find: <jobStatusRepository class="oracle.reports.server.JobRepositoryDB"> <property name="repositoryConn" value="ihjFFBFD3jk5Xfrd5HeX5w3dE/E=" confidential="yes" encrypted="yes"/> </jobStatusRepository> Description of the rw_server_queue view columns can be found in the script rw_server.sql itself.
    Thanks,

  • 3.1EA2 - Scheduled Jobs

    I am trying to find a screen that shows the next run date for a scheduled job. I would like to suggest the field be added to the screen that appears when you right click the jobs folder and select open. You get a listing of all the jobs and it would be nice to see those that are scheduled to run and when they will run next. Also, the next run date should be in the details tab for the individual job. Just my two cents. Thanks.

    I am trying to find a screen that shows the next run date for a scheduled job. I would like to suggest the field be added to the screen that appears when you right click the jobs folder and select open. You get a listing of all the jobs and it would be nice to see those that are scheduled to run and when they will run next. Also, the next run date should be in the details tab for the individual job. Just my two cents. Thanks.

  • Deduplication error: there was a problem retrieving data deduplication schedule

    Hi,
    After changing dedup schedule once we are receiving this error and not able to change it any more.
     there was a problem retrieving data deduplication schedule

    Hi,
    After changing dedup schedule once we are receiving this error and not able to change it any more.
     there was a problem retrieving data deduplication schedule
    Take a look @ PowerShell cmdlets for dedupe here:
    PowerShell dedupe cmdlets
    http://technet.microsoft.com/en-us/library/hh848450.aspx
    Of your interest are Remove-DedupeSchedule and New-DedupSchedule ones. Try removing set schedule
    you have now, making sure the status is "no jobs" and then create new schedule to see would it make the difference. 
    Good luck!
    StarWind VSAN [Virtual SAN] clusters Hyper-V without SAS, Fibre Channel, SMB 3.0 or iSCSI, uses Ethernet to mirror internally mounted SATA disks between hosts.

  • Dynamically Set date not changing in schedule Job

    Hi,
    I have created a report with "Order Date" as one of the parameters on the selection screen. I have created a variant, say 'X' , to set this date parameter dynamiccaly as "Current date - 31 days".
    I have scheduled this program to run in background with the 'X' variant daily at certain time.
    Now, for the day on which I created this job , the Order Date is set to correct date . For ex if I am scheduling the job tdy it will be set to 06/10/08. However, for next day , that is tom this date is not getting changed. i.e Tommorrow again Order date is 06/10/08 but it should have been 07/10/08.
    So basically this dynamically set date is not chaning in the scheduled job.
    Any idea why this is happening and what is the corrective measure for this.
    Thanks!

    There is an INITIALIZATION event in the program.......
    Do the processing your date in that event only....
    for ex....
    select-options: date for order-date.
    INITIALIZATION.
    date-low = sy-datum or wat ever.
    Thanks
    Saurabh

  • How to schedule Job for data uploading from source to BI

    Hi to all,
    How to schedule Job for data uploading from source to BI,
    Why we required and how we do it.
    As I am fresher in BI, I need to know from bottom.
    Regards
    Pavneet Rana

    Hi.
    You can create [process chain |http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/502b2998-1017-2d10-1c8a-a57a35d52bc8?quicklink=index&overridelayout=true]for data loading pocess and schedule start process to any time/date etc ...
    Regadrs.

  • Problem with variable in scheduled job

    I'm trying to get the following scheduled job to run:
    switch(config)# scheduler job name backup_job
    switch(config-job)# cli var name timestamp $(TIMESTAMP) ; copy running-config bootflash:/$(SWITCHNAME)-cfg.$(timestamp) ; copy bootflash:/$(SWITCHNAME)-cfg.$(timestamp) tftp://1.2.3.4/
    switch(config-job)# exit
    switch(config)# scheduler schedule name backup_timetable
    switch(config-schedule)# job name backup_job
    switch(config-schedule)# time daily 1:23
    switch(config-schedule)# exit
    switch(config)# exit
    This job is taken directly from multiple Cisco MDS and Nexus documents. From what I can tell, the purpose of this job is to save the running configuration to a file on bootflash with date & time in the file name and then to copy the file from bootflash to tftp server.
    I can create the job and schedule successfully:
    switch(config)#show scheduler job name backup_job
    Job Name: backup_job
    cli var name timestamp $(TIMESTAMP)
    copy running-config bootflash:/$(SWITCHNAME)-cfg.$(timestamp)
    copy bootflash:/$(SWITCHNAME)-cfg.$(timestamp) tftp://1.2.3.4
    ==============================================================================
    switch(config)#show scheduler schedule name backup_timetable
    Schedule Name       : backup_timetable
    User Name           : admin
    Schedule Type       : Run every day at 10 Hrs 48 Mins
    Last Execution Time : Tue Mar  6 10:48:00 2012
    Last Completion Time: Tue Mar  6 10:48:00 2012
    Execution count     : 1
         Job Name            Last Execution Status
    backup_job                        Success (0)
    ==============================================================================
    The scheduled job runs successfully but the files that are created have the variable $(TIMESTAMP) in the file name instead of the actual date and time e.g. switch-cfg.$(TIMESTAMP)
    The logfile contains the following:
    Schedule Name  : backup_timetable                  User Name : admin
    Completion time: Tue Mar  6 10:59:26 2012
    --------------------------------- Job Output ---------------------------------
    `cli var name timestamp $(TIMESTAMP)`
    `copy running-config bootflash:/PEN-9509-2-cfg.$(TIMESTAMP) `
    Copy complete, now saving to disk (please wait)...
    `copy bootflash:/PEN-9509-2-cfg.$(TIMESTAMP) tftp://1.2.3.4 `
    Trying to connect to tftp server......
    Connection to server Established. Copying Started.....
    It looks to me that the $(timestamp) variable is being created successfully and is being replaced with the $(TIMESTAMP) variable but this is not being replaced with the actual date and time.
    The thing I don't get is that this looks to me that we're trying to nest variables and the same Cisco documents from which I get this configuration also state that nested variables are not allowed.
    I have tried this on different hardware - MDS9500, MDS9100, Nexus 5000, Nexus 7000 and different software - SAN-OS 3.3, NX-OS 4.1, NX-OS 5.2 but cannot get it to work. I have also tried to put the commands in a script and run with the run-script command but it still does not work.
    There is probably another method to achieve what this configuration is trying to achieve (and I would like to know if there is) but I want to know if this particular configuration will work.
    Can anyone tell me if they have got this working or can see what I'm doing wrong or can try running this in a lab please?

    I managed to get this resolved with a bit of a workaround. If I put the copy commands in a script and pass the variable to the run-script command as part of the scheduled job then it works ok. Trying to create the variable within the script (or as a separate scheduled job command) still doesn’t work.
    So, creating a script file (script) as follows:
    copy running-config bootflash:/$(SWITCHNAME)-cfg.$(timestamp)
    copy bootflash:/$(SWITCHNAME)-cfg.$(timestamp) tftp://1.2.3.4
    and creating a scheduled job with the following command:
    run-script bootflash:script timestamp=”$(TIMESTAMP)”
    achieves the desired result.

  • XIR2 - Date format problem in pdf file when scheduled to refresh

    We have a number of Deski reports that are scheduled to refresh daily and then be saved as pdfs to a network drive.  Despite the date format being correctly displayed in the reports stored in the respository, when the scheduled jobs save the reports as pdfs, it is changing the date format to the American format, i.e. 11/13/2007 instead of 13/11/2007.  I've checked both the Date/Time and Regional Settings on the server and they are set correctly.  If I log into Deski on the server and open a report and manually save it as a pdf, it saves it with the UK format.
    So what do I need to change to get the scheduled job to use the UK date format?

    Hi Anne,
    If you schedule reports through Infoview then please perform below steps.
    - Login to Infovinfoview -> go to Preferences.
    - Change the My interface locale is to "English (UK)" and My current Timezone to appropriate time zone under Genera tab.
    - Log off and login again.
    - Try to schedule the report to PDF or any other format and check the issue.
    If you schedule reports through CMC, then change Timezone setting to appropriate timezone in Preferences and schedule the reports.
    Thanks and Regards,
    Purna.

  • Problem editing scheduled jobs

    I just had a problem where 3.1, EA1 and EA2 all failed to edit a scheduled job in sqldev. A coworker was able to make the same edit using the same database ID, except he did it through SQL*Plus - that made me suspect a bug in sqldev.
    Here are the symptoms:
    In sqldev 3.1 (any flavor) > Scheduler > Jobs > edit an existing job > try to edit the JOB_ACTION field. In 3.1, double-clicking in the field only highlights the current word - it does not give me a cursor, and I cannot edit the contents.
    In sqldev 3.0.4, editing the same job works as expected. I can edit the field, and save the changes.
    Note that the server that I connect to is remote - it is hosted by Oracle OnDemand.

    Doesn't work for me either;
    Here's the exception dumped in the console when selecting Edit:
    oracle.classloader.util.AnnotatedNoClassDefFoundError:
              Missing class: antlr.TokenStream
            Dependent class: org.antlr.stringtemplate.language.DefaultTemplateLexer
                     Loader: ide-global:11.1.1.0.0
                Code-Source: /C:/Archivos%20de%20programa/sqldeveloper3.1.06.82/sqldeveloper/lib/stringtemplate-3.1b1.jar
              Configuration: <classpath> in /file:/C:/Archivos de programa/sqldeveloper3.1.06.82/sqldeveloper/extensions/oracle.sqldeveloper.jar!/META-INF/extension
    .xml
    The missing class is not available from any code-source or loader in the system.
            at oracle.classloader.PolicyClassLoader.defineClass(PolicyClassLoader.java:2387)
            at oracle.classloader.PolicyClassLoader.findLocalClass(PolicyClassLoader.java:1546)
            at oracle.classloader.SearchPolicy$FindLocal.getClass(SearchPolicy.java:226)
            at oracle.classloader.SearchSequence.getClass(SearchSequence.java:119)
            at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1728)
            at oracle.classloader.PolicyClassLoader.access$000(PolicyClassLoader.java:143)
            at oracle.classloader.PolicyClassLoader$LoadClassAction.run(PolicyClassLoader.java:331)
            at java.security.AccessController.doPrivileged(Native Method)
            at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1692)
            at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1674)
            at org.antlr.stringtemplate.StringTemplateGroup.<clinit>(Unknown Source)
            at oracle.dbtools.scheduler.generator.DBMSSchedulerCodeGenerator.initGroupLoader(DBMSSchedulerCodeGenerator.java:321)
            at oracle.dbtools.scheduler.generator.DBMSSchedulerCodeGenerator.<init>(DBMSSchedulerCodeGenerator.java:298)
            at oracle.dbtools.scheduler.generator.DBMSSchedulerCodeGenerator.getInstance(DBMSSchedulerCodeGenerator.java:309)
            at oracle.dbtools.scheduler.dialogs.newjob.NewJobCreateBase2$ListTask.getQuery(NewJobCreateBase2.java:94)
            at oracle.dbtools.raptor.backgroundTask.utils.DatabaseQueryTask.<init>(DatabaseQueryTask.java:62)
            at oracle.dbtools.raptor.backgroundTask.utils.DatabaseQueryTask.<init>(DatabaseQueryTask.java:48)
            at oracle.dbtools.scheduler.dialogs.newjob.NewJobCreateBase2$ListTask.<init>(NewJobCreateBase2.java:86)
            at oracle.dbtools.scheduler.dialogs.newjob.NewJobCreateBase2.getListTask(NewJobCreateBase2.java:58)
            at oracle.dbtools.scheduler.panels.common.ActionDialogBase.launch(ActionDialogBase.java:29)
            at oracle.dbtools.scheduler.dialogs.newjob.NewJobCreateBase2.launch(NewJobCreateBase2.java:81)
            at oracle.dbtools.raptor.controls.sqldialog.ObjectActionController.handleEvent(ObjectActionController.java:192)
            at oracle.ide.controller.IdeAction.performAction(IdeAction.java:529)
            at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:884)
            at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:501)
            at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
            at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
            at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
            at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
            at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
            at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:809)
            at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:850)
            at java.awt.Component.processMouseEvent(Component.java:6289)
            at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
            at java.awt.Component.processEvent(Component.java:6054)
            at java.awt.Container.processEvent(Container.java:2041)
            at java.awt.Component.dispatchEventImpl(Component.java:4652)
            at java.awt.Container.dispatchEventImpl(Container.java:2099)
            at java.awt.Component.dispatchEvent(Component.java:4482)
            at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
            at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
            at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
            at java.awt.Container.dispatchEventImpl(Container.java:2085)
            at java.awt.Window.dispatchEventImpl(Window.java:2478)
            at java.awt.Component.dispatchEvent(Component.java:4482)
            at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:644)
            at java.awt.EventQueue.access$000(EventQueue.java:85)
            at java.awt.EventQueue$1.run(EventQueue.java:603)
            at java.awt.EventQueue$1.run(EventQueue.java:601)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
            at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
            at java.awt.EventQueue$2.run(EventQueue.java:617)
            at java.awt.EventQueue$2.run(EventQueue.java:615)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:614)
            at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
            at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
            at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)And consecutive tries:
    java.lang.NoClassDefFoundError: Could not initialize class org.antlr.stringtemplate.StringTemplateGroup
            at oracle.dbtools.scheduler.generator.DBMSSchedulerCodeGenerator.initGroupLoader(DBMSSchedulerCodeGenerator.java:321)
            at oracle.dbtools.scheduler.generator.DBMSSchedulerCodeGenerator.<init>(DBMSSchedulerCodeGenerator.java:298)
            at oracle.dbtools.scheduler.generator.DBMSSchedulerCodeGenerator.getInstance(DBMSSchedulerCodeGenerator.java:309)
            at oracle.dbtools.scheduler.dialogs.newjob.NewJobCreateBase2$ListTask.getQuery(NewJobCreateBase2.java:94)
            at oracle.dbtools.raptor.backgroundTask.utils.DatabaseQueryTask.<init>(DatabaseQueryTask.java:62)
            at oracle.dbtools.raptor.backgroundTask.utils.DatabaseQueryTask.<init>(DatabaseQueryTask.java:48)
            at oracle.dbtools.scheduler.dialogs.newjob.NewJobCreateBase2$ListTask.<init>(NewJobCreateBase2.java:86)
            at oracle.dbtools.scheduler.dialogs.newjob.NewJobCreateBase2.getListTask(NewJobCreateBase2.java:58)
            at oracle.dbtools.scheduler.panels.common.ActionDialogBase.launch(ActionDialogBase.java:29)
            at oracle.dbtools.scheduler.dialogs.newjob.NewJobCreateBase2.launch(NewJobCreateBase2.java:81)
            at oracle.dbtools.raptor.controls.sqldialog.ObjectActionController.handleEvent(ObjectActionController.java:192)
            at oracle.ide.controller.IdeAction.performAction(IdeAction.java:529)
            at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:884)
            at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:501)
            at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
            at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
            at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
            at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
            at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
            at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:809)
            at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:850)
            at java.awt.Component.processMouseEvent(Component.java:6289)
            at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
            at java.awt.Component.processEvent(Component.java:6054)
            at java.awt.Container.processEvent(Container.java:2041)
            at java.awt.Component.dispatchEventImpl(Component.java:4652)
            at java.awt.Container.dispatchEventImpl(Container.java:2099)
            at java.awt.Component.dispatchEvent(Component.java:4482)
            at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
            at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
            at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
            at java.awt.Container.dispatchEventImpl(Container.java:2085)
            at java.awt.Window.dispatchEventImpl(Window.java:2478)
            at java.awt.Component.dispatchEvent(Component.java:4482)
            at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:644)
            at java.awt.EventQueue.access$000(EventQueue.java:85)
            at java.awt.EventQueue$1.run(EventQueue.java:603)
            at java.awt.EventQueue$1.run(EventQueue.java:601)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
            at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
            at java.awt.EventQueue$2.run(EventQueue.java:617)
            at java.awt.EventQueue$2.run(EventQueue.java:615)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:614)
            at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
            at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
            at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)Hope that helps for debugging,
    K.

  • Request vs Actual Start Date in Scheduler Jobs

    Hi, I want to run a PL/SQL block, all days, at 1:00 AM
    I've defined the following scheduler job, in a new (and empty) Job Class:
    <font face="Courier New">
    SQL> select job_name, repeat_interval, job_class, job_priority from dba_scheduler_jobs where job_class = 'MY_NOCHE_JOB_CLASS';
    JOB_NAME...........: UNIFICA_CLIENTES
    REPEAT_INTERVAL....: FREQ=DAILY;BYHOUR=1;BYMINUTE=0;BYSECOND=0
    JOB_CLASS..........: MY_NOCHE_JOB_CLASS
    JOB_PRIORITY.......: 1
    </font>
    However, the process is starting later, for example:
    <font face="Courier New">
    Request Start Date....: Nov 10, 2010 1:00:00 AM -02:00
    Actual Start Date.....: Nov 10, 2010 4:06:33 AM -02:00
    </font>
    Why is the difference between Request Start Date and Actual Start Date ?
    Is there any way to enforce the start of the Job at any time ?
    OS: Solaris 10 8/07 s10s_u4wos_12b SPARC
    DB: Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bit Production
    Thanks in advance

    The database is not down since at least 2 months
    <font face="Courier New">
    SQL> select LAST_START_DATE from DBA_SCHEDULER_JOBS where job_class = 'MY_NOCHE_JOB_CLASS';
    LAST_START_DATE
    ────────────────────────────────────
    17-NOV-10 04.21.00.447083 AM -02:00
    </font>
    Any advice ?

  • Problem: Aggregates for repository by scheduling an aggregate creation job

    Hi dear OBIEE Gurus,
    I‘m trying to create my Aggregates for my repository by scheduling an aggregate creation job as shown in
    http://www.oracle.com/technology/obe/obe_bi/bi_ee_1013/aggpersist/aggpersist.htm
    env:
    1-     Oracle Business Intelligence Product Version 10.1.3.4.1 (Build 090414.1900)
    2-     Windows XP
    3-     Three separate repositories (OE, SH, & Sample Sales) running in parallel each on its own analytics deployment on one OC4J server
    +++++++++++++++++
    What is the problem:
    When I try to start the scheduled job I get following message:
    +++++++++++++++++
    Oracle BI Server
    Copyright (c) 1997-2009 Oracle Corporation, All rights reserved
    delete aggregates
    delete aggregates
    Statement execute succeeded
    create aggregates
    "ag_Salesfacts"
    for "SH"."Salesfacts"("Amount Sold")
    at levels ("SH"."ProductsDim"."Category", "SH"."TimesDim"."Times Detail", "SH"."CustomersDim"."State Province")
    using connection pool "orcl SH"."Connection Pool"
    in "orcl SH".."SH"
    create aggregates
    "ag_Salesfacts"
    for "SH"."Salesfacts"("Amount Sold")
    at levels ("SH"."ProductsDim"."Category", "SH"."TimesDim"."Times Detail", "SH"."CustomersDim"."State Province")
    using connection pool "orcl SH"."Connection Pool"
    in "orcl SH".."SH"
    Processed: 2 queries
    Encountered 1 errors
    [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred.
    [nQSError: 46036] Internal Assertion: Condition !m_factTable.IsNull(), file .\Src\SAAPAggrCube.cpp, line 46.
    Statement preparation failed
    ++++++++++++++++++++
    What have I done so far?
    ++++++++++++++++++++
    -     I went through all steps in the aforementioned tutorial, up to the point where it says “6. Verify that the job completes successfully in the Job Manager.”
    -     I set up the job in the scheduler
    -     I let run the job in the job manager, Which is where I get the error.
    -     I tried different combinations of fields, aggregations and levels, all with the same result.
    -     Manually starting the job has the same result: >D:\programs\oracle\obiee\server\Bin\NQCmd.exe -u Administrator -p Administrator -d AnalyticsWebSH -s D:\programs\oracle\obiee\server\Repository\create_aggregated_table_rk.SQL
    -     I tried to create aggregates in my other repositories, and found OTHER errors, but at least the aggregates were created there (to some extent)
    -     I looked in OTN for the error, found nothing
    -     Google does not know a thing about this
    Any ideas?

    Hi John,
    there is an OSS Note 453026 'No aggregate proposals for MultiCubes after query' that seems explaining your situation, but I think you aren't on the old 2.0/2.1 versions...
    John, I don't know how could I help you...
    If I find more, I'll write you at once !
    Bye,
    Roberto

  • Problem in Data Scheduling and loading time

    Hi,
    I am loading data from r3 to bw using process chain, all are delta loads and fico data.
    process chain scheduled daily at 3.00 am.
    Problem is that the data which is extracted into bw is up to 1.00 am only
    1-2 and 2-3 (2) hours data is not extracted into bw side.
    The client wants reduce the time gap and needs to load all data which acquired into r/3 before to schedule.
    Any one can help me in investigation about this.
    Thanks in advance.
    br,
    Narayana

    Narayana,
    Time stamp is the delta field in your extractor, for your requirement you have enhance you datasource I think.
    Thanks
    Ram

  • How does this info on background job schedule mean?

    Hi,
    I have a flat file load which will take hours to load. I therefore schedule it as a background load with a job name. Within 5 mins the scheduled job shows as FINISHED in SM37. I checked in “Monitor” and there is no information on my load.
    How can I see the current status of my flat file load?
    Thanks

    Hi
    I verified the Monitor date and it is correct… Today.
    No, it is not a process chain.
    The file is located on a server and therefore, I set it up as “Application Server” instead of “Workstation” in the Infopackage.
    Are you suggesting that when in SM37 the status is FINISHED, it meant the flat file load completed? It could not be, because it could not have finished that fast. It is a huge file that is why I got an error previously and the system recommended that it be loaded as a background file.
    Thanks

  • Privilege to see Scheduler Jobs info in Grid 10gR1

    Does anyone know what privilege you need to see the information under the Scheduler Jobs link, without granting the DBA role? Our developers, who do not have the DBA role, can see the link but no info in that section when logged in as themselves. They can see the DBA_SCHEDULER and DBA_SCHEDULER_RUNNING_JOBS views when logged into the database, via the SELECT_CATALOG_ROLE, but there is obviously something else they need to see this info in Grid.
    Thanks
    Steve

    See if this document on Metalink is helpful:268795.1
    Does anyone know what privilege you need to see the
    information under the Scheduler Jobs link, without
    granting the DBA role? Our developers, who do not
    have the DBA role, can see the link but no info in
    that section when logged in as themselves. They can
    see the DBA_SCHEDULER and DBA_SCHEDULER_RUNNING_JOBS
    views when logged into the database, via the
    SELECT_CATALOG_ROLE, but there is obviously something
    else they need to see this info in Grid.
    Thanks
    Steve

Maybe you are looking for

  • Error when launching Netweaver Developer Studio

    Hi.   can someone help me. I installed Netweaver Developer studio but when I try to launch it. I get this error:   "Problem during startup. Check the .log file in the ".metadata" directory of your workspace" !SESSION Aug 30, 2005 14:50:39.954 - java.

  • Proxy receiver communication channel

    Hi Experts, When I am executing an interface in XI, I am getting the message in SXMB_MONI. <SAP:Stack>Unable to create HTTP client (exception 1)</SAP:Stack> The receiver is Proxy here. Where can I get the service number of R/3 system to enter in the

  • Error when running Servlet in Tomcat 4.1

    Hi, I succesfully compiled my servlet program and kept the HelloServlet.class files under c:\program files\apache tomcat 4.1\webapps\examples\web-inf\classes\moreServlets I started tomcat server and in the browser i typed http://localhost:8080/exampl

  • Special characters being read from the unicode file for greek language

    Hi All, I have a report which would upload a unicode file and then update the vendor master data accordingly. The file contains greek characters too. when the file is being read in the code, some special characters are being added up to the vendor nu

  • Hardware issue for DVD-ROM

    Hey guys, I am using Hp Pavilion DV6-2105ee which is integrated with DVD-RW (Model: Hp CDDVDW TS-L633N ATA). I am using this machine since last couple of years and it is going great but a few from last few weeks I am having a trouble with my DVD Driv