Presentation is loading. Please wait.

Presentation is loading. Please wait.

USING REVOLVE TO IMPROVE GDT PROGRAM MAINTENANCE.

Similar presentations


Presentation on theme: "USING REVOLVE TO IMPROVE GDT PROGRAM MAINTENANCE."— Presentation transcript:

1 USING REVOLVE TO IMPROVE GDT PROGRAM MAINTENANCE

2 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona The InfoSol GDT Environment

3 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona The Revolve Project  Analyzing Data Impacts Project n Inputs to project l JCL l Forms l Source (COBOL Programs) l Copybooks  Trace Impacts Automatically  Execution Simulator vGlobal Editing vDocument Your Findings (Annotations, Program Inventories and Source Code Flows)

4 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona The Process  Create the Project  Build the Repository n The DataBase Load process  Analyzing Data Impacts n The Execution Simulator n Tracing Impacts Automatically  Document your Findings n Using Annotations

5 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona The Process  Project Documentation provided by Revolve n Graphical view of Program Inventory n Source Code Flow Charts  Modifying members of the Repository n Global Editing / Split – Screen Editor

6 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona Creating the PROJECT First, we need to create a new project. From the Project drop down menu we will select New.

7 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona 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.

8 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona 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.

9 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona 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.

10 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona 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.

11 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona 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.

12 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona Building the Repository

13 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona 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.

14 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona Building the Repository Here you see that 2 components were added to the repository. Press OK to continue adding the other components.

15 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona Building the Repository We will now add the Online (TPR’s) source components. 6 TPR’s were added to the Project Repository (COBOL files).

16 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona 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).

17 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona Building the Repository 2 batch copybook components were added to the Project Repository (copybook files)

18 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona Building the Repository 18 online copybook components added.

19 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona Building the Repository 16 GCOS7 form copybook components are added.

20 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona Building the Repository Now we will add the JCL components using TEXT Filter. Please note: GCOS JCL cannot be analyzed under REVOLVE.

21 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona Building the Repository  GCOS JCL n 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

22 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona Building the Repository GCOS7 Form components are added as text. Now we will press the DONE button.

23 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona 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.

24 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona Data Base Load Process Now, under the Utilities Dropdown menu, we will select Options.

25 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona 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

26 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona 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

27 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona 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.

28 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona 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.

29 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona 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.

30 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona Data Base Load Process COMPLETE will list all the types of errors that REVOLVE could have found when parsing through the project.

31 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona Data Base Load Process All copybooks were found, but there were some load modules (CALL’s) via the COBOL programs that were not found

32 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona 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.

33 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona 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.

34 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona 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.

35 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona Analyzing Data Impacts First, we will use the Text Browser to begin the manual impact trace.

36 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona 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.

37 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona 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.

38 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona 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.

39 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona Analyzing Data Impacts Here are the results for the field INFOSOL-ZIP.

40 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona 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.

41 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona Analyzing Data Impacts and Split Screen Editor Here you see the definition of the field being highlighted.

42 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona 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.

43 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona 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.

44 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona Execution Simulator via the Split Screen Editor Now the Run button is presented to launch the Execution.

45 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona 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.

46 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona 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

47 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona 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.

48 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona Use of the Annotations Here we see, after pressing the Add button, that 26 elements were captured and added to ADDRESS PROGRAM SIMULATION annotation.

49 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona 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.

50 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona Use of the Annotations Here you will see the exact flow the simulation followed. We will now open the source code.

51 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona 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.

52 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona Tracing Impacts Automatically Here under the Variables Browser, we will right click on the variable INFOSOL-ZIP, select tools and then Impact Analysis.

53 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona Tracing Impacts Automatically Under the Impact Analysis screen, we will select INFOSOL- ZIP and press the Impact Tracing button on the tool bar.

54 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona 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.

55 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona Tracing Impacts Automatically And we will select Waterfall as the Tree format for display.

56 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona Tracing Impacts Automatically Here is the full break down of the impact analysis.

57 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona 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.

58 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona 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.

59 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona 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”

60 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona 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.

61 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona 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.

62 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona 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.

63 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona Using Annotations to Document the Automatic Impact Analysis Assignment of project is given.

64 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona Using Annotations to Document the Automatic Impact Analysis The status can be updated as well

65 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona Using Annotations to Document the Automatic Impact Analysis Here, we add the element description.

66 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona 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.

67 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona 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.

68 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona Graphical View of Program Inventory Now you are shown the inventory view of the program (inputs and outputs).

69 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona Graphical View of Program Inventory The inventory view can be saved as an Enhanced Metafile.

70 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona 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.

71 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona 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.

72 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona 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.

73 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona Global Editing Now you press Search and Replace Button and fill in the necessary search parameters.

74 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona Global Editing Also, under Origin, you select System to search and replace across the entire project.

75 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona Global Editing Here is the replacement within ADDRESS.CBL

76 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona Global Editing Another replacement in ADDRESS.CBL.

77 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona Global Editing It then moves on to another program in your project (PROJECTS.CBL).

78 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona Modification Driver  Used to support the transition between source code and implementing modifications. n Tag columns n Insert Text n Insert Comments n Insert Blocks of text l GREAT FOR INCORPORATING INDENTICAL MODIFICATIONS TO GROUPS OF FILES!

79 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona 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.

80 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona Block Definition Setup n Tag Columns l To insert text in the selected component’s source columns

81 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona Block Definition Setup n Insert Before l To indicate that you want to insert a tag before the selected component’s source

82 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona Block Definition Setup n Insert After l To indicate that you want to insert a tag at the end of the component’s source code

83 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona Block Definition Setup n Duplicate and comment out original l Check this to duplicate and comment out original source.

84 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona Block Definition Setup  Execute Button n To insert tags into the selected component’s source code  Skip Button n To skip the slected component without inserting tags

85 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona Block Definition Setup  Execute All Button n To insert tags into all selected components  Done Button n To finish inserting tags into source code  Blocks…Button n 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

86 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona 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…

87 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona Modification Driver Press save to save the Block just created

88 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona 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.

89 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona Modification Driver Here you see via the Split Screen Editor, that the Block Definition was placed just before the Line highlighted

90 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona Modification Driver We will now highlight all locations of TD-FIELD2 so we can place the Block Definition before each line

91 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona Modification Driver This time we will press the Execute All button to insert the Definition Block into all selected components.

92 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona 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

93 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona Modification Driver Again we show the addition of the Block Definition

94 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona Using Predefined Revolve Scripts Click Tools and Scripts Double click the Unused Analysis Folder

95 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona Using Predefined Revolve Scripts Select Unused Procedural Logic and click the RUN button Select IPROJECT.CBL and click OK.

96 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona 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.

97 Using Revolve to Improve GDT Program Maintenance Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona Using Predefined Revolve Scripts Highlighted in yellow has been identified by the script as unused code.


Download ppt "USING REVOLVE TO IMPROVE GDT PROGRAM MAINTENANCE."

Similar presentations


Ads by Google