[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[open-cobol-list] Finding errors in source code.

From: john Culleton
Subject: [open-cobol-list] Finding errors in source code.
Date: Sun, 22 Jan 2012 08:47:32 -0500

I was compiling a program written by someone else and got an
error message of the form:
305 Expected X found Y

The particular error is not relevant to this post. My question
is: how do I find line 305?
1. Is it the 305th line in the source code?
2. Is it the 305th line including all the copybooks?
3. Is it the 305th line including copybooks but excluding
   comment lines?
4. Is it something else?

A part of this problem is the flawed listing found with the -t
parameter. The comment lines are omitted and in the instant case
at least huge blocks of blank lines are entered seemingly at
random. And unless one uses the classic format there are no line
numbers to use for reference. 

John Culleton
Free list of books for self-publishers:

"Create Book Covers with Scribus"

reply via email to

[Prev in Thread] Current Thread [Next in Thread]