Accept time in format HH:MM:SS:MSS format



Support for CICS/ESA, CICS/TS & Transaction Gateway, CICS Configuration Manager and CICS Performance Analyzer

Accept time in format HH:MM:SS:MSS format

Postby gadde9 » Tue Feb 25, 2020 12:02 am

Hi All,

I have a situation where I need to accept the current time in format "HH:MM:SS:MSS" where MSS is milliseconds.
This I have to do it in my CICS program with assembler, can you suggest how this can be achieved. I used the below code,

EXEC CICS ASKTIME ABSTIME(UTIME)

EXEC CICS FORMATTIME ABSTIME(UTIME)
TIME(TEMP_TIME_FIELD) TIMESEP(':')
MILLISECONDS(TEMP_MILLISECONDS_FIELD)

What should be the length of the variable "TEMP_MILLISECONDS_FIELD"
I defined: TEMP_TIME_FIELD AS CL8 and TEMP_MILLISECONDS_FIELD as CL3
gadde9
 
Posts: 8
Joined: Thu Jul 19, 2018 8:54 pm
Has thanked: 0 time
Been thanked: 0 time

Return to CICS

 


  • Related topics
    Replies
    Views
    Last post