Skip to main content

Message Operand TIME-OF-DAY is not declared

  • February 15, 2013
  • 0 replies
  • 0 views

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