Reserved Words

Solution:

Edit your source programs to rename the offending data item(s), or use the REMOVE Compiler directive to remove a specified reserved word from the reserved word list. See the topic REMOVE Compiler directive for full details. See the Language Reference for details of reserved words.

Example:

Your RM/COBOL source program may contain the following lines of code:

     .... 
     03 sort   pic 99. 
     .... 
     move 1 to sort

If you submit this to this COBOL system you will receive an error as this system supports the SORT verb, while the RM/COBOL system does not. However, if you specify the REMOVE"SORT" directive when you submit this source program to this COBOL system, you will receive no errors.