If you use Enterprise Developer to compile applications created with an older Micro Focus COBOL product, and these applications use data names that are now reserved keywords in Enterprise Developer, you receive a COBOL syntax error COBCH0666 ("Reserved word used as data name or unknown data description qualifier"). To work around this issue and continue using some of the reserved words as data names in your source code, you can either:
You can set both directives from the command line, in your source code, or in the Additional directives field in the project's COBOL properties.
To use REMOVE from an Enterprise Developer command prompt, type the following:
cobol myprogram.cbl remove(title) ;
The command above removes TITLE as a keyword from the language so you can use it as an identifier in a COBOL program.
To use the set of reserved words that was used for Net Express v5.1 WrapPack 5, use this command line:
cobol myprogram.cbl mflevel"15" ;
To set either one of the directives in your source code, type the following starting with $ in the indication area of your COBOL program:
$set remove "ReservedWord"
Or:
$set mflevel"nn"
To set either one of the directives in the project's properties: