Skip to main content

Problem:

The "COBCH0186S EXEC too large or END-EXEC missing/misspelled" message is output even though the SQL statement is not too large.

Resolution:

This was caused by a string literal not being terminated. The compiler was therefore attempting to parse the rest of the program as  a SQL Statement.

Correctly terminaing the string literal resolved the problem.

Old KB# 3961

#MFDS
#netexpress
#Enterprise
#MainframeExpressandMFE
#COBOL
#EnterpriseDeveloper