>I will continue to pursue documentation to see what might be 
>incorrect or missing.

The setting from /etc/init.options (not init.profile) is only
used at IPL time when BPXOINIT initializes. Part of that 
initialization is to read /etc/init.options, and run the script
specified via "-sc" (usually this is /etc/rc), or if /etc/inittab
is there, this will be "run" instead of the "-sc" script.

The enviroment variable set with "-e" in /etc/init.options 
are set when the "-sc" script runs. The doc doesn't tell about
/etc/inittab but I guess they apply to this case as well (Don't
have a system to play with; maybe someone else can confirm?)

When /etc/rc or /etc/inittab ends, the environment variables
will vanish. The are, however, still present in the processes
that have been started, like syslogd, inetd, etc.

The /etc/profile and $HOME/.profile are specific for the
/bin/sh shell and are run at login time, only. So, for 
interactive shell users, you want to set TZ in either
of these scripts.

On the other hand, these scripts are of no use to any process
started by other means that being started from a login shell.
This includes programs started via EXEC PGM=. Those can get
TZ set via ENVAR LE Runtime oOption (if it is an LE program).
You can also set TZ in the LE runtime defaults module
(CEEXUOPT or something the like). 


>....and my $ date function looks....

What is the "$ date" function? Isn't the "$" simply you
shell prompt ($ being the default for non-uid=0 users).

--
Peter Hunkeler
CREDIT SUISSE AG

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to