I had to analyse / review COBOL code as part of my job, and I have always found it difficult to do it from the basic ISPF browser. My friend Selva has a created a useful, simple tool to make this easier.
You can download it here. It is a jar file that will work if you have Java Runtime Environment installed.
Let me know in the comments if you find it useful, or any suggestions for improvements.
(This is only an initial version of this tool. Selva is still working to introduce much more features).
Click on the “Load” button to open any cobol file that you have downloaded from mainframe. The tree structure (Code flow) present in the right side, will list all the sections / paragraphs present in the code. You can double click any section in the tree to locate that part within the code. You can use ‘Ctrl + F’ shortcut to find any part code, and use F5 to reach next occurrences of the found word.
- COBOL – PERFORM a SECTION
- COBOL – IF ELSE ENDIF statement
- COBOL–Working storage variables
- COBOL – Hello World program
- STRING and UNSTRING verbs in COBOL