IBM seems to have a unique ability to make complicated the inherently simple.
"Alexa, what time is it?" "The time is ten twenty-eight AM." Charles -----Original Message----- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Phil Smith III Sent: Thursday, August 15, 2019 9:49 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Local time in C on z/OS Jon Perryman wrote: >The op wants the machine local time as seen in the system log instead of >all the exceptions that are allowed in the C standard. If the op doesn't >get an acceptable solution, then call the assembler macro's directly >from C.. It's a simple call to time or whatever macro you need. Yep, that's where I wound up. Sort of amazing that 50 years after OS/360, there's no standard way to get the current time as hh:mm:ss. How many thousands of us have had to write that same code. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN