The COBOL reserved word file is a text file that contains reserved words other than EGL reserved words. When EGL generates a COBOL program and finds one of the listed words used as a function name, record name, structure name, or variable name, the name is aliased. If the name of an EGL item would cause the COBOL generator to create a COBOL variable matching a word in the file, the generator instead uses an alias that does not conflict with other variable names and does not match a word in the reserved-word file.
COBOL reserved words documented at the time the generator was developed are automatically reserved by the COBOL generator. You do not need to use a COBOL reserved-word file unless a new keyword is introduced by the COBOL compiler or unless you just have some words that you do not want used as COBOL variable names.
If you have added a new word to the COBOL reserved-word file, set the build descriptor option reservedWord to the fully qualified path name of that file.
Related concepts
COBOL program
Related reference
Format of COBOL reserved-word file
How COBOL names are aliased
EGL reserved words
reservedWord
(C) Copyright IBM Corporation 1992, 2005. All Rights Reserved.