Thanks everyone.

I also thought that shifting 12 bits to the right was required, but it isn't.

I used the 8 byte output from "TIME MIC" as input to "STCKCONV ... 
TIMETYPE=BIN".
The output is a "TIME BIN" doubleword with the 2nd word (date) zeros.
Paul was correct ... time of day since midnight where?  or when ... last week? 

For my test case I issued "TIME BIN" and saved TODAYs date as the 2nd word....

"TIME BIN" creates 00682B6E0117293F which converts to 18:57:48.62 2017/293  
"TIME MIC" creates 0000FE94478AEBC0 which STCKCONV changes to 0068469000000000 
/ 006846900117293F after today's date inserted.  This is identical to the 
"TIME BIN" output and generates the same character time value.

Now the big question ... how useful is "TIME MIC" ?  :-)

DanD

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to