Summary -

In this topic, we described about the ASKTIME with detailed example.

Gets the current date and time of day. ASKTIME updates the CICS date in EIBDATE and CICS time-of-day clock in EIBTIME fields in the EIB. These two fields initially contain the date and time when the task started.

Syntax -

ASKTIME

ABSTIME(data-area) -

Specifies the data area for the number of milliseconds since 00:00 on 1 January 1900 known as absolute time. The time is returned as a packed decimal of length 8 bytes. The data-area declaration in Cobol is PIC S9(15) COMP-3.