On 01-Oct-14 00:41, Donald Russell wrote:
I have zOS 2.1 and am looking for an assembler macro or some other utility
I can call (load/delete or via cvt etc) to convert an 8-byte TOD clock
value into a character string like yyyy-mm-dd hh:mm:ss.uuuuuu
That actual date format doesn't matter too much, I'm more interested in the
time portion and sub-second precision.
Is there anything like that already available, or do I need to write my own?
Thank you,
Donald Russell
You can use the IBM-supplied BLSUXTOD utility to convert an 8-byte TOD
clock value into a 26-byte character string with format 'mm/dd/yyyy
hh:mm:ss.ffffff' (where ffffff is the fraction of seconds).
See http://publibz.boulder.ibm.com/epubs/pdf/iea3c700.pdf
Regards,
Michel Castelein
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN