Quantcast
Channel: IBM Mainframe Computers Forums
Viewing all articles
Browse latest Browse all 8500

CICS :: RE: Get system time in micro second or clock uint.

$
0
0
Author: steve-myers
Posted: Tue Sep 06, 2016 1:50 am (GMT 5.5)

Robert Sample wrote:
... And you do NOT want to use the WTO on that value -- it is a 64-bit binary value with bit 51 representing 1 microsecond, so without some work you won't see anything human-readable from the WTO.
Agreed.
Robert Sample wrote:
Where is the S0C4 showing up? ... I suspect you're probably getting the S0C4 right after the STCK instruction, because it is unlikely that the value represents valid z/OS OP codes. You need to move the TODCLOCK definition after your return.
In general, I agree. However, it is quite possible it will be a valid operation. I just got D14D84B2 83332000 (or MVN 1202(78,R8),819(R8)) running on Hercules. Depending on what's in register 8, the odds are this will 0C4. Of course, what you will get depends on the actual time, though it I think it will be MVN for a while.

Viewing all articles
Browse latest Browse all 8500

Trending Articles