1 chart chart for natural take a good look at your system... with chart presented by treehouse...

36
1 CHART CHART for Natural Take a good look at your system ... with CHART Presented by Treehouse Software, Inc.

Upload: declan-libby

Post on 14-Dec-2015

218 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: 1 CHART CHART for Natural Take a good look at your system... with CHART Presented by Treehouse Software, Inc

1 CHART

CHARTfor Natural

Take a good look at your system ... with CHART

Presented by Treehouse Software, Inc.

Page 2: 1 CHART CHART for Natural Take a good look at your system... with CHART Presented by Treehouse Software, Inc

2 CHART

A program structure chart ...

HISPROG1 ________| | | CallNat Fetch HERSUBP1 HISPROG2 |________ | | Fetch InputMap HERPROGA HERMAPA | * CallNat

HERSUBP1

Page 3: 1 CHART CHART for Natural Take a good look at your system... with CHART Presented by Treehouse Software, Inc

3 CHART

Overview of this presentation ...

What does CHART do ...

When to use CHART ...

Why use CHART ...

Parameters for CHART-ing ...

Symbols used in CHART ...

How to get CHART-ed ...

Page 4: 1 CHART CHART for Natural Take a good look at your system... with CHART Presented by Treehouse Software, Inc

4 CHART

What does CHART do ...• draws program calling structures, using

source code• all other objects detected are drawn in an

easy-to-read format - a CHART• exclude object types from the CHART• "suppress" objects from "expansion"• can be used on-line or in batch

Page 5: 1 CHART CHART for Natural Take a good look at your system... with CHART Presented by Treehouse Software, Inc

5 CHART

When to use CHART ...

• during and after application development• before, during, and after maintenance

work on a suite• to permanently document all or part of an

application• to audit your application system

Page 6: 1 CHART CHART for Natural Take a good look at your system... with CHART Presented by Treehouse Software, Inc

6 CHART

Why use CHART ...

• "a picture tells a thousand words"• we need structure charts during analysis,

specification, development, and maintenance• you can "tailor" a CHART to your particular

needs (with “exclusions”, “don’t explodes”)• CHART detects most ways of

"dynamically" calling an object

Page 7: 1 CHART CHART for Natural Take a good look at your system... with CHART Presented by Treehouse Software, Inc

7 CHART

Why use CHART ... 10:58:41 ***** P R E D I C T ***** 94-06-23Library: DEVL - Invoked Programs - DBnr: 2 Fnr: 2Command: PROG HISPROG1 (*) USING PROG * (*) WITH * VIA *

T:Program using T:Program via-------------------------------------------------------------- 1 P:HISPROG1 1 N:HERSUBP1 CallNat 2 P:HISPROG2 Fetch***** END OF LIST *****

11:00:08 ***** P R E D I C T ***** 94-06-23Library: DEVL - Invoked Programs - DBnr: 2 Fnr: 2Command: XREF HISPROG1 (*) USING PROG * (*) WITH * VIA *PROGRAM:HISPROG1--------------------------------------------------------------*** Number of referenced Programs at Level 1: 2 *** N:HERSUBP1 P:HISPROG2

*** Number of referenced Programs at Level 2: 2 *** P:HERPROGA M:HERMAPA

Page 8: 1 CHART CHART for Natural Take a good look at your system... with CHART Presented by Treehouse Software, Inc

8 CHART

Why use CHART ...

HISPROG1 ________| | | CallNat Fetch HERSUBP1 HISPROG2 |________ | | Fetch InputMap HERPROGA HERMAPA | * CallNat HERSUBP1

Page 9: 1 CHART CHART for Natural Take a good look at your system... with CHART Presented by Treehouse Software, Inc

9 CHART

Why use CHART ... Document and Audit your whole application ...

• pass all the “seeds” of your application to CHART (in a work file)

• program charts will be printed for each seed

• a table of contents will be printed• an index of objects will be printed• an audit list of objects not referenced

will be printed

Page 10: 1 CHART CHART for Natural Take a good look at your system... with CHART Presented by Treehouse Software, Inc

10 CHART

Invoking CHART On-line ...

• At the "Command" prompt:

Enter Code: Type: Name:

Command: CH PROG1

• or at the “NEXT” prompt:

NEXT chart LIB=CHARTV2

Page 11: 1 CHART CHART for Natural Take a good look at your system... with CHART Presented by Treehouse Software, Inc

11 CHART

CHART "entry" screen ...18:59:06 **** CHART for Natural V2.2D.1 **** 29/02/97User YOURID Library DEVL Code Function ---- ------------------------- G Generate Program Chart L License Details ? HMC Program Chart Help . Terminate Program Chart ---- ------------------------- Code .. G Seed .. MYPROG__

Exclude .. DC________ M:Map C:Copycode P:Program X:eXtrnl B:Batch R:Routine (N:Subrtn N:Subprog H:Hlprtn) W:WorkFile D:DataArea (G:Global L:Local A:pAram) O:Others (I:Inline Subroutine F:Database Files)

Trace every 5000_ source lines (or Page limit in ‘Batch’) Don't Explode/Show .. ________ ________ ________ ________ ________ ________ ________ ________ ________ ________ ________ ________ ________ ________ ________ ________ ________ ________ ________ ________ Command ===>Enter-PF1---PF2---PF3---PF4---PF5---PF6---PF7---PF8---PF9---PF10--PF11--PF12- Help About Quit Main Order StpLb Batch Excln Shape Parms

Page 12: 1 CHART CHART for Natural Take a good look at your system... with CHART Presented by Treehouse Software, Inc

12 CHART

CHART "entry" screen ...18:59:06 **** CHART for Natural V2.2D.1 **** 29/02/97User YOURID Library DEVL Code Function ---- ------------------------- G Generate Program Chart L License Details ? HMC Program Chart Help . Terminate Program Chart ---- ------------------------- Code .. G Seed .. rps150i1_

Exclude .. DC________ M:Map C:Copycode P:Program X:eXtrnl B:Batch R:Routine (N:Subrtn N:Subprog H:Hlprtn) W:Work

O:Othe

Trace every 5000_ source lines Don't Explode/Show .. ______ ______ ______ ______ Command ===>Enter-PF1---PF2---PF3---PF4--- Help About Quit Main

Trace of Chart being built ..

5000 source lines processed 23 objects placed in Chart (7P 5N 9M 2L) 6 objects still to be checked

--Enter-Continue--PF5-ShowChart--PF3-Exit--

Page 13: 1 CHART CHART for Natural Take a good look at your system... with CHART Presented by Treehouse Software, Inc

13 CHART

Page 14: 1 CHART CHART for Natural Take a good look at your system... with CHART Presented by Treehouse Software, Inc

15 CHART

Page 15: 1 CHART CHART for Natural Take a good look at your system... with CHART Presented by Treehouse Software, Inc

17 CHART

Page 16: 1 CHART CHART for Natural Take a good look at your system... with CHART Presented by Treehouse Software, Inc

19 CHART

Page 17: 1 CHART CHART for Natural Take a good look at your system... with CHART Presented by Treehouse Software, Inc

21 CHART

Page 18: 1 CHART CHART for Natural Take a good look at your system... with CHART Presented by Treehouse Software, Inc

23 CHART

Page 19: 1 CHART CHART for Natural Take a good look at your system... with CHART Presented by Treehouse Software, Inc

25 CHART

Extra CHARTsare drawn for“unplaced ...

Page 20: 1 CHART CHART for Natural Take a good look at your system... with CHART Presented by Treehouse Software, Inc

26 CHART

Step Libraries in CHART ...

• PF6 displays this window: current step libraries are shown

• up to ten step libraries can be specified

Step Libraries ... DEVL____ TEST____ PROD____ ________< to be searched ________ in order after ________ CURRLIB > ________ ________ ________ ________ ________

Page 21: 1 CHART CHART for Natural Take a good look at your system... with CHART Presented by Treehouse Software, Inc

27 CHART

Exclude ObjectTypes in CHART ...

• PF9 displays this window: currentexclusions (if any) are shown

• Allows different “exclusions”to be easily chosen

Exclusions ... X M MapX D Data Areas G Global L Local A Parameter P Program_ K Set Key R Routines_ S Subroutine N Subprogram H HelproutineX C Copycode X External Calls B Batch Calls W Work FilesX O Other Types_ I Inline Subrtns_ F Database Files

Input/Output (MDHWF) Program Calls (DPSNXB)

Page 22: 1 CHART CHART for Natural Take a good look at your system... with CHART Presented by Treehouse Software, Inc

28 CHART

Exclude Object Types in CHART ...

• Exclude Maps and DataAreas and only programs and subprograms will be drawn:

• HISPROG1• ________|• | |• CallNat Fetch• HERSUBP1 HISPROG2• |• |• Fetch• HERPROGA

Page 23: 1 CHART CHART for Natural Take a good look at your system... with CHART Presented by Treehouse Software, Inc

29 CHART

Exclude Object Types in CHART ...• Exclude only DataAreas and

programs, subprograms, and maps will be drawn:

• HISPROG1• _________________|________• | | | |• CallNat Fetch InputMap InputMap• HERSUBP1 HISPROG2 HISMAP1 HISMAP2• | | | |• | | * |• WrteForm Fetch HelpRout HelpRout• HERFORM1 HERPROGA HISHELP HISHELP• | |• | |• InptMap# InputMap• HERMAPA HISMAP3

Page 24: 1 CHART CHART for Natural Take a good look at your system... with CHART Presented by Treehouse Software, Inc

30 CHART

Don’t Explode/Show in CHART ...

Don't Explode/Show .. MJ*_____

• objects starting with ‘MJ’ will have descendant objects suppressed

Don't Explode/Show .. ^MJ*____

• objects starting with ‘MJ’ will not be shown in the CHART at all

Page 25: 1 CHART CHART for Natural Take a good look at your system... with CHART Presented by Treehouse Software, Inc

34 CHART

Symbols used in CHART ...

• ..# (Dynamically Invoked):

| | | | CallNat Fetch InputMap InputMap HERSUBP1 HISPROG2 HISMAP1 HISMAP2 | | | |

InptMap# InputMap HISMAP1 HISMAP2 | | HelpRout HISMAP3

Page 26: 1 CHART CHART for Natural Take a good look at your system... with CHART Presented by Treehouse Software, Inc

35 CHART

Symbols used in CHART ...

• * (Descendants Suppressed):

| |• | |• InputMap InputMap• HISMAP1 HISMAP2• | |• * |• HelpRout HelpRout• HISHELP HISHELP• |• |• InputMap• HISMAP3

Page 27: 1 CHART CHART for Natural Take a good look at your system... with CHART Presented by Treehouse Software, Inc

36 CHART

Symbols used in CHART ...

• + (Don’t Explode):

| CallNat

HISSUBP | + Fetch ERRORHDL

Page 28: 1 CHART CHART for Natural Take a good look at your system... with CHART Presented by Treehouse Software, Inc

37 CHART

Symbols used in CHART ...

• ? (Source Code Not Found):

| |

InputMap HERMAP1 | ? HelpRout HERHELP2

Page 29: 1 CHART CHART for Natural Take a good look at your system... with CHART Presented by Treehouse Software, Inc

38 CHART

Symbols used in CHART ...

• <n> (Descendants could not be placed):

| CallNat

HISSUBP | <3> Fetch ERRORHDL

Page 30: 1 CHART CHART for Natural Take a good look at your system... with CHART Presented by Treehouse Software, Inc

39 CHART

Symbols used in CHART ...

• i: .. (Inline Subroutines)

f: .. (Database Files):

| | | i:CHECK- Fetch f:CLIENT CLIENTS HISPROG2 -DETAILS | |

InputMap HISMAP2

Page 31: 1 CHART CHART for Natural Take a good look at your system... with CHART Presented by Treehouse Software, Inc

40 CHART

Paging around CHARTs on-line ...Page: 1L of 2 left side of first page being displayed

1L 1R

2L 2R

Use PF7, PF8, PF10, and PF11 to scroll around on-line:

--PF5---PF6---PF7---PF8---PF9---PF10--PF11-- Find Chart Up Down Lines Left Right

Page 32: 1 CHART CHART for Natural Take a good look at your system... with CHART Presented by Treehouse Software, Inc

41 CHART

Objects with over 15 descendants ... Descendants are split over as many rows as necessary:

Page 33: 1 CHART CHART for Natural Take a good look at your system... with CHART Presented by Treehouse Software, Inc

42 CHART

Running CHART in Batch ...

JCL to runCHART formany seeds(in work file):

Extra CHARTsare drawnautomatically(whenevernecessary)

Page 34: 1 CHART CHART for Natural Take a good look at your system... with CHART Presented by Treehouse Software, Inc

43 CHART

How to get CHART-ed ...

• Free trial of CHART at your site• Can be purchased short term or long term • Includes installation, training sessions, reference

manuals, and version upgrades• CHART can be “tailored” to suit special

documentation needs your site may have

Page 35: 1 CHART CHART for Natural Take a good look at your system... with CHART Presented by Treehouse Software, Inc

44 CHART

CHART Version 2for Natural

Take a good look at your system ... with CHART

Page 36: 1 CHART CHART for Natural Take a good look at your system... with CHART Presented by Treehouse Software, Inc

45 CHART