On Tue, 1 Feb 2022 14:53:07 +0000, Ituriel do Neto wrote: > The TZ is set in /etc/profile.Are there definitions for TZ variable also for > batch ? > How are you testing in batch? IRXJCL: IKHEFT*? Other?
You could probe by adding "echo $TZ; env;" to your COMMAND. POSIX allows the effect of an unset TZ to be implementation dependent. The majority of UNIX/Linux systems use as a default some value of system local time, often a symlink, /etc/localtime. z/OS defaults to UTC. IBM gives the rationale, "for compatibility with AIX"‽ Conway's Law. Rather, there should be a single point of control; one line in PARMLIB or HMC which an admin could edit to a POSIX (even better, IANA) format TZ to to govern the setting of CVTDTO (and Daylight Saving transitions) and TZ for UNIX processes. -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
