Skip to main content

Reserved word missing error during compilation

  • September 22, 2016
  • 0 replies
  • 0 views

Problem

A simple compilation returns an error ‘Reserved Word Missing’:

15196           (V1-HELLO).

15197     MOVE 'Something'

* 83-S*********************************                             (   0)**

**   Reserved word missing - TO expected.

15198       TO HELLO-TEXT.

15199     MOVE ' ' TO HELLO-FIELD.

The MOVE-Statement is correct, TO is not missing but on the next line. When moving the TO-clause to the same line, the error disappears.

 

Resolution

Check the locale of the compiling user is correct. In this instance it was changed to UTF-8, after setting the user’s charset to iso8859-1 the compile worked correctly.


#EnterpriseDeveloper
#MFDS

0 replies

Be the first to reply!