On 2016-01-05 16:38, Janet Graff wrote:
> What macro would we use to convert TIME BIN to a readable DATE TIME?  It 
> doesn't look like STCKCONV to CONVTOD take input of a 32-bit unsigned binary.
> 
Suss out, by trial and error, an affine transformation to convert
32-bit unsigned binary to the 64 (or 128)-bit format used by STCKCONV.
Beware of leap seconds -- STCKCONV is leap second ignorant.

(Easy algebra -- just 2 equations in 2 unknowns.)

Or use the C function strftime().  You still must do the same algebra.

Aren't SMF records wildly inconsistent in their time formats?

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to