Rational® Developer
for System z® provides an
analysis engine that developers can use to analyze their COBOL code
early in the development phase to ensure that they are following their
internal guidelines, best practices, coding standards.
Rational Programming Patterns
extends the Software Analyzer to provide analysis support for design
entities and specific code.
With the COBOL analysis provider, you can run analysis during COBOL
code development against a set of selected rules, view results (list
of items that break rules), and apply quick fix where appropriate.
Important: If you are creating user-written COBOL rules
for the Quality Control component, you should install Rational Developer for System z Version 8.5.0.1 or later. This
update contains fixes and modifications to the COBOL Application Model
API for COBOL Code Review. To avoid compatibility issues with this
API, you should install this update.
Note: If you have already created
user-written COBOL rules for Quality Control, you should verify that
they work properly with this update.
Rules and Templates
The standard rules in
Software Analyzer Configurations have been completed with Rational Programming Patterns
rules:
- Design Entities Analysis rules that can
apply to :
- All Entities
- Generated Entities
- Segment Entities
- COBOL Code Review rules that apply only
to specific code inserted by the user in a generated COBOL program.
To
differentiate them from the Rational Developer
for System z standard rules,
they are all prefixed by RPP /.
There
are four categories of RPP rules for the COBOL source review:- RPP / Naming Conventions
- RPP / Pattern Driven Programming
- RPP / Performance
- RPP / Program Structures
Templates for rules specific to RPP are also on your disposal
in the Preferences of Software Analyzer in
order to create quality control rules that have parameters.