ASKTIME command
Requests current date and time of day. In Smalltalk, the parameters of the ASKTIME command are contained in two classes: CICSAsktime and CICSAsktimeResult. 
See CICS Application Programming Reference for the syntax of the command and a description of its parameters. 
Defined instance methods
Parameters supplied to CICS in CICSAsktime
None. 
Parameters returned by CICS in CICSAsktimeResult
 
|  |  |  |  |  | 
| ABSTIME(data-area)  | abstime  | Output  | Packed(8)  | In packed decimal format  | 
| RESP  | resp  | Output  | Fixed(2)  | Inherited from CICSResult.  | 
| RESP2  | resp2  | Output  | Fixed(2)  | Inherited from CICSResult.  | 
Example
Asks for the time. The result, in the ABSTIME parameter, is in packed decimal format. To display the time, use the FORMATTIME command. 
| result abstime formattimeResult |
 
result := CICS asktime exec.
abstime := result abstime.
 
formattimeResult := CICS formattime
                         abstime: abstime;
                         datesep: $/;
                         timesep: $:;
                         exec.
 
Transcript show: (formattimeResult time).
Last modified date: 05/11/2020