The Procedure Division header in a property-id must not have any parameters.
class-id myClass.
property-id myProp1 string.
procedure division using myField as string. *> this is incorrect
getter.
set property-value to "Micro Focus"
end property.
property-id myProp2 string.
procedure division. *> this is correct
getter.
set property-value to "Visual COBOL"
end property.
end class.