Skip to main content

Problem:

"You are trying to use a data-name which you have not declared, or which you have misspelled."

This error occurs at compile time.  The unknown operand is listed in the message.  

Resolution:

First insure that the operand is spelled correctly.

Check the compiler directives used to compile the program. These may be listed in the compile command or be included from a directives file such as COBOPT.  There is a directive "REMOVE", that tells the compiler that the specified word is no longer to be considered as a COBOL Reserved Word.      If there is a   corresponding statement "REMOVE(XXXXXX)" take out this directive and try the compile again.

Check with you Systems Administrator to find out why the command was removed in the first place.

Old KB# 3700