In parsing an original (host) COPY-Book, I run into the following error:
Exception in thread "main" java.lang.RuntimeException: Is FIXED the correct line format? Could not parse line 80: 007200
at io.proleap.cobol.preprocessor.sub.line.reader.impl.CobolLineReaderImpl.parseLine(CobolLineReaderImpl.java:64)
A close look at that line 80 inside the copy book shows, that in fact this line 80 is a more or less empty line, having entries in col1-6 only, then being followed by CR/LF ... so not padded up to 80 characters till column 80.
in changing the CPY-book and padding it up to 80 characters (or of course deleting the empty line), we get past the error.
The parser should recognize such "empty lines" without throwing an error; maybe a warning, but not stopping the parsing process!
In parsing an original (host) COPY-Book, I run into the following error:
A close look at that line 80 inside the copy book shows, that in fact this line 80 is a more or less empty line, having entries in col1-6 only, then being followed by CR/LF ... so not padded up to 80 characters till column 80.
in changing the CPY-book and padding it up to 80 characters (or of course deleting the empty line), we get past the error. The parser should recognize such "empty lines" without throwing an error; maybe a warning, but not stopping the parsing process!