otmfaqForumsBlogsRegister
FAQMembers ListCalendarToday's PostsSearch


 Subscribe Blogs:RSS
 Subscribe Forums:RSS
 Follow New Posts:Twitter
OTMFAQ Home
OTMFAQ Blogs
OTMFAQ Forums
OTM Wiki

OTM SIG
OTM Wiki
MavenWire


Reports / BI / FTI and Other Analytics Integrating OTM / G-Log with Oracle Reports, BI, FTI (OBIEE) and creating custom reports / analytics.

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old March 31st, 2009, 11:10
Senior Member
 
Join Date: Feb 2008
Posts: 114
Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 13
Thanked 1 Time in 1 Post
Rep Power: 3
cspadola is on a distinguished road
Scheduled Reports and Daylight Savings Time

Good day, we have our OTM servers located in the Eastern Time Zone and the end users are in the EU - normally 6 hours time difference between the two locations.

We recently set up a number of scheduled reports to be sent out at various different times each week day. As the reports are set up on the OTM servers in the US and running on Eastern Time, we set up the reports to run at their scheduled intervals and using the times in Europe minus 6 hours. For example, a report that we need for 10:00CET we set up in OTM as 04:00EST.

This worked fine until this month when North America moved to DST at the beginning of March - March 7/8 - and the EU did not move to DST until March 29. During this period, the reports were received one hour earlier than expected. This does not work for us as there is data in the 1 hour that needs to be on the report. Seeing how North America will be using different days than the EU to move to and from DST each year, this can become a serious issue for the 3-4 weeks that the time difference is 5 hours instead of 6 hours.

Besides altering the schedule for each report (we have about 60 reports) twice a year, is there any way in OTM to get around this?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old May 18th, 2009, 21:18
chrisplough's Avatar
Site Moderator
 
Join Date: Jun 2006
Location: West Chester, PA
Posts: 1,167
Blog Entries: 8
Groans: 0
Groaned at 1 Time in 1 Post
Thanks: 143
Thanked 258 Times in 161 Posts
Rep Power: 10
chrisplough is a jewel in the roughchrisplough is a jewel in the roughchrisplough is a jewel in the rough
Send a message via AIM to chrisplough
Re: Scheduled Reports and Daylight Savings Time

None that I'm aware of, but this sounds like a great Enhancement Request for Oracle!

--Chris
__________________
Chris Plough
MavenWire

www.MavenWire.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old May 19th, 2009, 15:21
Member
 
Join Date: Jul 2006
Posts: 48
Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 16
Thanked 11 Times in 9 Posts
Rep Power: 0
acuartero is on a distinguished road
Re: Scheduled Reports and Daylight Savings Time

Chris,

We resolved the issue by changing the report server to use the local time zone for the region (in our case Europe/Luxembourg). This has the advantage of allowing the users to schedule reports in their local time without having to do the conversion to the time zone where the physical server is located and without having to be concerned for the different dates that the US and Europe observe daylight savings time.

This change is done by both changing the time zone for the OS user account that the reports services runs under and changing the reports server time zone config. You do not need to change the time zone globally on the server. But if you need to do maintenance and login as the report services user you will need to be aware of the time difference when looking at file time stamps, etc.

First shutdown the Oracle reports server using the following commands.

opmnctl stopall
emctl stop iasconsole

In our case the OS user for the reports services is oracle. To change the user time zone you need to add the following line to the users .profile file.

export TZ=Europe/Luxembourg

Then you need to log out and back in so your .profile will execute or manually run the export command above to set the environment TZ variable so it will be in effect for the steps that follow.

Next the report server configuration needs to be updated to reflect the current user's time zone. The easiest way to do this is with the following command.

emctl resetTZ agent

All this command does is to modify the agentTZRegion property in the $ORACLE_HOME/sysman/config/emd.properties file. In our case it was changed to read

agentTZRegion=Europe/Luxembourg

However you will notice additional instructions in the emctl resetTZ agent command output telling you to run "exec mgmt_target.set_agent_tzrgn" you can safely ignore this.

-bash-3.00$ emctl resetTZ agent

Oracle Enterprise Manager 10g Application Server Control Release 10.1.2.0.2
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
Updating /opt/app/oas10g/product/10.1.2/sysman/config/emd.properties...
Successfully updated /opt/app/oas10g/product/10.1.2/sysman/config/emd.properties.
Login as the em repository user and run the script:
exec mgmt_target.set_agent_tzrgn('your_report_host.comp any.com:1157','Europe/Luxembourg')
This can be done for example by logging into sqlplus and doing
SQL> exec mgmt_target.set_agent_tzrgn('your_report_host.comp any.com:1157','Europe/Luxembourg')

Next bring the reports server back up and log into OTM to see the change. When you view scheduled report jobs the time shown on the screen should now be in the correct local time for your user's region.

Thanks,
Alan
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following User Says Thank You to acuartero For This Useful Post:
chrisplough (May 19th, 2009)
Reply


Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
scheduled report baji Reports / BI / FTI and Other Analytics 6 September 9th, 2008 10:29
Exporting a List Of Reports from Reports Servlet cspadola Reports / BI / FTI and Other Analytics 2 July 4th, 2008 06:46
[SOLVED] Re: To stop a scheduled report Yun J Chung Email List Archive 0 April 17th, 2008 06:36
To stop a scheduled report baba Email List Archive 3 April 17th, 2008 06:36
[SOLVED] Lead time for shipment start time bob_romijn Planning 1 August 8th, 2007 14:27



All times are GMT. The time now is 11:36.
Copyright © 2006-2009, Open Book Solutions LLC. All rights reserved.


Inactive Reminders By Icora Web Design

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40