Ed,

I believe that on AIX TZ is set from /etc/environment during the login
process.  The unirpcd which serves all your UniObjects connections doesn't
go through this process so it likely doesn't have a setting for TZ and
defaults to GMT.

Have a look at the options for unirpcd and see if you can give it an
environment file at startup.  Otherwise you may have to write a wrapper
script called unirpcd which simply sets the environment and execs the real
unirpcd.

Cheers,

Ken

> Burwell, Edward wrote:
>
> When we boot our AIX system, it shows the current date and time as GMT
> (UTC?) and our time zone is EST, therefore when I do a "date" at the Unix
> prompt, I get:
>
> Thu Oct 28 16:25:44 EST 2004
>
> And when I do a "DATE" at our UniData prompt, I get:
>
> Thu Oct 28 16:26:00 EST 2004
>
> These are giving me the correct time and date.
>
> When I do "echo $TZ" at a Unix prompt, I get:
>
> EST5EDT1:00,M4.1.0/2:00:00,M10.4.0/2:00:00
>
> Therefore, our time zone is correct as far as Unix and UniData goes.
> However, when I run the command:
>
> LIST WORK.ORDER DT TM SAMPLE 10
>
> through a UniObjects program (see below), It gives me the
> "raw" date and
> time - with no time zone offset applied.  So my question is,
> where does
> UniObjects get the time zone when a dictionary containing
> @TIME, TIME(),
> @DATE or DATE() is run?
>
> btw, I don't see anything in my .profile that has anything to
> do with time zone.
-------
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to