Processes, Operations, and Domains
Operation Viewer
The Operation Viewer shows a hierarchical dependency tree rooted at a selected resource, with the full call chain of programs, copybooks, transactions, and screens. Use it for impact analysis and app decoupling along an operation. The dialog title reflects the root: UI Flow view, Service view, Batch view, or Operation view.
Open it by right-clicking any resource in the App Viewer and choosing Call hierarchy, or by opening a saved operation from Manage Operations in the App Viewer toolbar.
It opens as a full-screen dialog with a split layout:
- Left pane: the expandable call-hierarchy tree. Each node shows a type icon, resource name, type label, and screen-type badge if applicable. Call-site information (source line number and code snippet) is shown above each child node and is clickable to jump to that location in the source viewer.
- Right pane: detail for the selected node: the source viewer, table metadata, or BMS/DSPF/MFS map preview, depending on the resource type.
Screen type filter
A collapsible Screen type filter excludes specific screen types from the tree. By default, Menu and Sign-on screens are excluded to reduce navigation and authentication noise. Check a screen type to exclude it, then click Apply. The root resource is always shown.
Saving operations
- Open the Operation Viewer for a resource.
- Optionally adjust the screen type filter and apply.
- Click Save UI Flow..., Save Service..., Save Batch..., or Save operation... in the header (the label depends on the root resource type).
- Enter a descriptive name and confirm.
A saved operation captures the root resource, the app context, the screen type filter, and all resources found by the traversal. Reopen it from Manage Operations.
Decoupling
Click Decouple app... in the Operation Viewer header to open the decoupling dialog. It uses the current operation tree (with the active screen type filter) to decide which resources move to a new or existing decoupled app.
Operations and domain classification
Saved call trees are operations: named roots used for impact analysis and decomposition. AtomIQ can identify candidate operation roots (heuristic or AI), save them, suggest domains from operation groupings, and apply decoupling. AI suggestions need AI to be set up in Settings > AI for AtomIQ.
- Open Manage Operations in the App Viewer toolbar.
- Click Suggest operations or Suggest operations (AI) (or use the MCP
identify-operationstool). - Save the operations you want to keep.
- Click Suggest domains, review candidates, then apply (
apply-domain) or use Decouple app... from the Operation Viewer. - Optionally regroup saved operations by domain (drag between domain cards).
- Select operations and click Export to download an
.atqfile (same as the MCPexport-operationstool). - Select operations and click Delete selected to remove several saved operations at once.
Export options
The Export dropdown has two independent checkboxes. One decides what is listed in the export; the other decides whether source text is attached to what is listed. You can combine them freely, and the dialog remembers your last choice.
| Option | What it controls |
|---|---|
Include copybooks (includes in MCP and REST) | Which resources are listed. Unchecked, copybook resources and the links to them are left out of the export entirely. |
Exclude source code (excludeSource in MCP and REST) | Whether source text is attached. Checked, every listed resource (programs, screens, tables and copybooks) is exported without its source text. The entries themselves stay. |
| Include copybooks | Exclude source code | Result |
|---|---|---|
| Checked | Unchecked | Default. Copybooks are listed, and all listed resources carry their source text. |
| Checked | Checked | Copybooks are listed, but no resource carries source text. Useful for a structure-only export that still shows copybook dependencies. |
| Unchecked | Unchecked | No copybooks are listed. Other resources carry their source text. |
| Unchecked | Checked | No copybooks are listed, and no resource carries source text. |
Copybook text can still appear in file record layouts. The record layout of a file is exported separately and currently ignores both options. When a layout was derived from a copybook, the export still contains that copybook's text in the layout's copybookText field (and as byte values inside assetJson). If copybook source must not leave your system, search the exported .atq file for copybookText and do not rely on these options alone.
Export format version
The export-operations MCP tool and the REST export take an optional version: 1 (the default) or 2, a smaller normalized shape that stays linear in workspace size. Consumers of version 1 can move to version 2 at their own pace.
MCP workflow: identify-operations, apply-operations, suggest-domains, apply-domain.
To capture what an operation does as test cases, see the Regression Tests topic (z/OS COBOL workspaces).
Open Call hierarchy, save operations, export .atq files, plan domain decomposition, and create regression tests.