This is somewhat related to the following z/OS Unix issue: unlike other UNIX systems, z/OS UNIX processes do not uniformly inherit their environment from the "init" process.
Implications: - You can't set environment variables in /etc/init.options or /etc/rc and have dubbed UNIX processes inherit them - TZ is therefore a nightmare, since any job that uses UNIX services that is dubbed (not started by inetd, login, etc) must worry about setting it. Most don't. MANY years ago I submitted a requirement to fix this. It sat in "under consideration" status or whatever for years and then just disappeared. I really don't bother submitting requirements to IBM anymore, my experience is that it's largely a waste of time. In our software that runs dubbed, we read /etc/init.options (if we can) and use it to set environment variables like TZ. To Gil's point: it makes sense that if TZ is not set then the default would be to match the z/OS system setting. Maybe BPXPRMxx would configure how/whether this is done. Kirk Wolf Dovetailed Technologies https://coztoolkit.com On Wed, Jul 17, 2024, at 10:42 AM, Paul Gilmartin wrote: > On Wed, 17 Jul 2024 09:40:40 +0000, Sri Hari Kolusu wrote: > > >> When he looked at the destination he say that the last update time was 3 > >> hours less than it should have been. > > > >Gadi, > > > >Check this > >https://www.ibm.com/support/pages/time-tags-incorrect-ftp-generated-ispf-statistics > > > Sigh. > > Why, in this 21st Century, doesn't z/OS keep timestamps in UTC like > normal systems which don't suffer such problems!? > > And why does z/OS allow conflicting timezone settings!? Timezone > should be set in *only* one place in PARMLIB, e.g. POSIX > TZ=IST-2IDT,M3.4.4/26,M10.5.0 and all other instances such as > CVTLDTO, /etc/profile, LE, TCP/IP derived from that, not set manually > subject to human whim and error? > > -- > gil > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
