Dataset Usage in Programs
The Dataset Usage in Programs analysis gives a view of the application from the Data Sets point of view. For each physical Data Set used, you can see the places where it is referred to within the JCL jobs, the places where it is used in the COBOL programs, and also the way it is used by different programs.
To display the Dataset Usage in Programs tab, go to Explore Projects and select Dataset Usage in Programs from the Usage in Programs list of analyses to the right of the screen.
The central part of the screen displays the list of attribute filters. By default, all attributes are selected; deselect the ones that you do not want to use. The breadcrumb displays the selected projects, the selected attributes in the set order together with the filters set for each attribute
- "*" is used to search elements, by adding to it either prefixes or suffixes as in "AAA*" or "*AAA"
- "," is used to search multiple elements as in "AAA, BBB, CCC"
To limit the number of elements to be returned by the filtering operation, use the fields in the Limit column. The default limit is 50; the maximum limit can be set in the corresponding Usage Settings section from the Preferences dialog. For more information, see Dataset Usage in Programs Settings. The Context column displays the context of the filter operation where relevant. The context of the first attribute filter in the list is the project. The context of any other attribute filter in the list is the attribute above it in the list. To modify the attributes' order in the list, use the green arrow buttons to the left of the attributes list. When the attributes' order changes, the context of the filtering operation changes. To the right of Attribute filters area, the list of projects is displayed.
Use Save to save the current filter configuration. Use Load to load a previously saved filter configuration.
By default, Enable levels limit is selected and the number of elements that are presented in the Results area is limited by the values set in the Limit column. If you deselect this option, the Limit column from the Attribute filters area disappears and the Results area displays all the results of the analysis. Press Apply to apply the selected filters. When the filtering operation is finished, you can use the black arrow button in the upper left corner of Attribute filters area to hide it and maximize the Results area. To see the Dataset Usage in Programs parameters in a separate tab, use the arrow button in the upper right corner of Dataset Usage in Programs tab.
The results of the filtering operation are displayed in the Results area. Use the search field to locate a specific element in the Results tree. Click the adjacent button find only annotated to filter the search results so that only the annotated elements are shown. In the upper right corner of the Results area, the following buttons are available:
Reorder current results, use this button to reorder the results using a different filter configuration. A dialog window presents the list of filters that were used to perform the initial filtering and you can set them in the desired order.
Click Expand all to expand the tree.
Click Collapse all to fold all the tree branches.
Use Export Results to CSV File to export the results together with the used filter configuration.
Place the mouse cursor over a node in the tree to display a tooltip that presents the element category and name. When you select a tree node, the area to the right of the screen is updated to display the graphs, reports, and usage analyses that can be generated for the selected element. Also, the Properties view displays the information available for the selected element.
Node name | Description |
---|---|
Dataset | Shows the list of occurrences in the JCL where the Dataset is allocated for the specific logical file. ”Unknown” label is displayed for dataset with unknown name. |
DD name | Displays the DD name that is associated with the dataset. |
Logical name | Displays the logical file name that is assigned to the physical file name. |
Program category | Displays the program category. |
Program | Presents the list of programs that use the Dataset. Gathered information includes calls between programs. For example, if a main program that is called by the job invokes a subprogram that uses a dataset, that information is also included in the list. |
Statement type | Displays the statement type. |
Statement source info | Opens the program at the line that contains the selected statement. |
Dataset Usage in Programs statement filtering
Starting with IBM® AD V5.1.0.9, the Dataset Usage in Programs analysis has been expanded with an extra layer of filtering. It has been designed to locate more effectively specific statement types and filter them by using the new graphic user interface.
To navigate to the Statement Type Filter pop-up window, open the Dataset Usage in Programs analysis and click on the All attribute present in the Filter column.
As a result, the Statement Type Filter pop-up window is displayed and contains specific statements that can be selected and filtered to any degree of granulation.
Click on Apply/Refresh to display only the selected statements.
Node pop-up menu
Select a node from the tree in the Results area then right-click to display the pop-up menu. The number of options available depends on the type of node selected. View analysis source and Copy options are available for all nodes. According to the selected node, several Collapse to … Level options might also be available.