This is the result: # cat TZlog.txt Script command is started on Wed Jan 1 05:50:11 2020. # date Wed Jan 1 05:50:29 2020 # export -p | grep TZ export TZ="IST-2IDT,M3.4.4/26,M10.5.0" # echo "$0 $SHELL" /bin/sh /bin/sh # exit Script command is complete on Wed Jan 1 05:51:14 2020. #
I am using z/OS v2.3 Gadi -----Original Message----- From: IBM Mainframe Discussion List <[email protected]> On Behalf Of Paul Gilmartin Sent: Tuesday, December 31, 2019 6:02 PM To: [email protected] Subject: Re: Chaning time zone for Unix based tasks On 2019-12-30, at 22:51:40, Gadi Ben-Avi wrote: > > I changed TZ to the value you suggested, and when I issue the time command I > get UTC. > "time"? Try "date" instead. Troubleshooting: o Run the commands in the attached TAtry.txt file (This is not a shell script.) ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN Email secured by Check Point ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
