Import mainframe source code

In this section, we will import the source code assets into Blu Age Analyzer.

  1. Click Import Assets in the Assets Navigator tab (left hand side of the IDE).

Import Assets

  1. Enter the project name as Murach-Reverse and click Next.

Project name

  1. 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

Source code location

  1. 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

Create database

  1. Once the database is created, the window will show Connection Information: OK
    • Click Next

Create database complete

  1. 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

Resource Types

  1. Click Finish to start importing the source files.

File import in progress

  1. When the import is complete, you will see the source code assets in the Assets Navigator tab.

Imported assets

  1. 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

Windows Menu bar Node spacing configuration

  1. Blu Age Analyzer generates graph layouts by analyzing the source code assets.
    • Within Assets Navigator, under Saved Graphs, double-click on InterModuleGraph

Inter Module Graph

  1. From the menu bar, select Layouts, then Graph Layout, then All, then Smart Organic.

Smart Organic Option

  1. InterModule dependencies graph is displayed.

Detailed Inter Module Graph