+ All Categories
Home > Documents > USING REVOLVE TO IMPROVE GDT PROGRAM MAINTENANCE

USING REVOLVE TO IMPROVE GDT PROGRAM MAINTENANCE

Date post: 11-Jan-2016
Category:
Upload: helene
View: 25 times
Download: 1 times
Share this document with a friend
Description:
USING REVOLVE TO IMPROVE GDT PROGRAM MAINTENANCE. The InfoSol GDT Environment. The Revolve Project. Analyzing Data Impacts Project Inputs to project JCL Forms Source (COBOL Programs) Copybooks Trace Impacts Automatically Execution Simulator Global Editing - PowerPoint PPT Presentation
Popular Tags:
97
USING REVOLVE TO IMPROVE GDT PROGRAM MAINTENANCE
Transcript
Page 1: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

USING REVOLVE TO IMPROVE GDT PROGRAM MAINTENANCE

Page 2: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

The InfoSol GDT Environment

Page 3: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

The Revolve Project

Analyzing Data Impacts Project Inputs to project

JCL Forms Source (COBOL Programs) Copybooks

Trace Impacts Automatically Execution Simulator

Global Editing Document Your Findings (Annotations,

Program Inventories and Source Code Flows)

Page 4: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

The Process

Create the Project Build the Repository

The DataBase Load process

Analyzing Data Impacts The Execution Simulator Tracing Impacts Automatically

Document your Findings Using Annotations

Page 5: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

The Process

Project Documentation provided by Revolve Graphical view of Program Inventory Source Code Flow Charts

Modifying members of the Repository Global Editing / Split – Screen Editor

Page 6: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Creating the PROJECT

First, we need to create a new project. From the Project drop down menu we will select New.

Page 7: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Creating the PROJECT

Here we will create a project TRAINING. What we will plan to do is load this project with the source, copybooks and JCL .

Page 8: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Building the Repository

You are now presented with a prompt to see if you want to add components (COBOL source, copybooks, JCL) or not at this time. We will press the Yes button and continue. 

Page 9: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Building the Repository

The Add Components screen allows you to locate the component to add as well as gives you some options to allow Revolve to find the components quicker. In this case we have set the Filter to find all .CBL source and select the Component Type as COBOL.

Page 10: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Building the Repository

We now can narrow down to the folder that the COBOL Source can be located. In this case I am selecting the INFOSOL folder on the Root of the C:\ drive.

Page 11: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Building the Repository

Under the INFOSOL folder, we have broken up the different components into their own folder. Here we will select the PROD folder.

Page 12: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Building the Repository

Page 13: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Building the Repository

Right away, based on the Filters set, only the .CBL’s of the BATCH folder are shown. We will now select the .CBL’s and press the ADD button to add to the Project Repository.

Page 14: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Building the Repository

Here you see that 2 components were added to the repository.Press OK to continue adding the other components.

Page 15: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Building the Repository

We will now add the Online (TPR’s) source components.

6 TPR’s were added to the Project Repository (COBOL files).

Page 16: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Building the Repository

Here we will add the copybook components. Note the Type is set to copybook and the Filter is set to wildcard since there are no specific identifier for the copybooks (.ie .CBL extension for COBOL source).

Page 17: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Building the Repository

2 batch copybook components were added to the Project Repository (copybook files)

Page 18: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Building the Repository

18 online copybook components added.

Page 19: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Building the Repository

16 GCOS7 form copybook components are added.

Page 20: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Building the Repository

Now we will add the JCL components using TEXT Filter.Please note: GCOS JCL cannot be analyzed under REVOLVE.

Page 21: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Building the Repository

GCOS JCL What we will be able to do is allow REVOLVE to add

all text, pertaining to the JCL, to the repository. This will give us capabilities to do TEXT BROWSING searches which will be useful in IMPACT ANALYSIS PROCESSES to be discussed later in the document

Page 22: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Building the Repository

GCOS7 Form components are added as text.Now we will press the DONE button.

Page 23: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Building the Repository

Before we can start the Database Load Process, we need to set the COBOL Source Component settings necessary for Revolve to do the Database Load.

Page 24: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Data Base Load Process

Now, under the Utilities Dropdown menu, we will select Options.

Page 25: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Data Base Load Process

Click Yes to include text files (JCL and Standard GCOS7 FORMS).

Click Yes to include copybook files

Here we need to press the Yes button to include all COBOL files

when setting the Source Component Options.Click Yes to

include COBOL files

Page 26: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Here we need to specify that the Comments (*) begin in the first column and that the source lines begin in Column 1. This takes into consideration the SOURCEFORMAT(FREE) COBOL directive being used.

Data Base Load Process

Page 27: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Data Base Load Process

Now we will select the copybook, text files and COBOL folders and press the Load Selected button. This will initiate the Database Parsing process.

Page 28: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Data Base Load Process

This window will pop up on the screen showing the Parsing of all components selected being loaded into the repository database.

Page 29: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Data Base Load Process

To verify that the Load Process went well you can double click on each folder within the Project Manager to see which components were loaded and which ones were not loaded.

Page 30: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Data Base Load Process

COMPLETE will list all the types of errors that REVOLVE could have found when parsing through the project.

Page 31: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Data Base Load Process

All copybooks were found, but there were some load modules (CALL’s) via the COBOL programs that were not found

Page 32: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Data Base Load Process

Here we selected a missing load module and right click and select Browsers and Programs. This will show us what program(s) use this load module.

Page 33: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Data Base Load Process

Here we see that program ADDRESS1 uses this load module. You can further drill down to get more details of where this load module is located specifically in the program.

Page 34: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Analyzing Data Impacts

First scenario: You want to expand all ZIP CODE fields by 4 bytes. You need to analyze the impact of this.First we will see how you can use REVOLVE to manually to follow logical connections defined in source code to analyze impacts and then see how REVOLVE can automatically determine the impact of changing the Variable.

Page 35: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Analyzing Data Impacts

First, we will use the Text Browser to begin the manual impact trace.

Page 36: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Analyzing Data Impacts

We will type in ZIP as the variable and press the Match button. REVOLVE will search the complete database for any use of ZIP.

Page 37: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Analyzing Data Impacts

You are now presented with the programs using the text ZIP. We will now expand each program to view where the TEXT ZIP is used.

Page 38: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Analyzing Data Impacts

Expanded view of source. From this information I can see two data file fields INFOSOL-ZIP and IADDR1-ZIP that I want to expand. INFOSOL-ZIP is contained in the file definition file ADDRESSFL. FD-IADDR1 is in the file definition FD-ADDR1.

Page 39: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Analyzing Data Impacts

Here are the results for the field INFOSOL-ZIP.

Page 40: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Analyzing Data Impacts and Split Screen Editor

Now we will open up the Split Screen Editor to see corresponding source code as it is selected in the top Text Browser Window. The Editor also allows you to make changes to the program.

Page 41: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Analyzing Data Impacts and Split Screen Editor

Here you see the definition of the field being highlighted.

Page 42: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Analyzing Data Impacts and Split Screen Editor

In the editor, you can also press the DEFINITION of USAGE button on the toolbar to get the field definition.

Page 43: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Execution Simulator via the Split Screen Editor

You can also launch the Execution Simulator via the button provided on the tool bar. With this you can simulate execution of the code either forward or backward so that the logical paths through the source code can be traced to determine impacts.

Page 44: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Execution Simulator via the Split Screen Editor

Now the Run button is presented to launch the Execution.

Page 45: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Execution Simulator via the Split Screen Editor

As execution proceeds, you will be prompt to assist REVOLVE in the decision making at conditional execution points. After completing the Execution Simulation, you can capture the results into a Annotation.

Page 46: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Use of the Annotations

Now lets capture your Execution Simulation into an Annotation that will document our findings.First we need to press the Capture Results Button. 

We will select the Add to Annotation option

Page 47: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Use of the Annotations

We will press the New Annotation button and enter the title for the Annotation. In this case we enter ADDRESS PROGRAM SIMULATION.

Page 48: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Use of the Annotations

Here we see, after pressing the Add button, that 26 elements were captured and added to ADDRESS PROGRAM SIMULATION annotation.

Page 49: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Use of the Annotations

Now lets look at the annotation.

Here is a list of all available annotations. We will now look at ADDRESS PROGRAM SIMULATION.

Page 50: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Use of the Annotations

Here you will see the exact flow the simulation followed. We will now open the source code.

Page 51: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Use of the Annotations

As you step down the lines in the Annotation browser, the lines in the Source code are highlighted giving you another view of the flow.This becomes great System Documentation, since you can have other users just open an annotation to step thru the flow and quickly understand the flow of a program.

Page 52: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Tracing Impacts Automatically

Here under the Variables Browser, we will right click on the variable INFOSOL-ZIP, select tools and then Impact Analysis.

Page 53: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Tracing Impacts Automatically

Under the Impact Analysis screen, we will select INFOSOL-ZIP and press the Impact Tracing button on the tool bar.

Page 54: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Tracing Impacts Automatically

First will chose the Options button for setting the properties of the Impact Analysis.

We will select Impact Group for this analysis.

Page 55: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Tracing Impacts Automatically

And we will select Waterfall as the Tree format for display.

Page 56: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Tracing Impacts Automatically

Here is the full break down of the impact analysis.

Page 57: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Tracing Impacts Automatically

You can now open up the split screen editor to view the source code for each line shown in the Impact Analysis.

Page 58: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Using Annotations to Document the Automatic Impact Analysis

Here we want to capture the results of our Impact Analysis of variable INFOSOL-ZIP. Select the information on the screen and press the

Capture Results button on the toolbar.

Page 59: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Using Annotations to Document the Automatic Impact Analysis

We will create a New Annotation by pressing the New Annotation button.We will call the new annotation “INFOSOL ZIP FIELD EXPANSION IMPACT ANALYSIS”

Page 60: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Using Annotations to Document the Automatic Impact Analysis

Now we press the Add button to add the annotation. 10 elements were added. Press OK to continue.

Page 61: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Using Annotations to Document the Automatic Impact Analysis

You can use the split screen editor to view the source code from the entries in the Annotation. (Modify the code too!)

Just by pressing the Match button, a list of your Annotations will be displayed. Now we will select the INFOSO ZIP FIELD EXPANSION IMPACT ANALYSIS and expand completely.

Page 62: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Using Annotations to Document the Automatic Impact Analysis

Lets now edit the annotation giving the annotation a good descriptive name, submitted by name, submitted to name, status and element descriptions.

First, the Description is updated.

Page 63: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Using Annotations to Document the Automatic Impact Analysis

Assignment of project is given.

Page 64: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Using Annotations to Document the Automatic Impact Analysis

The status can be updated as well

Page 65: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Using Annotations to Document the Automatic Impact Analysis

Here, we add the element description.

Page 66: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Using Annotations to Document the Automatic Impact Analysis

Now, after editing the annotation, the view of the annotation via the Annotation browser is much more descriptive and great for project management tracking.

Page 67: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Graphical View of Program Inventory

We will select program INFADDR1.CBL from the Project manager and open up the Split Screen Editor. Now we will press the Inventory View button on the toolbar of the Editor.

Page 68: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Graphical View of Program Inventory

Now you are shown the inventory view of the program (inputs and outputs).

Page 69: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Graphical View of Program Inventory

The inventory view can be saved as an Enhanced Metafile.

Page 70: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Source Code Flows

Here we select the program that we want to produce the code flow chart for.Now under the Tools dropdown menu, you select Views and Code Flow.

Page 71: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Source Code Flows

Here is the code flow. You are able to scroll up/down left/right to view the complete chart. You can also save this as a metafile document.

Page 72: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Global Editing

What we want to do is change all variables named SYS-DATE to SYS-DATE-INFOSOL of the components within the Active Revolve Project. 

First you need to open the Integrated Editor.

Page 73: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Global Editing

Now you press Search and Replace Button and fill in the necessary search parameters.

Page 74: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Global Editing

Also, under Origin, you select System to search and replace across the entire project.

Page 75: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Global Editing

Here is the replacement within ADDRESS.CBL

Page 76: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Global Editing

Another replacement in ADDRESS.CBL.

Page 77: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Global Editing

It then moves on to another program in your project (PROJECTS.CBL).

Page 78: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Modification Driver

Used to support the transition between source code and implementing modifications. Tag columns Insert Text Insert Comments Insert Blocks of text

GREAT FOR INCORPORATING INDENTICAL MODIFICATIONS TO GROUPS OF FILES!

Page 79: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Modification Driver

Scope: add a “Comment Block” in all locations where TD-FIELD2 is used throughout the Project. This Comment Block will contain a comment explaining what is needed to be done with the TD-FIELD2 field. Via the Variables Browser, we will find all instances of the TD-FIELD2 field. We will select the Modification Driver button on the toolbar.

Page 80: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Block Definition Setup

Tag Columns To insert text in the selected component’s

source columns

Page 81: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Block Definition Setup

Insert Before To indicate that you want to insert a tag before

the selected component’s source

Page 82: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Block Definition Setup

Insert After To indicate that you want to insert a tag at the

end of the component’s source code

Page 83: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Block Definition Setup

Duplicate and comment out original Check this to duplicate and comment out

original source.

Page 84: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Block Definition Setup

Execute Button To insert tags into

the selected component’s source code

Skip Button To skip the slected

component without inserting tags

Page 85: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Block Definition Setup

Execute All Button To insert tags into all

selected components Done Button

To finish inserting tags into source code

Blocks…Button To open the Modification

Driver Code Blocks dialog box. To define or load existing blocks of code into the Modification Driver for insertion into your project’s source code

Page 86: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Modification Driver

First we need to create the Comment Block. To do this, press the Blocks… button and it opens the Modification Driver Code Blocks window. Here, you give the Block Name and the contents of the Block in the Block Definition Window. You then press Save As…

Page 87: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Modification Driver

Press save to save the Block just created

Page 88: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Modification Driver

We will now check the Insert Before box and select the Block Definition to be used. %% is mandatory before the name of the Block Definition. We will now press the Execute button.

Page 89: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Modification Driver

Here you see via the Split Screen Editor, that the Block Definition was placed just before the Line highlighted

Page 90: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Modification Driver

We will now highlight all locations of TD-FIELD2 so we can place the Block Definition before each line

Page 91: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Modification Driver

This time we will press the Execute All button to insert the Definition Block into all selected components.

Page 92: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Modification Driver

As we select each line in Variable window, you can see the corresponding addition of the Block Definition in the Split Screen Editor for that line of code

Page 93: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Modification Driver

Again we show the addition of the Block Definition

Page 94: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Using Predefined Revolve Scripts

Click Tools and Scripts

Double click the Unused Analysis Folder

Page 95: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Using Predefined Revolve Scripts

Select Unused Procedural Logic and click the RUN button Select IPROJECT.CBL and click OK.

Page 96: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Using Predefined Revolve Scripts

Click on the report line that reads:ERROR-IPROJECT. It will not be highlighted but the status bar at the bottom of the Report shows it as selected.

Page 97: USING REVOLVE TO IMPROVE GDT  PROGRAM MAINTENANCE

GDT 2004 International User Conference – Evolving the Legacy July 11 - 14 Tucson, Arizona

Using Revolve to Improve GDT Program MaintenanceDoug Evans

Using Predefined Revolve Scripts

Highlighted in yellow has been identified by the script as unused code.


Recommended