Author: lind sh
Subject: Get system time in micro second or clock uint.
Posted: Mon Sep 05, 2016 11:14 pm (GMT 5.5)
Dear friends
How can I get CICS or system time in micro-second unit. I need to take the time in high precision.
I know it's possible by STCK in assembly but I need a sample to understand it.
When I run the following program, the system take abend 0C4.!!!
Thanks.
Subject: Get system time in micro second or clock uint.
Posted: Mon Sep 05, 2016 11:14 pm (GMT 5.5)
Dear friends
How can I get CICS or system time in micro-second unit. I need to take the time in high precision.
I know it's possible by STCK in assembly but I need a sample to understand it.
When I run the following program, the system take abend 0C4.!!!
Code: |
STCKCON1 CSECT STCKCON1 AMODE 31 STCKCON1 RMODE 24 STM 14,12,12(13) LR 12,15 USING STCKCON1,12 LA 15,SAVE ST 15,8(13) ST 13,4(15) LR 13,15 STCK TODCLOCK TODCLOCK DS XL8 TOD CLOCK VALUE *# WTO TODCLOCK L 13,4(13) XC 8(4,13),8(13) LM 14,12,12(13) DROP 12 SR 15,15 BR 14 END |
Thanks.