This guide demonstrates how to manually create focused domains from legacy mainframe applications using AWS Transform's dependency graph analysis, enabling selective component inclusion for specific refactoring efforts. The approach allows organizations to create targeted domains for application sub-functions while maintaining precise boundary control and complete decision authority over the decomposition process
Domain decomposition is a critical step in modernizing legacy mainframe applications, enabling organizations to break down monolithic systems into manageable, business-aligned components. AWS Transform for Mainframe provides both automated and manual domain creation capabilities. This guide focuses on the manual approach utilizing AWS Transform dependency analysis and the dependency graph, which complements the automated decomposition by allowing users to start small and maintain precise control over specific domain boundaries
Understanding Domain Decomposition
This process creates a bridge between technical code structure and business context, establishing domains as clusters of programs and datasets with similar use cases and high programming dependencies.
Key Benefits
- Enhanced System Understanding: Provides clear visibility into complex legacy system relationships
- Modernization Foundation: Creates manageable units for transformation to modern architectures
- Business Logic Preservation: Maintains functional integrity while enabling architectural evolution
- Team Efficiency: Alleviates creating hybrid integrations by clean slicing and separation of bounded context
Creating domains through Dependency graph
Domain creation through the dependency graph offers:
- Precise Boundary Control: Define exact domain boundaries based on Subject Matter Expert (SME) knowledge of business processes and application functionality
- Selective Component Inclusion: Include only components needed for specific refactoring efforts
- Focused Domain Creation: Create targeted domains for specific application sub-functions
- Complete Decision Authority: Maintain full control over the decomposition process
Step-by-Step Implementation Guide
1. Access the Dependency Graph
Navigate to the Decomposition section in AWS Transform and select Graph View. Initially, all application components are marked as 'Unassigned' domain. The decomposition process involves systematically moving components from Unassigned to specific business domains.

2. Identify Entry Points
Begin with application entry points such as a CICS transaction or JCL, for example CAUP for account updates. Filter the graph using the component name to isolate the starting point for analysis.
Pay attention to the number of files selected near the "Filter domain" dropdown

Best Practice: Always use the Rectangle Selection tool for selecting elements from the dependency graph.
3. Explore Component Relationships
From the filtered entry point:
- Navigate to Children → Show all levels to reveal downstream dependencies
For non-entry point components, explore both Parents → all levels and Children → all levels

Important: Selecting Neighbors → Show all levels includes all indirect associations, which may expand scope beyond intended boundaries.
4. Create Domains from dependencies
Select all relevant components using Rectangle Selection, then:
- Click Actions → Domain → Edit Domain
- Choose Create a Domain from the dropdown
- Provide a meaningful domain name and description
- Review and confirm the component selection


Refine the component selection by de-selecting any redundant components ex:- component type 'System' - DFHAID, DFHMBSA etc.
5. Leverage Subgraphs for Complex Analysis (Optional)
For detailed analysis:
- Select the filtered entry point and choose Extract Subgraph
- Name the subgraph appropriately
- In the subgraph view, clear previous filters and expose Children → Show all levels
- Use the subgraph's hide/reveal functionality to fine-tune component selection
- Create domains from the refined subgraph selection



6. Iterate for Additional Domains
Repeat the process for other business functions (e.g., Card Transaction processing with entry point) to create comprehensive domain coverage.


7. Complete the Decomposition
Critical Steps:
- Click Save to preserve manually created domains
DO NOT click Decompose - this triggers automatic decomposition and empties manually created domains
- Click Send to AWS Transform after saving all domains

8. Visualizing Domain Relationships
- In the dependency graph view, enable Hide/Show Background Colors to display domain color coding
- Use Drag Mode to filter and examine individual domains
- Analyze interdomain dependencies to understand component relationships


Key Insight: Manually created domains typically have interconnected components, making it essential to select all related domains for refactoring activities.
9. Domain Selection for Refactoring
When proceeding to refactoring:
- Select all interconnected domains if components span multiple domains
- For isolated functionality, individual domain selection is acceptable
- Review domain boundaries to ensure complete business function coverage

Best Practices and Considerations
Planning Recommendations
- Start with well-defined entry points (JCLs , CICS Transactions) that represent clear business functions
- Consider downstream impact when defining domain scope
Technical Considerations
- This approach provides precise control over domain boundaries
- Component interdependencies require careful analysis to avoid incomplete domain definitions
- Subgraph extraction is valuable for complex dependency analysis
- Always save domains before proceeding to avoid losing configurations
Common Pitfalls to Avoid
- Do not use the automatic Decompose function after creating domains manually
- Don't proceed to refactoring without analyzing interdomain dependencies
Conclusion
Domain decomposition through dependency graph in AWS Transform helps users get started with proof of concepts or prototypes by creating focused domains with individual functional units for specific modernization efforts.
References
Refer to Automated decomposition process in AWS Transform
This guide provides a comprehensive approach to create domains using dependency graph in AWS Transform. For additional support with your modernization project, consult the AWS Transform documentation or engage with AWS Professional Services.