|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
timezone for broker runtime |
« View previous topic :: View next topic » |
Author |
Message
|
firoj.badsa |
Posted: Sun Jul 14, 2013 3:57 am Post subject: timezone for broker runtime |
|
|
 Centurion
Joined: 16 Feb 2007 Posts: 104
|
Hi,
Below is the outputfrom my mqsiservice.
mqbrkrs@XXXX ~# mqsiservice -t
BIPmsgs en_US
Console CCSID=819, ICU CCSID=819
Default codepage=ISO-8859-1, in ascii=ISO-8859-1
JAVA console codepage name=ISO-8859-1
ICU Version: 3.8.1
ICU TZ Data Version: 2011g
Current Local time: 2013-07-14 13:52:00.029197
Current UTC time: 2013-07-14 11:52:00.029320
Env TZ: MEZ-1MST-2,M3.5.0/02:00:00,M10.5.0/03:00:00
ICU TimeZone ID: MEZ
Standard offset from GMT: 60
Supports DST? false
Day Names: Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday,
Month Names: January, February, March, April, May, June, July, August, September, October, November, December,
First day of week: 1
Days in first week of year: 1
AM: AM PM: PM
BIP8071I: Successful command completion.
though my system time is in german time zone and time changes automatically during summer/winter (MEZ-1MST-2,M3.5.0/02:00:00,M10.5.0/03:00:00).
But my broker runtime seems to have a different time zone setup. Can anybody please guide me from the above output -- so that my broker runtime also will be same as system time.
thanks in advance for your help. |
|
Back to top |
|
 |
Tibor |
Posted: Mon Jul 15, 2013 1:30 am Post subject: |
|
|
 Grand Master
Joined: 20 May 2001 Posts: 1033 Location: Hungary
|
Please send us more information about platform and messages broker version. |
|
Back to top |
|
 |
firoj.badsa |
Posted: Mon Jul 15, 2013 1:52 am Post subject: |
|
|
 Centurion
Joined: 16 Feb 2007 Posts: 104
|
|
Back to top |
|
 |
Tibor |
Posted: Mon Jul 15, 2013 2:02 am Post subject: |
|
|
 Grand Master
Joined: 20 May 2001 Posts: 1033 Location: Hungary
|
OK. In this case you can try it as a broker user with the PID of your mqsiservice process
Code: |
ps ewww <mqsiservice-pid> | tr -s " " "\n" | grep TZ |
and
TZ variable contents the setting for timezone, first one is the process own variable, second one is your current. They sould be same, e.g. here:
Code: |
TZ=NFT-1DFT,M3.5.0,M10.5.0 |
|
|
Back to top |
|
 |
rekarm01 |
Posted: Mon Jul 15, 2013 11:40 am Post subject: Re: timezone for broker runtime |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 1415
|
firoj.badsa wrote: |
Env TZ: MEZ-1MST-2,M3.5.0/02:00:00,M10.5.0/03:00:00 |
The more typical POSIX-style timezones for AIX are "CET-1CEST-2,M3.5.0/02:00:00,M10.5.0/03:00:00", or simply "CET-1CEST".
But the broker ICU libraries may work better with Olson-style timezones, such as "Europe/Berlin":
Quote: |
For full-time zone support in the broker, set the TZ variable using Continent/City notation. For example set TZ to Europe/London to make London, England the time zone, or set it to America/New_York to make New York, America the time zone. |
|
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|