Lists the Syntax Checking error messages from COBCH0301 through COBCH0320.
COBCH0301 Unrecognized verb You have either used a verb in the Procedure Division of your program that your COBOL system does not recognize as a valid
COBOL verb, or have misspelled a COBOL verb.
COBCH0303 Operand has wrong data-type You have used a data item with the wrong data-type in one of your statements. For example, you have used a filename instead
of a record-name in a WRITE statement.
COBCH0304 Procedure name name not unique Two or more sections in the Procedure Division, or two or more paragraphs in a section, of your program have the same title.
COBCH0306 Entry name not unique You have used the same entry point-name more than once in your program. (This might be because the entry point name is the
same as the Program-ID.)
COBCH0308 Conditional statement not allowed in this context You have used a conditional statement (one which specifies that the truth value of a condition is to be determined at run
time) in the Procedure Division where an imperative statement is expected.
COBCH0310 ACCEPT/DISPLAY syntax incorrect You have either used invalid syntax with an ACCEPT or DISPLAY statement, or have incorrectly coded that part of your code
containing the communications syntax. The most likely cause of this message is a spelling mistake in your code.
COBCH0312 Invalid arithmetic statement An arithmetic statement which you have used in the Procedure Division does not conform to the rules of COBOL syntax. These
statements must begin with an arithmetic verb (for example SUBTRACT or DIVIDE), followed by the relevant numeric literals
or identifiers which the verb will act upon when the program is executed. The statement which you have specified is not a
valid one.
COBCH0314 Illegal key The key value in a file operation or in a SEARCH statement is the wrong size.
COBCH0315 Invalid conditional expression A conditional expression which you have specified in the Procedure Division of your program does not conform to the rules
of COBOL syntax. These expressions, an example of which is the statement immediately following an IF, enable one of two following
statements to be executed at run time depending on the truth value.
COBCH0318 File must have ACCESS SEQUENTIAL The file named in this statement must have sequential access mode. A file's access mode is derived from its SELECT statement;
it is either implied by the file's organization or specified by its ACCESS MODE clause.