> -----Original Message-----
> From: IBM Mainframe Discussion List
> [mailto:[EMAIL PROTECTED] On Behalf Of Laine, Rogers
> Sent: Friday, July 28, 2006 1:47 PM
> To: [email protected]
> Subject: Displaying USS timezone for 1.4
>
>
> Can someone point me to a manual that explains how to display the
> timezone setting (CST, EST, etc) in USS.
>
> I changed the TZ parm in /etc/profile/ & /etc/init.options to reflect
> CST0CDT0 to reflect no offset since our zos time is set the same for
> both LOCAL & GMT and recycled SMTP but the sent time is still wrong.
> I know this is not the correct way to set the Clockxx parm but that's
> the way management wants it....ok :)
>
> TIA,
> Rogers
The TZ variable in /etc/profile does not affect anything other than
"interactive" logons. That is, the "shell" will "source" /etc/profile if
and only if it thinks that the shell is going to be used by a person.
IIRC, /etc/init.options will only affect things started via the /etc/rc
script file.
Having said that, a normal STC does not use the shell anyway. What I
have done in the FTPD started task is set the TZ environment variable
via the PARM= parameter, thusly:
PARM='ENVAR("TZ=CST6CDT")'
add ENVAR("TZ=CST0CDT0") to the already existing parms, before any / in
the PARM= being passed to the main routine.
Another possibility is to set the ENVAR via your LE customization
USERMOD. If you do this, then every LE enabled program will pick up the
TZ.
Ano
--
John McKown
Senior Systems Programmer
HealthMarkets
Keeping the Promise of Affordable Coverage
Administrative Services Group
Information Technology
This message (including any attachments) contains confidential
information intended for a specific individual and purpose, and its
content is protected by law. If you are not the intended recipient, you
should delete this message and are hereby notified that any disclosure,
copying, or distribution of this transmission, or taking any action
based on it, is strictly prohibited.
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html