Rational Developer for System z, Version 7.6

Viewing the structure of COBOL perform hierarchies

When a reference to a paragraph or section is selected, you can select the Open Perform Hierarchy action from the pop-up menu.
The Perform Hierarchy view displays the paragraphs and line numbers for each statement in the hierarchy and allows you to easily navigate among those statements. The Perform Hierarchy view has the following two modes: The Performer Hierarchy displays the references to the selected paragraph. For example, given the paragraph "Copy-input-to-output," the Performer Hierarchy displays all paragraphs and sections that can transfer control to that paragraph with a statements such as Perform Copy-input-to-output. The Performee Hierarchy displays the references to other paragraphs contained within the selected paragraph. For example, given the Copy-input-to-output paragraph, the Performee Hierarchy displays a statement that can transfer control outside of the selection paragraph with statements such as Perform Read-next-input-data. Because perform hierarchies can be nested arbitrarily, the Perform Hierarchy is a tree view that lets you traverse this nesting.
This is an example of the Performee Hierarchy.
This image shows the Perform Hierarchy tab and a utility method for copying data from the input file to the output file.
This is an example of the Performer Hierarchy.
This screen capture of a code sample contains the following PERFORM statement: PERFORM Copy-input-to-output

Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)