Appendix B. CICS Smalltalk classes : FORMATTIME command

FORMATTIME command
Transforms the absolute date and time into any of a variety of formats. In Smalltalk, the parameters of the FORMATTIME command are contained in two classes: CICSFormattime and CICSFormattimeResult.
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 CICSFormattime
 
Parameters returned by CICS in CICSFormattimeResult
 
Inherited from CICSResult.
Inherited from CICSResult.
Example
Formats the date and time, with separators, and displays the date in the format MMDDYY on the Transcript.
| result abstime |
result := CICS asktime exec.
abstime := result abstime.
result := CICS formattime
abstime: abstime;
datesep: $/;
timesep: $:;
exec.
Transcript show: (result mmddyy).