Skip to main content

Problem:

Operand TIME-OF-DAY is not declared

  7075           MOVE TIME-OF-DAY TO LOG-TIME-OF-DAY

Is  TIME-OF-DAY a microfocus extension...is it only available when the NOANS85 directive is in place?

Resolution:

TIME-OF-DAY is a special register data item

This special register requires the compiler directive OSVS

cob -uvC OSVS pgm.cbl

Old KB# 2323