Highlighted
Absent Member.
Absent Member.
886 views

Program Statistics

Jump to solution

Is there a way to produce COBOL program statistics report. Similar to the method Mainframe express used to do it. 
I need the lines of code for the programs. We are starting a process of source cleanup, removing dead statements and unused data. Need to be able to show a before and after report. 

0 Likes
1 Solution

Accepted Solutions
Highlighted
Micro Focus Frequent Contributor
Micro Focus Frequent Contributor

RE: Program Statistics

Jump to solution
In order to view a Program Statistics Report, Click the Quick Browse button on the COBOL toolbar (or use Ctrl+Q), and enter the key word TIMES. This will display the report in the Micro Focus Analysis window.
Alternatively right-click on the source and select Micro Focus Code Analysis followed by Program Statistics from the sub-menu.
For further information about Using CSI with Visual COBOL refer to this article : community.microfocus.com/.../using-csi-with-visual-cobol

View solution in original post

3 Replies
Highlighted
Micro Focus Frequent Contributor
Micro Focus Frequent Contributor

RE: Program Statistics

Jump to solution
In order to view a Program Statistics Report, Click the Quick Browse button on the COBOL toolbar (or use Ctrl+Q), and enter the key word TIMES. This will display the report in the Micro Focus Analysis window.
Alternatively right-click on the source and select Micro Focus Code Analysis followed by Program Statistics from the sub-menu.
For further information about Using CSI with Visual COBOL refer to this article : community.microfocus.com/.../using-csi-with-visual-cobol

View solution in original post

Highlighted
Absent Member.
Absent Member.

RE: Program Statistics

Jump to solution
Thank you, The TIMES option do work.
The second method is not listed when I do a right click.
0 Likes
Highlighted
Micro Focus Frequent Contributor
Micro Focus Frequent Contributor

RE: Program Statistics

Jump to solution
If you are using Visual COBOL V2.3 the context menu option is available. If you are using Visual COBOL V2.2 or earlier, you can still use the context menu, however choose Show COBOL Reports > Program Statistics.
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.