Limitations and Restrictions

  1. Editerr attempts to identify syntax errors in Include files for COBOL, SPL, Pascal and C/iX. For COBOL, SPL and Pascal you must compile your source with $control List, and include a comment at the end of each Include file in the form
         ! end $include                {SPL}     << END $INCLUDE >>            {uppercase or lowercase}     { end $include }              {Pascal}     (* END $INCLUDE *)     * END $INCLUDE                {COBOL}  

These comments are required for Editerr to determine where each Include file starts and ends in the compiler listing. For C/iX, no special options or comments are required.

  1. In order to correctly identify syntax errors in COBOL copylib members, Editerr must determine where each copylib member starts and ends in the source listing. This requires that the source file be compiled with $control List.
    COBOL allows copylib members to in turn copy other copylib members. This is referred to as “nesting” copy statements. If you want Editerr to recognize nested copy statements, do not use the NOLIST option of the COPY statement.
  2. C/iX and Pascal source lines are restricted to 80 characters.
  3. The Editerr utility only processes compiler listings that have 132-byte records, with or without CCTL. We recommend that you use the COBERR and EDERR UDCs, which build the compiler listing file with the right characteristics.

Keep in mind that the compiler sometimes trips over its own feet: the line number indicated by the compiler may not be the actual line in error. For example, forgetting to terminate a statement with a period will flag a succeeding statement in COBOL.

Limitations and Restrictions