[comp.software-eng] Lint for COBOL or PL/I

orville@weyrich.UUCP (Orville R. Weyrich) (06/03/91)

Recent discussion on the net has [rightly] extolled the virtues of using
Lint on C programs in order to find suspicious constructs like type
mismatches, etc. FORTRAN has similar programs, such as the PFORT verifier.

My question: Is there any equivalent tool for COBOL or PL/I?

If one were to create such a tool, what would it check for? As a start,
I would suggest that unusual type coersions in PL/I would be a prime
candidate for being flagged as questionable. COBOL has similar (but somewhat
more limited) opportunities for funny type conversions.

Another thing which should be flagged in COBOL would be recursive procedures
(those that can be re-entered before they return, etc.).

Please respond via e-mail (or followup to comp.software-eng). I will post a
summary when the response rate falls off.

Thanks.

--------------------------------------           ******************************
Orville R. Weyrich, Jr., Ph.D.                   Certified Systems Professional
Internet: orville%weyrich@uunet.uu.net             Weyrich Computer Consulting
Voice:    (602) 391-0821                         POB 5782, Scottsdale, AZ 85261
Fax:      (602) 391-0023                              (Yes! I'm available)
--------------------------------------           ******************************