Sie sind auf Seite 1von 32

EZSource Training

Redefining software delivery


EZSource Basics

Analysis Project - Input & Output

Analysis Project structure

Build, Make, Error Handling, Editor

Graphs, Tree Views, Flowchart, Reports

Repository
EZSource Basics
Project’s Input & Output

Legacy
Application
Programs Oracle
Oracle
Repository
Files

Copybooks

Transactions EZSource Java


Java
Applets
Reports
Applets
Tables

Screens

JCL

Other Tree vies Flowchart Graphs Editor


EZSource Basics
Project’s Input – specific requirements

• Programs
- Sources before pre-processing
(such as CICS or SQL) are required
• Environment information
- CICS: CSD information
- IMS: PSB information
- JCL, Procs, Cntrl
EZSource Basics
Project’s Input cont.

• Completeness of application
- Missing Copy Books
- Missing Programs
- Missing Transaction information
- Missing procs
EZSource Basics
Supported Dialects
• Cobol
- Cobol 85 based dialects, mainframe
Cobol (MVS/OS390/Zos, VSE), open
environment Cobol
• Natural
• Environments
-CICS, IMS, AIM/DC
• Embedded
-DB/2, SQL/DS, ADABAS
- Oracle, AIM/DB
-In development: PL/I
EZSource Basics
Project’s Output

• Graphical interface
- Graphs
- Flowcharts
- Editor
- Tree views
• Reports
• Repository
- SQL Server or Access
EZSource Basics

Analysis Project - Input & Output

Analysis Project structure

Build, Make, Error Handling, Editor

Graphs, Tree Views, Flowchart, Reports

Repository
EZSource Basics
Project structure
• Project
• Virtual Directories
• Physical Files
• File Types
- Cobol, Natural
- Copy, Include files, Natural Data
Area
- CICS maps, IMS/DC maps, Natural
maps
- Configuration files (PCT, PGM to
Program, PSB)
EZSource Basics
Project structure

• Add directories or files


• Save and Load Project
• Settings :
- Directories
- Excluding from Build
- Include file extensions
• Physical Directories
EZSource Basics

Analysis Project - Input & Output

Analysis Project structure

Build, Make, Error Handling, Editor

Graphs, Tree Views, Flowchart, Reports

Repository
EZSource Basics
Build

• Build a file
• Build a project
• Error Window
• Log File
• Accumulative Build - Repository
and Graphs
EZSource Basics
Make

• Make functionality
- Check date on Programs, JCLs
- Check date on Copybooks, Procs
- Updates the whole project
• Make steps
- Verification (compare build date
to file change date)
- Build only the necessary
- Summery
EZSource Basics
Error Handling

• Support of different dialects via


configuration files
- Left and Right source margins
- Strings and Concatenation
indicators
- Comments indicators
• Decisions mechanism
EZSource Basics
Editor

• Basic editing
• Windowing
• Coloring
• Searching
• Locating a line
EZSource Basics

Analysis Project - Input & Output

Analysis Project structure

Build, Make, Error Handling, Editor

Graphs, Tree Views, Flowchart, Reports

Repository
EZSource Basics
Graphs

• Graph Types
- Cross Application Flow Graph
- Program Flow Graph
• Graph Operations

- Zoom In / Zoom Out


- Searching in graph
- Filtering components (also by
type)
- Source Reference
EZSource Basics
Tree Views

• Programs – Cobol or Natural program


detail information including
Paragraphs/Subroutines, Variables and
Records, Include files. Search and
variable usage capabilities.
• Include files – Include files
(copybooks, includes, Data Areas) Vs.
usage in programs
• Maps - Maps Image, Screen source,
Screen usage across application
EZSource Basics
Tree Views cont.

• Files - Programs Vs. Files, specific


File actions (Read, Write etc.), DSNs
and JCLs related information in case of
a batch application
• Tables - Tables usage within Progras,
specific Table actions (Select, Insert
etc.)
• JCL – physical data sets Vs. JCLs,
Procs and up to usage in programs
EZSource Basics
Flowchart

• Program flowchart
- Components content
- Perform and Goto navigation
- Direct
Section/Paragraph/Subroutine
access
- Section/Paragraph/Subroutine
view
- Go to source option
• Exporting flow chart to Visio
EZSource Basics
Reports

• Inventory: Project, Program, Unused


• Complexity: Heuristic, Hallstead
• Resource definition: Records, Tables
• Resource usage: Program, Resources
• Resources vs. Programs
• Statistics: Paragraphs, Variables,
Records
• JCL: Jobs, Procs, Data sets
EZSource Basics

Analysis Project - Input & Output

Analysis Project structure

Build, Make, Error Handling, Editor

Graphs, Tree Views, Flowchart, Reports

Repository
EZSource Basics
Repository

• Table Types
- Static Tables
- Dynamic Tables
• Queries
• Reports
• Exporting to different databases.
EZSource Basics

Analysis Project - Input & Output

Analysis Project structure

Build, Make, Error Handling, Editor

Graphs, Tree Views, Flowchart, Reports

Repository
EZSource Basics
Slicing

Program Slicing
• Find an anchor
• Perform the slice
EZSource Basics
Slicing – finding an anchor

•Find hooks, for example :


1.Values written to a screen
2.Values written to a report
3.Values written to a file
4.Values written to a table
•Locate variables which hold business
rules results
EZSource Basics
Slicing – perform the slice

• Backward slice
• Browse slice
• Check unrelated code
• Re-slice if needed
Slicing example – who is using a map
Slicing example – which paragraph
Slicing example – find usage line
Slicing example – backward slice
Slicing example – browse the slice

Das könnte Ihnen auch gefallen