COBOL Manual for TNS/E Programs (H06.08+, J06.03+)
Represented byDate Part RepresentedCharacter Positions
If character position 17 is minus (-), two digits in the
range 00 through 12; if character position 17 is plus
(+), two digits in the range 00 through 13
Hours behind or ahead of Greenwich
mean time
18-19
Two digits in the range 00 through 59Additional minutes from Greenwich
mean time
20-21
The returned value matches the compilation time and date on the listing and object code files (if
they have it), but the representation and precision may differ.
Example 224 WHEN-COMPILED Function
Code:
DISPLAY FUNCTION WHEN-COMPILED
Output:
1997041516104953-0700
The date in Example 224 is April 15, 1997 (19970415). The time is 16:10:49.53 or 4:10:49.53
PM (16104953), which is 7 hours behind Greenwich mean time (-0700).
698 Intrinsic Functions










