× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Joe,

The "paragraph contains no lines" error is just a warning. I've compiled
lots of COBOL programs with paragraphs which are just place-holders for
future development in the program. I also see this message everytime I
compile a SQLCBLLE prgoram--the compile works fine.

btw- Are you finding the performance of the verify acceptable? I've not
installed V7 yet (just got the CDs), but I gave up on it in V6. A compile
was lightening quick by comparison. I've had some verifies which have
taken around 20 minutes or longer if I recall correctly.

Michael Quigley
AS/400 Programming Section
The Way International
www.TheWay.org




date: Sat, 21 Apr 2007 10:28:41 -0500
from: "Joe Pluta" <joepluta@xxxxxxxxxxxxxxxxx>
subject: [WDSCI-L] COBOL Verify Errors

Here are a couple of problems I've found using the Verify feature for
COBOL.

1. In COBOL, the EXEC SQL INCLUDE SQLCA END-EXEC statement brings in a
virtual include file containing the SQL communications area. Verify fails
on this statement unless you actually have an SQLCA copybook in your
include
path.

2. If you create a paragraph with just SQL statements, Verify fails with a
"paragraph contains no lines" error (and sometimes other weird things
happen, but that's the primary problem).

The workaround for problem 1 is to create an SQLCA copybook. As far as I
can tell, the COBOL SQL precompiler ignores this copy book.

The workaround for problem 2 is to put a non-SQL line at the beginning of
the paragraph. I code a MOVE 0 TO SQLCODE at the beginning of each
paragraph.

Joe

. . .
. . .
. . .




As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.