Problem:
When migrating from Object COBOL Developer Suite to Server Express you may encounter a compilation error where there is a 77-level field with subordinate level entries. Eg
77 entry-field.
05 entry-field-1 pic x(10).
05 entry-field-2 pic 99.
In some versions of Object COBOL this did not return a compilation error but will in all versions of Server Express. This form of entry is strictly not legal in COBOL. By definition a 77-level entry is a single level elementary field with no subordinate level entries.
Resolution:
Change the 77-level entry to a 01-entry. Eg
01 entry-field.
05 entry-field-1 pic x(10).
05 entry-field-2 pic 99.
This will have no impact on the data field or any associated code.