Presentation is loading. Please wait.

Presentation is loading. Please wait.

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

Similar presentations


Presentation on theme: "1 CHART CHART for Natural Take a good look at your system... with CHART Presented by Treehouse Software, Inc."— Presentation transcript:

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

2 2 CHART A program structure chart... HISPROG1 HISPROG1 ________| ________| | | | | CallNat Fetch CallNat Fetch HERSUBP1 HISPROG2 HERSUBP1 HISPROG2 |________ |________ | | | | Fetch InputMap Fetch InputMap HERPROGA HERMAPA HERPROGA HERMAPA | * CallNat CallNat HERSUBP1 HERSUBP1 HISPROG1 HISPROG1 ________| ________| | | | | CallNat Fetch CallNat Fetch HERSUBP1 HISPROG2 HERSUBP1 HISPROG2 |________ |________ | | | | Fetch InputMap Fetch InputMap HERPROGA HERMAPA HERPROGA HERMAPA | * CallNat CallNat HERSUBP1 HERSUBP1

3 3 CHART Overview of this presentation... What does CHART do... When to use CHART... When to use CHART... Why use CHART... Why use CHART... Parameters for CHART-ing... Parameters for CHART-ing... Symbols used in CHART... Symbols used in CHART... How to get CHART-ed... How to get CHART-ed...

4 4 CHART What does CHART do... draws program calling structures, using source codedraws program calling structures, using source code all other objects detected are drawn in an easy-to-read format - a CHARTall other objects detected are drawn in an easy-to-read format - a CHART exclude object types from the CHARTexclude object types from the CHART "suppress" objects from "expansion""suppress" objects from "expansion" can be used on-line or in batchcan be used on-line or in batch

5 5 CHART When to use CHART... during and after application developmentduring and after application development before, during, and after maintenance work on a suitebefore, during, and after maintenance work on a suite to permanently document all or part of an applicationto permanently document all or part of an application to audit your application systemto audit your application system

6 6 CHART Why use CHART... "a picture tells a thousand words""a picture tells a thousand words" we need structure charts during analysis, specification, development, and maintenancewe need structure charts during analysis, specification, development, and maintenance you can "tailor" a CHART to your particular needs (with “exclusions”, “don’t explodes”)you can "tailor" a CHART to your particular needs (with “exclusions”, “don’t explodes”) CHART detects most ways of "dynamically" calling an objectCHART detects most ways of "dynamically" calling an object

7 7 CHART Why use CHART... 10:58:41 ***** P R E D I C T ***** Library: DEVL - Invoked Programs - DBnr: 2 Fnr: 2 Command: PROG HISPROG1 (*) USING PROG * (*) WITH * VIA * T:Program using T:Program via T:Program using T:Program via P:HISPROG1 1 N:HERSUBP1 CallNat 1 P:HISPROG1 1 N:HERSUBP1 CallNat 2 P:HISPROG2 Fetch 2 P:HISPROG2 Fetch ***** END OF LIST ***** 11:00:08 ***** P R E D I C T ***** Library: DEVL - Invoked Programs - DBnr: 2 Fnr: 2 Command: XREF HISPROG1 (*) USING PROG * (*) WITH * VIA * PROGRAM:HISPROG *** Number of referenced Programs at Level 1: 2 *** N:HERSUBP1 P:HISPROG2 N:HERSUBP1 P:HISPROG2 *** Number of referenced Programs at Level 2: 2 *** P:HERPROGA M:HERMAPA P:HERPROGA M:HERMAPA

8 8 CHART Why use CHART... HISPROG1 HISPROG1 ________| ________| | | | | CallNat Fetch CallNat Fetch HERSUBP1 HISPROG2 HERSUBP1 HISPROG2 |________ |________ | | | | Fetch InputMap Fetch InputMap HERPROGA HERMAPA HERPROGA HERMAPA | * CallNat CallNat HERSUBP1 HERSUBP1

9 9 CHART Why use CHART... Document and Audit your whole application... pass all the “seeds” of your application to CHART (in a work file)pass all the “seeds” of your application to CHART (in a work file) program charts will be printed for each seedprogram charts will be printed for each seed a table of contents will be printeda table of contents will be printed an index of objects will be printedan index of objects will be printed an audit list of objects not referenced will be printedan audit list of objects not referenced will be printed

10 10 CHART Invoking CHART On-line... At the "Command" prompt: Enter Code: Type: Name: Command: CH PROG1At the "Command" prompt: Enter Code: Type: Name: Command: CH PROG1 or at the “NEXT” prompt: NEXT chart LIB=CHARTV2or at the “NEXT” prompt: NEXT chart LIB=CHARTV2 At the "Command" prompt: Enter Code: Type: Name: Command: CH PROG1At the "Command" prompt: Enter Code: Type: Name: Command: CH PROG1 or at the “NEXT” prompt: NEXT chart LIB=CHARTV2or at the “NEXT” prompt: NEXT chart LIB=CHARTV2

11 11 CHART CHART "entry" screen... 18:59:06 **** CHART for Natural V2.2D.1 **** 29/02/97 User YOURID Library DEVL Code Function Code Function G Generate Program Chart G Generate Program Chart L License Details L License Details ? HMC Program Chart Help ? HMC Program Chart Help. Terminate Program Chart. Terminate Program Chart Code.. G Seed.. MYPROG__ Code.. G Seed.. MYPROG__ Exclude.. DC________ M:Map C:Copycode P:Program X:eXtrnl Exclude.. DC________ M:Map C:Copycode P:Program X:eXtrnl B:Batch R:Routine (N:Subrtn N:Subprog H:Hlprtn) B:Batch R:Routine (N:Subrtn N:Subprog H:Hlprtn) W:WorkFile D:DataArea (G:Global L:Local A:pAram) W:WorkFile D:DataArea (G:Global L:Local A:pAram) O:Others (I:Inline Subroutine F:Database Files) O:Others (I:Inline Subroutine F:Database Files) Trace every 5000_ source lines (or Page limit in ‘Batch’) Trace every 5000_ source lines (or Page limit in ‘Batch’) Don't Explode/Show.. ________ ________ ________ ________ ________ Don't Explode/Show.. ________ ________ ________ ________ ________ ________ ________ ________ ________ ________ ________ ________ ________ ________ ________ Command ===> Command ===>Enter-PF1---PF2---PF3---PF4---PF5---PF6---PF7---PF8---PF9---PF10--PF11--PF12- Help About Quit Main Order StpLb Batch Excln Shape Parms Help About Quit Main Order StpLb Batch Excln Shape Parms 18:59:06 **** CHART for Natural V2.2D.1 **** 29/02/97 User YOURID Library DEVL Code Function Code Function G Generate Program Chart G Generate Program Chart L License Details L License Details ? HMC Program Chart Help ? HMC Program Chart Help. Terminate Program Chart. Terminate Program Chart Code.. G Seed.. MYPROG__ Code.. G Seed.. MYPROG__ Exclude.. DC________ M:Map C:Copycode P:Program X:eXtrnl Exclude.. DC________ M:Map C:Copycode P:Program X:eXtrnl B:Batch R:Routine (N:Subrtn N:Subprog H:Hlprtn) B:Batch R:Routine (N:Subrtn N:Subprog H:Hlprtn) W:WorkFile D:DataArea (G:Global L:Local A:pAram) W:WorkFile D:DataArea (G:Global L:Local A:pAram) O:Others (I:Inline Subroutine F:Database Files) O:Others (I:Inline Subroutine F:Database Files) Trace every 5000_ source lines (or Page limit in ‘Batch’) Trace every 5000_ source lines (or Page limit in ‘Batch’) Don't Explode/Show.. ________ ________ ________ ________ ________ Don't Explode/Show.. ________ ________ ________ ________ ________ ________ ________ ________ ________ ________ ________ ________ ________ ________ ________ Command ===> Command ===>Enter-PF1---PF2---PF3---PF4---PF5---PF6---PF7---PF8---PF9---PF10--PF11--PF12- Help About Quit Main Order StpLb Batch Excln Shape Parms Help About Quit Main Order StpLb Batch Excln Shape Parms

12 12 CHART CHART "entry" screen... 18:59:06 **** CHART for Natural V2.2D.1 **** 29/02/97 User YOURID Library DEVL Code Function Code Function G Generate Program Chart G Generate Program Chart L License Details L License Details ? HMC Program Chart Help ? HMC Program Chart Help. Terminate Program Chart. Terminate Program Chart Code.. G Seed.. rps150i1_ Code.. G Seed.. rps150i1_ Exclude.. DC________ M:Map C:Copycode P:Program X:eXtrnl Exclude.. DC________ M:Map C:Copycode P:Program X:eXtrnl B:Batch R:Routine (N:Subrtn N:Subprog H:Hlprtn) B:Batch R:Routine (N:Subrtn N:Subprog H:Hlprtn) W:Work O:Othe W:Work O:Othe Trace every 5000_ source lines Trace every 5000_ source lines Don't Explode/Show.. ______ Don't Explode/Show.. ______ ______ ______ Command ===> Command ===>Enter-PF1---PF2---PF3---PF4--- Help About Quit Main Help About Quit Main 18:59:06 **** CHART for Natural V2.2D.1 **** 29/02/97 User YOURID Library DEVL Code Function Code Function G Generate Program Chart G Generate Program Chart L License Details L License Details ? HMC Program Chart Help ? HMC Program Chart Help. Terminate Program Chart. Terminate Program Chart Code.. G Seed.. rps150i1_ Code.. G Seed.. rps150i1_ Exclude.. DC________ M:Map C:Copycode P:Program X:eXtrnl Exclude.. DC________ M:Map C:Copycode P:Program X:eXtrnl B:Batch R:Routine (N:Subrtn N:Subprog H:Hlprtn) B:Batch R:Routine (N:Subrtn N:Subprog H:Hlprtn) W:Work O:Othe W:Work O:Othe Trace every 5000_ source lines Trace every 5000_ source lines Don't Explode/Show.. ______ Don't Explode/Show.. ______ ______ ______ Command ===> Command ===>Enter-PF1---PF2---PF3---PF4--- Help About Quit Main Help About Quit Main Trace of Chart being built source lines processed 23 objects placed in Chart (7P 5N 9M 2L) 6 objects still to be checked --Enter-Continue--PF5-ShowChart--PF3-Exit-- Trace of Chart being built source lines processed 23 objects placed in Chart (7P 5N 9M 2L) 6 objects still to be checked --Enter-Continue--PF5-ShowChart--PF3-Exit--

13 13 CHART

14 14 CHART

15 15 CHART

16 16 CHART

17 17 CHART

18 18 CHART

19 19 CHART

20 20 CHART

21 21 CHART

22 22 CHART

23 23 CHART

24 24 CHART

25 25 CHART Extra CHARTs are drawn for “unplaced...

26 26 CHART Step Libraries in CHART... PF6 displays this window: current step libraries are shownPF6 displays this window: current step libraries are shown up to ten step libraries can be specifiedup to ten step libraries can be specified  Step Libraries... DEVL____ TEST____ PROD____ ________ ________ ________ ________ ________ ________

27 27 CHART Exclude Object Types in CHART... PF9 displays this window: current exclusions (if any) are shownPF9 displays this window: current exclusions (if any) are shown Allows different “exclusions” to be easily chosenAllows different “exclusions” to be easily chosen  Exclusions... X M Map X D Data Areas G Global L Local A Parameter P Program _ K Set Key R Routines _ S Subroutine N Subprogram H Helproutine X C Copycode X External Calls B Batch Calls W Work Files X O Other Types _ I Inline Subrtns _ F Database Files Input/Output (MDHWF) Program Calls (DPSNXB)

28 28 CHART Exclude Object Types in CHART... Exclude Maps and DataAreas and only programs and subprograms will be drawn:Exclude Maps and DataAreas and only programs and subprograms will be drawn: HISPROG1 HISPROG1 ________| ________| | | | | CallNat Fetch CallNat Fetch HERSUBP1 HISPROG2 HERSUBP1 HISPROG2 | | Fetch Fetch HERPROGA HERPROGA Exclude Maps and DataAreas and only programs and subprograms will be drawn:Exclude Maps and DataAreas and only programs and subprograms will be drawn: HISPROG1 HISPROG1 ________| ________| | | | | CallNat Fetch CallNat Fetch HERSUBP1 HISPROG2 HERSUBP1 HISPROG2 | | Fetch Fetch HERPROGA HERPROGA

29 29 CHART Exclude Object Types in CHART... Exclude only DataAreas and programs, subprograms, and maps will be drawn:Exclude only DataAreas and programs, subprograms, and maps will be drawn: HISPROG1 HISPROG1 _________________|________ _________________|________ | | | | | | | | CallNat Fetch InputMap InputMap CallNat Fetch InputMap InputMap HERSUBP1 HISPROG2 HISMAP1 HISMAP2 HERSUBP1 HISPROG2 HISMAP1 HISMAP2 | | | | | | | | | | * | | | * | WrteForm Fetch HelpRout HelpRout WrteForm Fetch HelpRout HelpRout HERFORM1 HERPROGA HISHELP HISHELP HERFORM1 HERPROGA HISHELP HISHELP | | | | InptMap# InputMap InptMap# InputMap HERMAPA HISMAP3 HERMAPA HISMAP3 Exclude only DataAreas and programs, subprograms, and maps will be drawn:Exclude only DataAreas and programs, subprograms, and maps will be drawn: HISPROG1 HISPROG1 _________________|________ _________________|________ | | | | | | | | CallNat Fetch InputMap InputMap CallNat Fetch InputMap InputMap HERSUBP1 HISPROG2 HISMAP1 HISMAP2 HERSUBP1 HISPROG2 HISMAP1 HISMAP2 | | | | | | | | | | * | | | * | WrteForm Fetch HelpRout HelpRout WrteForm Fetch HelpRout HelpRout HERFORM1 HERPROGA HISHELP HISHELP HERFORM1 HERPROGA HISHELP HISHELP | | | | InptMap# InputMap InptMap# InputMap HERMAPA HISMAP3 HERMAPA HISMAP3

30 30 CHART Don’t Explode/Show in CHART... Don't Explode/Show.. MJ*_____ objects starting with ‘MJ’ will have descendant objects suppressedobjects 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 allobjects starting with ‘MJ’ will not be shown in the CHART at all

31 31 CHART Don’t Explode/Show in CHART... Only Explode.. -XMC*___ Only Explode objects starting with “XMC”, Don't Show any othersOnly Explode objects starting with “XMC”, Don't Show any others Only Explode.. ~XMC*___ Only Explode objects starting with “XMC”, Don't Explode any othersOnly Explode objects starting with “XMC”, Don't Explode any others

32 32 CHART Don’t Explode/Show in CHART... Don't Explode/Show.. M!!J*___ objects starting with ‘M’, with anything in position 2 and 3, with ‘J’ in position 4, and with anything after that, will have descendants suppressedobjects starting with ‘M’, with anything in position 2 and 3, with ‘J’ in position 4, and with anything after that, will have descendants suppressed

33 33 CHART Don’t Explode/Show in CHART... Don't Explode/Show.. M!!J*)p_ objects starting with ‘M’, with anything in position 2 and 3, with ‘J’ in position 4, with anything after that, and which are object type ‘program’ will have descendants suppressedobjects starting with ‘M’, with anything in position 2 and 3, with ‘J’ in position 4, with anything after that, and which are object type ‘program’ will have descendants suppressed

34 34 CHART Symbols used in CHART.....# (Dynamically Invoked): | | | |..# (Dynamically Invoked): | | | | CallNat Fetch InputMap InputMap CallNat Fetch InputMap InputMap HERSUBP1 HISPROG2 HISMAP1 HISMAP2 HERSUBP1 HISPROG2 HISMAP1 HISMAP2 | | | | InptMap# InputMap InptMap# InputMap HISMAP1 HISMAP2 HISMAP1 HISMAP2 | | HelpRout HelpRout HISMAP3 HISMAP3..# (Dynamically Invoked): | | | |..# (Dynamically Invoked): | | | | CallNat Fetch InputMap InputMap CallNat Fetch InputMap InputMap HERSUBP1 HISPROG2 HISMAP1 HISMAP2 HERSUBP1 HISPROG2 HISMAP1 HISMAP2 | | | | InptMap# InputMap InptMap# InputMap HISMAP1 HISMAP2 HISMAP1 HISMAP2 | | HelpRout HelpRout HISMAP3 HISMAP3

35 35 CHART Symbols used in CHART... * (Descendants Suppressed): | | * (Descendants Suppressed): | | | | | | InputMap InputMap InputMap InputMap HISMAP1 HISMAP2 HISMAP1 HISMAP2 | | | | * | * | HelpRout HelpRout HelpRout HelpRout HISHELP HISHELP HISHELP HISHELP | | InputMap InputMap HISMAP3 HISMAP3 * (Descendants Suppressed): | | * (Descendants Suppressed): | | | | | | InputMap InputMap InputMap InputMap HISMAP1 HISMAP2 HISMAP1 HISMAP2 | | | | * | * | HelpRout HelpRout HelpRout HelpRout HISHELP HISHELP HISHELP HISHELP | | InputMap InputMap HISMAP3 HISMAP3

36 36 CHART Symbols used in CHART... + (Don’t Explode): | + (Don’t Explode): | CallNat CallNat HISSUBP HISSUBP | + + Fetch Fetch ERRORHDL ERRORHDL + (Don’t Explode): | + (Don’t Explode): | CallNat CallNat HISSUBP HISSUBP | + + Fetch Fetch ERRORHDL ERRORHDL

37 37 CHART Symbols used in CHART... ? (Source Code Not Found): | ? (Source Code Not Found): | | | InputMap InputMap HERMAP1 HERMAP1 | ? ? HelpRout HelpRout HERHELP2 HERHELP2 ? (Source Code Not Found): | ? (Source Code Not Found): | | | InputMap InputMap HERMAP1 HERMAP1 | ? ? HelpRout HelpRout HERHELP2 HERHELP2

38 38 CHART Symbols used in CHART... (Descendants could not be placed): | (Descendants could not be placed): | CallNat CallNat HISSUBP HISSUBP | Fetch Fetch ERRORHDL ERRORHDL (Descendants could not be placed): | (Descendants could not be placed): | CallNat CallNat HISSUBP HISSUBP | Fetch Fetch ERRORHDL ERRORHDL

39 39 CHART Symbols used in CHART... i:.. (Inline Subroutines) f:.. (Database Files): | | | i:.. (Inline Subroutines) f:.. (Database Files): | | | i:CHECK- Fetch f:CLIENT i:CHECK- Fetch f:CLIENT CLIENTS HISPROG2 -DETAILS CLIENTS HISPROG2 -DETAILS | | InputMap InputMap HISMAP2 HISMAP2 i:.. (Inline Subroutines) f:.. (Database Files): | | | i:.. (Inline Subroutines) f:.. (Database Files): | | | i:CHECK- Fetch f:CLIENT i:CHECK- Fetch f:CLIENT CLIENTS HISPROG2 -DETAILS CLIENTS HISPROG2 -DETAILS | | InputMap InputMap HISMAP2 HISMAP2

40 40 CHART Paging around CHARTs on-line... Page: 1L of 2left 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 Find Chart Up Down Lines Left Right Page: 1L of 2left 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 Find Chart Up Down Lines Left Right

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

42 42 CHART Running CHART in Batch... JCL to run CHART for many seeds (in work file): JCL to run CHART for many seeds (in work file): Extra CHARTs are drawn automatically (whenever necessary) Extra CHARTs are drawn automatically (whenever necessary) JCL to run CHART for many seeds (in work file): JCL to run CHART for many seeds (in work file): Extra CHARTs are drawn automatically (whenever necessary) Extra CHARTs are drawn automatically (whenever necessary)

43 43 CHART How to get CHART-ed... Free trial of CHART at your siteFree trial of CHART at your site Can be purchased short term or long termCan be purchased short term or long term Includes installation, training sessions, reference manuals, and version upgradesIncludes installation, training sessions, reference manuals, and version upgrades CHART can be “tailored” to suit special documentation needs your site may haveCHART can be “tailored” to suit special documentation needs your site may have

44 44 CHART CHART Version 2 for Natural Take a good look at your system... with CHART

45 45 CHART


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

Similar presentations


Ads by Google