Home
X-Analysis Professional 11.1
Contents
1. File Field Detaib ar LRE ne eenn e ee eee eee Objeci Where Used for ic ae neee eee eee eee eee wees Data Flow Diagram Normal for OEMENU a ee eee e D lr eH CS S H Data Flow Diagram Normal for Quo ee ee KEE EES KEE Ansa E gene ace sc ee ld cee ee cee Structure Chart Diagram Normal for QEMENU e e e e Ambo e Te cates secede tee Program Structure Chart for QE MENU eL ee e ee ENEE 6 26 11 69 in 4 X Analysis Professional 11 1 2015 Fresche Legacy Inc Page 40 Impact Analysis amp Graphical Documentation System Document Legends gS System Document for XAN4CDXA pdf Adobe Acrobat Professional mE JJ Fie Edit wiew Document Comments Forms Tools Advanced Window Help LEGENDS Le Blocked Cor rents Structure Chart Diagram Legends Data Content Diagram Legends Te mae 0 0 Data Flow Dagan Legends Data Model Diagram Legends Program Structure Chart Diagram Legends FT 6 26 x 11 69 in V X Analysis Professional 11 1 2015 Fresche Legacy Inc Page 41 Impact Analysis amp Graphical Documentation System Document Selected Options System Document for XANACDXA pdf Adobe Acrobat Professional File Edit View Document Comments Forms Tools Advanced SEH Help COD d selected Options 1 Object List 2 LF Access Path details 3 File Field Details 4 Object Where Used 5 Data Flow Diagram Normal with Annotation 5 Structure Chart Normal with
2. A Redo p XDoclet gt XML X Analysis Professional 11 1 General X Analysis Preferences Settings Variable Where Used Default View Level 1 Object Where Used Entry Level References 7 v Default Source Editor Lpex 5250 Emulator Others Number of records to display 1000 Restore Defaults O 2015 Fresche Legacy Inc Page 62 Sak Relational Data Model Extraction for IBM i Relational Data Model Extraction for IBM i Configuring the design of an application depends on an accurate data model X Analysis features the advanced capability of automatically extracting data model from an RPG COBOL based application The data model derived through X Analysis is viewable as an interactive diagram The software extends the benefit of perusing the file centric or application area specific filtering of the diagram This section highlights the importance of understanding an application design and describes how the Data Modelling solution set helps in deciphering complicated codes of databases thereby making data maintenance and development work a less cumbersome process Feature Brief Description Data Model Diagram Diagram which displays file relationships for an application or an application area LFs Access Paths Displays all access paths related to a specific file File Field Details Displays the field details of a specific file Access Path Diagram Diagram which displays all access paths belonging to a specific
3. I CUSLET1 Customer Letter Stage 2 OTHCAL UPD LETN1 Letter Prefix Generation E TWKCUSL Customer Letter PRTFIL CUSLETSQ Update Letter Sequence WKCLISSE Customer Release Letter WKCUS8P Customer Enquiry Letter PRTFIL WKCLISSEF Find Fax Number QE002 Order Enquiry The normal view of an SCD is shown above The Legend button available on the toolbar helps to interpret the different colors used in the SCD X Analysis also allows annotation on the Structure Chart SCD Legend Update Select an object displayed in the SCD and opt for the Annotate option from the context menu M Display Print Input Output Command Others Internal Routine Indeterminate Trigger 3 Module X Analysis Professional 11 1 2015 Fresche Legacy Inc Page 24 Impact Analysis amp Graphical Documentation _Annotate option 3 Object List ENU i Structure Chart for OEMENU Total FHJOEMENU Order Entry Menu OTH NET o OEDO1 Order Entry Data Flow Diagram Object Where Used CUSLET Customer Letter Stage 1 Variable Where Used ICUSLET 1 Customer Letter Stage 2 SESE UE SELES LETN1 Letter Prefix Generation WKCUSL Customer Letter CUSLETSQ Update Letter Seq WKCLISS8E Customer Release Annotate Structure Chart Diagram Inverted Structure Chart Program Structure Chart Screen Report Design Screen Report Source Consolidated Rules mad mu Bs
4. The double click action invokes the Work with Objects dialog with Type set as FILE and Attribute as PF The dialog is displayed on the following page X Analysis Professional 11 1 O 2015 Fresche Legacy Inc Page 7 Impact Analysis amp Graphical Documentation Work with Objects dialog Files Work with Objects Application Area Description All Members Selected Library ALLLISR hull Tvpe Attribute FILE Br Function Attributes Component Status Function Type PF Marne w 5 Program Type Modality Click OK to invoke the Object List window showing all the files Object List window displaying all Files PF Z Files 3 mL Object List of ALLUSR ALL FILE PF ALL ALL Total Objects 50 AA ae Al Library Name Type Attribute Description Status Changed Created PFXAM4CDEM ASIMPLTEST FILE PF D ns D6liz 30 03 11 PFXAN4CDEM ASTATUS FILE PF Status File TA 0109108 PFXAM4CDEM CNTACS FILE PF Contacts MS 01 09 08 PFEAM4CDEM CONDET FILE PF Contract Detail TB ec PFRAN4CDEM CONMDETMW FILE PF Contract Detail new AC 20 Grat PFEANM4CDEM CONHDR FILE PF Contract Header TB Nanette PFRAN4CDEM CPYBKSRC FILE PF Cobol copybooks D 10 0511 ID Customer Groups 01 09 08 i i PFEAMA4CDEM CUSF FILE PF Sites TD 2 PFXAM4CDEM CLISGRP FILE PF PFEAM4CDEM CUSTS FILE PF Purchases B 01 09 08 PFXAM4CDEM DELIV FILE PF Delivery Areas B 01 08 08 lt The Object List window displays m
5. OEDO1 EDTFIL Order Entry Program Order Entry A principal function of this program is the online maintenance of CUSTSL3 the by Cusno Representative file through a subfile display Data is retrieved from the following files PTYPES The following programs are called to carry out subsidiary functions CUSLET Parameters are passed to the program when it is called The program is called by OEMENU GEDDE Update Out CUSTSL3 by Cusno Representative The Show Narratives icon has toggle behavior Click it again Normal SCD icon to return to the normal view of the Structure Chart Note The Structure Chart Diagram can be limited by level as well as volume This is applicable to the interactive mode of SCDs You need to set the Preferred Volume Limit through the X Analysis General Preferences dialog X Analysis Professional 11 1 2015 Fresche Legacy Inc Page 26 Ju Impact Analysis amp Graphical Documentation HIERARCHICAL STRUCTURE CHART The Hierarchical Structure Chart offers a different layout for viewing the SCD The HSC layout is a precise view of all the programs representing their control flow and call structure through neatly color coded bus routing block diagrams Select the Hierarchical Structure Chart option from the context menu over OEMENU from the SCD Hierarchical Structure Chart option Se Object List fa OE002 OEMENU 23 7 B Structure Chart for OEMENU Total Objects 15 i a m e H H B v P
6. X Analysis Professional 11 1 O 2015 Fresche Legacy Inc Page 75 Relational Data Model Extraction for IBM i Data Model Diagram dialog for an application area Application Area Name Description MVCPROCESS w Re Engineering Object Object Text DMD Data Options Display External Relationships Show unrelated files Cancel Data Model Diagram for an application area Restricted Ta 4oplication Area Diagram Er Area Flow Diagram Data Model Diagram 2 5 mL Data Model Diagram for MYCPRDOCESS ALL Total Objects 13 D om ais UM SS Contract Detail Transaction type Store Master Distributors description ai DMO Details 23 Ze AAD Details m x SCH DMD Relations For MVCPROCESS ALL Total Relations 23 Rel No Dependent File Relation Type Parent File Dependent Fields Parent Fields Dep LF 1 CORDET OWED BY CORNHDRE SWORD VOR DN LCONDET CONDET REFERS TO STEBAL AWORDALAWOACS SWAB yo oS CONDETLS CORDET REFERS TO STEBAL XWABCD x WAACS AWABCD xWAACS CONDETL2Z CONDET REFERS TO STKMAS AWD ANN ABCD CONDETL3 CONDET REFERS TO STOMAS AW OS YS CONDETLI CONDET REFERS TO TRMTYP wR LCD AWRICD CONHDE REFERS TO CUSTS BD mW BCCO CONHDRL 24 X Analysis Professional 11 1 2015 Fresche Legacy Inc Page 76 on Relational Data Model Extraction for IBM i The DMD displayed above is a restricted Data Model and it only displays the objects which belong to the application area MVCPROCESS The toolbar on the
7. Berbwhistle amp Comoany DT lt jili Record Display Sts Last Cnt Date 030508 030408 030514 030905 030514 030514 030514 030905 030314 031013 031006 031025 031013 031025 031025 031025 031013 03i0z5 21 Data Model Diagram 77 Referred to by Ong List Cada RG 2 Data view For CUSFL1 2 2 Next Cnt Date mE Eo je Referred UL 14 E B i TYE CUS Ma 0011 0016 00235 UUU 31 UU Dunes Dunes 00126 DOO Fax Ma 0135 55 676 0151 678 1234 Up 7949 601146 4582 871482 Ul 702 2 201 O121 550 753 The View Data window lists records for a selected file Double click on a record to display the complete record In this example if you double click on Bertwhistle amp Company Ltd the record display along with its dependent files data will appear X Analysis Professional 11 1 2015 Fresche Legacy Inc Page 72 Relational Data Model Extraction for IBM i Record Display with Dependents Data View for CUSFL1 A pr amp lDatstorough Tech ETN gt N sneg 7 Last Cnt Date E M Waysde Hl ALTTEL ALTTL2 e PATE LR Ge CRIDAT moo MP LER Prod Code Contact IC HN SMITH D The tab at the bottom displays dependent file data These are any ACCESSES OWNS REFERS TO relationships for CUSF in the DMD On the record display the Descriptors button displays the ACCESSED BY REFERS TO relationships This is similar to a JOIN t
8. MH T OEMENU Order Entry Menu E e oom Source oeo01 Order Entry 33 Data Flow Diagram Object Where Used d CLSLET Customer Letter Stage 1 Variable Where Used K H CUSLET1 Customer Letter Stage 3 cp Hierarchical Structure Chart z Structure Chart Diagram The following image shows the delineation of the main object OEMENU into several blocks of related objects in the order of calling The color codes indicate whether an object is command based or input based or print based and so on X Analysis Professional 11 1 O 2015 Fresche Legacy Inc Page 27 Impact Analysis amp Graphical Documentation Hierarchical Structure Chart OEMENU fe Object List E OE002 OEMENU OEMENU 3 A Hierarchical Structure ENU Total Objects 15 Il I O OEMENU Order Entry Menu Referred Files E oro dg oes all E OE001 Order Enquiry Product Enquiry i Order Entry FF Referred Files Referred Files sicker a O OE004 ILI OED06 D Customer Enquiry Mainte Print Invoices Referred Files Referred Files E Business Rules K Thumbnail View X cm X Analysis Professional 11 1 O 2015 Fresche Legacy Inc Page 28 Anda Impact Analysis amp Graphical Documentation Narration You can access additional details of a specific object through the Narratives icon shown below Narratives icon te Object List 289 E002 OEMENU OEMENU 3 m La Hierarchical Structure Chart f
9. Sites REFERS TO DOrganisati Organisation Organisation No CUSFLE Sites REFERS TO Products Product Code Code CLISFLA Contacts REFERS TO Sites Cus Mo Cus Mo CNTA CS Purchases REFERS TO Sites Prospect No Cus No CUSTSLS Security Codes OWNED BY Sites mp Mo us Mo SECF The DMD displayed above is the file specific DMD for CUSF It only contains objects related to CUSF Furthermore the DMD Details list displays only those relationships related to CUSF With the help of a file specific DMD you can view relationships between any available files These relationships can be understood better after reading View Data section LFs ACCESS PATHS Select the LFs Access Paths option for a file from the DMD The LFs Access Paths option shows all access paths associated with a selected file Select CUSF and then choose the LFs Access Paths option from the context menu X Analysis Professional 11 1 O 2015 Fresche Legacy Inc Page 69 Relational Data Model Extraction for IBM i LFs Access Paths option on DMD a Data Model Diagram a Data Madel Diagram at Data Model Diagram H Data Model Diagram for CUSF Total Objects 9 zo Aly H fs Sch Referred to by STATUS Status Referred to by Referred to by Referred to by DSDCDE Distributor LSLCDE Ong List Code ORG Organization oom Source EG Data Flow Diagram Object Where Used Variable Where Used a Data Model Diagram Refers to by Refers t
10. click Generate Document This invokes the Documenter Wizard as shown on the following page X Analysis Professional 11 1 2015 Fresche Legacy Inc Page 34 Impact Analysis amp Graphical Documentation System Documentation Wizard Type and Location X Analysis System Documentation Type and Location Select the type of documentation and its location System Documentation can generate Single document with documentation of all the objects marked For documentation OR Generate multiple documents Far each object marked For documentation S stem Documentation type Gei Generate Single System Document CO Generate Individual System Documents P Generate System Documents using previous values Document Details Document Title System Document For xANACDXA d Mame System Document Far XANdCDSA pdf C Documents and Settings alakhiMy Dacumentsix Analvsis Application Data 92 166 170 10 PCF_ XAM4CDXAYlSvsbtem Document For xANdCDxA pdF Cancel The Type and Location dialog consists of two sections System Documentation type Document Details The System Documentation type section provides options to generate the following types of documents Generate Single System Document Generates a single PDF MS Word document Generate Individual System Documents Generates a PDF MS Word document for each object X Analysis Professional 11 1 2015 Fresche Legacy Inc Page 35 Impact Analysis amp Gra
11. CUSFL6 CUSFL7 Sites by Disk amp Status Sites By Dist amp Mame Sites by Last Cnt Da OS OCDE Distributor DSDCDE Distributor LCTDAT Last Conta STATLIS Status CHAME Company STATUS SEabus CNAME Company Compan CUSFLY Sites by Fax Mo FAMO Fax No TIT vw Go back to the DMD displaying the file specific DMD for CUSF X Analysis Professional 11 1 O 2015 Fresche Legacy Inc Page 72 See VIEW DATA Relational Data Model Extraction for IBM i You can also view file records from the data model of an application Select the View Data option to view the actual records held in PFs The option is available on all the objects displayed in the DMD View Data option on the DMD object e Programs CBODBR p E zoom Source Data Model Diagram for CUS ES 29 Data Flow Diagram Object Where Used E Referred to by STATUS Status ACCESS Consolidated Rules Annotate Mark For Dacumenter More Info Refers to by EH source CUsSN CBEODER Data View for CUSFLI Ze Programs Variable Where Used d 21 Data Model Diagram File Field Details LFsfaccess Paths Change History xt Data Model Diagram LSLCDE Path Diagram Compare Data View for CUSF gt Company Distributor Acoustical Turbines Ltd Air Tickets plc DT Albatrass Trading IF A1 Bank of Bromley Ltd DT Bavs Engineering LEd DT Belmont Bras Bank DT Bert and Company Plc DT Berth Ltd DT
12. DMD has an option to generate the unrestricted DMD Click the Unrestrict To Application Area icon Unrestrict To Application Area icon Ko Application Area Diagram en Area Flow Diagram a Data Model Diagram mL Data Model A for MYCPROCESS ALL Total Objects 13 BAS 0 E IB 7 Unrestrict To Application Area The following window will be displayed Data Model Diagram for Application Area Unrestricted Ta Application Area Diagram 24 Area Flow Diagram a Data Model Diagram mL BL SES at Data Model Diagram for MYCPROCESS ALL Total Objects 25 Sg H 5 E a Product Master Store Master Transaction type Order status description description CS bet LR RE EL E RED i 0 e T HI Stock Balances Conta v JE Note The objects displayed in blue are the ones which do not belong to the application area MVCPROCESS While using the Restrict To Application Area feature ensure that the originally selected application area remains the same X Analysis Professional 11 1 2015 Fresche Legacy Inc Page 77 X Analysis Professional 11 1 What s Next What s Next Over two decades of dedicated research and development has rewarded us with a sophisticated software solution like X Analysis Built to meet the requirements of advanced computing and analysis X Analysis and its varied features make it easy to understand how a legacy ap
13. Details er File D PFXANMACDEM LISTS LFs Access Paths A PF XANACDEM NAMES Access Path Diagram dex A PFXANACDEM ORDS E atus descripti A PF RANACDEM ORGS S ations A Programs to Consolidate PFXANACDEM PRODF default Steps A PF XAN4CDEMI PROJEC B PF XANACDEM PROOR rk T S Orders D i FXANACDEM PROTR SEENEN fracking SE H Click the Documenter icon on the toolbar to begin the documentation process Documenter icon Run Window Help a ian AX SS Ar Dv4 Documenter R iles 5 M Object Where Used Er OED00 2 CH OEMENU ET 29 Java EE Object List of ALLUSR ALL FILE PF ALL ALL Total Objects 55 A T m N lt Library Name Type Attribute Description PF XANACDEM CPYBKSRC FILE PF Cobol copybooks This invokes the Document Manager dialog X Analysis Professional 11 1 O 2015 Fresche Legacy Inc Page 33 at Od Kn Impact Analysis amp Graphical Documentation X Analysis Document Manager dialog X Analysis Document Manager Description M SLSIW Order Entry Menu Move Down Delete Al Invert Selection Generate Document Save amp Exit The Document Manager dialog lists all the marked objects for documentation Use the Move Up Move Down Delete Delete All buttons to organize Objects Members on the documenter list The Invert Selection button on the Document Manager dialog unselects the selected objects and selects all the un selected objects After organizing the listed objects
14. E teen ob ue ESPERE EXSR RVCUS OO55 00 LS Set up blank subfile for Order lines 0056 00 LC EXSR ORLNS OO5e 00 ZS Display Order Entry sereen 0059 00 C HOV ELT 1 INS 0060 00 K MOVEL U X TN3 3 0061 00 C HOVEACMD 3 CHDDPT M Ili gt Zoom Source to Files defined in File Specification The selected program OE008 has files defined in the File Specification IE LICLLUN ZL NSS DUE L1 339 Ze Programs Ek OES i omg Ea ceoog 3 wi Source List of OE008 in XAN4CDEM QRPGSRC Lines 167 gien Level 4 Z E E EH S E F W B B Gi a m Re Seq No RE ND RUM mE AME ee a eee 0001 00 FOEQOIDF CF E WORES TH E o002 00 F HERNI E 0003 00 IF E E DISEK 0004 00 UF E E DISK 0005 00 IF E E DISE 0006 00 K 4 li gt X Analysis Professional 11 1 2015 Fresche Legacy Inc Page 58 Impact Analysis amp Graphical Documentation Browse the source codes of the associated files by double clicking on them Alternatively select any file from the source browser and opt for the Zoom Source option from the context menu In this case CUSFL3 is selected Source Browser for CUSFL3 Za Programs Ela GEDDB oE008 Ela CU E3 mL Source List of CUSFL3 in XANACDEM QDDSSRE Lines 3 View leve 4 ss A El a UW E i Ae G aen No DT xx M M OM ET V E UEM INI ED d ENSE E O001 00 i UN IQUE 000z DU A R RCUSF PFILE i USF 000a OU A E CUSNO 4 TIT gt Further drill down to the source code of the associated PF
15. Gus bone Soe Paintepence F attributes a Cep Back dut account K Attributes m CUSSHAINT Custer Ste Maintenenca K Attributes a CLELETSO Lafe Lather 5aquenca K Attributes a CHSFPATNTR Customer Site Maintenenoa b Attributes n WWIOLEFR Sep K v ibCustnome Stes kb Steributes n ZBCUSFHNTR Gus boner Ste Parntenence k rrbte B CBB BRP Bark nut account K Attributes a CUSFROLD Customar Sie Mainbarvance k Attribures B CLERI Fanrganiza Customer Fila b Attributes a FAXERRL Fasshot Errors Part 1 K Attributes 2015 Fresche Legacy Inc m CLEFLA Sitas by Product renamed frc asha For testing F Attribubes m DEAT Sites by Salesperson k Aurbutes OFE Stes by Crganisstion Attributes d OLEFL Stes hu Status k Attributes d OLEFLS cites by Dist E Status k Arbutes S CLEFL Sikes hu Lest Cnt Dare k Attributes B OR Sites bes Fae Na K Attribubes ai CUSCP Customer Copy k Stributes z CF Rearganize Codes File hb Otributes A Page 44 Impact Analysis amp Graphical Documentation System Document Index See Cp iss C CBBDBR PGM Back out account 17 8 CBOBDBARR FOM Back out account 17 8 CBCUSFMNT FGM Customer Site Maintenance 17 8 CBCUSFMNTR PGM Customer Site Maintenance 17 B CBCUSTMNTS PGK Customer Detail Maintenance Long fields used 17 8 CBCUSTMNTR HOM Customer Detail Mamtenance Long felts
16. Ma CATACS Contacts REFERS TO Mames I Contact Name Contacts OWNED BY Products Prod Code Code CNTLF4 Contacts REFERS TO Salesper Sales Person Ferson Contract Detail OWNED BY Contract Contract Contract CONDET Contract Detail REFERS TO Stock Bal Contract Store Stk Bal Product Store COMDETL2 Click the Hide Description icon to switch back the DMD Details list to the actual names mode DMD Details view with Hide Description icon L DMD Details 7 m Eh WI DMO Relations For ALL Total Relations 53 Hide Description Rel No Dependent File Relation Type Parent File Dependent Fields Parent Fields Dep LF l Contacts REFERS TO Status File Sts Status CNTLF3 Contacts REFERS TO Sites i us No i us Ma CATACS Contacts REFERS TO Mames I Contact Mame Contacts OWNED BY Products Prod Code Code CNTLF4 Contacts REFERS TO Salesper Sales Person Person Contract Detail OWNED BY Contract Contract Contract CONDET Contract Detail REFERS TO Stock Bal Contract Store Stk Bal Product Store CONDETL2 X Analysis Professional 11 1 2015 Fresche Legacy Inc Page 67 Relational Data Model Extraction for IBM i J Let us consider another aspect of the DMD A single click on an object displays the dg d references of that object with the other objects in the DMD Click on CUSF to view its n references Data Model Diagram with the selected object CUSF att Data Model Diagram E3 EE Data Model Diagram for ALL Total
17. This brings up the Annotation dialog Write your note and click Save The annotation is stored in a file available in the cross reference library Annotation dialog for OEMENU Sub Heading Wirte mote here Delete Cancel Regenerate the SCD to check for any object annotations i Annotation icon for OEMENU in a re generated SCD l e Object List i7 OE002 2 ED a jects 15 e P DE mp P om UPD E Annotation icon JCLUSLET Customer Letter Stage 1 Double click on the Annotation icon to bring up the Annotation dialog X Analysis Professional 11 1 O 2015 Fresche Legacy Inc Page 25 Impact Analysis amp Graphical Documentation DETAILED STRUCTURE CHART The SCD in detailed format displays the files used by each program together with each program s generated program text X Analysis automatically recovers the generated program text which describes the purpose of the listed programs To generate the Detailed SCD click the Show Narratives icon Show Narratives icon on toolbar Show Narratives OEMENU Order Entry Menu After clicking the icon the following window will open displaying the details Detailed SCD e Object List 199 OF002 OEMENU 3 H Detailed Structure Chart for OEMENU Total Objects A3 i2 m O H T om Program Order Entry Menu A principal function of this program is to present a menu to call certain programs
18. file View Data Displays actual records held in the PFs X Analysis Professional 11 1 O 2015 Fresche Legacy Inc Page 63 X Analysis Professional 11 1 Relational Data Model Extraction for IBM i The Data Modelling solution set is an add on module dedicated to data model extraction Prior to analyzing a legacy system it is important for you to understand the application design An analyst looks for the Data Model information of the legacy system which forms the foundation of the application design In the context of X Analysis the term Data Model refers not only to the physical model of a database design but also to the foreign key or the relational model X Analysis automatically derives an explicit physical and logical data model by analyzing both the actual data and the programs that use that data and thus verifies the existence of any potential cross file relationships It performs an integrity check to ensure that all data from dependent file validly refers to the data records from the owning file A complete data model that accurately describes all possible relationships among the files is essential for productive maintenance and development work Such a model also provides a foundation to automate critical data administration tasks such as referential integrity testing and test data extraction The graphical representation of automatically generated Data Model information in X Analysis is a Data Model Diagram The Data Model Di
19. lii gt X Analysis Professional 11 1 2015 Fresche Legacy Inc Page 17 Impact Analysis amp Graphical Documentation The color scheme clarifies the reference and association of specific objects with one another oo egendexpanded O 0 Se Fies Spy Object Where Used CUSTMNTL BE CUSF 7 WW Object Centered Data Flow Diagram for CUSF Total Objects 94 FY Bu v a A w H o ES Access path lll Called S CUSFLA p Sites by Product renamed From 3 F Calling cusfla Far testing EE No Attributes b Input Progr B Input b Input Servic E Internal routine m eege CLUSFLC HI TIS output Sites by Salesperson b Input Outpi f No Attributes b Update Proc W Update WW b Update Output Programs 4 GE H A CUSFLE lt lli VARIABLE WHERE USED This option is specifically useful for conducting impact analysis It returns all source lines where field variable of a file or program is used and or referenced in any of the source members The source members searched also include device files and copybooks From the DFD for CUSF search and select the OE002 object We can clearly see that the fields used by CUSF are CUSNO and PRPCDE Select CUSNO and opt for Variable Where Used from the context menu as shown below Variable Where Used option for CUSNO Ze Files ZA Object where Used CLISTMNTI HB cuse 7 edd B Object Centered Data Flow Diagram for CUSF Total Objects 94 a D Gg d SINIT S
20. that program Program Structure Chart for OE008 e Programs Go GEDDB E og Z3 mL Program Structure Chart for OEO08 Total Objects 7 a A H o TA lt LRVCLUIS LORLNS VALID OEOU1 Order Entry CRORD OEMENLT The PSC presents each subroutine as a small grey rectangle displaying the name of each subroutine The object type i e the Function Type determines the coloring of all other shapes Programs Modules and Service Programs Boxes other than the subroutines are the same size of a program element as used in the Structure Chart Diagram On the PSC double click on a subroutine This initiates the Source Browser for the OEO08 program with the particular subroutine selected X Analysis Professional 11 1 2015 Fresche Legacy Inc Page 57 Impact Analysis amp Graphical Documentation PSC with the selected subroutine Program Structure Chart for OE008 Total Objects 7 t fa lt Do rin lt J OE008 Order Entry RVCLIS LORLNS Double click the subroutine box to bring up the Source Browser positioned at VALID the beginning of the subroutine QEOO1 Order Entry CRORD OEMENLI The source browser for OEOO8 with the selected SRVCUS subroutine is shown below Source Browser for OE008 with the selected subroutine Za Programs DEDOS E OEUUS Ba peoos E3 E Source List of OE008 in XANA4CDEM QRPGSRC Lines 167 View Level 4 A E EH S E G9 U Sie BBE i A m Seq Na G KE EE
21. 022 00 0636r ou PGE DOUEGQ N 0023 00 O640c 91914 RTN VOUEQ E N ll gt SOURCE BROWSER TOOLBAR The Source Browser toolbar is displayed below Source Browser toolbar Source List of CB906R in XAN4CDEM QRPGSRC Lines 156 Yiew Level 5 ee E HSH e uv Ba 998 HH EZ a c amp Re The toolbar consists of the following options Source Options Screen Components Source Outline Screen Report Design Show Split Panel Zoom in Lpex available on WDSc RDi only SEU option Pseudo Code Set XA Preferences to select the appropriate option Source Level More Info Diagram Options Export Options Generate UML E Print Flowchart View Code X Analysis Professional 11 1 O 2015 Fresche Legacy Inc Page 47 Joa d Impact Analysis amp Graphical Documentation Source Options Use the Source Options menu to view various source modes The Normal Source Code is the default source view Source Options e Programs El CBSOER E3 E Source List of CB906R in XAN4CDEM QRPGSRC Lines 156 Yiew Level 5 Z EI PERE E B9 Ip Ba SEB 9 9 w Normal Source Code Leet ee be 3 TTB T Indented Source Code PARM WW LD amp 60 Business Rules Overlay FARM MTT ALAR 83 E Business Rules FARM WWACFG 1 Consolidated Rules FARM EXTODA 60 Business Process Logic FARM IU C HG 1 0021 00 u C Initialise Parameters OOee2 O0 J amp 3 6C SUPOOL DOUEQ H w it H Note Source Opt
22. 1 Address 1 Sites by Status No Attributes Sites by Number No Attributes ADD2 Address 2 ADD2 Address 2 D a CUSNO Cus No LSLCDE Orig List Code g geng di USFS GUELE e ADD3 Address 3 e ADD3 Address 3 Sites by Dist amp Status Sites By Dist amp Name PRPCDE Product Code s 5 ADD4 Address 4 5 ADD4 Address 4 No Attributes No Attributes 5 ALTTEL Alt Tel No 1 5 ALTTEL Alt Tel No 1 ZAUDORGS l CUSREAD 5 ALTTL2 Alt Tel No 2 5 ALTTL2 Alt Tel No 2 B B Audit ORGS file Test Sequential Read options APDATE Next Contact APDATE Next Contact Qo CUSFL7 CUSFLE s i Date Date Sites by Last Cnt Date Sites by Next Cnt Date Input 2 Fields Input 1 Field CNAME Company ORG Organisation a 5 CUSNO Cus No CMMNT1 Comment Line 1 CMMNT2 Comment Line 2 CMMNTS Comment Line 3 5 CMMNT1 Comment Line 1 CMMNT2 Comment Line 2 CMMNT3 Comment Line 3 No Attributes E No Attributes iv Legend icon The Legend icon on the Eclipse toolbar displays the details of the color scheme used by a DFD Click the Legend icon shown below Legend icon CUSTMNT1 E9 CUSF S Object Centered Data Flow Diagram for CUSF Total Objects 94 a A E IB E 2s Files Z Object Where Used Legend S Cal USF D CUSFLA Sites by Product renamed From z E B cusfla For testing Access Paths 13 Objects No Attributes b Input Programs 59 Objects H ls
23. 21 79 Parent Fields 67 Parent File 67 Pfs 63 73 Plugin 61 Preferences 10 19 46 61 62 Print 46 PSC 5 56 57 58 Pseudo Code 6 46 49 50 Referred Files 28 29 Relation Type 67 RPG 5 6 63 Screen Components 46 Screen Report Design 46 60 SEU 46 61 79 Show Narratives 25 Show Root Node 30 Show Split Panel 46 Source Browser 6 44 45 46 54 55 56 57 58 59 60 61 Source Level 46 50 Source List 50 51 Source Options 46 47 Source Outline 46 48 Structure Chart Diagram 5 6 21 22 57 Subroutines 48 52 56 57 Synon 6 System Document 34 35 36 40 41 42 43 44 Text 79 Usage References 9 Variable Where Used 6 17 18 19 21 View Code 46 View Data 63 69 73 Views 11 X Analysis 1 2 4 5 6 7 10 18 19 23 25 31 33 38 44 48 61 62 63 64 73 78 79 X Analysis Professional 11 1 O 2015 Fresche Legacy Inc Index Page 84 in LEGACY X Redo 78 Zoom Source 54 58 59 X Analysis Professional 11 1 2015 Fresche Legacy Inc Index Page 85
24. 3 Toi 13 PFxAM4CDEM CUSGRP FILE PF Zoom Source 21112 ojos 13o PFxAM4CDEM CUSTS FILE PF j gt Nee Dim 135 PFXAM4CDEM DELIV FILE PF MEER a REST D5 D06 12 Dim 13 PFXEAM4CDEM DISTS TEILE PF Object Where Used 211112 o1foofoe 13 PFXAM4CDEM EVFEVENT FILE PF D5 D6 i2 13 05 10 13 PFxAM4CDEM GENTAB FILE PF Variable Where Used D5 D6 i2 Diop 13 PFxAM4CDEM ITEMS FILE PF D5 n6 i2 moin 13 PFXAM4CDEM LISTS FIE Pr Xf Data Model Diagram O5 06 12 O1 09 08 13 PFxAM4CDEM MAMESIDX FILE PF File Field Details D5 n6 i2 Diop 13 PFXAM4CDEM ORDSTS FILE PF LFsiAccess Paths osoez 010908 isi s Access Path Diagram i This brings up the DFD for CUSF as shown below X Analysis Professional 11 1 2015 Fresche Legacy Inc Page 11 on Impact Analysis amp Graphical Documentation Data Flow Diagram for CUSF o Files 76 Object Where Used CUSTMNTi ot 7 8 Object Centered Data Flow Diagram for CUSF Total Objects 94 eu z Ir ck I E ZAUDCUSF o ZBPRNCUSF CUSF B D CUSFLA B CUSFLB Audit CUSF file Print Customer Details Sites Sites by Product renamed from Sites by Orig List gt Attributes P Attributes emere 13 Objects B cusfla for testing gt Attributes i b Attributes gt Input Programs 59 Objects B J H DSPPTYPES B _DSPPTYPESR Input Services 1 Object B s T Display Product Display Product b Input Triggers 1 Object B CUSFLC CUSFLD b Attributes b Attributes Sites by Salesperson Sites by Vali
25. 73 Data Model Diagram Application Area Specific eese 75 What S NORT rinii yT r A E EE 78 Appendix Enabling the SEU Interface ssesessesessscesessecssoecescecsessecesseoessecesseoessese 79 Create User Profile XAN4SEU H E 79 Press F10 and TR EE 80 Creating macro of XANASEU asa saga raina aagi anaa ayaa Se aF Naa ae 80 T E 83 2015 Fresche Legacy Inc Page 3 Preface Preface IIE 15 LEGACY ABOUT THIS GUIDE The X Analysis Professional guide is a handy step by step illustrative document that has been specially designed to highlight the practical features of X Analysis In particular it discusses the following topics Impact Analysis Graphical Documentation Data Model Extraction Version This guide describes version 11 1 of X Analysis How to use this guide Each chapter in this guide focuses on the advanced analytical aspects of X Analysis The guide begins with a few words on the overall benefits of X Analysis and mentions certain software pre requisites to be met Thereafter the guide discusses the main topics comprising Impact Analysis Graphical Documentation and Data Model Extraction for IBM i The X Analysis suite of products contains a total of eight modules This guide describes only the module X Analysis Professional For information about the other modules please contact your Fresche Legacy representative or visit us at www freschelegacy com Impor
26. 980 2009 I NEP 06 053 dl 1902 Session successfully started Press ENTER The IBM i Main Menu screen will be displayed X Analysis Professional 11 1 O 2015 Fresche Legacy Inc Page 81 Appendix Enabling the SEU Interface 1 Session A 24 x 80 p File Edt View Communication Actions Window Help DA AR BRI 9 Kt Ad di i0 MAIN IBM i Main Menu Select one of the following F3 Exit F4 Prompt F9 Retrieve Fi2 Cancel F13 Information Assistant F23 Set initial menu C COPYRIGHT IBM CORP 1980 2009 MA a 20 007 3j 1902 Session successfully started Step 3 Stop the recording by selecting the Stop Recording Macro option from the Actions submenu or clicking the related button directly from the toolbar 1 Session A 74x B0 3 He Edt View Communication Window Help i me Send Fle To Host EN Receive File From Host IBM i Main Menu Launch Display Popup Keypad Keyboard MacrofScripk Function Cancel Recordng Maro Pause Recording Macro F3 Exit F4 Prompt F9 Retrieve Fi Cancel Fi3zInformation Assistant F23 Set initial menu C COPYRIGHT IBM CORP 1980 2009 MR a 20 007 Stop kevstroke recording and save X Analysis Professional 11 1 2015 Fresche Legacy Inc Page 82 C E Index 2E 2 6 Access Path Diagram 5 63 71 72 Access Paths 11 12 42 63 69 70 All References 17 Annotation 12 14 24 42 Application area 6 7 63 64 75 76 77 Applicat
27. Annotation Level 5 T Program Structure Chart B 2b x 11 59 in lt System Document Object List System Document for XAN4CDXA pdf Adobe Acrobat Professional Sele File Edit View Document Comments Forms Tools Advanced Window Help Tmk Ein S E JOEA to e Object List for XAN4CDXA vn be e CUSF FILE AN sites B 2b x 11 69 in lt X Analysis Professional 11 1 2015 Fresche Legacy Inc Page 42 Impact Analysis amp Graphical Documentation System Document Access Paths g System Document for XAN4CDXA pdf Adobe Acrobat Professional File Edit View Document Comments Forms Tools Advanced Window Help DRA A Ile Access path details for CUSF CUSFLA CUSFL2 Select Field Names CNAME CUSNO PRPCDE CNAME DSDCDE STATUS CNA ME N DSDCDE CNAME Y LCTDAT STATUS CNAM E N APDATE CNAME Y FAXNO wail Sites by Product renamed from cusfla for testing cusri2 late by Status 000 CUSFL sites by Last Cnt Date N N CUSFL8 Sites by Next Cnt Date N CUSFLS Sites by Fax No N B zb x 11 69 in System Documentation DFD Annotation gt al System Document for XANACDXA pdf Adobe Acrobat Professional E isle File Edit View Document Comments Forms Tools Advanced Window Help x DB C Ge o riim gus t Data Flow Diagram Normal for CUSF 1 Annotation for CUSF Additional comments for CUSF Wayne says so 11 69 x 8 25 in X Analysis Profession
28. Attributes feature comprises impacted fields of a particular object The main object is referenced through these fields e Files Z Object Where Used Object Centered Data Flow Diagram for CUSF Total Objects 94 k Access Paths b Input Programs K Input Services b Input Triggers Attributes icon CLISTMNT1 B GUISE ES 13 Objects 59 Objects 1 Object 1 Object K Input Outpuk Programs 2 Objects l e ID Sites by Product renamed From cusFla For testing b Attributes D CLISFLC Sites by Salesperson b Attributes K Update Programs 14 Objects N K Update Output Programs 4 Objects CH CLISFLE Sites by Organisation b Attributes D CLISFLZ Sites by Status b Attributes EI WWICLISF EI WCLISFR Work with Customer Sites Work with Customer Sites b Attributes I EI ZBCLISFMMT E D CLSFLS Sites by Dist Gr Status b Attributes ZPCUSEMNTHR Customer site Maintenance b Attributes gt Customer Site Maintenance b Attributes wt The different objects corresponding to the main object have fields within them The fields are known as Attributes and these are easily accessible by clicking on the Attributes icon The term Attributes changes to related attribute like Input Update Output etc on expanding the Attributes button as shown below Attributes Expanded 25 Files ZA Object where Used CLISTIMINT 1 L cusE ES m Object Centered Data Flow Diagram f
29. ILE CUSF of the LF CUSFL3 PFILE selected on the Source Browser for CUSFL3 Za Programs OEDDS E oE n8 CLSFL3 23 mL Source List of CUSFL3 in XAN4CDEM QDDSSRC Lines 3 Viewlevek4 GA E ge UP EI i al lt Seq No ER ce c MC H EM 0001 00 UNIQUE opp E RCUSF PFILE CUSF 0003 00 E CUZNO TIT Double click on CUSF to invoke the Source Browser for it SoureBrowserforCUSE amp amp be Programs GER CEO CUSF 7 mL Source List of CUSF in XANACDEM QDDSSRE Lines 69 View Level 4 L E P Ww Hina Seq No A M a T oe ee ee ce SH 0001 00 H R RCUSF 0002 00 CNAME 34A TEXTi Company 0003 00 DSDCDE 2h TEXTi Distribut 0004 00 STATUS 18 TEXTi Status 0005 00 COLHDG Sts j 0006 00 TELNO 17 TEXT Phone 0007 00 EXTH eh TEXT Extn 1 0008 00 LCTD T amp 3 D TEXTi Last Cont 0009 00 COLHDG Last Cn 0010 00 EDTCDE Y v 4 lll gt X Analysis Professional 11 1 2015 Fresche Legacy Inc Page 59 Impact Analysis amp Graphical Documentation The Source Browser display helps to navigate and drill down to various related features thus facilitating the overall browsing and understanding of the application Bring up the OEO08 source browser to become familiar with some more features Screen Report Design Most of the application programs interact either with the display files DSPFs or the printer files PRTFs The Source Browser provides a feature to vi
30. Letter 8 5 x 11 Business Process Logic CY LE Siz e 8 KI a X 11 69 Screen Flow Diagram Normal B Paper Size Contention Resolution System Documentation creates documents in Application Folder If the Application Folder is shared and documents are created opened while the documentation is in progress then this may lead to contention Please select appropriate options to enable resolution Do not overwrite Overwrite if exists but if in use then Create document by similar name Exit Skip document creation Choose the appropriate paper size and contention resolution options Click Finish This will end the configuration process and start the generation of the document After the document generation is complete the following dialog appears X Analysis Professional 11 1 O 2015 Fresche Legacy Inc Page 38 T ll Se py erg J Cs 2 4 Impact Analysis amp Graphical Documentation System Documentation Completion dialog X Analysis System Documentation process completed The POF document has been saved as C Documents and Settings alakhily DacumentsYz Analvsis Application Dataligz 1568 170 101PCF XAM4CDXAYSysEem Document Far SAN CDXA pdf Do you want to open this Click Yes to open the generated document To view a previously generated document select the Open Application Folder option from the X Analysis menu Open Application Folder option Tomcat Run Window H Licens
31. ME NO YES SYSVAL Keyboard buffering s s e s a no UAE SOANE SNAM L cares Maximum allowed storage s NOMAX Kilobytes NOMAX EE E EE EE E 0 9 DOO MASS CEM peron a a M MS ODETJOBD Name hailey ate TO e S QGPL Name nib CVR roupa Pror Tle TE c ee ee NONE Name NONE MOS s s lt Bo FIt F4 Prompt F5 Refresh F12 Cancel F13 How to use this display F24 More keys Step 3 Log off CREATING MACRO OF XANASEU Macros allow you to automatically sign on for XAN4SEU and seamlessly work with the SEU option So it is necessary to verify whether the XANASEU macro has been created If not then record this macro using the following steps Step 1 Press the Start Recording button The Record Macro Script as dialog will be displayed Sign on with the XANASEU user profile X Analysis Professional 11 1 O 2015 Fresche Legacy Inc Page 80 Appendix Enabling the SEU Interface Record Macro Script as File Name Directones IMAN4SEU ch Nemulator private Record Format C VBScript File fe Macro File Description Record User War Time n fe Actual C None C Fired List Files of Type IMacro S cnpt Files Ir mac Express Logon for Macto sel Step 2 On the Sign On screen enter the User Profile XANASEU Press Tab and enter the Password also as XAN4SEU 71 Session A 24 x 80 Fie Edit View Communication Actions Window Help B DA AR BRI 9 KRK ens d Sign On C COPYRIGHT IBM CORP 1
32. NTACS CNTACS C MTACS CONDET CONDET CONDET Relation Type REFERS TO REFERS TO REFERS TO OWNED BY REFERS TO OWNED BY REFERS TO REFERS TO cl P E Ta UNI 7 8 See lli Project Tracking Ew VA ns GE pe KA E Parent File Dependent Fields ASTATLUS STATUS USF USAC NAMESIDS LISERMIM PTYPES PRPCDE SLMEN SIMIT CONHDR AMOR DE STEBAL SWORD AO 3 STEBAL SW ABCD x wWAACS Parent Fields STATUS CUSNO LANGE PRPCDE PERSON AWOR DE WABCO a AA S ABCD AW DDC E Salespersons Product Master Store Master Al d mL Dep LF CNTLFE3 CNTACS CNTLF4 CONDET CONDETLZ CONDETL2 The Data Model Diagram or DMD displayed above consists of two halves The upper half is the DMD and the lower half is the DMD Details view The DMD is the graphical representation of the derived data model information The DMD toolbar has a Legend icon The different colors on the Legend drop down convey the type of association represented by the colored lines connecting various files X Analysis Professional 11 1 DMD Legend B Refer To B Owned By F Uni Directional Multiple R els Internal F External Extended Bv O 2015 Fresche Legacy Inc Page 66 Relational Data Model Extraction for IBM i With the help of the DMD Legend you can easily understand the relations displayed on the DMD The DMD Details view displays the Files Connection Detail
33. Objects 50 Aly ir o d Security Codes Stock Group 2 Status File Names Index DELI A LUNDET 2 Delivery Areas Contract Detail Contacts EM d AL Contract Detail new CBL Projects S Purchases E ver with Lang Fields S TEBAL CONHDR Stock Balances F Project Tracking Contract Header v d gt The screen above displays relations for CUSF This helps you understand all the relationships for the selected object Another way of understanding file relations for any specific file is to have a file specific Data Model Diagram A file specific DMD displays the data model information for a given file only Double click on CUSF to get the file specific DMD X Analysis Professional 11 1 2015 Fresche Legacy Inc Page 68 Relational Data Model Extraction for IBM i File specific DMD for CUSF at Data Model Diagram 3 mE Data Model Diagram for CUSF Total Objects 9 a fA fs B Referred to by Referred to by Referred to by Referred to by STATUS St OSOCOE Distributo LSLCDE Ung List ORG Organis Refers to by Refers to by Owned by CUSHO Cus Mo CUSNO K si H gt at DMD Details 3 HRL mn DMD Relations For CLISF Total Relations 8 Rel No Dependent File Relation Type Parent File Dependent Fields Parent Fields Dep LF 1 sites REFERS TO Status File Sts Status CLISFLZ Sites REFERS TO Distributors Distributor Code CLISFLG Sites REFERS TO Lists Orig List Code CLISFLB
34. Source Consolidated Rules Annotate Mark for Documenter Ma gt The Mark all for Documenter option is also available under the X Analysis menu Using this option will flag all objects displayed in the diagram X Analysis Menu Tomcat Run Window H License Manager Mew DB 400 Connection Mew DEZ Connection Mark all for Documenter Change Application Folder Open Log Folder Open Application Folder Authorize Google Drive Report an Issue Install SSL CA certificate X Analysis Professional 11 1 2015 Fresche Legacy Inc Page 32 Impact Analysis amp Graphical Documentation The Mark all for Documenter option is available for all diagrams and lists Next navigate back to the Object List window using the back arrow on the Eclipse toolbar and select CUSF Then select the Mark for Documenter option from the context menu on CUSF Mark for Documenter option on CUSF Object List of ALLUSR ALL FILE PF ALL ALL Total Objects 55 d d T E a K Library Name Type Attribute Description Status i PF XANACDEM CPYBKSRC HLE PF Cobol copybooks D PPXANACDEM CUS FILE H D MU UNI PFXANACDEM CUSGR Zoom Source er Groups A PFXANACDEM CUSTS SS Data Aow Diagram T B PF XANACDEM DDLTB D PFXANACDEM DEUM PEE Areas B PF XANACDEM DISTS Variable Where Used K Lors XA PF XANACDEM EVFEVE D PFXANACDEM GENTA amp Pata Model Diagram Table File D PFXANACDEM ITEMS File Field
35. X Analysis Professional Software version 11 1 12082015 LEGACY X Analysis Professional 11 1 Publication Information Publication Information 2015 Fresche Legacy Inc Published by Fresche Legacy Inc 995 Wellington Suite 200 Montreal QC Canada H3C 1V3 Tel 514 747 7007 toll free in US and Canada 1 800 361 6782 toll free in Belgium France Germany UK 00 800 361 67 82 0 toll free in Australia 0011 800 361 6782 0 E mail for inquiries info freschelegacy com E mail for support Support freschelegacy com Web www freschelegacy com Title X Analysis Professional Software version 11 1 Publication Date August 2015 Fresche Legacy documentation team Kim Chan Shilpi Khan Chaudhary Vincent Gardner Trademarks X Analysis X Analysis Professional and X 2bE Modernize gt are trademarks or registered trademarks of Fresche Legacy Inc or its subsidiary Databorough Ltd iSeries Power Systems Power8 are registered trademarks of IBM Corporation Microsoft and Microsoft Windows are registered trademarks of Microsoft Corporation All other brand and product names are trademarks or registered trademarks of their respective companies No part of this document may be reproduced or transmitted in any form or by any means without prior permission in writing from Fresche Legacy The information in this manual is believed to be correct at the time of publication However Fresche Legacy Inc makes no warra
36. agram displays file relationships for an application or an application area GENERATING DATA MODEL DIAGRAM Double click on the Data Model Diagram node under the cross reference library XAN4CDXA Data Model Diagram option BB 192 168 170 10 E RL ZANAUDZA XAN4CDEM Tutorial System Iz application Area Diagram xt Data Model Diagram Pe Overview Structure Chart e All Objects Programs 5 Files Source Files This invokes the Data Model Diagram dialog as shown below 2015 Fresche Legacy Inc Page 64 Relational Data Model Extraction for IBM i Data Model Diagram dialog Application Area Name Description NONE Al Members Selected Object Object ALL DMD Data Options Display External Relationships Show unrelated files It prompts you to input the following 1 Application Area Name leave it as NONE 2 Object Name leave it as ALL 3 DMD Data Options to Display External Relationships available only when the DMD is opted on an Application Area or Show unrelated files Click OK to generate the Data Model Diagram for the entire application X Analysis Professional 11 1 2015 Fresche Legacy Inc Page 65 xt Data Model Diagram Data Model Diagram for ALL Total Objects 50 Ab EMEN uc at DMD Details Z3 Relational Data Model Extraction for IBM i Data Model Diagram for XAN4CDXA DMD Relations For ALL Total Relations 53 Rel No Dependent File 1 CNTACS CMHTACS C
37. al 11 1 O 2015 Fresche Legacy Inc Page 43 File Edit Seu el ZA DOUSE AT CES Fle P Attributes ka ZAUCPTYPES Audit PTYPES fio P Attributes B uoc NL IRS Fie Attrbutss a WECLEG Suri marys Cushions Bert Attributes a CLEFSEL Customer Ste Selection k Sttribubas a CUSTFRTI Customer el al Maintenance Attributos B SUSTRNTI_D Custonar Detal Maintenance K Arts B cnn Customer Del al Maintenance hb Attributes a GCLETL Generate Purchase Racord 11 69 x 6 26 in X Analysis Professional 11 1 a ZEFRHCUSF Pring Customar Deals P Attributes a DP TEES Palao Pradit b Attributes a CUSREAD Test Sequential Read options h Attributes a ZAUDASTATU Audit ASTATUS Fie b Atrboro B DUSTHNTOR Customer Detal Maintenance Attributes B cet o Customer Detal Maintenance b Attributes a CUSTHINTI_1 Customer Getal Mairkanance Attributes a BCHTACI Ganarace Prospect Record b Siti butes m SETOCOD Find Custoner EF tre Cede Impact Analysis amp Graphical Documentation System Document DED System Document for XAN4CDXA pdf Adobe Reader View Document Tools Window Help CLE Sites b Access Paths K Irt Programs K Input Services b Input Triggers B 13 Objects E 59 trd H L Coed H rop H KirptOtput Programs 2 Objets H P Update Pepp ams 14 biete H K UpdebsiSutput Programs 4 Gei H n WIMCUSF voi k RE Cus prer bes F Ottributes P ZBcUSFFNT
38. alesperson s TELNMO Phone E CUSTMNTIR Customer Detail Maintenance T Input z Fields SE Where Used a K Member sen Update References O SS Order Enquiry T Input z Fields CUSNO Cus Alo 5 PRPCDE Product Code 5 USERNM Contact 5 WEBSIT Website R OEDDE a OEDDE File References Print Invoices Order Entr Definitions Only S CBS06R Input 5 Fields Input Summary References Back out account s CMMNTI Comment Line 1 s ADD1 Address Rule Variable References No Attributes T p gt Select All References to invoke the Variable Where Used window for the CUSNO field X Analysis Professional 11 1 2015 Fresche Legacy Inc Page 18 Impact Analysis amp Graphical Documentation Library Ze CBCUSTAD DREI H B 19 zzREFFLD XAN4CDEM eg LBCUSTSD 0383 ZCUSNU H 0 19 ZzBREFFLD xANACDEM CLET Dada VAR amp CUSNO TYPE DEC LENA 0 ANA DR CLET 000s LHGVAR GH amp CUSNC AANACDEM CLET UU 10 CALL LETNI amp CUSN0 PREFIX amp LETS2Q AANACDEM CLETN OOOl PGM PARMIZsCUSNO amp PREFIX amp LLETSQ AN ZAC DEN LLEIN UUO3 DCL VAR amp CUSNO TYPE DEC LEN S5 DI AXANACDEM LLE TN OO10 CALL LETN1 amp CUSNO PREFIX LLETSg XANACDEM CNTACH Dana A LU3NU oP U TEAT XANALDEM CNTACH Dual A E CUS U AANACDEN x U i gt The window displayed above lists all references of CUSNO field from the entire application The Default View Level icon
39. ce browser for the program OE008 Locate and select OE008 from the Object List Bring up its context menu by right clicking and then choose the Zoom Source option from it Context menu on OE008 Zoom Source option Bn cpopep Lun Mame IE XAM4CDEM OFOOS I RE YANSCDEM ORDAUDITO E Data Flow Diagram 4 Ili This brings up the Source Browser X Analysis Professional 11 1 2015 Fresche Legacy Inc Page 54 on Impact Analysis amp Graphical Documentation Source Browser for OE008 Za Programs Ees OEDUS 3 H Source List of OE008 in XANA4CDEM QRPGSRC Lines 220 Viewlevek 5 A EE BD EH S E23 G9 Up Ba 2 BEI i Gi m Re Seq No ae s E ee ee i t cuire e iir MEN oC UU CAUCUS AA WS OOLY O0 KS Receive Parameters DUD L6 DU LC EMN TRY PLIST 0019 00 PAEM RS ETT 1 DUZ 1 DU LS Until F3 OOe22 00 LC IMOS DOVE 1 OO24 00 n Initialise screen DUZ 5 DU MOVE hC HD 1 CMDDT A wi lil 3 Other important options available on the source browser are Member X Reference On the source browser for OEOO08 select the line number 0022 00 with indicator INO3 Right click for the context menu on INO3 and select the Member X Ref option Member X Ref option e Programs Ea ceos E3 H Source List of OEQ08 in XANA4CDEM QRPGSRC Lines 220 Yiew Level 5 7 EE DENIS T p a ME D o om f amp aen No NR ue D E E EE EE E E E g
40. d file CUSF X Analysis Professional 11 1 2015 Fresche Legacy Inc Page 70 Joa d Relational Data Model Extraction for IBM i File Field Details option af Data Model Diagram att Data Model Diagram ai Data Model Diagram WW Data Model Diagram for CUSF Total Objects 9 Sy El fF Sek Referred to by STATUS Status Referred to by Referred to by Referred to by DSDCDE Distributor LSLCOE rg List Code ORG Organization zoom Source E Data Flow Diagram Object Where Used Variable Wiere Used att Data Model Diagram Refers to by Refers to by Owned by CUSNO Cus Mo CUSNO Cus No CUSNO Cus Mi LES x Access Paths Access Path Diagram k A new window appears displaying File Field Details information File Field Details for CUSF att Data Model Diagram att Data Model Diagram 2 Access Paths IS File Field Details m File Field Details for CUSF Total Fields 47 Ce e A Mnemonic Long Mame Type Length Dec Pos Inp Bur Pos Display GridSeq Record Scr Headings SSES TW Company DSDCDE Distributor CHAR 2 35 2 00 3 00 Distributor STATUS Sts CHAR 1 3 4 00 Status TELMO Phone CHAR 17 4 00 5 00 Phone Ea TN Extn CHAR 6 5 00 6 00 Extn LCTDAT Last Cnt Date ZOMED 6 6 00 7 00 Last Contact Date APDATE Next Cnt Date ZOMED 6 7 00 6 00 Next Contact Date USERAM Contact CHAR 34 5 00 9 00 Contact ACCESS PATH DIAGRAM APD The Access Path Diagram is a graphical p
41. dator P Input Output Programs 2 Objects H b Attributes P Attributes gt Update Programs 14 Objects H E ZAUDPTYPES H ZAUDLISTS P Undate Output Programs 4 Objects H n A Audit PTYPES file Audit LISTS file CUSFLE CUSFL1 Attributes Attributes Sites by Organisation Sites by Name b Attributes b Attributes B zaupores o CUSREAD f Audit ORGS fil Test S tial Read opti CUSFL2 CUSFL3 K Attri gt a pas WWCUSF WWCUSFR Sites by Status Sites by Number gt Attributes Attributes Work with Customer Sites Work with Customer Sites ACE Um gt Attributes P Attributes E L WKCUSP B 2AUDASTATU s 8 Summary Customer Report Audit ASTATUS File n n CUSFLS CUSFL6 rea b rbi ZECUSFMNT ZECUSFMNTR Sites by Dist amp Status Sites By Dist amp Name j Attrioutes ioutes Customer Site Maintenance Customer Site Maintenance T ren P Attributes P Attributes bea cst B CUSFSEL B CUSTMNTIR s Customer Site Selection Customer Detail Maintenance CUSFL CUSFL8 gt Attributes P Attributes Sites by Last Cnt Date Sites by Next Cnt Date b Attributes b Attributes oO s CAINNT p CUSTMNTI_O r Be D Customer Detail Maintenance Customer Detail Maintenance CUSFL9 b Attributes gt Attributes P Attributes P Attributes Sites by Fax No b Attributes BH H B cusmwno B smrt i ge Ber an SC pe Customer Detail Maintenance Customer Detail Maintenance ue eee E oner LL b Attributes gt Attributes T Attributes T Attributes MI d JE The DFD is also a graph
42. e Manager New DBADO Connection Mew DB2 Connection Mark all for Documenter Change Application Folder Open Log Folder Open Application Folder Authorize Google Drive Report an Issue Install SSL CA certificate This will open the Application Folder containing the previously generated documents Double click on a generated document to open it X Analysis also creates a log file in the Application Folder which logs what the Document Generator does in the process of documenting the selected objects X Analysis Professional 11 1 2015 Fresche Legacy Inc Page 39 Impact Analysis amp Graphical Documentation Application Folder containing the generated documents SS PCF_XAN4CDXA File Edit View Favorites Tools Help Y Back 5 3 IE Falders e E Search x Address Name size Type B System Document for XAN4CDXA log 35KB Text Document TL System Document for XAN4CDXA pdf 7KB Adobe Acrobat Doc si System document TOC system Document for XAN4CDXA pdf Adobe Acrobat Professional File Edit View Document Comments Forms Tools Advanced Window Help DeVoe eel Bo amp eco SYSTEM DOCUMENT FOR XAN4CDXA TABLE OF CONTENTS Document BEER e oec ee ST NE ss ie EC nt NONE once Mee Sn ere eno nee SEC nen en Re i erui KA ee eee dec ete sages C cds a dun due a rep cU PEG dace neces Ro a omi A Y Access path details for CUGF M
43. e Object Where Used window also allows you to drill down to a specific line of code and find out where an object is used Scroll down to the object CUSTMNT1 in the Object Where Used window displayed below Object Where Used with CUSTMNT1 selected Za Files JA Object Where Used 53 8 Object Where Used Usage References for CUSF Total Objects 96 im n Object Type Text Usage CUSFSELR Se Customer Site Selection File Read By Programm CLISLETSQ PM Update Letter Sequence File Updated Bv Pragram CLISREAD HOM Test Sequential Read options File Read By Programm CUSRG Se Reorganize Customer File File Updated By Programmi E Customer Detail Maintenance File Read By Program CLISTIMNT1 AR se Customer Detail Maintenance File Read By Programm CUSTMNT 1 BR Se Customer Detail Maintenance File Read By Program CLISTMNTIR PM Customer Detail Maintenance File Read By Program CLISTMNTI D Se Customer Detail Maintenance File Read By Programm 4 ll X Analysis Professional 11 1 O 2015 Fresche Legacy Inc Page 9 on Impact Analysis amp Graphical Documentation Double click on the row displaying CUSTMNT1 This retrieves the source member for the CUSTMNT1 object with the highlighted line referring to CUSF Drill down to an individual line for the Object Where Used Reference fe Files 3A Object Where Used CUSTMNTI E3 H Source List of CUSTMNT1 in XAN4CDEM QRPGLESRC Lines 336 Viewlevek 5 GA E BHEE P W Bm BGi a a amp Seq No
44. e Where Used option can be set in the X Analysis Preferences General Preferences window As an example let us test the View Levels for the CUSNO field Level 1 Level 1 lists all direct references to the CUSNO field Variable Where Used View Level 1 rh Thumbnail View Z Variable Where Used t Sa Ez gt s Li Variable Where Used For ALLICLISNO Lines 183 View Level Level Name seq No E GE ee Eat GE E Em E CSEC2 0022 00 CALL WESELFS6Bz amp CUSNO0 5ERLC sEXDNO CUSCPY 0010 00 CUSNO ICUSNO CUSCPY 0012 00 CUSNO SCUSNO CUSCPY O042 00 ICUSNO CHATNCUSFLS ol CUSCFY 0058 00 ADD 1 CUSNO CLUS PY 0074 00 ICUSNO CHATNSECF a3 CUSCFY 0076 DU 4 ADDCUSNO SCUSNO CUSCPY 007 un ICUSM BEADESECF a3 CUS P 0026 00 CUSNO 5P U TESII LUuS Np Y CUSFL3 0003 00 E CUSNO CUSFMAINT 0058 00 cusno chainfel reust COUSFMAINT 0125 00 eval zcusno cusna CUSFMAINT 0154 00 eval cusno zcusnoa 4 Level 2 Level 2 adds extra indirect references one reference removed to the Level 1 list For example CUSTOMER is set equal to CUSNO a direct reference and then CUSTOMER is a variable in the statement IF CUSTOMER ZEROES a one reference removed indirect reference O 2015 Fresche Legacy Inc Page 20 Impact Analysis amp Graphical Documentation Variable Where Used View Level 2 X Analysis Professional 11 1 2015 Fresche Legacy Inc ch Thumbnail View G i Variable Where Used 25 Gel Al Si E H O Variable wh
45. entation above screenshot ZE bel A Choose the features or attributes to be included in the System Document as shown in the e T1 Click Next System Documentation Wizard Specify Sequence oystem Documentation Specify Sequence What sequence would you like to have for the System Document Object List Data Model Diagram Normal LF Access Path details File Field Details Object Where Used Data Flow Diagram Normal with Annotation Structure Chart Normal with Annotation Screen Report Layout Normal Business Rules Summary Source Source Flow Chart Business Process Logic Screen Flow Diagram Normal Finish Confirm the sequence of the selected features and click Next X Analysis Professional 11 1 O 2015 Fresche Legacy Inc Page 37 Impact Analysis amp Graphical Documentation 1 1 Ss es C7 System Documentation Wizard Finish K em oystem Documentation Finish Define the Page Size and Contention Resolution Option Selected Sequence Level Settings Object List Structure Chart Level 5 Data Model Diagram Normal Source Level 1 LF Access Path details Source Flow Chart Level 1 File Field Details Business Process Logic Level 4 Object Where Used Screen Flow Diagram Level 1 Data Flow Diagram Normal with Annotation Structure Chart Mormal with Annotation Screen Report Layout Normal Business Rules Summary Source Source Flow Chart C3
46. ere Used For ALL CLISMO Lines 316 View Level Level Name Seq No EE E E E E E REL pe CNTCHMATNT 0lz20 00 C eval cusno zcusnnop CNTCMATNT 0257 00 E parm customer CHTCMATNT 0261 00 C ktld cusno CNHTCHAINTD 0025 00 A ZUTSNU 5Y OB 4 26 CNTLFS o003 00 A E CUSNO CNTLF4 o005 00 A E CUSN CONUPDO O0014 00 cusno SU CONUFDO 0015 00 setll e cusno cusfl3 CONUPDO 0016 00 readefe cusno custl3 CONT PD U 0020 00 readefe cusno custl3 CONUPD1I DU 1 5 DU cusno 50 CONUPD1I oO16 00 setll e cusno cusrfl3 CONUPDI a017 200 reade e cusno cuzsfl3 COUNUPD1 002l DU reade e cusno custls CONUPDPz 0015 00 cusno SO CONUPDz 0016 00 sELIIlIB Guano cusl ON DD a017 040 reade ej cusno cusfl3 CONUPDZ DUZ 1 DU readefe cusno cusl CPDM 000 2 DU DCL VAR amp CUSMO TYPE DEC LEN 5 0 CPDM 0006 00 DCL VaR lt CUSNC TYPE CHAR LEN 5 CPDM agos DU CHGVAR CUSNC PE CPDM 0010 00 CHGVAR CUSNO zCUSNC CPDM 0011 00 CALL LETNI amp sCUSNO PREFIX LETHR CPDM anlz u CHGYAR amp CUSNC PREFIX CPDM DEES DU CHGYAR VaR CUSG VALUE C CaT amp CUSMC cat Sit CSEC DUU 3 00 DCL VaR CUSNC TYPE CHAR LEN 51 CSEC agna DU DCL VaR CUSNO TYPE DEC LEN S5 0 CSEC 0011 00 DCL VaR CUSNC TYPE CHAR LEN 51 CSEC 0016 00 CHGVAR CUSNC PE CSEC o017 00 CHGVAR CUSNO zCUSNC CSEC DS DU CALL WESECFS5B sCUSNO zSERLC sEXDNO CHECA 000 2 DU DCL VAR amp CUSMC TYPE CHAR LEN 51 LSELZ anna DU DCL VAR a
47. ew layout of the associated display printer files This feature does not require the execution of an actual program Click the Screen Report Design icon available on the Source Browser Screen Report Design option on the Source Browser Za Programs l oeoo Z3 mL Source List of OE008 in XANA4CDEM U RPGSRE Lines 770 View Level 5 B lt Eg Ele Ay E HI T i A a 4r Seq No ot 1 4 Screen Report Designj 4 t 5 1 4 OO15 00 ps Ke lt SI This brings up the Screen Report Design window for the OE008 program Screen Report Design window for OE008 be Programs OEDDS B Device Design Screen Design for OEQO1DF OESFLC a x m im Al WW 4 Navigate back to the Source Browser for OE008 using the back navigation arrow X Analysis Professional 11 1 O 2015 Fresche Legacy Inc Page 60 Impact Analysis amp Graphical Documentation Zoom in SEU Lpex Editor Lpex Editor Make changes to the source code using the Zoom in Lpex option Click the Zoom in Lpex icon available on the Source Browser toolbar Zoom in Lpex option on the Source Browser e Programs e ooog 7 m Source List of OE008 in XANACDEM QRPGSRE Lines 220 View leve B s S DR G9 Up En Rei m amp seq No SL SS Zoom in Lpex e Parameters NH UU 1 6 UU E ENTRY PLIST 4 TIT w This invokes the Lpex editor from within the X Analysis Perspect
48. fora ie ee eee et EE EECH 0156 00 C Customer L EIS CHAIN lan 0166 00 C IN99 IFEQ FEI 0189 00 L MOVE ra INST E 0190 00 i MOVE ONPODUS HSG LD 0191 00 C CALL ETHMTE 0192 00 LC PARM MSGID Ke lt ll EXPORT A LIST TO PDF MS WORD OR MS EXCEL X Analysis provides a facility to export data from any displayed window The window toolbar on the Object Where Used view has an Export Options drop down button with Export to PDF and Export to MS Excel as options Select your desired option to export the list into PDF MS Word or Excel Note You can set the export option as Export to MS Word using the X Analysis Preferences For the settings to take effect you must select unselect the X Ref If you have activated the Google Drive Export feature from X Analysis Preferences then you can export the data to DOCX or XLSX format For more details refer to the X Analysis User Manual 11 1 Export Options icon on Object Where Used e Files Object Where Used 2 D Object Where Used Usage References for CUSF Total Objects 70 i n N Object Type Attribute Tet Av Export to MS Word CUSREAD PGM RPGLE Test Seque E Export to MS Excel CUSRGZ PGM RPG Reorganizi fy Export DOCX to Google CUSTMNTT S esses POM 1 RPGLE Customer fig Export XLSX to Google CUSTMNT1_0 PGM RPGLE Customer Detar SITES CUSTMNT1_1 PGM RPGLE Customer Detail Maintenance CUSTMNTI 2 PGM RPGLE Customer Detail Maintenance CUSTMNTIR PGM RPGLE Cust
49. ic equivalent of the Object Where Used data Besides the Logical Views Access Paths for CUSF you can see how CUSF fits into the application i e the programs that update CUSF programs that use CUSF as an input file and so on The dynamic and interactive DFD makes it easier to access other features contained within an object There are varied and flexible features and options like Hide Show Objects Expand Collapse Referenced Objects View Annotation Attributes all of these and more are explained in the sections ahead Hide Show Objects For a better grasp of object interrelationships you can hide show all objects concerning programs A single click action on the icon alongside the objects enables you to hide show objects In the following screenshot the icon against Access Paths is clicked to hide objects X Analysis Professional 11 1 O 2015 Fresche Legacy Inc Page 12 X Analysis Professional 11 1 Impact Analysis amp Graphical Documentation Hide Objects icon e Files 28 Object Where Used El CUSTMNTI dH GSE 7 E Object Centered Data Flow Diagram For CUSF Total Objects 94 Aly amp H o Oooo B CUSF 5 CUSFLA d CUSFLB Sites Sites by Product renamed From Sites by Orig List cusfla For testing b attributes b Access Paths 13 Objects i P Attributes b Input Programs 59 Objects D b Input Services 1 Object EHide Objects 8 8 b Input Tri Object A CUSFLC CLUSFLD Leia diii Jec Sites by Salesperson Site
50. iewing re factoring maintaining and redeveloping in source code Source Browser Toolbar The toolbar that contains a list of different options for viewing code within the Source Browser such as Pseudo Code and Source View Level options etc X Analysis Professional 11 1 2015 Fresche Legacy Inc Page 6 WORK WITH OBJECTS Impact Analysis amp Graphical Documentation Work with Objects displays a list of all the objects for a chosen application or application area To generate the Object List for all files double click on the Files node available under the application library X Analysis Eclipse Platform File Edit Navigate Search Project io EA X Analysis displaying the Files node Analysis Tomcat Run Window Help IS NN bokin Ba LSC LEE Navigation Metrics Dashboard m 192 158 170 10 cor S Wh AANALDXA XAN4CDEM Tutorial System ES Z oW Analysis g Java EE Tn Application Area Diagram X Data Model Diagram Ba Overview Structure Chart Z all Objects i Programs a Files Source Files Business Rules E Consolidated Rules Screen Components e Change History Regenerated Programs Es Source Scan T LR x Sanitize a M T EI Procedures ES BG ACCOUNTS Company Accounts aa APP1 X E COBOL Cobol Application e Session Information Session Items Description 192 160 170 10 A Analvsis Username MARE amp Analvsis Library eet 410354 O2704501NIT OUSER Database Library iae
51. ion Folder 38 Attributes 12 15 16 Block diagrams 26 Business Process Logic 48 49 Business Rules 4 78 COBOL 5 6 63 Configuration 37 Cross reference library 5 24 64 Data Flow Diagram 5 6 10 11 22 Data Model Diagram 5 63 64 65 66 68 75 76 77 Data Modelling 63 64 78 Default View Level 18 19 Dependent Fields 67 Dependent File 67 Detail DFD 16 Detailed SCD 25 Diagram Options 46 56 DMD Details 66 67 69 Document Manager 6 31 32 33 Documentation 2 5 6 31 32 33 35 Eclipse 5 11 16 31 61 Expand Collapse Referenced Objects 12 Export Options 10 46 Export to MS Excel 10 Export to PDF 10 File Field Details 5 63 70 71 Flowchart 46 51 52 53 54 Function Type 57 Generate UML 46 Hide Show Objects 12 Hierarchical Structure Chart 5 6 26 27 IBM i 4 5 6 61 80 Indented Source Code 47 Invert Selection 33 Jump to Subroutine 56 Legacy application 78 Legend 16 17 23 30 66 Level 1 19 50 51 X Analysis Professional 11 1 O 2015 Fresche Legacy Inc Index Page 83 Level 2 19 20 51 Level 3 20 51 Level 4 Parameters 21 Level 5 Cascading Parameters 21 Lfs 63 69 70 Lpex 46 61 Mark all for Documenter 31 Mark for Documenter 31 32 Maximum Tracking 21 Member X Reference 55 More Info 46 Normal Source Code 47 48 49 50 Object List 7 8 9 11 31 41 44 45 54 Object Where Used 6 9 10 11 Parameters 10
52. ions related to Business Rules will be only available to customers who have purchased the X Rules module Indented Source Code view Select the Indented Source Code option from the Source Options menu This displays the Indented Source Code view Ze Programs Go CBB BR 2 2 mL Indented Source of CB906R in XAN4CDEM QRPGSRC Lines 154 View Level 5 A E Ed EH E E Up Ba 99 BL i e seq No INDENTED SOURCE CODE w DUZ 1 UU C Initialise Parameters DUZ Z 00 EIERE SDPOOL DOUEG HN 0023 00 0640c 2912 RT DOUEQ E DUZ 9 D U gege HRRCTL AN DEI 0025 00 E 33RLNB IFEQ BLANES DUZ 6 DU U L MOVEL ON A2LRE 002 UU L MOVEL OEMOOOS HSGID 0027 0 VEL T OEM Gr DUZ B UU L ENDIF 0029 00 L MOVE AC ACEN WWACFHN 0030 00 O7 68sec EXSR PVO001 K lil gt Select the Normal Source Code option to return to the normal source code view X Analysis Professional 11 1 2015 Fresche Legacy Inc Page 48 on Impact Analysis amp Graphical Documentation Source Outline The Source Outline option displays an outline of the source member This view lists all the subroutines available in the code Source Outline option e Programs Ee CBBOBR 7 mL Source List of CB906R in XAN4CDEM QRPGSRC Lines 156 View leve 5 A E B EH S 9 G9 T Eg 99 M EJ i o Seq RK Tete ae E E EE E MEN TERM Source Outline HII dT Double click on any of the listed subroutines This positions the cursor on the subroutine in
53. is located on the X Analysis toolbar and the menu allows access to six levels of Variable Where Used information Default View Level icon ch Thumbnail views fariable Where Used im Al E el lt 7H ariable Where Used For 4LLICUSNO Lines 183 View Level Levell k Default view Level CBCUATAD DR L B 19 aaREFFLD XANMACDEM CBCUSTAD 0383 00 2COSN0 0 19 ZZREFFLD XAN4CDEM CLET UUU 2 UU VAR amp CUSNU TYPE DEC LEN 3 0 AAN AL DR H CLET 0009 00 CHGVAR CUSN0 CUSNC AANACDEM CLET 0010 00 CALL LETNI sCUSNO0 s PHR PLS amp LETSQ AANACDEM CLETW OOO1 00 FGM PARM amp CUSNO amp PREFIX amp LLETSQ AANACDEM TIT The following image shows the expanded View Level menu in the Variable Where Used window Expanded View Level Menu rh Thumbnail view G t ariable Where Used K im al Sa i HH Variable Where Used Far ALLICUSMO Lines 183 View Level w Level Name Seq No 4 1 4 2 levele E CBCUSTSD 0270 00 A ZCUSNO Levels Usno X CBCUSTSD 0383 00 A zCUSND Lvd Parameters USNO XB CLET 0004 00 DCL VAR sCUSNO L 5 Cascading Parameters CLET 0009 00 CHGVAR CUSNO sCUSNc Maximum Tracking CLET 0010 00 CALL LETNI amp CUSNO amp PREFIX amp LETSU v N il 3 X Analysis Professional 11 1 O 2015 Fresche Legacy Inc Page 19 Joa d X Analysis Professional 11 1 Impact Analysis amp Graphical Documentation The Default View Level for the Variabl
54. ive SEU Make changes to the source code using the SEU option Click the SEU icon available on the Source Browser toolbar SEU option on the Source Browser Za Programs Za OEDOB Z3 mL Source List of OE008 in XAN4CDEM QRPGSRC Lines 220 View Level 5 A lt EE EHS P v Ba 2 BR zi Aly amp fq seq No Tana TL e cor SEU e s cas UID QU ee gt Zoom in Lpex is a default option for all IBM Rational products having an RSE plugin For all other Eclipse products SEU 5250 Emulator is the default option You can change the default settings using the X Analysis General Preferences option Creating an SEU 5250 Emulator session requires the XAN4SEU IBM i user Please refer to the Appendix for creating the XAN4SEU user The X Analysis Plugin comes with default preference settings To change the preference settings start IBM s RDi RDp WDSC or Eclipse 3 4 and above then select Window gt Preferences to display the Preferences dialog X Analysis Professional 11 1 2015 Fresche Legacy Inc Page 61 Sak Impact Analysis amp Graphical Documentation Preferences option WW j D g OLA Mew Window Mew Editor Open Perspective Show view Customize Perspective Save Perspective DS Reset Perspective Close Perspective Close All Perspectives Navigation Preferences To view modify various X Analysis Preferences select the X Analysis node 4 A Analysis Advanced Folders A Data Test
55. lay Print Input Output Command Others L OE002 a El OE003 LU Order Enquiry Product Enquiry o Referred Files Referred Files Refer Internal Routine Indeterminate Trigger DEO G R Module 5 r L r L L Z L L E X Analysis Professional 11 1 2015 Fresche Legacy Inc Page 31 m 2 SHS Impact Analysis amp Graphical Documentation DOCUMENT MIANAGER One of the most powerful functionalities of X Analysis is its ability to automatically generate structured documentation The built in Document Manager facilitates the generation of PDF MS Word documents containing the system design information of selected objects First mark the objects for documentation using the Mark for Documenter option from the context menu over OEMENU Mark for Documenter option Z Object List Zorn S OEMENU OEMENU 3 b Hierarchical Structure Ch OEMENU Total Objects 14 S sn I d l MEM OEMENU Collapse Order Entry Menu TE Referred Files Zoom Source Data Flow Diagram Object Where Used K Variable Where Used K OE002 Hierarchical Structure Chart Order Enquiry Product Enquiry Structure Chart Diagram Referred Files Referred Files Inverted Structure Chart Li oro DD 5 Program Structure Chart Customer Enquiry Mainte Print Invoices Referred Files LU Referred Files Screen Report Design Screen Report
56. mp Graphical Documentation Jump option on the Flowchart DN QRPGSRC_XAN4CDEM_CB906R vsd Microsoft Visio Kef 91 File Edit View Insert Format Tools Shape Window Help Adobe PDF fX ER ES id 9 3 7 1 Sa X LL LA Glo Watt ailn ns EROS YIN P UR MOVE AEN WWACFN 1 ET EXSR S3P VDU1 S in Jump to subroutine Pv001 Line 0037 00 A cut READ CBAGPF d 43 Copy JA Paste ants 0032 00 to 0034 0 Vig INITIALISE SCREEN WWACFN IFEQ AC Format WWACSS OREQ D T Shape Help c Lines 0085 00 t 0038 00 Properties Z ADDO XXIT ADDO XXTRAM wt TS gt Page 1 3 As shown above click the Jump to subroutine SPVOO1 option to switch to the flowchart for the subroutine PV001 The related screenshot is shown on the following page X Analysis Professional 11 1 2015 Fresche Legacy Inc Page 53 Impact Analysis amp Graphical Documentation Subroutine Flowchart a K XANACDEM _CB906R vsd Microsoft Visio Heyy Tools Shape Window Help Adobe POF Line D104 00 SPVDO1 BEGSR eLinas 0706 00 to 0109 005 Ce Pt Pe KAKxN ee eee ee ee ee ee ee eee ee ee z SPVOO1 VALIDATE NON SUBFILE SCREEN DATA 5 ELELE ETT a L L ELELE L EL LL LAT S LE L L mag hh EXFMTSCT100 fia 0111 00 ffe M 4 gt N MAIN PVOO1 4 RETRN lt Page 2 3 OTHER OPTIONS ON THE SOURCE BROWSER There are several other options available on the source browser toolbar To understand these open the sour
57. mp CUSMO TYPE DEC LEN S5 RT ee 0011 00 DCL VaR CUSNC TYPE CHAR LEN 51 Conte 0016 00 CHGYAR CUSNC PE LSELZ DOL OG CHGVAR CUSNO zCUSNC CSEC 2 OOz22 00 CALL WESECFS5BZ sCUSNO amp sSERLC amp EXDN LUSBLPY DU 10 DU I CUSN ICUSNM CUSCPY 0012 00 I CUSHNO SCUSHNO CUSCPY 0042 00 C ICUSHO CHATNCUSFL3 al EHS ES 0055 00 C ADD 1 CUSN CUSCPY 0074 DU C ICUSN CHAIMSECF a3 CUALFY o076 00 C zZ ADDCUSN SCUSHO LUSLPY n078 n 0 C ICUSHO RE ADESECF a3 CUS P 002g 00 A COSHO SP OU TEXT Cus No CUSFL3 o003 00 A E CUSNO CUSFMATNT 00l 00 D customer 3 sp U CUSFMAINT UU Ap DU C cusna chainfe rcust CUSFMAINT asa 00 E callp e wwcconsizcusnao CUSFMATNT 01lz25 00 E eval zcusno cusno CUSFHMATNT 0154 00 C eval cusno zcusnno CUSFMAINT 0310 00 C callpfe cusfselicustomer CUSFMAINT 0314 00 C ewal cusno customer CUSFMATNT 0326 00 B parm customer has jiii A Level 3 Level 3 builds on the Level 2 references adding indirect references that are one further reference removed Page 21 Hu Impact Analysis amp Graphical Documentation Level 4 Parameters Level 4 further includes fields used as parameters For example in the statement CALL LETN amp CUSNO amp PREFIX amp LETSQ CUSNO is a parameter to call LETN Variable Where Used View Level 4 rh Thumbnail View 234 Variable Where Used E3 n Kal H D Variable Where Used for ALL CLISNO Lines 481 View Level Ly4 Parameter
58. n The View Annotation option displays annotations for a specific object A red icon denoting annotated text is present on the right side of the Object see the following screenshot View Annotation option e Files A Object Where Used CLISTMNT1 Eia CSF 23 Object Centered Data Flow Diagram for CUSF Total Objects 94 Ge A e BH e S CUSFLA Sites by Product renamed From custla For testing b Access Paths 13 Objects b Attributes b Input Programs 59 Objects b Input Services 1 Object D b Input Triggers 1 Object as Sites by Salesperson b Attributes b Input Output Programs Z Objects b Update Programs 14 Objects b Update Output Programs 4 Objects F See 3 ESAMI TT gt Double clicking on the View Annotation icon invokes the Annotation dialog box displaying the notes that were written earlier You can add modify notes in the Annotation dialog box and click Save These notes can be viewed later using the same option Annotation dialog Z Files A Object Where Used CUSTMNT1 stoe en E Object Centered Data Flow Diagram for CUSF Total Objects 94 a A EH amp Sites by Product renamed From cusfla For testing b Access Paths 13 Objects b Attributes Annotation for CUSF Additional Notes Additional comments For CLISF Wayne says sa X Analysis Professional 11 1 2015 Fresche Legacy Inc Page 15 C S D Attributes Impact Analysis amp Graphical Documentation The
59. nning of the subroutine SRVCUS Highlighted first line of the subroutine Za Programs Za OEDOB Z3 mL Source List of DE008 in XANA4CDEM QRPGSRC Lines 220 View Level 5 GA E 3 EH S E G9 Un Eg 98 BB EJ i DM m Re Seq No Uu M T ee GE E a E E 0109 00 0111 00 LS Get Customer Record 0112 00 LC CUSHO CHAINCUSFL3 CH 0115 00 LC INA IFEQ 1 0114 00 E HOVEL SB L AN K CN ANE 0115 00 HOV E L gt x B L AN K ADD M li gt Click the back navigation arrow to return to the line where the SRVCUS subroutine is called Program Structure Chart The Program Structure Chart option provides a different way of looking at the program structure A PSC graphically displays the sequence of calls in the program Click the option from the Diagram Options dropdown menu on the Source Browser toolbar X Analysis Professional 11 1 2015 Fresche Legacy Inc Page 56 Impact Analysis amp Graphical Documentation Program Structure Chart option Ze Programs Ee OF008 7 mL Source List of OE008 in XKAN4CDEM QRPGSRC Lines 220 View Level 5 Ba e E D EH E M G9 T v En 2M EL i Ara Seq No 1 89 Data Flow Diagram Rete B o Det 0016 00 h Hierarchical Structure Chart PO Ri i i am a i i ee 0017 00 Structure Chart Diagram 0018 09 k Screen Flow Diagram r i Program Structure Chart CRNIN 3X 0021 00 CS Until F3 w lt gt When this option is selected a diagram appears displaying the PSC for
60. nty express or implied about the accuracy of this information and reserves the right to revise this document or make changes to the products described herein at any time without notice and without obligation Fresche Legacy Inc is not liable for any loss of data damage to databases or other software or any other losses arising from the use of this manual O 2015 Fresche Legacy Inc Page 2 Pap X Analysis Professional 11 1 Contents Contents Publication Information sssssssssss ss sese sese esse esse esse sese aeaaea annan annan 2 elen EE 3 Mel d ENEE 5 EE 5 Wie IEN 5 Acronyms used in this document 5 Impact Analysis amp Graphical Documentation 1 eee eee eene eene nennen 6 Chronology OTF EN 6 Work c e e RM RT 7 ODISCE Where U SCO uo semi ues rH EUIS IDEEN ee ee IESU NIMIRUM MU eee 9 Export a List to PDF MS Word or MS Excel 10 Data Flow Diagram KR E 11 Valable Where H e RE 18 Structure Chart Diagram SCH 22 Detausd Reyes e E 26 Hierarchical Struct re CD Dose sctesa consecetur abvte coe pdesbasudevs oebdu bots eto Ye custodiae dose qu PS 27 Document Manager WEE 32 OCE BOW EE 45 Source Browser e Le E 47 Other Options on the Source Browser 54 Relational Data Model Extraction for IBM i ee eere eee ee eee eene nennen 63 Generating Data Model Diagram e eee eee eee eee 64 Bay Ve L 69 File Field Derals fEED AAA 70 ACCESS Path Diagramn APD EE 71 Eegen
61. o a foreign file to get the description for the code used from the Master Owning file Descriptors button on Record Display Data View for CUSFL1 CNAME Pi E DSDCDE EXTN SE Sts Last Cnt Date 0z USERNM Next Cnt Date AR SALUT FAXNO al Click on the Descriptors button to invoke the following window X Analysis Professional 11 1 2015 Fresche Legacy Inc Page 74 Relational Data Model Extraction for IBM i Window presenting Descriptors from Master Owning file amp Distributors Australia Belgium Databorough France Databorough Spain Databorough Tech Germany Iceland Ireland Italy Portugal South Africa Uruguay DATA MODEL DIAGRAM APPLICATION AREA SPECIFIC The DMD for an application area represents relationships among the related objects that belong to that application area only Select the Data Model Diagram option for the application area MVCPROCESS Data Model Diagram option from the Application Area Diagram LZ Application Area Diagram 2 5 SE Area Flow Diagram Um Application Area Diagram for XANACDXA mE v ri ar m L u i MVY PROCESS E TA Application Area Diagram 72 Files LESSER ERIT 1a Rami f Overview Structure Chart SH Area Flow Diagram Z5 work with Objects 132 Files 5 Programs 122 Poms E Files Business Rules Annotate 22 Files Document Application Area E 9 Poms k ll This invokes the Data Model Diagram dialog for the application area MVCPROCESS
62. o by Dwned by File Field Details U Cus Ho USNO Cus Ho CUSNO Cus EY E Access Path Diagram E This brings up the Access Paths list LFs Access Paths for CUSF a Data Model Diagram a Data Model Diagram a Data Madel Diagram E Access Paths c4 m LFs Access Paths for CUSF Total Objects 14 i Al Access Path Text Unique Keys Seleck Omit Field Names LF Gen Do Mat Display CLISFLA Sites by Product renamed from cusfla Far testing CLISFLB Sites by Orig List CUSFLC Sites by Salesperson CLUSFLD Sites by Validator CLUSFLE Sites by Organisation CUSFLI1 Sites by Name N PRPCDE CNAME anna N N N N N CUP Z Sites by Status N T N N N N N LSLCDE CNAME oo004 SINIT CNAME UU VIMIT CNAME UUUUp ORG CNAME DOO 7 CNAME UU L STATUS CNAME Oo008 USNO UUUUZ DSDCDE STATUS CNAME 00009 DSDCDE CNAIME 00010 LCTDAT STATUS CMAME 00011 APDATE CM AME o0012 FAXNO UUU1 2 CLISFL3 Sites by Number CUSFLS Sites by Dist amp Status CUP 6 Sites By Dist amp Name CUSFL Sites by Last Cnt Date CUSFL8 Sites by Next Cnt Date CUSFL Sites by Fax Mo HIHIH IUNII FILE FIELD DETAILS FFD You need more details of a particular file to gain wholesome understanding of the data model of an existing application A particular file may consist of several fields The File Field Details option helps you here Select the option from the context menu to gain easy access to particular field details of a selecte
63. ograms 14 Objects Z Cponep Back out account Z CBODERR Back aut account CUSFMAINT Customer Site Maintenance CUSFMOLD Customer Site Maintenance CUSLETSQ Update Letter Sequence Z spe Reorganize Customer File pe X Analysis Professional 11 1 Impact Analysis amp Graphical Documentation Expand Referenced Objects Em CUSTMNTI dB cusr 7 S CUSEL D Sites by Product renamed From cusfla For testing b Attributes CUSFLE Sites by Salesperson b Attributes CUSFLE Expanded View of Update Programs CUSTMNT EP CUSF 7 CUSFLA Sites by Product renamed from custla For testing b Attributes d CUSFLC Sites by Salesperson b Attributes B LUPE Sites by Organisation b Attributes d CUSFLA Sites by Status b Attributes d CUSFLS 2015 Fresche Legacy Inc gHEH R r P Aly E H 7 B D CUEFLB F Sites by Orig List b Attributes CUSFLD Sites by Validator b Attributes CUSFL wi Clicking the arrow icon adjacent to Update Programs reveals all objects updating CUSF The following screenshot displays the expanded view of the referenced objects list H c CUSFLB Sites by Orig List b Attributes c CUSFLD Sites by Validator b Attributes B CUSFL1 Sites by Mame b Attributes z CUSFL3 Sites by Number b Attributes CUSFL6 lt Page 14 Impact Analysis amp Graphical Documentation View Annotatio
64. omer Detail Maintenance w lt gt X Analysis Professional 11 1 2015 Fresche Legacy Inc Page 10 Impact Analysis amp Graphical Documentation DATA FLOW DIAGRAM DFD A Data Flow Diagram or DFD is the diagrammatic representation of the data flow A DFD depicts all the possible interrelationships among the files and programs contained within a particular application A color coded DFD simultaneously plays the dual role of showing the data flow at high object level besides providing contextual details regarding specific variables and parameters passed between objects The DFD uses bus routing layout thus allowing two benefits One it gives a precise idea of where and how the entered data affects the output desired two it helps you visualize how an object within an application correlates with the other objects The diagrams showing the data flow in neat blocks help even a non technical user get a clear idea of the object s interrelationships To generate the DFD return to the Object List using the navigation arrows available on the Eclipse toolbar Select the object CUSF and then choose the Data Flow Diagram option from the context menu as shown below Data Flow Diagram option e Files 53 0 3 Object Where Used CLISTMNTI1 E Object List of ALLUSR ALL FILE PF ALL ALL Total Objects 50 Jd a4 a fl Library Name Type Attribute Description Status Changed Created Ls vAN4CDEM CUSF FILE 1 PE NIMM 121 U1
65. or CUSF Total Objects 94 Gi D E g da lt U m CLISFLA Sites by Product renamed From cusfla For testing b Access Paths 13 Objects b Attributes EC b Input Programs 59 Objects b Input Services 1 Object CLISFLC Sites by Salesperson b Attributes K Input Triggers 1 Object b Input Cutput Programs 2 Objects b Update Programs 14 Objects IT UD 00 DH DD DO oo b Update Output Programs 4 Objects CLISFLE Sites by Organisation b Attributes D WLS L W WICLISFR zc cum Work with Customer Sites Work with Customer Sites Updout 47 Fields K Attributes eee e 4001 Address 1 s ADD Address 2 D CLSFELS a ADDS Address 3 a ADD4 Address 4 5 ALTTEL Alt Tel o 1 Sites by Disk amp Status b Attributes lt H L X Analysis Professional 11 1 2015 Fresche Legacy Inc Page 16 Impact Analysis amp Graphical Documentation Detail DFD icon Select the Detail DFD icon from the toolbar for viewing field usage of all the objects Detail DFD icon e Files Z Object Where Used CUSTMNT1 ouer 2 D a Object Centered Data Flow Diagram for CUSF Total Objects 94 a fly EP St Dekel FD E m CUSFLA Sites by Product renamed From cusfla Far testing 13 Objects H b Attributes x lil USF b Access Paths When the Detail DFD icon is clicked the Attributes section of all the objects gets expanded displaying the refer
66. or OEMENU Total Objects 15 Fl 2 I Lnd OEMENU Narratives icon Order Entry Menu Referred Files OE002 EI OE003 O opmm Order Enquiry Product Enquiry Order Entry Referred Files Referred Files Referred Files l gt After clicking the icon a window will appear providing the auto generated narration for the program Narration Pop up window f Object List ff OP S OEMENU OEMENU 55 mL Hierarchical Structure Chart for OEMENU Total Objects 15 S xm B e e L OEMENU Order Entry Menu Referred Files OEMENU Program Order Entry Menu A principal function of this program is to present a menu to call certain programs L1 OPO Order Enquiry Product Enquiry Order Entry Referred Files Referred Files CH Referred Files j E A Referred Files The HSC has a feature to display referred files inline An expandable icon called Referred Files is available in each box as shown in the image below X Analysis Professional 11 1 2015 Fresche Legacy Inc Page 29 Impact Analysis amp Graphical Documentation Referred Files icon d E OEMENU Order Entry Menu Referred Files J OE003 OEOCT Order Enquiry Product Enquiry Order Entry Referred Files Referred Files SN Referred Files L OE004 LI OE006 Order Entry Customer Enquiry Mainte Print Invoices Referred Files Referred Files Clicking on this icon displays the Referred Files of OE001 The colo
67. outines Program Variable Array Elements Parameter Lists Parameters Key Fields Message Ids EXCPT Names etc STRUCTURE CHART DIAGRAM SCD In order to interpret the application design it is important to have an idea of how the control transfers from one program to the next The Structure Chart Diagram or SCD addresses this need by presenting a graphical diagram It contains relevant information as per control flow and call structure In addition the data input objects and the summarized description of each object can be viewed Important functional aspects like updates prints and displays are color coded to help you quickly focus on these commonly preferred details To create an SCD select the OE002 object from the DFD for CUSF X Analysis Professional 11 1 O 2015 Fresche Legacy Inc Page 22 on Impact Analysis amp Graphical Documentation Double click on an object to bring up its DFD e Files Z Object Where Used CUSTMNT 1 Ba usr zz LH Object Centered Data Flow Diagram for CUSF Total Objects 94 amp Il Eis i o ES 5 SINIT Salesperson m OEDO2 L m CUSTMNTIR s TELNO Phone Order Enquiry Customer Detail Maintenance 5 USERNM Contact we Input 2 Fields Input z Fields la 5 WEBSIT Website a USNC Cus No 5 CUSNO Cus Ma 5 PRPCDE Product Code s DSDCDE Distributor ka CECE U OEDDS Print Invoices Order Entry LI C EIDER G i lil gt The DFD for OE002 will be displayed as sh
68. own below Data Flow Diagram for OE002 feries B E002 3 mL Program Centered Data Flow Diagram for OE00 Total Objects 5 Gi m Se i 4 EA H OEMENU E OEDDZ Order Entry Menu Order Enquiry b Parameters d k Calling Programs 1 Object H K Input Files 3 Objects H P nm b Output Files 1 Object H Order Enquiry Display b Attributes D CLISFL3 Sites by Number b Attributes Mm B CUSTSLS by Cusno Representative b Attributes PTYPES Products b Attributes 4 UI we Select OEMENU and opt for Structure Chart Diagram from the context menu Context menu on DFD object Se Object List t OE002 3 EL Program Centered Data Flow Diagram for OE002 Total Objects 5 A e amp a Bl ix E OEMENU Order Entry Menu b Parameters E Data Flow Diagram Object Where Used Zoom Source Variable Where Used rh Hierarchical Structure Chart CUSEI lt te ber Structure Chart Diagram b rc ER Inverted Structure Chart E Program Structure Chart vi X Analysis Professional 11 1 O 2015 Fresche Legacy Inc Page 23 Impact Analysis amp Graphical Documentation 4 The SCD is a nested tree diagram that displays the complete call hierarchy of the kea orograms called SCD for OEMENU Se Object List He OPO OEMENU 3 8 Structure Chart for OEMENU Total Objects 15 a D m amp Lt Mi aa lt DESEE MN NM MN o O II CUSLET Customer Letter Stage 1
69. p Documentation solution set is a sophisticated tool for instant and automated cross referencing impact analysis and graphical documentation of Synon 2E RPG and COBOL applications All the functionality above and more is contained in the following separate features explained in this chapter Feature Brief Description Work with Objects A list of all the objects in a chosen application or application area Object Where Used A list of all usage references for an object Export List to PDF MS Word or The option to export data to MS Excel or a PDF MS Word MS Excel Data Flow Diagram An interactive colour coded bus routing block diagram for displaying an object relationship within an application Variable Where Used A list of all instances of the specified variable in the application Structure Chart Diagram A graphical display that shows program to program relationships Detailed Structure Chart A graphic display that shows program to program relationships with files used Diagram by each program It also explains each program s generated program text Hierarchical Structure Chart Colour coded bus routing block diagram which enhances the visual of program Diagram to program interrelationships Through this you get an exact idea of the hierarchical set up of the programs Document Manager A utility that automatically generates structured system document in PDF MS Word format Source Browser The interface used for system analysis rev
70. phical Documentation Generate System Documents using previous values Generates system documentation using the options selected in previous instance of system documentation This option is only available for generated system documents Select the Generate Single System Document option The Document Details section specifies the Document Title generated system document Name and its location You can choose a different file name for the generated PDF MS Word document and a different location to save the generated document Click Next System Documentation Wizard Specify Contents oystem Documentation Specify Contents Select features to be included in the System Document Object List Data Model Diagram Normal In Word as Image C Detailed C In Visio Annotation LF Access Path details Detailed File Field Details _ Field Annotation Object Where Used Data Flow Diagram Normal 2 Detailed Annotation Structure Chart Normal Expanded C Detailed Depth 5 e Annotation Screen Flow Diagram Normal Expanded Program Structure Chart Annotation Screen Report Layout e Normal 7 Detailed Business Rules Export to MS Excel Summary C Detailed Include Internal Rtn s Source Source level Pseudo Code Flowchart Level Business Process Logic Level Cancel X Analysis Professional 11 1 2015 Fresche Legacy Inc Page 36 Impact Analysis amp Graphical Docum
71. plication works We also experienced how X Analysis helps in analyzing one big application as smaller logical business areas Its enhanced Data Modelling feature not only exposes the Business Rules implicit in the data and the process models of an application but also digs out the vast amount of business logic buried inside the source code of the programs Today we are at that exciting phase from where we can look forward to being more progressive and introduce futuristic Re engineering or Re architecting tools and solutions The X RPG 2E Modernize module is one such innovate As we already know X Analysis dissects legacy application programs to decouple screens from embedded business logic This componentization can be leveraged by the X RPG 2E Modernize module to generate JSFs JavaBeans and ORM objects thereby assisting in re architecting a legacy application in J2EE Having seen the X Analysis solution set in action you are now equipped to get on with the application redevelopment 2015 Fresche Legacy Inc Page 78 on f Appendix Enabling the SEU Interface Appendix Enabling the SEU Interface CREATE USER PROFILE XAN4SEU When browsing source code using the IBM i AS400 SEU it is necessary to be logged in as XANASEU user The following are instructions for creating the correct user profile Step 1 Login as QSECOFR Step 2 Create XANASEU user profile Use the CRTUSRPRF command to create the XANASEU use
72. r coded geometric shape before the file name indicates the file type Referred Files Expanded Ge Object List Zon OEMENU e OEMENU 23 gt H Hierarchical Structure Chart for OEMENU Total Objects 15 A VA n hd O OEMENU p Order Entry Menu Referred Files OE002 OE003 ol E oro Order Entry Referred Files H CUSTSL3 by Cusno R O QEO01DF Order Entry H PTYPES Products Order Enquiry Product Enquiry Referred Files LU Referred Files OEO004 GJ LI OED006 OO Customer Enquiry Mainte Print Invoices Referred Files F Referred Files X Analysis Professional 11 1 2015 Fresche Legacy Inc Page 30 in LEGACY Impact Analysis amp Graphical Documentation Show Root Node When the Show Root Node icon is clicked the root node gets displayed Show Root Node icon es Object Lit 95 0K003 OEMENU Hierarchical Structure Chart for OEMENU Total Objects 15 3 s vg T Shaw Root Mad L OEMENU Order Entry Menu ES Referred Files Legend The Legend icon on the toolbar shows the color scheme used by the HSC This color scheme helps to understand the reference and association of specific objects Legend icon Ge Object List g OE OEMENU e OEMENU 53 eB H OEMENU Order Entry Menu HF Referred Files Click the icon to expand the Legend Legend Expanded Update H OEMENU Order Entry Menu Referred Files Disp
73. r profile Make sure that the following parameters are set User Password XANASEU User Class PGMR Initial Program XSEUCLP Library XAOBJ Create User Profile CRTUSRPRF Type choices press Enter NEZ E qc M XAN4SEU Name User password 2 9 TUE EE POUSSER Name USRPRF NONE E Set password to E GE ANO SNOPES Se DEE ENABLED xENABLED DISABLED IRI T Sc TI cT PGMR QU SPEM T e TT eT ET Assistance level s o o o o o oc ONG VOUS SVYovVAl BASIC SiN iE EIVIBI Current H H os ee CRUDE Name CRTDFT Initial program to a E OSE UC Le Name NONE EG N Oe oe M c Re a XAOBJ Name tbh SISSE Taitial men so s o o s o o o c MAIN Name SIGNOFF EE EE SE ILIS Name EI ENEE DEES EE EE EE xNO xNO PARTIAL YES Pore LE PET On e eect cM 1x Analysis SHU User MOIS lt lt IS hic aie F4 Prompt F5 Refresh F12 Cancel PIlS How to use this display F24 More keys X Analysis Professional 11 1 2015 Fresche Legacy Inc Page 79 on Appendix Enabling the SEU Interface PRESS F10 AND PAGE DOWN Set Special Authorities ALLOBJ JOBCTL SAVSYS Change User Ee EE HCUSRERE Type choices press Enter Additional Parameters Peca ER y ae een a ATT TOBI xSAME USRCLo NONE x JOBCTL STN ES TES EE xSYSVAL xSAME SYSVAL NONE S S9 ISE RI EE EE Oo AG so AME NO SS oo Ar Pacon orderpi ra tron Interna la o SR 1 366 SAME SYSVAL NOMAX Limit device sessions MO OA xSA
74. red fields from all objects The following screenshot displays the detailed DFD screen Detailed DFD view Z Files ZA Object Where Used CUSTMNT1 iga cusF 53 B CC ECH ES Object Centered Data Flow Diagram for CUSF Total Objects 94 B a ZAUDCUSF ZBPRNCUSF CUSF a CUSFLA 7 CUSFLB Audit CUSF File Print Customer Details Sites Sites by Product renamed from Sites by Orig List i i cusfla For testing Input 2 Fields Input 5 Fields b Access Paths 13 Objects B ewm No Attributes CNAME Company ADD4 Address 4 dee b Input Programs 59 Objects H e CUSNO Cus No CNAME Company DSDCDE Distributor gt Input Services 1 Object H 5 Seng Era PRPCDE Product Code P Input Triggers 1 Object B Sites by Salesperson Sites by Validator USERNM Contact P Input Output Programs 2 Objects H No Attributes No Attributes gt Update Programs 14 Objects H gt S DSPPTYPES BH DSPPTYPESR Update Output Programs 4 Objects D B e n GER Display Product Display Product Sites by Organisation Sites by Name v Input 1 Field v Input 1 Field No Attributes No Attributes PRPCDE Product Code PRPCDE Product Code a a P P WWCUSFR CUSFL2 CUSFL3 a ZAUDPTYPES Audit PTYPES file v Input 3 Fields CNAME Company a ZAUDLISTS Audit LISTS file Input 2 Fields 5 CNAME Company Y Updout 5 ADD1 Address 1 W WCLISF Work with Customer Sites 47 Fields Y Updout Work with Customer Sites 5 ADD
75. reen The Pseudo Code icon has a behavior toggle Click it again to return to the Normal Source Code Source Level The Source Level icon is to access different view levels to view specific type of source lines It enhances the understanding of the code The default source level is 5 El gt K Ed El aen No Source Levels F Comments Onlv Screen Reads Comment view Level 1 Call Operation a view Level 2 File Operation 3 View Level 3 Program Structure Operation view Level 4 Field Operation w View Level 5 Commented Gut amp Excluded For instance if you switch the source level to View Level 1 it restricts the Source List from displaying comments and only allows for call operations X Analysis Professional 11 1 2015 Fresche Legacy Inc Page 50 IEN Impact Analysis amp Graphical Documentation Source List at View Level 1 Ze Programs CB906R ti 7 mE Source List of CB905R in XAN4CDEM QRPGSRC Lines 20 Viewlevek 1 A EE Ed FH S E 82 uv Eg 98 E EE i wA E Re seq No EE E Game Sora EN D Xe d E T gt Bes LC TE Josie Peycen ieineis OO30 00 TESE EXSR PVOO1 OO32 00 CX INITIALISE SCREEN a OO4e2 UU C Calculate predicted interest 0046 00 E EXSR RETRM 0073 00 LS IF CAP UPDATE ARREARS ON MIN EVENTS 0103 00 HR TRN 0104 00 IR a a a a eee TTT TATA AA EE EI 0105 00 C S PVOU1 BEGSR M TIT gt View Level 2 includes File Operations View Le
76. resentation of all the access paths related to a specific file Generate the diagram by selecting the Access Path Diagram option from the context menu over a selected file CUSF X Analysis Professional 11 1 2015 Fresche Legacy Inc Page 71 o See Relational Data Model Extraction for IBM i Access Path Diagram option on DMD a Data Model Diagram a Data Model Diagram am Data Model Diagram 5 mL Data Model Diagram for CUSF Total Objects 9 a l v fs A Referred to by STATUS Referred to by OSOCOE Distributor Referred to by LSLEDE Ong List Cade Referred to by ORG Organisation Status Zoom Source E Data Flow Diagram Object Where Used d Variable Where Used ZT Data Model Diagram File Field Details LFs access Paths Access Path Diagram Refers to by Cus Mo Refers to by Cus Mo CUSNO CUSHO L gt This brings up the APD for CUSF Access Path Diagram for CUSF a Data Model Diagram a Data Model Diagram S Access Paths E CUSF i WW mL Access Path Diagram for CUSF Total Objects 14 Im lt m zs Ir 43 e CUSF E Sites CUSFLA CUSFLB CUSFLC Sites by Product renamed From Sites by Orig List Sites by Salesperso cusfla or testing LSLCDE Orig List Code Salespersa CNAME company CUSFLE CUSFL1 CUSFL Sites by Organisation Sites by Mame Sites by Status ORG Organisation CNAME Company STATLIS SEabus CHAME company Compan CUSFL5
77. s Mame aem Mo Ee El n C GEN CLET Dange n00 DCL VaR aprecix TYPE CHAR LENIS CLET 000a 0l CHGYAR CUSNC PE CLET 0009 00 CHGVAR CUSNO amp CUSNC 0010 00 CALL LETM1 amp CUSN0 PREFIX amp LET Q CLET 0011 00 CHGVAR SCHAN sPREFIX CLET 0014 00 CALL WECUSL amp CUSNC PREFIX amp LETHNE CLETN D nl n00 FGH PARM amp CUSNO amp PREFIX amp LLETSU CLETN 0003 00 DCL VAR amp CUSNOU TYPE DEC LEN S5 0 CLETN 0004 DCL VAR PREFIX TYPE CHAR LEN 5 CLETN 0010 00 CALL LETNI i CUSNDO amp PREFIX sLLETSQ CLETN DOlz n0 C HY AH VAR CUSNC VALUE SPEEFIX CLETN DO l OU 7 WECUSL CUSNO sCUSNC 2 PREFIX PREFI 2 LETWR CNTACS Dana OU CUSNU SP U TExT Cus Wo CNTACS OO21 00 EK CUSNO CNTCMAINT zl D customer 3 lt lll Level 5 Cascading Parameters Extending the information in Level 4 Level 5 includes references where CUSNO fields are parameters in a function called by another function Maximum Tracking Tracks the usage of a variable or a field to its maximum level of indirection This is the highest view level also referred to as Maximum Tracking It displays Variable Where Used information for all the levels mentioned above as well as any other possible references of the CUSNO field The Variable Where Used option can be opted over a large variety of items including Files Array Definitions Data Structures Sub Fields of a Data Structure Indicators Key Lists Data Fields File Formats Subr
78. s On the DMD Details view the Relation Type column states the relationship between the files in the Dependent File column and the files in the Parent File column The Dependent Fields and the Parent Fields columns list the fields which relate to the Dependent File and the Parent File respectively The DMD Details list displays actual names of the listed Files and Fields The DMD details list provides a toggle button Show Description to switch the DMD details list to display the description of the listed Files and Fields DMD Details view with Show Description icon ZL DMD Details 53 Al EL DMD Relations For ALL Total Relations 53 Rel Np Dependent File Relation Type Parent File Dependent Fields Parent Fields Dep LF 1 CATACS REFERS TO ASTATUS STATUS STATUS CNTLF3 CATACS REFERS TO USF CUS CUS CATALS CNTACS REFERS TO MARESIDX USERMM LANGME CHTACS OWNED BY PTYPES PRPCDE PRPCDE CNTLFA CHTACS REFERS TO SLMEN SINIT HEH SCH CONDET OWNED BY CONHDRE AW ORDON MOBI CONDET CONDET REFERS TO STEBAL AWORDMN swWAACS sWwABCD x WaACS CONDETL2 Click the Show Description icon to see descriptive names for all the files and the fields DMD Details view with Description Z DMD Details 53 m a D DMD Relations for ALL Total Relations 53 RelMa Dependent File Relation Type Parent File Dependent Fields Parent Fields Dep LF 1 Contacts REFERS TO Status file Sts Status CNTLE 2 Contacts REFERS TO Sites Cus Mo Cus
79. s by Validator b Input Qutput Programs 2 Objects H b Attributes b Attributes v d a Clicking the icon again displays all the objects within Show Objects icon e Files 3j4 Object Where Used CUSTMNTL 29 Cusr 7 mL Object Centered Data Flow Diagram for CUSF Total Objects 94 m amp Bi EE B lt 8 CUSCPY E Customer Copy b Access Paths 13 Objects Attributes b Input Programs 59 Objects b Input Services 1 Object Li SECFO P Input Triggers 1 Object Reorganize Codes File b Attributes b Input Output Programs 2 Objects b Update Programs 14 Objects b Lpdatej Output Programs d Objects 3 wt sg Expand Collapse Referenced Objects In a DFD referenced object s can be expanded by selecting a particular category from the main object box The following screenshot displays the action to be performed O 2015 Fresche Legacy Inc Page 13 Z Files iA Object Where Used Object Centered Data Flow Diagram for CUSF Total Objects 94 P Access Paths 13 Objects H 59 Objects H 1 Object H 1 bject H b Input Output Programs Z Objects H Update Prograrns 14 Objects H L Programs 4 Objects H i b Input Programs b Input Services b Input Triggers te Files HA Object Where Used Object Centered Data Flow Diagram for CUSF Total Objects 94 B CLISF Sites b Access Paths 13 Objects b Input Programs 59 Objects b Input Triggers 1 Object b Input Output Programs 2 Objects H H b Input Services 1 Object H e Update Pr
80. s server and the Client components should be installed to an IBM i server and a Windows PC respectively The demo library XANACDEM and its cross reference library XANACDXA should be successfully restored on the IBM i ACRONYMS USED IN THIS DOCUMENT APD Access Path Diagram DFD Data Flow Diagram DMD Data Model Diagram FFD File Field Details SCD Structure Chart Diagram HSC Hierarchical Structure Chart PSC Program Structure Chart X Analysis Professional 11 1 2015 Fresche Legacy Inc Page 5 dhodo Impact Analysis amp Graphical Documentation Impact Analysis amp Graphical Documentation Continual technical enhancements syntax variations in programming styles financial and time constraints absence of original application designers and or monolithic application codes are some reasons that necessitate changes in the existent application designs System analysts or software professionals must be equipped with the technological knowhow for redesigning business applications The X Analysis toolset meets the requirements mentioned above It is patterned to convert all IBM i applications into the latest format This software suite has precise tools for conducting advanced application and documentation tasks This chapter covers Impact Analysis and Graphical Documentation The features and options discussed here provide prompt and automated documenting and computing solutions CHRONOLOGY OF FEATURES The Analysis am
81. side the source browser Source Outline view of CB906R Ee CBOD6R i3 mL Source Outline 5 mL Source List of CE906R in Lines 156 View Leve 5 d CBODER S DAEA HIERSCHT IERT REH Seq No EE E T EE Keres 0028 00 C ENDIF 0029 00 5 MOVE ACACFN S EXSR PVOO1 0031 00 C READ CBACPF 0032 00 C INITIALISE SCREEN 0033 00 C WH ACEN IFEQ ACT lll gt E Pseudo Code The Pseudo Code or the structured English view is meant to help a non technical user understand the code in a better manner Click the Pseudo Code option on the toolbar Pseudo Code option fe Programs l CBOD6R 2 2 E Source List of CB906R in XAN4CDEM QRPGSRC Lines 156 View Level R A EI Ed Eel B Up Ba SHE i Ae GS amp Seq No Pseudo Code 1 sh as LIN Hcc cr M This invokes the Pseudo Code view X Analysis Professional 11 1 O 2015 Fresche Legacy Inc Page 49 Impact Analysis amp Graphical Documentation Pseudo Code window S PR G9 Ip P ep op seq Mo DUZ 1 DU 00 Ke t DUZ 5 UUZ b HUS fs DUZ Z 0023 0028 0029 0030 Sj DU UU UU UU UU UU UU DU Pseudo Code Initialise Parameters Repeat Until Redisplay Screen equal to NI Repeat Until Return Code equal to EI And Mode equal to If Srl no equal to BLANKES Hove Lett SON to ZZERR 1 Mowe Left QEMODBOS to MSGID Hove Lett GEMOO16 to MSGID Endif Move A CACFM to Account Type Perform Validate Sc
82. t U LU OO21 00 CX Until F3 d z 4 00 CS Initialise Odd Bookmark 0025 00 C Variable Where Used K G oo2z6 00 L Bara 0027 00 C Enhanced Member x Ref bd 0028 00 C Indicator Where Sek E 0029 00 C ADDS N UI This displays the Member X Ref view for the selected variable INO3 The Member X Ref view lists all source lines where the selected Field Variable has been used referenced Member X Ref window ted Member X Ref 23 a A H E o Member x Reference For INOS in XANSCDEMIORPGSRC OE00S Lines 5 View Level 1 Seq No DR UU D F 1 Fae Ss 023 RE ee UU UU DOUEQ 1 7 UU 50 UU LENHE 1 unes UU LEHE TI 0077 UU LENE 1 lil X Analysis Professional 11 1 O 2015 Fresche Legacy Inc Page 55 on Impact Analysis amp Graphical Documentation Jump to Subroutine Through the source browser you can jump to a subroutine Double click on one of the subroutines in the source browser for OEO08 Select subroutine for Jump action e Programs ORO cA mE Source List of OE008 in XAN4CDEM QRPGSRC Lines 220 Yiew Level R A E 3 EH S 2 G2 Up Eg R I i wA m ER Seq No Pn a ee iA Deuce EE c s 0045 UU C So long as Exit not requested 1 0050 00 E THOS IFHE 1 OOS2 00 LS Retrieve Customer Details 0053 00 LC EXSR RVCUS DUS D ES et Up blank subfile for Order lines 005 00 LC EXSR ZORLNS K t lil gt Double click on SRVCUS to position the cursor at the begi
83. tant Note X Analysis Professional 11 1 O 2015 Fresche Legacy Inc Page 4 Sak Overview Overview X Analysis is an advanced and easy to use analysis tool The tool s instant and automated features like visual impact analysis cross referencing and graphical documentation of RPG and COBOL applications endow this software with a remarkable edge This section briefly explains the benefits of X Analysis and the hardware prerequisites needed for successful installation of the software BENEFITS OF X ANALYSIS The X Analysis product suite is an essential tool for IBM i application documentation design recovery and re engineering The X Analysis software works as a plugin under IBM s RDi RDp WDSC and Eclipse enabling you to browse and visualize applications from a high level model down to individual lines of code This globally renowned tool is packed with features like RPG amp COBOL as pseudo code variable level impact analysis graphical flow structure charts graphical data flowcharts PDF MS Word and MS Visio documentation wizards X Analysis allows technical analysts to navigate graphically through an IBM i application from a Windows PC Working in a true client server mode X Analysis automatically cross references databases and ensures that the display is always up to date and a true representation of the application on the IBM i PREREQUISITES Before starting this tutorial the following are required The X Analysi
84. ty Cancel Click OK to generate the list of program objects Object List Programs e Programs 2 RS Object List of ALLUSR ALL PGM ALL ALL ALL Total Objects 153 6s A aud iM T E ra Library Name Type Attribute Description Status CLYAN4CDEM CBCIIU DO CLP Order Entry System E BE MANACDEM CBBO6R RPG Back out account LXAM4CDEM CLET PGM CLP Build Customer Letter LXAN4CDEM LETM PaM CLP Print Customer Letter RE ANCIEN CNTCMAIMNT Se RPGLE Contacts Maintenance REWAM4CDEM CONUPD FEM RP aLE Revert Back Customer Info REXANACDEM CONUPDI1 PGM RPGLE Update Customer Info Version 1 REXAN4CDEM CONUPDZ PaM RPGLE Update Customer Info Version 2 RE ANACDEM ON Weu RPG Contract Entry DLZANM4CDEM CPDM PGM CLP List Correspondence V II Double click the CB906R program This will call its Source Browser view X Analysis Professional 11 1 O 2015 Fresche Legacy Inc Page 46 IEN Impact Analysis amp Graphical Documentation Source Browser view displaying the CB906R source e Programs Ee CRIDER 53 WW Source List of CB906R in XAN4CDEM QRPGSRC Lines 156 Men Level 5 GA E EH S E P U m S BGi D m amp Seq No t M cem ON E MRNA 0013 00 LC PRM WWPTIT 104 0014 00 LC PRM WWPTTR 104 E 0015 00 LC PRM WWTATP 3 0016 00 LC PARM WWVLDA 60 DOT DD LC PARM WWTAAM 53 0018 00 LC FARM WWACKG 1 0019 00 LC FARM AAXIODA 60 DUZ D DU K PRM WC HG 1 0021 00 L Initialise Parameters 0
85. ultiple columns In this window you can sort a column s data by clicking a column heading X Analysis Professional 11 1 2015 Fresche Legacy Inc Page 8 on Impact Analysis amp Graphical Documentation OBJECT WHERE USED The Object Where Used feature generates a list of all usage references for an object To make an Object Where Used list for the object locate and select the CUSF object from the Object List Right click on CUSF and select the Usage References option from the Object Where Used submenu This brings up the Object Where Used list for the Usage References of CUSF Object Where Used window CUSF Se Files 3 amp 4 Object Where Used 7 E Object Where Used Usage References for CUSF Total Objects 70 im fa Attribute Text Usage Back out account CONUPDO Gh AP Gl Revert Back Customer Info File Updated By Program CONUPD1 GM RPGLE Update Customer Info Version 1 File Updated By Program CONUPD2 RPGLE Update Customer Info Version 2 File Updated By Program CUSCPY Gh RPG Customer Copy File Read Written To By F CUSFLT LF Sites by Name Logical File CUSFL2 LF Sites by Status Logical File CUSFL3 LF Sites by Number Logical File CUSFL5 LE Sites by Dist amp Status Logical File CUSFL6 LF Sites By Dist amp Name Logical File CUSFL LF Sites by Last Cnt Date Logical File lt The Object Where Used window displays multiple columns The Usage column displays uses of CUSF in a particular object Th
86. used 18 8 CBCUSTS POM Work with cusipmer Cobol vers 17 8 CBCUSTSR PGM Work with customer Cobol wers 15 8 CBTRNHST PGM Work w h transaction history 17 8 CBTRNHSTR PM Work with transaction history 18 8 CUSCPY Po Customer Copy 17 8 CUSF FILE Stes 17 4 5 6 8 o 26 x 11 569 in SOURCE BROWSER The Source Code of the application is the key to the process of analyzing reviewing re factoring maintaining or re developing a system X Analysis supports some very advanced features in its Source Browser Double click on the Programs node to get the Object List for all programs available in the application library Programs node my 192 166 170 10 CH K ZANACDEXA XANACDEM Tutorial System d Application Area Diagram at Data Model Diagram DS Overview Structure Chart Ze All Objects m Programs Files Source Files Business Rules rg Consolidated Rules Screen Components e Change History Regenerated Programs A Source Scan 9 x Sanitize E3 El 4 Resize T Procedures The Work with Objects dialog for PGM object type will be invoked X Analysis Professional 11 1 2015 Fresche Legacy Inc Page Ap See Impact Analysis amp Graphical Documentation Work with Objects dialog Programs Work with Objects Application Area Description All Members Selected Library ALLLISP hull Tvpe Attribute Function Attributes Component Status Function Type PF Mame Program Type Modali
87. vel 3 includes Program Structure Operations View Level 4 includes Field Operation View Level 5 includes the Commented Out amp Excluded codes Flowchart One way to view a program source code is to check the execution model of that program through the Data Flowchart Select the Flowchart option from the source browser Flowchart option Za Programs fh CB9DBR Z3 2 mE ff Source List of CBS06R in XAN4CDEM QRPGSRC Lines 155 Yiew Level 5 NEN BA E EIS Ei K SSR CH i ly eR Seq No a l C2 Flowchart se J uad 0007 00 E F Flowchart For current Subroutine Procedure This generates the program flowchart in MS Visio as shown in the following page X Analysis Professional 11 1 O 2015 Fresche Legacy Inc Page 51 on Impact Analysis amp Graphical Documentation Flowchart in MS Visio DR ORPGSRC_XAN4CDEM_CB906R vsd Microsoft Visio Elek EN File Edit View Insert Format Tools Shape Window Help Adobe PDF Li Leg AR ICAR EECH Ls Ae Ma Arial 12pt 12pt B I Si A SS SE EE Ls Lih E ku ch ac IM del WINE DENEI Hao T ka lt r ae a Page 1 3 Note that the Flowchart option creates an individual flowchart for each subroutine The first page of the flowchart displays the processing for the Main Procedure From the Main Procedure you can jump to any of the subroutines available in the program X Analysis Professional 11 1 2015 Fresche Legacy Inc Page 52 Impact Analysis a
Download Pdf Manuals
Related Search
Related Contents
DSI-1000 User Manual PDF Format - Connecting Healthcare Providers PDF lesen - Hellweg Berufskolleg Unna RCA RP5600 User's Manual Massive Wall light 17208/93/10 Inventory User Manual - Oracle Documentation The JA-80Y GSM communicator Manual de usuario - Electrónica Embajadores, Tienda de Copyright © All rights reserved.
Failed to retrieve file