The following figure shows the syntax for valid date, time, and timestamp host variable declarations. Datetime host variables are supported only for ILE COBOL for iSeries™.
>>-+-01------+--variable-name-----------------------------------> +-77------+ '-level-1-' .-OF-. .-IS-. >--FORMAT--+----+--+-DATE------+--+----+--format-options------->< +-TIME------+ '-TIMESTAMP-'