Too many errors, compilation aborted
We are using version 9.2.0 and we are facing the following problem:
Our complex application has 18 files declared in the Data Set. All "File Controls" are of the type:
SELECT OPTIONAL MY-FILE
ASSIGN TO DISK "FN-MY-FILE"
ORGANIZATION IS INDEXED
ACCESS MODE IS DYNAMIC
LOCK MODE IS MANUAL WITH LOCK ON MULTIPLE RECORDS
FILE STATUS IS STATUS-MY-FILE
RECORD KEY IS MY-FILE-KEY.
So far so well, compilation passes with no error.
If we add a 19th file (of the same type) then we get the error:
"Too many errors, compilation aborted" with no other info.
If we change the lock mode of a file from "MANUAL WITH LOCK ON MULTIPLE RECORDS " to some other e.g. "AUTOMATIC WITH LOCK ON MULTIPLE RECORDS WITH ROLLBACK" then compilation passes with no errors. (To be more detailed, we have now in the Data Set 18 files with lock mode = "MANUAL WITH LOCK ON MULTIPLE RECORDS " and 1 file with lock mode = "AUTOMATIC WITH LOCK ON MULTIPLE RECORDS WITH ROLLBACK").
Is this a bug?