Record the control flow of each program

Proprietary

Record every transfer of control between the paragraphs and sections of each program, from MAINLINE down: PERFORM with the procedures its THRU range runs through, GO TO, the branches EXEC CICS HANDLE registers, and the fall-through from one paragraph into the next, each with the line it is written at and whether it leads to a procedure that abends. FindControlFlowEdges answers the same question and marks what it found in the source; this one produces the table and changes nothing.

io.moderne.mainframe.prethink.AnalyzeControlFlow
mod run . --recipe=io.moderne.mainframe.prethink.AnalyzeControlFlow

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.