Import mainframe source code
In this section, we will import the source code assets into Blu Age Analyzer.
- Click Import Assets in the Assets Navigator tab (left hand side of the IDE).
- Enter the project name as Murach-Reverse and click Next.
- Provide the source code location:
- Select radio button Folder under Code to Import options
- Browse to or enter C:\WorkShop\MurachCode for the Location
- Click Next
- We will now create a graph database for the Blu Age Analyzer to store inventory metadata. This metadata is used by the Blu Age Analyzer to generate various artifacts.
- Enter Analyzer as the database name
- Click Create Database
- Once the database is created, the window will show Connection Information: OK
This step is fyi only. No action requred. The ‘Resource Type Selection’ window (below) categorizes the source code assets by its type. It allows you to change the associations using, Set Selection Type to button. For this scenario, all our associations are correct. Please proceed to the next step (step-7).
- BMS for BMS maps
- CSD for the CICS definitions
- COBOL for the COBOL programs
- FRAGMENT for the copybooks
- JCL for jobs
- LISTCAT for VSAM files descriptions
- Click Finish to start importing the source files.
- When the import is complete, you will see the source code assets in the Assets Navigator tab.
Let’s update the node spacing configuration to fit the applicaiton dependency graph to the graph window:
- From the Blu Age Analyzer menu bar, select Window then Preferences
- In the preferences window, expand Blu Age Analyzer, then Layouts and select Smart Organic
- Change Node Spacing to 40
- Click Apply and Close
- Blu Age Analyzer generates graph layouts by analyzing the source code assets.
- Within Assets Navigator, under Saved Graphs, double-click on InterModuleGraph
- From the menu bar, select Layouts, then Graph Layout, then All, then Smart Organic.
- InterModule dependencies graph is displayed.