Hi all, I'm facing a strange situation and would like to understand it.I have issued the following commands on OMVS and got the results: ZR17:/u/zr17: >date +%c Tue Feb 1 10:29:07 2022 ZR17:/u/zr17: >date -u +%c Tue Feb 1 12:29:17 2022 ZR17:/u/zr17: >
Executing the same commands in batch (Rexx), the results are different. /*REXX*/ Say'TESTUNIXRexx' Say'' Say'' Say'TIME (Local) =' Date()time() COMMAND= 'date+%c' EXITRC= BPXWUNIX(COMMAND,'DD:STDIN','DD:STDOUT','DD:STDERR','0') COMMAND= 'date -u+%c' EXITRC= BPXWUNIX(COMMAND,'DD:STDIN','DD:STDOUT','DD:STDERR','0') EXIT0 Results : TESTUNIX Rexx TIME (Local) = 1 Feb 2022 14:31:27 Tue Feb 1 12:31:27 2022 Tue Feb 1 12:31:27 2022 In OMVS under TSO, i can see the 2 hours difference expected, but in batch, there is no time difference. Do you have any idea why does it happen? Best Regards Ituriel do Nascimento Neto z/OS System Programmer ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
