Home

X-Analysis User Manual

image

Contents

1. REFRESH OPTIONS The submenu has the following options Initialize Cross Reference Refresh Cross Reference Rebuild Data Model Repository Refresh Log Initialize Cross Reference The Initialize Cross Reference option initializes the cross reference library to reflect the changes that have been made to the cross reference library This option is available under the Refresh Options submenu on the context menu of the cross reference library The following dialog is displayed on selecting this option Confirmation dialog for Initialize Cross Reference option X Analysis P Initializing Cross Reference XAM4CDXA l Do you wish to proceed X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 62 Application Library Click Yes to submit a new batch job for initializing the cross reference library The batch job processing on the server is displayed as shown below Initialize Cross Reference Job Log view initialize Cross Reference Command S6BMJOB CMD AAAINIT ARFLIB KAN4C DAA LIBRARIES TAANACDEM SRCLIBS AANACDEM INLLIBL AAOQB OQGPL QTEMP CCSID SYSVAL JOB AAAINIT Library List XAOBJ OGPL QTEMP Job Log Mon Mar 02 14 52 45 ST 2015 AAA4INIT ARFLIB AANACD AA LIBRARIES AAN4ACDEM SRCLIBS AAN4CDEM Note The Initialize Cross Reference option gets enabled only for the new cross reference application Refresh Cross Reference The Refresh Cross Reference option
2. Anda Application Area Clear Field Omission option F Field Exclusion 3 H Test Result Field Exclusion fs fa File Field Field Type Length Description Ommitted aw ORD Contract ay GBCD Product HWAACS Store OOOO O oO OOOO O O Mo Aw TOTA f awRICD Tra Hst Trn Type AWAIT contract Cty KATTA W Stk Unit of Measure AW PRIC Price COMHDR CUSTS STRBAL STEMAS STOMAS Test Result Spool File Exclusion There are some fields that may pollute the test results during the test data comparison process The Test Result Spool File Exclusion option helps you to exclude such polluted fields On selecting this option you will invoke a new window for Spool File Exclusion The following screenshot displays the Spool File Exclusion window Window Spool File Exclusion cae Spool File Exclusion 2 5 F Test Result Spool File Exclusion ee Ys fa Spool Mame Spool Description Recognition Value Recognition Start Postion Recognition Length Exclusion You can add a new spool file by clicking the Add Spool File icon as shown below Add Spool File icon ey Spool File Exclusion 3 Test Result Spool File Exclusion Spool Mame Spool Description Recognition value Recognition Start Postion Recognition Length Exclusion The following dialog box is invoked X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 112 Anos Application Area Dialog Add Spool File Test Result Spool File Exc
3. Convert DDS to SQL Generate Database Service Programs Export CRUD Spreadsheet available only for application areas Export as DDL The Export as DDL option exports Data Model information as Data Definition Language to the application folder This information may be used by any database management system e g Oracle or SQL server to create a similar data model For details refer to the Export as DDL from X Analysis section Export as Web Query Metadata The Web Query Metadata files are generated using the XWBQMET command These files can be used in IBM s DB2 Web Query Tool Export as Web Query Application The Web Query Report files are generated using the XWBQRPT command These files can be used in IBM s DB2 Web Query Tool Export Business Rules as XML The Export Business Rules as XML option generates an XML file which details all the business rules of the selected application application area The following dialog is displayed when this option is selected X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 67 ths Application Library Export Business Rules as XML dialog Export Business Rules as XML Di This may take time Do you want bo continue When the processing is complete the following information dialog is displayed Export Business Rules as XML completion dialog Export Business Rules as XML sML File generated successfully at C Documents and Settings alakhilly Documents
4. Documenter 0024 00 L TM 1 w lt jii gt Print option The Print option directly prints the currently displayed source content Print option Source List of CONOO1 in XAN4CDEM QRPGSRC Lines 271 Yiew Levei 5 A S B AEH 6 i e BBE i A a seq Mo a T e E T tee oc N 0013 00 E Print View Code option Select the View Code option to view the reengineered the restructured or the generated code of a selected object View Code option Source List of CONOO1 in XAN4CDEM QRPGSRG Lines 271 ViewLeve 5 ss A E BHEE P k m Ampi aN Ge ie eg eee iin eg E EEEa Ft X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 149 ANUS Quick Reference to an Object OBJECT WHERE USED The Object Where Used option lists all the instances in the application where a specified object has been used referenced The following are the details of the sub options of the Object Where Used option Usage References List of objects which are using this object All References List of objects where this object is being used Besides this source references for which the objects do not exist are also displayed Update References List of objects which are updating this object Delete References List of objects which are performing delete operation on the specified object Entry Level References Entry level references in Object Where Used list all entry level programs A which directly or indirectly ac
5. Business Rules for CUSFMAINT Number of Lines 10 QEMO014 The telephone no is invalid QEMO015 The fax no ts invalid OEMO018 The distributor ts invalid QEMO019 The status ts invalid QEMO0Z0 You must enter a contact name QOEMO021 The title ts invalid Rule Status No Status No Status No Status No Status No Status No Status No Status No Status No Status No Status Rule Status Comment tefta H 4 0 Annotation The Configure Columns feature in the Business Rules view helps you manage the columns displayed You can reduce the width or hide any column by setting width to 0 Business Rules window Configure Columns option Business Rules 3 Business Rules for CUSFMAINT Number of Lines 10 Source Member CUSFMAINT CUSFMAINT CUSFMAINT CUSFMAINT CUSFMAINT CUSFMAINT CUSFMAINT CUSFMAINT CUSFMAINT CUSFMAINT 00001 00002 Rule Number Field CUSNO CNAME TELNO FAXNO DSDCDE DSDCDE STATUS USERN SALUT CUSNO Company Phone lt gt Fax Wo lt Salutation Cus No TtT anA E M E Field File Rule Message ID Rule Status Rule Status Comment Annotation Width of selected column Filter the display of business rules using the various buttons The rules can be filtered based on whether they are Exportable Rules Update Rules or Excluded Rules These three filters have toggle behavior X Analysis User Manual 11 0 2015 Fresche Legacy Inc
6. CUSNO decimal s 0 NOT NULL USERNM char s4 PRECDE char 2z NOT NULL ITELNO char 17 PARHO char 15 r Note The Export as DDL option is also available on application areas CONVERT DDS To SQL The Convert DDS to SQL option calls the IBM i command XDDSTOSQL and submits the job in batch This option is available on cross reference library Application Areas and Physical Files PF Opt for the context menu on the tutorial application and then select the Convert DDS to SQL option from the Export Options submenu The following dialog appears Convert DDS to SQL dialog on cross reference library Convert DDS to SOL 4 RteF Library Application Area Mew Database Library Compilation Type Click OK to start the process of conversion SAMACA 1 Opt for the context menu on the application area ORDERS and select the Convert DDS to SQL option under the Export Options submenu The following dialog appears X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 305 Fe er Exporting amp Printing Convert DDS to SQL dialog on application area Convert DDS to SOL Ref Library Application Area Mew Database Library ORDERSD1 The New Database Library contains the generated SQL Objects XDDSTOSQL command The XDDSTOSQL command will initiate the following sequence Generate DDL source members for the PFs CREATE TABLE Amend the DDL source members to specify the n
7. No cumulative component function can be determined Function Type Function Type describes the function of the object and is based on COOL 2E definitions Hierarchy Exclusions in SCD Work with Exclusions is Option 16 on the X4WRKAPP master command menu With the help of this feature you can add a program s name for Hierarchy Exclusions This has effect in the SCD and the OSC This feature removes the child nodes of the excluded object and a green arrow is displayed to indicate the hierarchy exclusion The following screen shows this feature Hierarchy Exclusions in SCD te Object List S CUSFMAINTC amp Structure Chart for CUSFMAINTC Total Objects 2 a A x amp H iCUSFMAINTC Customer Site Maintainance CUSFMAINT Customer Site Maintenance X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 172 ahs Program Logic Documentation Repeated nodes in SCD The SCD displays the repeated objects having child nodes with a green arrow beside them The following image shows the repeated nodes in an SCD Repeated nodes in SCD Structure Chart for XCMMENU Total Objects 48 e A E mMM WWCCONSC Work with Customer Contacts WWCCONS Work with Customer Contacts WWICUSF Work with Customer Sites EDTFIL MBCCLMSG Clear a Message Queue CUSFMAINT Customer Site Maintenance BCLS Clear a Message Queue Structure Chart Diagram with Files The SCD provides a graphic display of the program to progr
8. Options on Screen Components Options on Screen Components X Analysis is equipped with a set of options that provides you with significant details about the application like source codes business rules data content and other similar information The following options are covered under the Screen Components feature Screen Source Code Function Editor Preview Designer Page Designer Data Content Screen Actions Class Diagram Business Rules Component Documenter E Annotate SCREEN SOURCE CODE Select the Screen Source Code option to display the source code for the associated display file A new source browser window will be invoked displaying the source member of the associated display file X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 207 Options on Screen Components Screen Source Code window Be Object List a zzFTo custmnTioip Ba CUSTMNTIFM 52 z Source List of CUSTMNT1FM in XAN 055R C Lines 239 View Level 5 Fie E gt P W BE i a amp Seq No maina Fl cutee AA oaaae el aayan Eh create EE ceca 0013 00 A VLDCHDEREY 2 0014 00 BR eee m 0015 00 A Flat Scereen Maintenance Format i 0016 00 LR eee rrr res sss 0017 00 A 0015 00 A TEXT Enqui 0019 00 A N94 caging PR 0020 00 A KEEP 0021 00 A RINCSGRLOC amp lt m gt fA Screen Components i i EJE wy r of C3 Bs Hie E ie e m Screen Components for Applica
9. Page Designer Option to design page using either Eclipse or Dreamweaver By default Eclipse is chosen Generate WAR EAR When checked this includes a right click option Generate WAR EAR on the X Ref and application area Generate Separate UserLogicClass Check this option to generate separate UserLogicClass Generate Java to use with Other Databases Check this option to generate Java to use with the other databases Suppress try catch Statements in Logic Classes Check this option to suppress try catch statements in Logic Classes Preference changes will take effect for the new X Analysis Instance X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 55 Anos Application Library Application Library WORK WITH APPLICATION LIBRARIES The Application Libraries view is the first X Analysis view It lists all the applications added using the X4WRKAPP command Application Libraries view M 192 168 170 10 Wh ZAN4CD 4 XAN4CDEM Tutorial System e Application Area Diagram att Data Model Diagram Es Overview Structure Chart e All Objects Ts Programs IE Files Source Files Business Rules ers Consolidated Rules Screen Components Eh Change History Regenerated Programs Esl Source Scan J amp Sanitize j A Resize Fal Procedures fs ACCOUNTS Company Accounts AY COBOL Cobol Application fl CONHDR conhdr B CONUPD fs CUSTOMERS Customer App Area fete DATATEST sDataTest Dem
10. Subfile Screen with a dependent grid Update capable screen Display only screen Repeated node Select WWCONHDR from the Object List of the tutorial application Opt for the context menu on it and then select the Screen Flow Diagram option The following image displays the Screen Flow Diagram for WWCONHDR X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 195 Program Logic Documentation Screen Flow Diagram Se Object List Fo WIMCONHDR 52 gim Screen Flow Diagram for WWCONHDR Total Objects 7 a A amp f gt Po ea Hemo SSC E rT Legend The Screen Flow Diagram Legend illustrates the type of object displayed Subfile This refers to the object using a Subfile E Suptile Update Update This refers to the object updating a file Display Display This refers to the object using a Display file Primary File Primary File This refers to the PF used by the object mo one Indeterminate Secondary File This refers to the Secondary File used by the object Indeterminate This refers to the objects where the usage cannot be programmatically determined Repeated Nodes in Screen Flow Diagram The Screen Flow Diagram displays the repeated nodes in their original color Also an arrow of the same color is displayed for the repeated nodes having child nodes The following image displays repeated nodes in Screen Flow Diagram X Anal
11. r 3 Variable Where Used r Hierarchical Structure Chart h Structure Chart Diagram 8 Inverted Structure Chart Frogram Structure Chart Joj 6 E The screenshot below shows the delineation of the main object OEMENU into several blocks of related objects in the order of calling The color codes signify the identity of objects as command based or input based or print based and so on Hierarchical Structure Chart Se Object List A OEMENU 3 m Hierarchical Structure C EMENU Total Objects 14 F x ga Cai O OEMENU Order Entry Menu Referred Files LJ OE002 Order Enquiry Product Enquiry Order Entry Referred Files Referred Files Referred Files L OE004 Customer Enguiry Mainte Referred Files X Analysis User Manual 11 0 2015 Fresche Legacy Inc OEOOG Print Invoices Referred Files LJ CUSLET Customer Letter Stage 1 Page 178 Program Logic Documentation Narration Access the additional details related to an object through the icon Narratives icon Ye Object List E Hierarchical Structure C EMENU Total Objects 14 fl H OEMENU Order Entry Menu Referred Files O_o O oo Order Entry Order Enquiry Product Enquiry Referred Files Referred Files Referred Files O DEOM TD OEO06 Customer Enquiry Mainte Print Invoices Referred Files Referred Files Click on the icon to invoke a pop up window wh
12. x File Edit Navigate Search Project X Analysis Tomcat Run Window Help ri ON g License Manager mf Qr Gar New DB400 Connection Navigation Metrics Dashboard New DB2 Connection a FY 192 168 170 10 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 User Manual 11 0 2015 Fresche Legacy Inc Page 425 X Analysis User Manual 11 0 Appendix K Use SSL feature 2 On clicking the feature the Install CA Certificates dialog will be invoked as shown below Install CA Certificates dialog Install CA Certificates Alias Mame Last Modified Open Import Details 3 Click Open The action will invoke the Open CA Certs Keystore dialog with cacerts file Select it and click Open Open CA Certs Keystore dialog Open CA Certs Keystore skin TE E E cacerts bly Recent Documents Desktop hy Documents bly Computer File name cacet 2015 Fresche Legacy Inc Page 426 Anos Appendix K Use SSL feature 4 Anew dialog is presented prompting you to enter the password for the Keystore The default password is changeit Password for Keystore dialog Install CA Certificates Alias Mame Last Modified 5 Enter the password and click OK The Install CA Certificates dialog will now display the list of al th
13. F Attributes This tells us that the child objects belong to the application area MVCPROCESS Note While using the Restrict To Application Area feature ensure that the originally selected application area is not changed STRUCTURE CHART DIAGRAM Before undertaking an elaborate exercise of documenting program logic it is imperative to understand how control transfers from one program to the next A Structure Chart Diagram or SCD addresses this issue and represents the control through graphical color coded block diagrams Broadly speaking the SCD is a nested tree diagram that shows the X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 170 m Program Logic Documentation I C 4 gt os complete call hierarchy of the programs called These diagrams contain all the relevant i information as per control flow and call structure Moreover you can view data input TA objects and avail a summarized description for each of the objects Important functional aspects like updates prints and displays are color coded to help you instantly focus on these commonly preferred details Structure Chart Diagram e Object List El CLET are Ts ax m Structure Chart for CLET Total Objects 8 a A v e HO gA T Gi C C ET Build Customer Letter OTHCAL LETN1 Letter Prefix Generation WKCUSL Customer Letter PRTFIL CUSLETSQ Update Letter Sequence WKCUS amp E Customer Release Letter WKCUS8P Customer Enqu
14. Generate Data Application Data Migration Display Difference Analysis Audit Options UML Options Create Test Process Definition Create Checkpoint Definition Create Test Result Definition Create Test Process Definition Create Screen Test Test Result Field Exclusion Test Result Spool File Exclusion The Create Test Process Definition is used to define the test process It creates Test Process node under the application area The following screen displays the available Test Process node it comes pre configured with the tutorial application XAN4CDXA X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 108 Application Area Test Process node D XTEST Test Demonstration F Test Process r Sh COCK an For 4 Test Demo F BASRES Base run results F TSTRES1 Unchanged results at level 1 E3 F TSTRESI 2 Results Level 1 with spool exclusions F TSTRES Level 2 some changes Found 4 F TSTRESS Level 3 more changes Found Create Checkpoint Definition This option is used to create checkpoints The checkpoint acts as an image of the test data The tutorial application has a pre defined checkpoint XAN4CDCKP The following screen displays the checkpoint Checkpoint node BE ATEST s Test Demonstration F Test Process sAM4COCEKP Checkpoint For 4 Test Demo Ep BASRES Base run results E3 Ep TSTRES1 Unchanged results at level 1 E3 F TSTRES1 2 Results Level 1 with spool exclu
15. PREFIX sLETSQ CLETN PGM PARM amp CUSNO PREFIX amp LLETSQ CLETN DCL VAR sCUSNO TYPE DEC LEN 5 0 CLETN CALL LETN1 sCUSNO amp PREFIX sLLETS0Q CNTACS A COSNO oP 0 __ ExT Cis Moy ii X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 153 Anos Quick Reference to an Object Level 2 Level 2 adds indirect references Variable Where Used Level 2 View SA Variable Where Used i a A Mel O variable Where Used for ALL CLISNC mesma nME Develubevels seq No F CECUSTSD i ZCUSNO R CECUSTSD 0383 00 ZCUSNO R 0 19 22REFFLD CUSNO XANACDEM CUSTS CLET 0004 00 VAR CUSNO TYPE DEC LEN 5 0 CLET 0005 00 VARI amp CUSNC TYPE CHAR LENIS CLET odda 00 CHGVAR amp CUSNC PE CLET 000s O00 CHGVAR amp CUSNO amp CUSNC CLET 0010 00 CALL LETN1 amp CUSNO amp PREFIX amp LETAQ CLET 0011 00 CHGVAR amp CUSNC amp FREFIX CLET 0014 00 CALL WECUSL eCUSWC FREFIXN LETNE 4 iil Level 3 Level 3 adds further indirection references to the field in level 2 referencing the first field Variable Where Used Level 3 View Sa Variable Where Used 52 amp fl a a Aoa variable Where Used for ALL CUSNO MesaaSa e a CECUSTSD AFIELD H CBCUATSD SFIELD H CECUSTSD 5 Z2CUSNO B CECUSTSD 2CUSNO 0 CLET l PAR amp FE CLET i WAR sPE TYPE CHAR LEN 500 CLET WAR sCUSMO TYPE DEC LENIS 0 CLET WaR sCUSHC TYPE CHAR LENIS VaR apretix TYPE CHAR L
16. Press ENTER to submit a batch job to process the XAXREF command Once the batch job is over you can check the different log files which are spool files generated as a result of this batch job Different sets of spool files are generated based on RPG or 2E environment For RPG environment the following spool files are generated Spool File Message Purpose XREPORT Audit Log for lt X Ref library gt Init Job Initialisation XREPORT Audit Log for lt X Ref library gt D B Model Build If Build Data Model is YES XREPORT Audit Log for lt X Ref library gt Business Rule If Generate Business Rules is YES Extraction For 2E environment the following spool files are generated Spool File Message Purpose XREPORT Audit Report for lt X Ref library gt Load on Object Member List XREPORT Audit Log for lt X Ref library gt Init Job Initialisation XBREPORT SYNON Relationships where foreign keys are missing Foreign key relationships XREPORT Audit Log for lt X Ref library gt D B Model Build If Build Data Model is YES XREPORT Audit Log for lt xX Ref library gt Re engineering Re engineering executed Processing XREPORT Audit Log for lt X Ref library gt Business Rule If Generate Business Rules is YES Extraction To check the generated spool file use the following command WRKJOB JOB JOB NUMBER USER XAXREF X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 420 Appendix H Refresh X Analysis This should invoke the fo
17. Provide the necessary criterions in the dialog box and click OK This will add the criterions under the selected Spool File in the Spool File Exclusion window Follow the same sequence of steps to add more Spool Files as per requirement For more details refer to the X DataTest User Manual REENGINEER PROGRAMS Refer to the Reengineer Programs section GENERATE PROGRAMS Refer to the Generate Programs section AUDIT OPTIONS For detailed description refer to the Audit Options section given below UML OPTIONS The UML Options menu has the following two options Re generate UML View App Area Class Diagram Re generate UML The Re generate UML option is specific to application areas When a user selects this option then both the UML diagrams Activity and Class diagrams are re generated for the selected application area When the process is over the following dialog is displayed X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 114 Application Area X Information dialog X Analysis i UML Diagrams have been successfully generated View App Area Class Diagram The View App Area Class Diagram option is specific to application areas This is a special class diagram which displays all the objects available in the application area The following dialog is displayed when either the class diagram does not exist or the UML diagrams were not generated for the application area Information dialo
18. Rule Status Comment BR added programmatically for rule 4 Rule Status History Previous 5t Currentst User Date Time A C DVERMA 2014 02 06 15 14 Change Rule Status Complete gA Done O Awaiting feature F Assigned G Not applicable L Covered by Metadata Not Verified Ml _ gt 4 The Business Rules view displays new columns for Error Message Business Rule Annotation Rule Status and Rule Status Comment The columns are shown in the image underneath Business Rules window showing the new columns 7 HA Business Rules E3 mT ht Te Aa M R O Business Rules For CUSFMAINT Mumber of Lines 10 Message ID Rule Status Rule Status Camment Annotation Mo Status CEMOO12 You must enter the customer name No Status CEMOO14 The telephone no is invalid Mo Status CEMOO1S The fax na is invalid Mo Status Mo Status QEMOO18 The distributor is invalid Mo Status CEMOO19 The status is invalid Mo Status CEMOZO You must enter a contact name Mo Status CEMOO21 The title is invalid Mo Status Mo Status The Configure Columns feature in the Business Rules view allows the user to manage the columns displayed The user can reduce the width or hide any column by setting width to 0 X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 429 Anda X Analysis User Manual 11 0 Appendix L Setting Status for Business Rules Business Rules window Configure C
19. STKMAS CO CONDET gt Validity Checker for Contract Detail WECUSL HICUSTS lt TSTKBAL gt Work with Customer Groups Contract Header Store Waster Stock Balances Customers CUSFSEL C CUSTMNTI Customer Site Transaction History Transaction type Customer Detail Selection descnption Maintenance _ M CUSGRSEL Customer group Selection DISTSSEL Distnibutor Selection Salespersons STKMASEL Product baster Selection Order status desenption TRNTPSEL Transaction type Selection wan Last Skeleton Letter ORDSTSEL Order status Selection C WWCONHDR Work with Orders WWTRNHST Work with transaction history Legend The nature of the programs and the files can be established through the AFD Legend bar The image is shown below X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 131 Application Area Diagramming AFD with Legend H Area Flow Diagram 22 H Area Flow Diagram for M CPROCESS Total Objects 30 i WWCUSTS Customer Site ion Hi Transact Called Prograrn ao ETTR F Selected Object Work with Store w Input Customers Output LLI Update CUSFSEL a a E TRN Selection descr Calling Program i B lt Selected Object This depicts the object on which you have made the selection The highlighted objects are those referred to b
20. USERNM TELNO fFasNO EMAIL L_TDAT 2APDATE PERSON PSTATIS key Type File WorkField WorkField CATaLS WorkField WorkField WorkField WorkField WorkField WorkField WorkField SLMEN WiorkField Attribute Output Output Both Both Both Both Both Both Both Both Both Anth Type Length A A 5 A A A A A L L A A 10 11 z 2 a4 1 15 a0 10 If more than one Display or Printer File is associated with a program then the Screen Report Design will display Screen Design list icon for selecting the DSPF PRTF to display Select Layout for DSPF PRTF Nexk Screen Format X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 194 Program Logic Documentation Screen Report Layout view F e Object List H Device Design 23 0 Report Layout for OEOO6RT d P a Alr If you select the Screen Report Design option while documenting then the current Screen Design will be printed with the Field Details An option for detailed documentation of Screen Design has been provided in the System Documenter Wizard Select the Detailed option to also print the DCD ACD and header information for each screen SCREEN FLOW DIAGRAM The Screen Flow Diagram is an extended form of Activity Diagram for RSA RSM It displays the screens flow for a program This diagram is available on RPGLE RPG There are four types of screens
21. iness Rules for CUSFMAINT in XAN4CDEM QRPGLESRG View Levei 1 r Ere Priv ma amp BBOa os amp Business Rules MAINLINE fiHainline Code R000001 Cus No not found on 5ites Retrieve record Read data rous using cugno IF Not Found custl3 inlr on RETURN END f f Set screen values Until Exit Cancel J Business Rules gt 83 Screen Components TETESaA HP RU G Business Rules for CUSFMAINT Number of Lines 10 Source Member Rule Number Field File Rule CUSFMAINT 00001 CUSNO CUSF Cus No not found on Sites CUSFMAINT 00002 CNAME CUSF Company blank CUSFMAINT TELWO CUSF Phone lt gt blank CUSFMAINT FAXNOQ CUSF Fax No lt gt blank CUSFMAINT DSOCDE CUSF Distributor lt gt blank CUSFMAINT DSDCDE CUSF Exact match not found for Distributor on Distributors CUSFMAINT STATUS CUSF Sts lt gt blank CUSFMAINT USERN CUSF Contact blank CUSFMAINT SALUT CUSF Salutation lt gt blank and lt gt Mr and lt gt Mrs and CUSFMAINT CUSNO CUSF Cus No 0 The Business Rules view also displays columns for Error Message Business Rule Annotation Rule Status and Rule Status Comment The columns can be seen in the image underneath X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 227 H ma og H pr E E k TESS Message ID QEMOO012 You must enter the customer na il Business Rules Analysis Business Rules window showing the new columns
22. x Sanitize Resize sa Procedures All Procedures es Exportable Functions External Procedures SOL Procedures cis ACCOUNTS Company Accounts These options are discussed as under 2015 Fresche Legacy Inc Page 93 Application Library All Procedures The first option under the Procedures node is All Procedures Select All Procedures to display a list of members The members in this list have procedures defined in their source code All Procedures option Member List All Procedures List 23 E All Procedures List Total Objects 120 Procedure Name Source Member Source File Source Library nae WiC ONDETR ORPGLESRC OTEMP ADDREC wo ORIFDRR ORPGLESRC TEMP ADORE wW LUS TSR ORPGLESRC TEMP ADDREC WN TRAST R ORPGLESRE TEMP ADDREC 0 WW UST SR QRPGLESRC QTEMP ADDREC 0 WA TRAAS TR QRPGLESRC QTEMP ADDREC 0 WONDER QRPGLESRC QTEMP ADDREC 0 WA ONDE TR QRPGLESRC QTEMP CHGREC WA ORIDE TR QRPGLESRC QTEMP Exportable Functions Select the Exportable Functions option to display the list of names of exported procedures and variables in a module which can be referred to by other modules Exportable Functions List Member List All Procedures List FA Exportable Functions List 3 H am i a Exportable Functions Module Mame Attribute Library CUSFSELR CUSFSELR RPtsLE SAMA DAA CUSORSELR CUSORSELR RFPaLE SAMA DAA CUSORSELR CUSORSELR RFPaLE SAMADA A Exportable Functions List Total Objects 22 CUSTSS5ELR DISTS
23. A Source Scan lO Sanitize HA x Resize fal Procedures T ACCOUNTS Company Accounts Tn Application Area Diagram at Data Model Diagram ate Area Flow Diagram Overview Structure Chart e all Objects i Programs US Files Business Rules oe Consolidated Rules Screen Components Regenerated Programs i Source Scan EF DOL Modernization Run DDL Conversion Analysis Problem Analysis Ta DDL conversion Setup File Analysis wis ACHESDO1 4 BCHEADOL i TA CUSFMAINT Mew Sub App 4rea AS TESTAPP XTCUST H E 2ZAPPARA H E E E l E E 2015 Fresche Legacy Inc Page 117 Application Area Run DDL Conversion Analysis Problem Analysis DDL conversion Setup File Analysis Note It is vital that any PFs or LFs that are converted have the same format level identifiers as the original in order to prevent repetitive level checks Run DDL Conversion Analysis Select this option to invoke the following dialog Generate Problem Analysis window Generate Problem Anal Ed Click OK to submit a batch job The following window displays the progress of the batch job Batch Job Progress view G Progress in sie E XPRBANLDDL SKHAN 668561 At any point while the batch job is running click on the hyperlink JOBQ to view the Job Log The Job Log view is shown below X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 118 thJs0 LEGACY Application Area Window disp
24. Database design alerts To view the generated report select the report and right click on it which invokes the context menu Select the View Report option as displayed below Updated Specialized Analysis window J Specialized Analysis E Analysis Metrics for XAN4CDXA oi r Category Report Runt Date Type Status RPG Metrics Reports E COMPLEXP General cross language complexity by program 2013 06 06 Metrics data Complete COMPLESS General cross language complexity by SUBROUTINE 1 fes data Complete DAT ACP Program data complexity LOGICF Program logic complexity LOGICS Program logic complexity by subroutine E Source Object Reports HARDCODE Programs with hardcoded libraries MISSING Source or objects missing SRCOBIOT Source change date after object created E Database Reports DATAERR Database file and member errors and alerts DSGNALAT Database design alerts The following similar report will be displayed The user can export this report to MS Excel X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 257 Anda Audit Options COMPLEX Report Specialized Analysis f COMPLEXE 3 O COMPLEXP General cross language complexity by program Run 1 Total Objects 72 A Object Name Object Attribute Sum of Cyclomatic Complexity Sum of Halstead Yol Greatest Maintainability Index Source statements CBS0SR RPG 17 1072 l t 139 CBS0SF RPG 30 93 Fozil R
25. Documents and Settings alakh Wy Documents X Analysis Application Datai 2 Bf C Documents and Settings 4 4 X T 1 41 i Fie Edit View Favorites Tools Help sp Favorites C Documents and Setting 5 E gat Page Safety Tools lt xml version 1 0 encoding UTF 8 gt lt files gt lt file gt definition gt lt filename gt ASIMPLTEST filename gt lt description gt ASIMPLTEST lt description gt lt fletype gt Physical lt filetype gt lt library gt XAN4CDEM library gt lt recordformatname gt ASIMPLTEST lt recordformatname gt lt modulelibrary gt Same library as file F modulelibrary gt lt highspeedtable gt N lt highspeedtable gt lt autocommit N lt autocommit gt ma Eare a AD fs beer a e 4 My Computer Convert DDS to SQL The Convert DDS to SQL option calls the XDDSTOSQL IBM i command and submits the job in batch For details refer to the Convert DDS to SQL section Generate Database Service Programs The Generate Database Service Programs option calls the XWRTDBSP IBM i command and submits the job in batch For details refer to the Generate Database Service Programs section X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 69 Application Library DOCUMENT ENTIRE APPLICATION Refer to the Document Manager section DOCUMENT CHANGED OBJECTS The Document
26. Eg Click OK to invoke the batch job command X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 275 UML Diagramming UML Diagramming X Analysis provides various options for UML diagramming on RPG RPT SQLRPG types of programs The following options are available in X Analysis for UML diagramming Re generate UML Activity Diagram Class Diagram The UML Diagramming options are available on the context menu under the UML Options submenu on the Object Member List THE PRE REQUISITES 1 Asa pre requisite users need to install the XAUML msi KA UML Support 2 Use the Business Rules functionality to re engineer the programs The Activity Diagrams will then be generated on the re engineered program s Note The UML functionality works only on the Eclipse 3 4 provided with the Runtime Environment RE GENERATE UML When the Re generate UML option is opted from the UML Options submenu available on the context menu over the Object Member List then it will generate the Activity Diagram and the Class Diagram for that Object ACTIVITY DIAGRAM The Activity Diagram illustrates the dynamic nature of a system by modelling the flow of control from activity to activity An activity represents an operation on some class in the system that results in a change in the state of the system Typically Activity Diagrams are used to model workflow or business processes and internal operation Let us see how an Activity D
27. F1l Help F3 Exit F6 Add F10 Cmd Line F12 Cancel F24 More Keys This provides access to the following Variable Program Calls from Files The user can add the relevant file containing the info about the program names to be called The files listed in this screen are called Generic Files These files are read by the program s to determine which programs to call based on certain keys Work with Generic Files allows users maintain the details of the files which are read by a program in order to determine which programs to call Press F6 to add a Generic File X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 21 Configure Cross Reference Library The following data should be maintained File name The name of the database file which is used to retrieve the name of the programs to be called the generic file The name entered can be either a physical or a logical file name but it must be a keyed file Key type This field indicates the type of data used to retrieve the called program name Choose from ALL All records in the file are to be scanned to find the possible programs that can be called by the program CONSTANT All records keyed by any value which is moved into the key field name see below within the calling program refer to programs which can be called by the program Key field name This field only applies when the key type is specified as CONSTANT It identifies the name by which t
28. Generated Java Project be Object List TSAJEIR egetpomdta zmessages zmsgqidxiz eqetwrktlds ti ertncode hlanks select when in03 on Or ferror lt gt on select when in03 on other znxtpgren 00203 znxtpom TSALEFR zputwektlds ij eputpomdta smessagqes zmsqidx zstatevar recur endal jiii private void zgetpamdta MSGOBJ zmessages mmsgidx 0 clearOb zmessaqges zerror false evalGorr s zstatevarj for zidx 1 zidx lt 99 zidxtt QIND zidx getBoolVal substr s qeto1 retParms zmsgidx zmsgqidx return private void zputpgmdta MSGOBJ zmessages for zidx 1 zgidx lt 99 zidxtt s setOin replaceStr s get in zidx eval orr zstatevar a retParms zmsgidx zmsgidx return X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 404 Appendix G Troubleshooting Appendix G Troubleshooting Ths LEGACY X ANALYSIS PERSPECTIVE NOT VISIBLE WORKING AFTER UPGRADING X ANALYSIS CLIENT Close the X Analysis Perspective and exit from Eclipse WDSc RDi RBD Use the Clean start Eclipse option for X Analysis invocation In case of Windows Vista and above a user may need to select the Run as administrator option Opt for the context menu on the Clean start Eclipse X Analysis for Eclipse shortcut from the X Analysis program group and then select the Run as administrator option as shown in the scr
29. Note that Pgms Level from 2 to 9 can be specified only when you select All program references or All Batch Programs from the Incl Ref d Pgms drop down The default value for Pgms Level is ALL which brings the entire depth of the called programs Click Add or Update to complete the process X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 103 Application Area Affinity Identification The Affinity Identification option displays the linkage of a program to another program and thereby helps to identify the objects that do not exist in an application area but have high or low affinity to one or multiple programs under that application area mainly due to data linkages or program dependencies The affinity calculation is done at the server using the XAFFINIDX command The Affinity Identification option is shown below Affinity Identification option Application Area Options Update Description ee Bie ee Remove Application Area Application Area Rules es ee Affinity Identification Annotate Affinity Comparison Document Application Area New Application Area Data Management Options Add to Application Area Test Management Options Omit from Application Area Reengineer Programs Generate Programs Generate Web Services Generate Data Application Data Migration Display Difference Analysis Audit Options UML Options Select the option to generate a matrix of programs in the application area against
30. Page 228 JHJ LEGACY Business Rules Analysis Business Rules window Filter buttons File CUSFMAINT 00001 CUSNO CUSF CUSFMAINT OQ CNAME CUSF CUSFMAINT 1003 TELNO 8 CUSF Rule Cus No not found on Sites Company blank Phone lt gt blank X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 229 Inter Repository Options Inter Repository Options The Inter Repository Options provides different sub options for comparing database files across any two cross reference libraries and managing linked repositories The Difference Analysis option analyzes the application database files and reports the difference with the files The PTF Analysis option analyzes the base and the customized applications for PTF analysis The Manage Linked Repositories option allows analysis of one or more IBM i and or non IBM i Windows cross reference library to an existing cross reference library The Inter Repository Options is available on the context menu of the cross reference library The following group of options is available under it Difference Analysis Generate Difference Analysis Display Difference Analysis PTF Analysis Customized Libraries Generate PTF Analysis PTF Analysis Manage Linked Repositories Note Fresche Legacy supplies the following two additional data libraries for demonstrating Difference Analysis and PTF Analysis XAN4CDEMCU This library cont
31. Page 364 Appendix B Enabling the SEU Interface i Session A 24 x 80 Fle Edt View Communication Fcnca Window Help D hb an E Send Fle To Host ee a Receive Fie From Host IBM i Main Menu Launch Eu Display Popup Keypad Keyboard Macro Script Function Stop Recording Macro Cancel Recording Matra Pause Recording Macro Set initial menu C COPYRIGHT IBM CORP 1980 2009 MW R 20 007 Stop hevetrohe recording and save X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 365 ANUS Appendix C Component Documenter Appendix C Component Documenter The Component Documenter option documents the extracted Screen Components Re engineered Functions The option is available on the toolbar of Screen Components Data Content Diagram and Screen Action Diagram The System document is generated for the selected Screen Component WORK WITH COMPONENT DOCUMENTER Expand the X Analysis application library cross reference library and then double click the Screen Components node This invokes the Screen Components list Select the screen component for which component documentation is to be done and then click the Component Documenter icon as shown below Component Documenter option on the Screen Components list EA Business Rules 3 Screen Components lt G ob E B i baa Arn o Screen Components for Application Library YAN4CDNA Ali l Titl component Do
32. 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 CO Exit Skip document creation Click Finish to generate the document Document Application Area Individual System Documents Select the Generate Individual System Documents option as displayed below X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 342 Document Manager Document Application Area Individual System Documents 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 For each object marked For documentation System Documentation type O Generate Single System Document Generate Individual System Documents Document Details Folder lt Select Browse to set location gt lt Select Browse to set location Click Browse to select the desired location to save the document and enter a new filename if required X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 343 Desktop Make New Folder Documen
33. VARIABLE WHERE USED The Variable Where Used option lists all source lines from the application where the field variable of a file program is used referenced in any of the source members and its associated device files and copybooks A wide variety of options can be specified including Files Array Definitions Data Structures Sub Fields Data Structures Indicators Key Lists Data Fields File Formats Subroutines Program Variable Array Elements Parameter Lists Parameters Key Fields Message Ids EXCPT Names etc The Variable Where Used submenu provides the following options All References All references of this variable Update References References where this variable is being updated File References All references where the object using this variable is a file X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 151 Quick Reference to an Object Definitions Only Lists references where this variable was defined Summary References This option on a variable or File Field lists all Objects that use the selected variable or File Field and also the usages for the same The result is displayed in Object Where Used Rule Variable References Lists all Business Rules based on the selected Object from across the entire application Select the Variable Where Used option for the CUSNO field using the JumpTo dialog Variable Where Used view for CUSNO SA Variable Where Used 23 a A He H M O Variab
34. X Analysis Offline Prerequisites ssccccsseccssssscccssscccsseccccnesescussecsenssenensseseuscenens 358 Stant IV SIS ONNE sciensia aie ai e Sen AE erai 359 Appendix B Enabling the SEU Interface ccscscsscscsccccecsceccccecsceccscecsceceesess 361 Create User Profile XAN4SEU wssssccrsavsessaasdavevcndecavaueddeacsvarctinscasatsvancuersacceedesacmerseeneraeds 361 Creating macro of XAN4SEU scicidsnsoscaccsadandsaracessanasdnadennpunte desndenavaraddsansasdoanerasenecaeendee 362 Appendix C Component DOCUMENTHEL csccccecscsccccccscsccccccscsceccccscscescccecsceces 366 Work with Component DOCUMENTED cccccessececesececeesceeeeseceeeeececeeceseeaeeeseaeeeeees 366 Appendix D XKREDOAPP Command ccscscsccccccscsccccccscnccccccscscescccscsceccecscsceces 375 OU ie MNO e AE I E E I EEA E E A E A 375 Options available on the XREDOAPP command interface c cceeccsseseeeeeeeenseeeees 376 A 2E AD ica GCOS E E E E 388 Appendix E Overriding Data Tables sessesesessesessecesssoessecesosoecssoecesoesesoeoesseeee 390 Synon Function Key Option Defaults ccccccccccccccceeeeeseeeeeeseseeseeeeeeeeeesseeeeeeaeeas 390 Synon Function Key Option Extra Defaults ccccccccccccccssseeseeeeesseseeeeeeeeceseeseees 391 Appendix F X2E Specific Features sessssesessecessecescecessscoessecesesoecesoecesoecsesoeseeoeeee 392 Reengineering Of Non 2E Programs uscisse ina
35. eee E NAC DEM Name for more values Model method 2 2 2 2 2 2 gt PGMLOGIC xPGMLOGIC NAMES CA2E Press ENTER to run the modelling command This principal command runs in batch and completes the modelling process Feature Brief Description X Analysis Library The X Analysis cross reference library name X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 19 Anda Configure Cross Reference Library Feature Brief Description Object Libraries Specify the data library names Model Method PGMLOGIC Derive foreign keys from RPG LE program logic Relationships are only considered valid when foreign keys match all the components of the owning file s primary identifier CA2E The entire data model has been generated by Synon Use only the Synon data model database to derive the data model NAMES Only derive foreign keys for owning relationships taking into account the option specified in the Matching Method parameter BOTH Derive foreign keys taking into account the Program Logic and the NAMES OR Program Logic and CAZ2E in case of CA2E application REFRESH THE CROSS REFERENCE LIBRARY Attempt the Refresh option only when you have modified Objects Members X Analysis provides a refresh command to register changes in Objects Members of the application library to the cross reference library The XREFRESH command refreshes the X Analysis cross reference database for the spe
36. no is invalid SINIT Sales Person Exact match not found for Sales Person on Contacts CNTCMAINT 7 198 OEMO023 Invalid salesman Sales Person lt gt blank CNTCMAINT 6 196 STATUS Sts Sts lt gt blank CNTCMAINT 8 209 OEMO019 The status is invalid w Hi Select any business rule listed under a file and expand the business rules node to check the actual business rules code used as shown below Expand Business Rules node to see the actual code E Consolidated Rules x ml E File Field Rule Rule Member CNTACS Contacts CNTACS Contacts CUSNO Cus No CUSNO Cus No Cus No 0 Cus No 0 WWCCONS 2 247 Cus No found on Contacts Cus No found on Contacts WWCCONS 1 160 Cus No not found on Contacts Cus No not found on Contacts CNTCMAINT 1 44 ff Retrieve record f f Retrieve record READ rentac cntacskey READ rentac cntacskey IF not Sfound cntacs IF not Sfound cntacs inlr EQ on inlr EQ on RETURN RETURN END END SCREEN COMPONENTS The reengineering process involves several steps that generate various reengineered components for each program There are eight types of reengineered components details of which are accessible through the Screen Components option Double click on the Screen Components node to invoke the Work with Screen Components dialog as shown below X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 85 HISH Application Library Screen Components dialog Work with Screen Co
37. the Data Content Diagram and the Screen Action Diagram for each screen apart from the Screens and the Fields List for all the screen formats Click Next which displays the following screen Individual System Documents Specify Sequencing oystem Documentation Specify sequence What sequence would you like to have for the System Document Data Flow Diagram Normal with Annotation Structure Chart Normal with Annotation Source Source Flow Chart Program Structure Chart Screen Flow Diagram Normal Move Up Move Down Cancel From the above screen the user can re sequence the options selected for System Documentation After re sequencing click Next to reach the final step of documentation wizard Here the user can see all the selections that he has made and can also define X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 325 Document Manager various options related to document formatting like Paper Size Contention Resolution etc Individual System Documents Finish oystem Documentation Finish Define the Page Size and Contention Resolution Option Selected Sequence Level Settings Data Flow Diagram Normal with Annotation Structure Chart Level 5 Structure Chart Normal with Annotation Source Level 1 Source Source Flow Chart Level 1 Source Flow Chart Screen Flow Diagram Level 1 Program Structure Chart Screen Flow Diagram Normal Paper S
38. 00 P lt im gt INTERNAL ROUTINES OBJECTS The X Analysis Initialise process uses the Model information to identify internal routines This information is maintained in the X2E repository in the XS2EANXRF file Opt for INTRTN on the Work with Objects dialog This displays the following screen X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 399 Joa d e Object List Object List of ALLUSR ALL ALL YALL YALL YALL Total Objects 796 A 8 A Library Mame 41002465 41002495 10024993 41002500 1002503 41002504 1002505 1002526 liS A1002526 1002569 A025 2 1002573 1002576 1002579 lizay 41002605 ALO02609 41002610 1002915 10029319 ALO02920 ALOO2925 lilI Type INTRTM INTRTM INTRTM INTRTM INTRTM TINTRTM INTRTM INTRTM TINTRTM TINTRTM INTRTM INTRTM INTRTM INTRTM INTRTM INTRTM INTRITN INTRITN INTRTN INTRITN INTRITN INTRTN INTRITN INTRTN LNT Attribute Appendix F X2E Specific Features Object List displaying INTRTN objects ZH s Description Notepad Create Configuration Tab Change Configuration Tab Delete Configuration Tab Create Distributed File Change Distributed File Delete Distributed File Determine Recs to Delete Dlt Table amp view Chg Recs Ensure ROG Exists on Tab Retrieve Table For view MULL FUR TIOr Create Config Recs Crk Table amp view Chg Recs Dlt Table amp View Y2O0STFP Convert DT
39. 2 FTUe Preview Designer F Page Designer CUSTMNT1_1 FFF TO ne Data Content CUSTMAT1 1010 CUSTMNT1_ 2 gr Class Diagram Business Rules FTO1 eFTUe CUSTMAT 2010 CUSTMAT 2020 i CUSTMNTIR Component Documenter R I R R I R CUSTMNTi_ 1020 R eF T BE Screen Actions I R R I R CUSTMNTIROLIC HT f2F 101 3 Annotate Right click on a Screen Component for the context menu and select the Preview Designer option to invoke the following window X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 211 Options on Screen Components Preview Designer window bs Object List 28 usmon 33 oy ZFT CUSTMNT101D Screen Design bet e o EL Customer Detail Maintenance Jaaa Baa agaa Customers Customer Detail Maintenance Databorough Ltd E Customer Wo oOo Customer Name DO E Statement Account fe f Related Account Distributor gt J Credit Limit O O TEMS o aaa OSHDSC a er Cr Guarantee e oN BCs ee ans LaNg oaa I Date Loaded e Chg Date e Last Sale Oo e PAGE DESIGNER X Analysis allows you the access to two versions of page design via the Page Designer option Set the option on the X Redo Advanced Preferences window refer to the image below The default option to edit the selected page is Eclipse X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 212 JHJ
40. 6 74 241 270 271 272 entity relationship diagram 19 298 Excluded Rules 430 Export Options 67 70 107 132 149 246 253 298 299 303 305 311 316 Exportable Rules 430 File Analysis 118 127 File Connection 201 File Metrics 74 241 253 254 Filter by Rule Status 430 431 Flowchart 145 300 301 355 Function Attributes 80 Function Editor 207 208 209 221 Function Logic 277 278 279 280 Function Type 80 172 177 185 189 192 391 Generate Database Service Programs 67 69 311 Generate Programs 54 72 114 402 generic file 17 23 24 generic program 23 Google Drive 42 50 436 444 445 446 448 Graphical Editor Framework 411 Hierarchical Structure Chart 11 144 177 178 180 Hierarchy Exclusions 16 17 172 190 IBM i 9 12 13 19 26 27 36 44 69 97 146 230 237 239 305 311 358 407 Interactive Structure Chart 50 Inter Repository Options 73 230 232 234 235 236 237 Inverted Structure Chart 184 185 Java 55 72 73 94 358 392 393 402 403 404 410 Legend 131 132 152 153 157 168 171 182 183 184 186 188 196 199 202 355 LFs Access Paths 156 198 License Manager 28 29 31 34 35 36 Manage Linked Repositories 73 230 237 238 239 Member List 74 82 83 156 276 420 metadata 87 206 282 283 285 298 302 Metrics History 247 248 249 Migrated Logic 397 398 Narratives 175 176 179 180 190 X Analysis User Man
41. Business Rules CUSTMMT1_1 CUSTMNITL 1010 CUSTMNITL_1020 CUSTMMT1L_ CUSTMNTL 2010 Component Documenter kS mm 22F TOL B Annotate Select the Function Editor option to invoke the following window Function Editor window e Object List a e zzETOL ES gt 77FT01 Screen Editor CUSTMNT101D H i A E 10 ig E E A File Field Action Label Line Column Attribute Type Parameters E Files CUSTS Purchases DISTS Distributors SLMEN Salespersons CUSGRP Customer Groups E Fields 2PM Databorough Ltd ZZDATE awRCCD Customer Wo Mult TA Customer Wane AWBZ CO Statement Account oy BSD Related Account SWHITS Tax Reg i as SWWEONB Bank AWOUNO Bank Alc Select a particular field and right click over it for the context menu The context menu will display the Properties option as shown below X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 209 sig ZEFTOL E3 FTO1 Screen Editor CUSTMNT101D File Field Action E Files CUSTS LISTS SLMEN CUSGRP E Fields EPM f DATE A WBC a Gq Reassign Field XWBSCD Delete AIT a EONE avy JUNO e Object List Properties 7 Options on Screen Components Properties option E PERBERES TEGEMA a 7 Label Line Column Attribute Type Parameters A Purchases Distributors Salespersons Customer Groups Databorough Ltd a Z Output au Qutout Customer Mo ssaa 5 22 Both Customer Name 6 22 Bot
42. Business Rules Overlay mode as default _ Use Source buffering Allow editing in Consolidated Rules _ Show only Objects in Metrics Defaults Cancel START X ANALYSIS OFFLINE Select the New DB2 Connection option and provide the required details in the dialog box as shown below X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 359 Appendix A X Analysis Offline X Analysis Sign on dialog Host Name 192 168 170 10 Username MARK LI Cancel Then click Login to start offline session of X Analysis On successful logon the tutorial application XAN4CDXA can be seen located under the navigation view displayed below X Analysis User Manual 11 0 X Analysis window displaying Offline Application Fie Edit Navigate Search Project Analysis Run Window Help OBER ook M a Metrics Dashboard fH 192 168 170 10 o 127 0 0 1 Sh i Application Area Diagram at Data Model Diagram Overview Structure Chart be All Objects E Programs a Files All Procedures Exportable Functions Source Files Business Rules ee Consolidated Rules Screen Components B Change History Regenerated Programs lah Web Services DA amp Cloak a Resize BE 4 Accounting Main BE DBARK DBARK test at MVCPROCESS Re Engineering BE DE KXXXXXX HH ORDERS Order entry System HH FLAN Planning System BE PRINT Printed documentation fas SALES Sales System E B STOCK
43. CONO001 00002 AWORDN CONHDR Contract not found on Contract_Header CONO001 00003 AWBCCD CONHDR Debtor not found on Purchases CONO001 AWORDN CONHDR Contract found on Contract_Header CONOO1 00005 XWABCD CONDET Product lt gt 0 CONO001 00006 AWABCD CONDET Product found on Contract_Detail CONO01 00007 XWABCD CONDET Product lt gt 0 CONO01 AWABCD CONDET Product not found on Product_Master CONO01 AXWABCD CONDET Product not found on Stock Balances CONO01 00010 AWAACS CONDET Store not found on Store_Master CONO01 00011 AWABCD CONDET Product not found on Transaction_History Business Rules Select the Business Rules option to access the business rules for the selected source member The Business Rules for CONO01 is displayed below X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 138 thJst LEGACY de Programs i Business Rules for CON001 in XAN4ACDEM QRPGSRC View Level 1 Quick Reference to an Object Business Rules Ee CONO01 3 E Eire BRO a os amp Business Rules Receive Parameters J Until F3 Initialise screen Get Contract No amp Customer No f So long as Exit Not requested 1 ROOO01 Contract gt 300000 f f Validate Contract no IF XWORDN gt 300000 ERROR OEM0010 END i Retrieve Contract Details f Set up blank subfile for Product lines HA Business Rules 52 Business Rules for CONO001 Number of Lines 11 htTtrTaea R a Source Member Rule Number Field Fi
44. CUSLET i PRTFIL Program Customer Letter A principal function of this program is to produce a report on QLETSRC The following programs are called to carry out subsidiary functions CUSLETSQO WKCUSSE WKCUSSEF WKCUSSEF WKCUS8P Parameters are passed to the program when it is called The program is called by CLET CUSLET 1 Rollup Group H0O The Rollup group describes the cumulative component function of the program and its dependents The following types of Rollup groups are available UPD At least one program updates a file PRT Program and dependent programs create a printed report DSP Program and dependent programs use input files and display files X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 176 THUS Program Logic Documentation OTH No cumulative component function can be determined Function Type Function Type describes the function of the object and is based on COOL 2E definitions APPLICATION AREA SCD When you select the Structure Chart Diagram option on an application area the application area node should be selected then objects not belonging to the selected application area are highlighted in blue The names of the application areas are displayed on the tool tip of those objects which do not belong to the selected application area While using the Restrict To Application Area feature ensure that the originally selected application area
45. Changed Objects option documents those objects which have changed since the last initialization was run on the cross reference library This option is available on the context menu of the application library For more details refer to the Document Manager section REENGINEER PROGRAMS The Reengineer Programs option submits a batch job which performs the two tasks Reengineering and Service Modules generation The batch command XREGENS performs the reengineering of the client programs in such a way that the old code in RPG RPGLE free fixed format gets converted into free format procedure based module It does not change the structure of the program The subroutines are converted into procedures The Reengineer Programs option is available on the context menu of application library and application areas This option is also available on individual PGM type object under the Modernization Options submenu The following dialog is displayed when you select this option Reengineer Programs dialog Ree ngineer Programs Eg Click OK to submit a batch job A Job Log dialog is displayed which interactively and independently displays the batch job status The following window displays the progress of the batch job X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 70 Application Library Batch Job Progress view rh Thumbnail View fer Business Rules Progress i m ie 2 Fy AREENGINER SKHAN 660452 At any point w
46. Check DT Convert TM Check TH Create Date List Header Change Date List Header Delete Date List Header Create Date List Detail Change Date List Detail BUSINESS PROCESS LOGIC METRICS Select Audit Options on the context menu over the cross reference library and choose the Business Process Logic Metrics option from it as is shown below X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 400 Appendix F X2E Specific Features Business Process Logic Metrics option Z m Fer e New Application Area Add Alternate Data Library List Reset Library List Application Library List Affinity Comparison Refresh Options Derwe Business Rules Import Options Export Options Document Entire Application Document Changed Objects Reengineer Programs Generate Programs Generate Web Services Generate Data Application Data Migration Inter Repository Options Metrics Analysis l BE STAN stanley o Screen Metrics p BG TESTDBI File Metrics D gt fi TRSBP1 my first bit Business Process Logic Metrics p Recovery Error Report Window displaying Business Process Logic Metrics fe Programs EQ TSAJEIR Summary Metrics 53 a_i Total Lines Included Lines Excld FixMe Lines Unmarked Lines Total Stmts Excluded Stmts 41002495 100499 41002500 AO02505 41002504 41002505 A025 26 A052 A025 26 41002569 A025 724 A025 5 1002576 le sa PT
47. Distributors X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 87 Application Library The columns of Development Screens List are described below Function This column lists the Standard Development Screen Definitions associated with the Development Screen in X Analysis These Standard Development Screen Definitions are built when the data model is created directly from the database of the existing application using the data model relationships to control cross file validation and navigation Physical File This column represents the associated Physical File name with the specific Standard Development Screen in the database Standard Development Screens tie directly to physical files and can be used for file maintenance and display as well as providing searchable grids and general purpose reports Title This represents the description of the Development Screen as per the database CHANGE HISTORY The Change History option lists the source members that have a change in their history Double clicking the Change History node under XAN4CDXA invokes the following Work with Change History dialog Change History dialog for XAN4CDXA Work with Change History Eg Object Mame 4LL From Date Ory hl Do To Date YYYY MM OD Cancel Click OK to invoke the following window X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 88 Joa d e Object List Application Library Chan
48. F Display Print Input l Output command Others F Internal Routine Indeterminate E Trigger P Module Page 184 ths Program Logic Documentation Indeterminate This depicts the programs where the usage cannot be programmatically determined Trigger This depicts the program which is a Trigger Module This depicts the program which is a Module The Inverted Structure Chart can also be viewed as the diagrammatic representation of Object Where Used gt Entry Level References for a particular program The references appear as a list in tabular form that gives the lead of the calling object In this case it is XCMMENU as shown in the screenshot below Entry Level References List XCMMENU e Object List CUSFMAINT E7 CUSFMAINT JA Object Where Used 23 E Object Where Used Entry Level References for CUSFMAINT Total Objects 1 im fl Object Type Text Library SCMMENL PGM Customer System Main Menu Entry Level Reference Soh DEM PROGRAM STRUCTURE CHART PSC The Program Structure Chart graphically displays the sequence of calls in the program The call operation can perform the following Execute a Subroutine Execute a Sub Procedure Execute a Program Module Service Program The subroutines are displayed as small rectangles with grey background displaying name of the subroutine The object s Function Type determines the coloring of all other boxes viz Prog
49. File Dependent Fields Parent Fields Dep LF 1 Contacts REFERS TO Sites Cus Mo Cus Mo CNTACS Contacts REFERS TO Salespersons Sales Person Person Contract Detail OWNED BY Contract Header Contract Contract CONDET Contract Detail REFERS TO Stock Balances Product Store Stk Bal Product Store CONDETL Contract Detail REFERS TO Product Master Product Stk Product CONDETLS Note While using the Restrict To Application Area feature ensure that the originally selected application area is not changed X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 205 Data Model Diagram UNDERSTANDING DATA MODEL DATABASE The metadata database that underlies X Analysis is a valuable resource and contains information that can be leveraged for your own purposes There are five core tables that are generated by the X Analysis data modelling process These tables are listed below Feature Brief Description XPIDS Primary identifiers XDD Data dictionary XRELS Relationships XSHKEYS Relationship detail XKEYMAP Access paths X Analysis Data Model Database AREY MAP ARELS Agcess paths 7 File relationships Fid ridatlonsta ps The easiest way to view the data in the data model is to use the Data Dictionary facility provided within X Analysis 1 Open the Customer Maintenance System in X Analysis 2 Click the Data Dictionary icon on the toolbar X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 206 HJA
50. Files Business Rules Consolidated Rules R Screen Components ae Change History Ha Regenerated Programs Esl Source Scan O amp Sanitize A Resize Procedures OG ACCOUNTS Company Accounts OBJECT LIST The Object List displays a list of all objects of the specified type from the selected library Double click on the All Objects node under the cross reference library KAN4CDXA to bring up the Work with Objects dialog X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 75 Application Library Work with Objects dialog Work with Objects Application 4rea Description All Members Selected Library ALLUSR t Type Attribute Function Attributes Component Status Function Type FF Mame w Program Type The Library drop down box contains the following two important entries apart from the user libraries ALLUSR All objects belonging to the user libraries ALL All objects including those in the X Ref lib The default option is ALLUSR Programs When you double click on the Programs node the same Work with Objects dialog is invoked but with the Type Attribute set as PGM ALL Click OK to get the Object List for Programs X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 76 Application Library Object List Programs fo Programs 6 TE Object List of ALLUSR ALL PGM ALL ALL ALL Total Objects 153 ar Ae A Library Name Type Attribute
51. In Process Oo Waiting Production Unit Tested Generated By Analysis Mot Verified i Appendix L Setting Status for Business Rules Business Rules window Filter by Rule Status option Business Rules 2 5 Applicable Mot able to be generated Mot assigned Awaiting Feature Covered by Metadata Not Verified Mot Applicable For Endeavor SONEA R OO Rule Cus No not Found on Sites Company blank Phone lt gt blank Fax No lt gt blank Distributor lt gt blank Exact match not Found for Distributor Sts lt gt blank Contact blank Salutation lt gt blank and lt gt Mr and Customer 0 ti An option is included to allow the user to Add User defined Rule Select the relevant File Field and set the Rule text and error message ID Such rules start from 60001 and are shown in a different color orange On selecting the option the following dialog is invoked Business Rules lt 4 Add User Defined Rule Source Member File Field Rule Message ID X Analysis User Manual 11 0 l CUSFMAINT CLSF ADC Add User Defined Rule dialog Ot nutran M RE Rule Cus Mo not Found on Sites Company blank Phone lt gt blank Fax Mo lt gt blank Distributor lt gt blank Exact match not Found For Distributor Sts lt gt blank Contact blank Salutation lt gt blank and lt gt Mr and Customer 0 2015 Fresche Legacy Inc Page 431 TH
52. In visio Show All Application Area Diagram Annotation d Application 4rea Annotation Coverage of System Document Detailed Object Documentation in Alphabetical Order Detailed Object Documentation in Call Sequence Order No Detailed Object Documentation Click Next to proceed further X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 340 Document Manager Sequencing of the Application Area Features X Analysis System Documentation Specify Sequence what sequence would you like to have For the System Document Application Grea OSC Normal Application Area DMD Normal Mowe Up Move Down Cancel From the above screen the user can re sequence the options selected for System Documentation After re sequencing click Next to reach the final step of documentation wizard Here the user can see all selections that he has made and can also define various options related to document formatting like Paper Size Contention Resolution etc X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 341 Document Manager Select Paper Size and Resolution X Analysis System Documentation Finish Define the Page Size and Contention Resolution Option Selected Sequence Level Settings Application Area OST Normal Application Grea OSC Level 2 Application 4rea DMD Normal Paper Size Letter 8 5 11 O A4 Size 8 27 x 11 69 Contention Resolution
53. LEGACY Options on Screen Components X Redo Advanced Preferences window type filter text Adwanced b Run Debug Advanced X Redo Preferences po Server a an o Fage Designer Service Policies b Tasks Design Page using Eclipse t Team Generate WAR EAR t Tomcat l UML2 Diagrams _ Generate Separate UserLogicClass Usage Data Collector _ Generate Java to use with Other Databases Validation _ Suppress try catch Statements in Logic Classes t Web tb Web Services A Analysis Advanced Folders General A Data Test a X Redo t XDoclet gt AML Restore Defaults Alternatively you can edit page s using Dreamweaver If Dreamweaver is installed on your machine then the drop down will show it as an option After setting the Page Designer preference as Dreamweaver in the X Redo Advanced Preferences window restart the X Analysis plugin to invoke Adobe s Dreamweaver software for designing a web page X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 213 X Analysis User Manual 11 0 Options on Screen Components Dreamweaver option X Redo Advanced Preferences window type filter text Team Usage Data Collector Validation Web Web Services A Analysis Advanced Folders General A Data Test A Redo Advanced ADoclet AML Advanced Advanced A Redo Preferences Page Designer Design Page using Eclipse Eclipse _ Generate WAR EAR Dreamweaver Generate Separate UserLogicClass _ Ge
54. Logic for CONO01 is shown below Business Process Logic option fe Object List Ea conoor 24 H Business Process Logic of CONOO1 in XAN4CDEM ORPGSRC ee fd it ly Mepa BR a o Business Process Logic MAINLINE r RECEIVE Parameters PLIST ENTRY ff Until F3 Do until Fun Key 03 ff Imnmitialise screen CMDDTA CMD il AWADDL ELANES AWADD2Z BLANES Source Outline The Source Outline view lists all subroutines modules and called programs available in the source code The cursor is positioned to a particular line of code in the source browser when any of the listed items is double clicked from the outline view X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 140 Quick Reference to an Object Source Outline be Object List Ee CONDOL 23 E Source Outline is Source List of CONOO1 in X Lines 271 ViewLeveh5 Qe CONDO E H EM P w E Uepi aA sRVCON PRLNS V ALID RELELEVe COnLEAce Details CREON EXSR ENCON pet up Plank subfile for Froduct EXSR PRLNS Display Contract Entry screen MOVEL 1 i gt Show Split Panel The Show Split Panel option helps you compare the Normal Source Code with its Business Process Logic code It promotes better understanding of the Business Process Logic code Show Split Panel is a toggle button which invokes a split panel displaying the Normal Source and the Business Process Logic code simultaneously Show Split Panel option Source Lis
55. Mame System Document For AMADA pdf Fath D Program Files Databorough 4nalysis 192 166 170 10PEF_sAN4 DRA System Document For AN4 COs A pdf Cancel Document Wizard Sections System Documentation type The following options are available for System Documentation type Generate Single System Document This is the default option It means that a single system document will be generated for all the selected objects Generate Individual System Documents It means that individual system documents will be generated for all the selected objects Generate System Documents using previous values X Analysis provides a unique feature of recalling the previous options selected by the user in System Documentation process Through the Generate System Documents using previous X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 367 Appendix C Component Documenter values option the user is able to generate a System Document without choosing the same options again in System Documentation process Document Details Document Title The user can change document title as per the requirement Path Click the Browse button to change the default path After making appropriate selections click Next which displays the following screen Component Documentation Wizard Screen Il X Analysis System Documentation Components Documenter Select Features bo be included in the Components D
56. Planning System 4 fats PRINT Printed documentation BE SALES Sales System H B MTEST X Datatest Example ADDING OBJECT TO AN APPLICATION AREA Opt for the Object List to add an object to an application area Double click on the All Objects node brings up the Work with Objects dialog Provide the object name to be added to the application area For example input CONOO1 and click OK Select CONO01 and opt for the context menu on it Then select the Add to Application Area option as shown below Add to Application Area option Application Area Options 4dd to Application Area Add to Application Area with Related Objects Omit from Application Area This option presents the following dialog X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 98 THUS Application Area Add to Application Area Add CONOO1 to Application Area Application 4rea Description CONHDR conhdr CUSFMAINT New Sub App Area CUSTOMERS Customer App 4rea DATATEST Data Test Demo DECL16 Test area MVCPROCESS Re Engineering Order Entry Application Area CEOO1 orders Cancel Select the application area in which you want to add the object and click OK To add the related objects select the second option i e Add to Application Area with Related Objects from the context menu as shown below Add to Application Area with Related Objects option Application 4rea Options Add to Application Area 4dd to Application Area w
57. Positions 26 to 32 Time Separator JOB COLON PERIOD COMMA Positions 33 to 39 Decimal Point PERIOD COMMA Positions 40 to 43 Generate aliases YES NO When generating aliases you can specify replacement characters XSQLCVRPL The data area containing replacement characters are XSQLCVREFR and XSQLCVRTO Positions 44 to 51 Leading numeric processing for aliases PREFIXN XLATE If PREFIXN is specified then N is added to the beginning of the alias name XLATE will translate the numeric into characters NOT YET IMPLEMENTED Positions 52 to 55 Compress embedded blanks for aliases YES NO If YES is specified then wherever there are two or more contiguous underscores in the generated alias they will be replaced by a single one Data Areas XSQLCVREFR and XSQLCVRTO If you have requested the generation of aliases then you can specify replacement for invalid characters You can specify up to 50 from characters in the XSQLCVREFR data area and up to 50 to characters in the XSQLCVRTO data area The characters are matched between from and to areas Data area brary 3 Type Length TEKL Data area Library Type Length Text Offset O X Analysis User Manual 11 0 Value Oa Fr vege ei Display Data Area System XSQLCVRFER XAN4CDXA CHAR 50 XDDSTOSQL Replacement Characters From Display Data Area System XSQLCVRTO XAN4CDXA AORAR 50 XDDSTOSQL Replacement Characters
58. QUERY MGR SQL QUERY MGR DSPF DSPF CLP RPG DSPF DSPF RPG Application Area aan Y th e E Library SON4CDEM SOh4CDEM AON 4CDEM SOh4CDEM SOh4C DEM AON 4 CDEM SOh4C DEM AAMA DRA AAMACDEM CONC DEM SOh4CDEM AAMA DAA AAMA DAA The above screen lists all objects from the application library XAN4CDXA and provides information about application areas Notice that some rows were blank under the X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 264 Audit Options application area column which means that the object does not belong to any application area Similarly note the sign which means that the object belongs to multiple application areas DATABASE SUMMARY The Database Summary option gives the user access to the summarized database report for the entire cross reference library The report contains information related to files their unique keys and other necessary file related details On clicking the option the following window is displayed Database Summary Report window if Specialized Analysis Problem Analysis E DB Summary i E Database Summary Report for XAN4CDXA fal fo fa File Unique Keys Parent File Wo Child File Mo File With Identical Key Foreign Keys to Parent Foreign Keys from Child ASTATUS STATUS CNTACS CUSNO PRPCDE CONDET AWORDN SV ABCD CONDETN YY SWORD Aw ABCO CONHDR xWORDN CUSF CUSGRP AWBNECD CUSTS MWBICCD DELTA WEDD DISTS DS
59. SWECCO RRECCD GETREC f Set date ZLUATE DATE ZYR CHAR YEAR FILLR1 ZMTH CHAR MONTH 11 69 x 6 26 in lt Business Rules System Document for XAN4CDXA pdf Adobe Acrobat Professional Sil File Edit View Document Comments Forms Tools Advanced Window Help x Danas esla MY gooh i Business Rules for ZZFT01 CUSTMNT101D Rule o Sacco ark 00002 Rep not found on Salespersons 00003 Distributor not found on Distributors 00005 Se Cus No not found on Sites 00006 Debtor found on Purchases 50001 __ Fiera range is from 0 to 99999 11 69 x 6 26 in lt X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 374 ahs Appendix D XREDOAPP Command Appendix D XKREDOAPP Command The XREDOAPP command is the master interface to control an X REDO application The Library List needs to be set correctly before using this master command SET THE LIBRARY LIST Change the Library List to ensure the following sequence XAOBSJ QGPL QTEMP Use the EDTLIBL command to set the library list EDTLIBL command screen Edit Library List System DBS PW6 Type new changed information press Enter Sequence Sequence Sequence Number Poe ea Number Dibrary Number Liprary Low S00 XAOBJ TON 310 QGPL FAN oA QTEMP 180 S180 Le 340 ZAG S510 210 3260 Zee 310 220 380 240 330 250 400 N 410 270 420 30 200 140 290 FIELE F5 Refresh Fil2 Cancel After updating the Librar
60. Screen Flow Diagram 0208 00 E Program Structure Chart HOVEL 1 IN3S v lt iil gt X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 144 ths Quick Reference to an Object Generate UML Choose different UML diagram options 1 Class Diagram Generates Class Diagram for the Object 2 Activity Diagram Generates Activity Diagram for the Object Generate UML options Source List of CONOO1 in XAN4CDEM QRPGSRC Lines 271 Yiew Levek5 A E Eag were SBE i w aA seq Mo EL class Diagram s gt J nacte F Se eee EEE sees 0204 00 S Activity Diagram O206 00 C Validate Contract ha lt im Flowchart It is a drop down menu and contains two options 1 Flowchart Generates Flowchart for the Program 2 Flowchart for current Subroutine Procedure Generates Flowchart for the selected Subroutine Procedure of the Program Flowchart options Source List of CONOO1 in XAN4CDEM QRPGSRC Lines 271 Yiew Levei 5 GA E B aE P e pami A amp amp seq Mo E Sarre ee G Flowchart 3 t 0204 00 F Flowchart for current Subroutine Procedure 0206 00 C Validate Contract E ii i lt Click the Flowchart icon to generate a flowchart using Microsoft Visio Screen Components The Screen Components option displays a list of all available screen components for the selected program X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 145 Quick Reference to an Object Scr
61. Stock System 2015 Fresche Legacy Inc Page 360 ths Appendix B Enabling the SEU Interface Appendix B 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 user XAN4SEU The following gives instructions for creating the correct user profile Step 1 Logon as QSECOFR Step 2 Create XAN4SEU user profile Use the CRTUSRPRF command to create the XAN4SEU user profile Make sure that the following parameters are set User Password XAN4SEU User Class PGMR Initial Program XSEUCLP Library 5 XAOBJ Create User Profile CRTUSRPRF Type choices press Enter WIS ete p orile aaa a S eee XAN4SEU Name User password ee eee ee USR PRE Name USRPRF NONE E Set password to Bcd ec ne INO NO ee GES SIE EEDS ame ean We es ENABLED ENABLED DISABLED Userkeclaso r ame er ease ee PGMR Web S SORR SiGMin see Assistance level a s o o o o o c SOMOVA ASSO VAI E BASEO NE RAIMI eee Current Wiese mnm seo d i IC IEAM IDNR AL Name CRTDFT Inreda oe igen WE ete Sees YoSNe UC IL Name NONE Tipps Oc cites ones arc ec oO eet oe Sn XAOBJ Name we lEdbsIi C VRIE TaLictial menu s a s o o o o c MAIN Name SIGNOFF lial ac ah eee ee ee eee ee ii Bib Name p ABM gt GU RIMS Limit Sea eee ee ee ee ee ee E xNO xNO PARTIAL YES Terr decor I ELON a a a a Analysis oae User Mone P3 E lt a e F4 Prompt F5 Refresh F
62. The Class Diagram is the backbone of all Object oriented methods including UML The diagram describes the static structure of a system Classes represent an abstraction of entities with common characteristics Associations represent the relationships between classes Let us see how a Class Diagram looks for our example From the tutorial application XAN4CDXA select CUSTMNT1 and opt for the context menu on it then select the Class Diagram option This action displays the Class Diagram as shown below X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 278 UML Diagramming Class Diagram for CUSTMNT1 The Class Diagram displays the following 1 Shows all the PF used by the program and their relationships 2 Joining fields are shown on the edge of the connection 3 All the keys fields and field usage are shown inside the file figure as attribute with their types Function Logic The Function Logic is available as context menu on the Class Diagram The following screen displays the Function Logic options on a Class Diagram X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 279 THUS UML Diagramming Function Logic options on Class Diagram for CUSTMNT1 CUSTMNT1 classdiagram umiclass 2 5 RPG Program 1 attributes i operations classes E J Add Note File Edit Format Filters E Show Properties View Apply Stereotype H CustomerGroupSelection 200m Source fa Data
63. This PC XALicenseManagerTool 1 XALicenseManagerTool th Network vo Date modified 27 02 2015 12 16 26 02 2015 12 04 26 02 2015 12 04 26 02 2015 12 04 26 02 2015 12 04 23 02 2015 18 06 23 02 2015 18 06 29 02 2015 18 06 Using X Analysis Client ve search AALicenseManagerlo 2 Type Size File folder File folder File folder File folder File folder ECLIPSEPRODUCT Application Configuration sett Double click on the XALicenseManagerTool The following window will be invoked X Analysis License Manager View 1 Enter the login informations and Connect to retrieve the server informations HostName Username L Use SSL LI 2 Send the Server Information to Fresche Legacy to receive your License file Server Info Serial Number Partition ID Total Partitions Send Server Information Copy to Clipboard In the above view provide the Host Name IP address Username and Password Check the Use SSL box for the SSL security feature X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 29 Using X Analysis Client Click Connect to authorize the IBM i machine to provide the Serial Number and the Partition Number The following window displays the Progress Information Progress Information X Analysis License Manager Tool z Help License Manager View 13 1 Enter the login informations and Connect to retrieve the server informations Host Name E Use SSL L Info Install
64. To 2015 Fresche Legacy Inc Page 308 X Analysis User Manual 11 0 Exporting amp Printing If any of the following characters remain then they are automatically removed pl P lt gt t BE Embedded blanks are then replaced with underscores The only values that may normally need changing relate to the generation of aliases File Exclusions Files are excluded in three ways Source PF files which have been loaded into X Analysis are automatically excluded These can be found in XPFSRC file Files with no members or multiple members are automatically excluded A message is written to the error log for each of these files Files can be manually excluded by adding them to XMDLEXCS file The Reason Code should be set to blank Error Log An Error Log is written to source member ERRORLOG in QTXTSRC in the X Analysis library The messages may be diagnostic or terminal Exception Processing Please note the following Multi format files Indexes are created for each file access path LFs not using the PF format name or where individual fields specified The format name is retained No statement is required to point to the original PF format name JOIN Files JFILE and JOIN point to the SQL table names The format name is retained No statement is required to point to the original PF format name FIFO LIFO Files The keyword cannot be used with SQL tables and is removed A mess
65. Total Objects 94 FY g r a A a A O ZEFRNCUSF CUSF B B Print Customer Details Sites P Attributes b Access Paths 13 Objects H a we Now select the application area MVCPROCESS Select the Data Flow Diagram option on CUSF notice that the Restrict To Application Area icon is enabled see the following screen This is so because you have selected an application area X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 169 Program Logic Documentation Data Flow Diagram on CUSF with enabled Restrict To Application Area icon bo Object List UF 2 i Object Centered Data Flow Diagram for CUSF Total Objects 94 P Attributes P Attributes P Access Paths 13 Objects H F Input Programs 59 Objects H b Input Services 1 Object H b Input Triggers 1 Object H b Attributes b Attributes b Input Output Programs 2 Objects H Now click on the Restrict To Application Area icon as shown below Sa Bea To Application Area icon The following screen is displayed Restricted DFD on CUSF for application area MVCPROCESS Be object List Square i E Object Centered Data Flow Diagram for CUSF Total Objects 18 m Al B jad ooo gar E CUSTMNTI 0 CUSFLA Customer Detail Maintenance Sites by Product renamed from i cusfla For testing P Attributes P Access Paths 13 Objects H P Attributes b Input Programs 5 Objects H WWiCLISTS Work with Customers 5 CUSFLC P Attributes Sites by Salesperson
66. W 192 168 170 10 B New Connection Session Information Session Items Description Host Name A Analysis Usern i X Analysis Library Job Details E A Analysis Eclipse Platform A Analysts Tomcat Run Window Help Host Name 127 0 0 1 DB2 Username MARK DB2 Password B Use 5L L Refer to Appendix A for more details on X Analysis Offline Mark all for Documenter Using X Analysis Client Select the Mark all for Documenter option to mark all records for system documentation which are listed on the X Analysis window X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 38 Using X Analysis Client Mark all for Documenter option Run Window License Manager New DB400 Connection New DBZ Connection Mark all for Documenter N Change Application Folder Open Log Folder Open Application Folder Authorize Google Drive Report an Issue Install SSL CA certificate You can view the marked records through the Documenter icon on toolbar fg 192 1 XAN4CDXA XAN4CDEM Tutorial System Documenter icon QUO lee W aby Balsa oa N ion Metrics Dashboard On clicking the Documenter icon the Document Manager dialog will display all the marked records X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 39 Using X Analysis Client Document Manager dialog X Analysis Document Manager Description sre iy Order Entry Menu USF FILE Sites CBCONDET FRM Wor
67. When the Use old logic for Synon DFD box is checked then the Synon DFD uses the older logic of reading the references from X2EPGRF When the box is not checked the new logic is used In the latter case you must have the latest server Database Language Translation This allows French users to select Database Translation Language which enables correct display of French characters in the X Analysis Client software X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 47 Using X Analysis Client FOLDERS PREFERENCES Expand the X Analysis node to view modify the Folders Preferences Folders Preferences Preferences type filter text Folders Folder Preferences Data Management Analysis Folder D Program Files Databorough 4nalysis Help Install Update Logs and Temporary Files Folder Java Mote Javascript The user should have the wrikefmodify authority to the selected Folder IPA Y Analysis Perspective should be closed For this to take effect Model Validation Plug in Development Remote Systems Run Debug Open Office Installation Path Server Mote Service Policies The user should specify the path of Open Office Folder Team Tomcat UML Diagrams Usage Data Collector Validation Web Web Services 3 X dnalysis Advanced Folders General Data Test H Redo xDorclet XML Restore Defaults Apply Folder Preferences o X Anal
68. Zoom DELETE O 01 Selezione DETAIL SYNON FUNCTION KEY OPTION EXTRA DEFAULTS The XS2EFOXTR table details additional function key usage In some applications F12 could be an extra default function key for the functions listed Table Structure for XS2EFOXTR A R XS2EFOXTRF A S2OXTYP 1A TEXT Function Key Option A S2OXVAL 2A TEXT Value A S2OXFNT 10A TEXT 2E Function Type A K S2OXTYP A K S2OXVAL X Analysis User Manual 11 0 Sample Values for XS2EFOXTR S2OXTYP S20XVAL S2OXFNT F 12 PMTRCD F 12 DSPRCD F 12 EDTRCD F 12 SELRCD 2015 Fresche Legacy Inc Page 391 Appendix F X2E Specific Features Appendix F X2E Specific Features The X2E reengineering process is a two part process 1 Reengineering of non 2E programs and EXCUSRSRC members 2 Reengineering of 2E programs REENGINEERING OF NON 2E PROGRAMS This entails the following steps Generate Business Rules In this process the business rules are generated and object source level information i e Files used in the program External data structure declared in a program program calls file field info entry parameters program declared fields actual source code and other object related information is extracted and stored in various X Ref files This information is then used by X2E reengineering process to create procedure based module service program Reengineer Programs Program Restructuring Here the original RPG COBOL source code is co
69. ao eae 44 en Ra 5 m 0021 00 Pseudo Code puaga Click the icon to display the Pseudo Code for CONO01 X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 142 Ahdi Quick Reference to an Object Pseudo Code for CON001 e Object List Ea conoor 3 H Source List of CONOO1 in XAN4CDEM QRPGSRC Lines 194 ViewLevel 5 A S7 BABE w h AMi Aaa Seq Mo Pseudo Code A i ona Fi aaa a r a a a aa a a a a r r a a aa a aaa a a a E m 0022 00 f Receive Parameters 0023 00 PARAMETER LIST ENTRY 0024 00 esssS GAETH 1i Return Code 0026 00 s t Until F3 Obs 7 0d Repeat Until Command Three egual to 1 0029 00 Initialise screen OO30 00 Mowe Array CMD 1 to CMDDTA 0031 00 Mowe Left BLANES to CONOOLDF address OO32 00 Move Lett BLANES to CONOUOL1DF Address 2 2 a lt im gt You can switch back to the Original Code through the toggle action of the button Pseudo Code toggle button Se Object List Fa cowo 3 H Source List of CONOO1 in XAN4CDEM QRPGSRC Lines 194 Yiew Levei 5 A E B eG i i AMin dG fe Seq No k Pseudo Code A foo 21 00 Original Code FP eee Seer Tete ere te tee te tee Te eee E 002z 00 3 Receive Parameters 002a 00 PARAMETER LIST ENTRY 0024 00 aHa GAERTN 1 Return Code lt Mm a Source Level Source Levels 1 5 are available on Program Objects only The Source Level menu on this display a
70. are hence a mechanism which categorizes an application into different Application Areas You can create an application area by running the X Analysis Client or using X4WRKAPP on IBM i Using X Analysis Plugin Opt for the context menu on the cross reference library Then select the New Application Area option This brings up a dialog to add a new application area to the selected cross reference library The dialog takes the Application Area Name and Description as inputs Click OK to add the new application area to the cross reference library New Application Area dialog New Application Area Mame ORDERS Description Order entry System Copy Rule from an existing Application Area 2015 Fresche Legacy Inc Page 97 HIS Application Area New Application Area added M 192 168 170 100 E Wh ZANACDXA XAN4CDEM Tutorial System w Application Area Diagram at Data Model Diagram Overview Structure Chart e All Objects E Programs IE Files Source Files Business Rules Em Consolidated Rules Screen components T Change History J Regenerated Programs 7 Source Scan AA Sanitize Resize Fal Procedures E3 ak ACCOUNTS Company Accounts H B COBOL Cobol Application BE CONHDR conhdr H B CONUPD 2 CUSTOMERS Customer App Area ak DATATEST sDataTest Demo ae MVCPROCESS Re Engineering fete OE Order Entry Ez fat QE001 Application Area GEO ORDERS Order entry System E3 J PLAN
71. are held in dao daoservices and data packages of the Java project Managed Javabeans java for each JSF under jsfbean package Java Server Faces JSF for each reengineered screen is created under WebContent folder The process on completion prompts the user to switch to Java Perspective if desired If selected Eclipse perspective switches to Java and the user gets to see the Java project generated by the Re generate Programs The screenshot below shows the generated Java project with both Generate Business Logic amp DAO and Ul checkboxes checked X Analysis User Manual 11 0 Generated Java Project e Aa2edemoMigrate 8 Aazedemo dao gt PB Aa2edemo daoservices gt P Aa2edemo data AaZzedemo jsfbean gt pP Aatedemo logic gt 8 Aa2edemo logic data gt pP com databorough utils applicationContext datasource xml applicationContext xml constants_en properties datasource override properties datasource properties log4 xml messages _en properties persistence xml gt Bey JRE System Library jre6 gt Ta Referenced Libraries cont gt 2 META INF gt 2 WebContent F build properties e build xml 2015 Fresche Legacy Inc Page 403 Appendix F X2E Specific Features The tool also gives the option to review the Reengineered Action Diagram and the generated Java code side by side by clicking the Show Spilt Panel icon on the Reengineered Action Diagram view
72. below X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 247 ths Audit Options Metrics History window i summary Metrics nd Metrics History 2S TEH Metrics History for XAN4CDXA ES v mei Level Change Date Source Lines Cyc Complex Halstead Maint Index Files Device Files eS ES a Current State 2 263 40 211 oe Total 20 months back 2011 08 19 Total 23 months back 2011 06 04 1 904 l3 39 027 2599 3 29 Total 34 months back 2010 07 02 1 910 r09 39 302 S05 Ta 29 2 263 s 40 206 Aone Total 39 months back 2010 02 08 2 465 fal 45 971 0674 Ti 29 Total 42 months back 2003 11 14 2 618 far 47 340 F644 Ti 29 Illl Metrics History Chart X Analysis can also display the Metrics History in a chart form for all individual parameters The Metrics History toolbar contains a drop down button called Metrics Analysis Metrics Analysis drop down button Summary Metrics nd Metrics History 2 Metrics History for XAN4CDRA Complexity Level Change Date Source Lines Cyc Complex Halstead Maint Index Files iowa 2 The drop down button contains the list of parameters against which a chart can be generated Metrics History drop down options Summary Metrics Metrics History i Metrics History for XAN4CDXA Complexity Level Change Date Source Lines Cyc Complex Halstead Maini Source Lines Ee o Complex Current State 2 263 785 40 211 26682 Halstead Total 20 months back 2011 08 19 2 26
73. compile Pile Y2CFGTLO 1s missing railed io compile Pile Y2DSTFLO 1S missing Failed to compile Pile Y DoTFLO 1s Missing Failed ro compile Bley Dorr LOTi S mies ing Failed to compile Pile Y2CFCGTLI 15s missing Pailed io Compile ile Y CFGTLI 15 missing Failed to compile F20 Right 2015 Fresche Legacy Inc BZ plir Mewes Page 382 Appendix D XREDOAPP Command Option 18 Errors Option 18 can be used to list compile time errors for program failures from the Generate Option 16 job The following screen displays the Errors window Errors Report Display Report Report width Riou waleiae cron ube a eee Shire tO COLUMNA ere anes Line a Pee cae ea mea E cn EN ean eo ne Oe PORE E eG een giomey a URE gp T A E ee mee 7 me a oy A EO ew ony E eon Source Source Compiler Compile Compile Ob Library Member Command Date Time KKKKKK KKKKKKKK End OL report KkKkKKKKKK Option 19 Load Log Option 19 can be used to display any notifiable errors encountered in any of the Generate processes The following screen displays the Load Log window Load Log Report screen Display Physical File Member A Syne ee en XS2ELDLOG LEDE E mens AA2EDEMO Member s s s s s XOZELDUOG Rer r E eae 3 Crongne cry ese oe onic weeapees ne ornare 1 Find Soe Bras T E ee mee eee ri eee eee et east any E are eleven cree On eran Coe ees Owe tem me T a Ge ALOOZIZ0 OZhSkRezZ AA2EDEMO XRRVY
74. eel Vad a fal Voll Hamat Ham amc el Henn a aAa aaa AA ooo oo OD Aa aaa A AAA GAG G AA amn S m AAA ms SA m S m SA m BA m SA m S o S os AA m SAA a SA m no iN i X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 401 thJs LEGACY Appendix F X2E Specific Features GENERATING JAVA APPLICATION Once the reengineering process completes the user can opt to generate a Java application He can use the Generate Programs option available on the context menu over a selected cross reference library or an application area Generate Programs option over X Ref library New Application Area Add Alternate Data Library List Reset Library List Application Library List Affinity Comparison Refresh Options Derme Business Rules Import Options Export Options Document Entire Application Document Changed Objects Reengineer Programs Generate Web Services Generate Data Application Data Migration Inter Repository Options Audit Options This presents the following dialog X Analysis User Manual 11 0 Generate Program s dialog Name Aad edemo Project Components DAQ Entities Ul JSF beans CSS Business Logic OR 2015 Fresche Legacy Inc Page 402 HSA Appendix F X2E Specific Features Click OK The process generates the following components Java for Business Rules under logic and logic data package DAO components for each Physical file These
75. entries by computer s keyboard are recorded Mouse Only Only entries through computer s mouse are recorded Mouse and Keys Both keyboard and mouse entries are recorded This is the default option 2015 Fresche Legacy Inc Page 52 X REDO PREFERENCES Using X Analysis Client Expand the X Analysis node to view modify the X Redo Preferences type filter text General Ant Data Management Help Install Update Java JavaScript JPA Plug in Development Remote Systems Run Debug Server Service Policies Tasks Team Usage Data Collector Validation Web Web Services A Analysis Advanced Folders General X Data Test x Redo ADoclet AML X Redo Preferences General X Redo Preferences Web Server Folder C Program Files Tomcat Web URL 127 0 0 1 Grid Display Show 5250 Grid Labels Number of rows to display in the Grid DEFAULT Site Date Format Date format to use on the Web page Numeric Precision Higher Numeric Precision Package Naming options Project Name _ Application Area Name _ Package Prefix Only Package Pretix Function Level Logging Function Level Lagging None Public All Restore Defaults Apply You can modify the following X Redo Preferences Web Server Folder Specify the path for the Web Server folder You may specify the Tomcat folder other than the one installed by X Redo installer Web URL Specify the X Redo URL for its execution The defaul
76. ieosnacisiriioroi e oea 57 Add Alternate Data Library LiSt seeseesesensereessrresreresreresreossrresseresseresreesseresseeesreresns 57 RETE FO Ul ONS aanne T EEEN 62 Derive B sinesS RULOS eee nee none E E 65 MDOT ODUONS sarrerea E E E E A EE 66 EOF IOI crer e E ncmitgamaatsetcesrapetodanen 67 DOCUMENT Entire APppliCatiONresrasiirssieriren enea EIE EE ADNE ENGA 70 DOCUMENT Changed IO CUS snsesiiisceaiistaieani e a aaia aa 70 Reengineer ProgramMS ssssssssssessesressrsresseseesessessessrsrrssesreseoseosesseosessessesseseeseoseeseeso 70 Cena PORTA ne E E E TE EES 72 2015 Fresche Legacy Inc Page 3 X Analysis User Manual 11 0 Contents Inter Repository Options ccccccscccscccsccesccesccseccssccsecesccescceeesueetseeesecesecesseasesaeeeaes 73 AUC 0 6 6 9 cen ee ee eee ee eee nee 74 Work With Multiple List Options cccccccssececessceceseeeceececeeeceseeeceseaecesseecesseaees 74 OS WE sts occ EE TE E E ETE TE 75 Momper UG 6 aea E ESE 82 Satire ENS a cers E E A T E A E E S T 83 BUSS Sl ON S anie E A E T EAE 84 COM ONda ea RUE r n EEEE EE i 84 Sree COMPONEN erana E E E A 85 Chanar PISTO aae e a a a e i a 88 RE BCI ALG PrograrnS erroria inar ENE EE TNE 90 O E S ae A E E E 91 FOG AUTO ce reece E A ET E A ET te 93 Application ANCA sicosisersiincccrrcirisoosisoosiessaienotn ikonas dipenni aaea nnii isara 97 Add Application ATGA sacteearacevaccracerosnadanscudeapeseeavecavapdneuanssouieavesdsau
77. if any An add row is provided to add a new criterion Filter Criterion Description Boolean Column Boolean The default value is IF For the second line one can select from AND OR Field Mame Field Name Column us Mo This column lists the fields of the Physical File picked Pick the field on Cus Mo which the criterion is to be created Company Distributor Shs Last Cnt Date Operator i Operator Column Choose operator Pick the operator to apply Choose operator Less than LT Less than OR Equal to LE X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 292 ths Data Management Features Filter Criterion Description Field Value Field Value Supply the field value against which the field is to be compared Click the Save button to save the filter criteria Click Return to present the display dialog listing the filter criteria specified for the application area SUBSET DATA The Subset Data option creates complete test data subsets from live data based upon existing application data model Subset Data uses the data model constructed by X Model to produce test data sets that satisfy all the constraints of the data model The product first takes a specified number of records from each client file and then examines each data modelling relationship in turn to check that all referenced records are also included Creating test data sets is a three stage process D
78. is also assigned a system table name Window displaying Tables for NEWDDL1 AG ODL Conversion Setup Ef Tables 3 pam Tables For NEWDDL1 Total Objects 34 Table Name System Table Mame Table Schema STATUS FILE ASTATUS ASTATUSKO MEWDDLI CONTACTS CNTACS CONTRACT DETAIL CONDET CONTRACT DETAIL NEW ACBL VER_WITH_LONG_F_CONDETN CONTRACT HEADER _CONHDR USF CUSTOMER GROUPS CUSGRP PURCHASES CUSTS DELIVERY AREAS DELTA DISTRIBUTORS DISTS GENERIC TABLE FILE_GENTAE ITEM_MASTER_FILE_ITEMS LISTSaQ lt CATACSAQ CONDET CONDE THe CONHDR USF CUSGRP CUSTS DELIV DISTSaQ GENTABKO ITEMS LISTSAQ MEWDDLI NEWDDL1 NEWDDL1 NEWDDL1 WEWDDL1 NEWDDL1 WEWDDL1 NEWDDL1 MEWDDLI MEWDDLI MEWDDLI NEWDDL1 The table names have a right click option Zoom Source to invoke the Source List for that table Select the Zoom Source option to invoke the following window X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 123 Ey Tables Source List of NAMESIDXXQ in NEWDDL1 QDDLSRC Lines 25 Yiew Level 5 Fo 44 g BaP P Qin seq Mo oodi 00 00 OO04 0005 OO06 OOO 000g OO0e BIRINI lt OO 0g 0g 0g OO 0g Indexes Eea a ls a A Source List window NAMESIDXXQ NAMESIDENOG 5 Generate 50L Yersion Generated oan FRelational Database standards Option VIRIMO 100423 06 03714 20 36 31 S 1LO8BOOR DRe for i CREATE TABLE NAMES INDEX NAMNESIDS NAME
79. lf 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 Back Next gt Cancel Click Finish to generate the document Detailed Object Documentation in Call Sequence Order If the Detailed Object Documentation in Call Sequence Order option is selected then the object documentation is based on the Overview Structure Chart for the selected application area For this option the Overview Structure Chart is always generated X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 335 Document Manager Detailed Object Documentation in a Call Sequence Order X Analysis E 5 EJ System Documentation Application Area Options OST will always be prepared For Call Sequence Order Diagram Options Normal Expanded Detailed Data Model Diagram w g Normal In PDF as Image Detailed In visio Show All _ Application Area Diagram Annotation d Application Area Annotation Coverage of System Document Detailed Object Documentation in Alphabetical Order Detailed Object Documentation in Call Sequence Order No Detailed Object Documentation Cancel Click Next to proceed further X Analysis User Manua
80. lt 4nalvsis Application Data19 168 170 10 PCF Xah4Coe 4 FileFieldDetails 4N4CDe4 xml To view the generated XML file open the application folder as displayed below Open Application Folder option a x File Edit Navigate Search Project A Analysis Tomcat Run Window Help Fi Qo go g License Manager Ei X Analysis Qa aerivirer New DB400 Connection T Java EE Navigation gt be Metrics Dashboard J New DB2 Connection i z a 8 192 168 170 10 a a XAN4CDXA XANACDEM T ya Application Area Diagram Change Application Folder xt Data Model Diagram Mark all for Docurmenter Pa Overview Structure Chart eee e All Objects Open Application Folder a Authorize Google Drive a Files Source Files Report an Issue rad Business Rules Install SSL CA certificate Ee Consolidated Rules The following screen displays the Application Folder listing the generated XML file X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 68 Application Library Application Folder displaying the generated XML file PCF_XAN4CDXA File Edit View Favorites Tools Help gt a a Search leary Folders Bab fa Folder Sync Sy FileFieldDetails_X4N4CDX4 xml File and Folder Tasks MIL Document 2 609 KB TI Make a new Folder ed Publish this Folder to the Web Open the generated XML file in Internet Explorer or any other suitable editor Generated XML File gt C
81. member will be displayed in a 5250 session for editing purpose Others o No of records to display Displays the total number of records to be displayed in any FILE object when the View Data option is executed X DATA TEST PREFERENCES Expand the X Data Test node to view modify the X Data Test Preferences X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 51 Preferences type Filter text H General H Ant Data Management Help Install Update Jav JavaScript JPA Model Validation Plug in Development Remote Systems Run Debug Server Service Policies Tasks Team Tomcat UML Diagrams Usage Data Collector Validation Web Web Services Analysis Advanced Folders General amp Data Test E 4 Reda Advanced Doclet AML Using X Analysis Client X Data Test Preferences Data Test Data Testing d Java specific version Screen Testing Default Recording Mode Keys Only Mouse Only Mouse and Keys Minimum Similarity 100 be Note Minimum similarity change will only effect new Screen Test projects 100 similarity will match every pixel From source recorded image to target image screen Restore Defaults Apply You can modify the following X Data Test Preferences Screen Testing o Default Recording Mode Radio button Select one of the following methods X Analysis User Manual 11 0 Keys Only Only
82. movel ixvtx uscanl Lengte van de zoekstring bepalen C eval ulen Slen Strim uscan1 Startpositie in de te onderzoeken string bepalen C z add 1 upos 3 0 Translate USCAN1 to Uppercase C lozup xlate scarnl tcranl Translate USCAN2 to Uppercase LOrup xlate uscan2 utran2 Find argument utranl ulen scan e utranZz upos uresul Li gError C z add 999 ounnb E else C z add uresul ounnb C endif Code snippet of the generated procedure based module IIXUTX IIXVTX uscanl uscan2 tranl utran2 uresul uscan2 uscanl ulen upos utranl utran2 uresul Oms_status SEL Oms_status blank blank blank blank ZeLro 11xutx 1ixvtx 7 len Strim uscanl 6xlate lo up uscanl exlacLe Llo up uscanz 6scan ssubst utranl l ulen utran2 Lt Error oounnb else oounnb 294 uresul X Analysis User Manual 11 0 2015 Fresche Legacy Inc Upas j Page 394 Appendix F X2E Specific Features endif Scanresult OOUNNB Let us closely look at the artifacts recovered by the X2E Reengineering process i e 1 Action Diagram 2 Business Rules 3 Residual Logic 4 Re engineered Action Diagram 5 Re engineered Controller 6 INTERNAL ROUTINES Objects 7 Business Process Logic Metrics ACTION DIAGRAM The X Analysis Initialization process uses 2E Model to generate Action Diagrams in the cross reference library On the X Analysis Persp
83. o oO z z z Ad Exchange Buyer API 1 000 requests day Ad Exchange Seller API 10 000 requests day If not locate it under Browse APIs The image below shows Drive API as OFF Click OFF to enable the feature Directions AFI Distance Matrix API DoubleClick Search API Drive API Drive SDK Elevation API Enterprise License Manager API Fitness API Drive API under Browse APIs section 2 500 requests day 2 500 requests day 100 000 requests day 10 000 000 requests day 2 500 requests day 10 000 requests day 86 400 requests day 5 Under My Project gt APIs amp auth click Consent screen The following window will appear X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 439 thJs LEGACY Appendix M Export to Google Drive Consent screen window Google Developers Console x https console developers google com project eternal nucleus 803 apiui consent ve a Search HA A Ya Google Developers Console lt Projects My Project APIs amp auth APIs Credentials Consent screen Push Monitoring Source Code Storage Big Data Support Need help Privacy amp terms Consent screen The consent screen will be shown to users whenever you request access to their private data using your client ID Note This screen will be shown for all of your applications registered in this project EMAIL ADDRESS Logo PRODUCT NAME Pro
84. of the application area DMD for Application Area MVCPROCESS Restricted at Data Model Diagram 22 A Er Data Model Diagram for M CPROCESS ALL Total Objects 13 A E we 0s fa 7 Purchases i Order status description Contract Detail Salespersons Transaction type Store Master description Distributors Customer Groups a DMO Details 2 als E A DMO Relations for MYCPROCESS 4LL Total Relations 22 Rel Mo Dependent File Relation Type Parent File Dependent Fields Parent Fields Dep 1 Contract Detail OWNED BY Contract Header Contract Contract COL Z Contract Detail REFERS TO Stock Balances Product Store Stk Bal Product Store COMC 3 Contract Detail REFERS TO Product Master Product Stk Product CONI 4 Contract Detail REFERS TO Store Master Store Store COR a The DMD for an application area can be un restricted by clicking the Unrestrict To Application Area icon X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 204 Data Model Diagram DMD for Application Area MVCPROCESS Un Restricted 1 Data Model Diagram i t Data Model Diagram for M CPROCESS ALL Total Objects 25 Product Master Store Master Transaction type Order status description Status file description pe ee E ome 1 Delivery Areas 1 C rt Organisations Ea at DMD Details 83 DMD Relations for MVCPROCESS ALL Total Relations 42 Rel No Dependent File Relation Type Parent
85. option from the Export Options icon available on the toolbar Microsoft Word gets invoked and the content displayed gets exported to Microsoft Word x Analysis Source for CONOO 1 Seq Ooo1 OO0e OOO3 adag adds d ooo07 000g 0 aro So iL Se shee US FCONOOLDFCF E F FCUSTS IF FCONHDR FCONDET FSTEMAS FSTOMAS FSTEBAL on etaoae Lo 05 04 EXPORT TO MICROSOFT EXCEL Window 3 ooo o9Po o o 40000002 Microsoft Word view of Current Source Code wh Document Microsoft Word Format Tools BCS Table eee Tie testing WORKS TH DISK DISK DISE DISE DISE DISE F BREMI ESFILE X Analysis displays various lists All lists have the options to export data to MS Excel and MS Word The Export Options drop down icon appears on the associated toolbar Selecting Export to Excel will invoke MS Excel and export current source code as displayed below X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 299 Exporting amp Printing Microsoft Excel view of Current Source Code E Microsoft Excel X Analysis Source List of CONOO1 in XAN4CDEM1 QRPGSR E BX sE File Edit wiew Insert Format Tools Data Window Contribute Help Adobe POF i F E i Arial A BA BARER ESI S Snaglt Et window AZ fe mi0 5 Bos UJ Set E F FE i d Fy Reply with Changes End Review z A 1 X Analysis Source List of CON001 in XAN4CDEM QRPG E 2 E 3 S
86. refreshes the cross reference library to reflect any changes that have been made to the cross reference library This option only refreshes the sources and objects that have already been initialized it will not look at freshly added or deleted sources and objects The Refresh Cross Reference library option is available under the Refresh Options submenu on the context menu of the cross reference library X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 63 qhJS03 Application Library Context menu option for Refresh Cross Reference Navigation Metrics Dashboard a i XANACDXA XAN4CDEM Tutorial System New Application Area Add Alternate Data Library List Reset Library List Application Library List Affinity Comparison Refresh Options Derive Business Rules Rebuild Data Model Repository Refresh Log Import Options d Export Options On selecting this option the following dialog is displayed Refresh Cross Reference dialog Refresh Cross Reference Eg Click OK to execute a batch job and refresh the cross reference for any changes This action locks X Analysis Plugin After the Refresh process is over the lock on X Analysis Plugin is released Rebuild Data Model Select the Rebuild Data Model option to bring up the Rebuild Data Model dialog Rebuild Data Model dialog Rebuild Data Model Ed Click O
87. screen is sorted on the member name in ascending order To change the sort order or to sort on any other column click the respective column heading SOURCE FILES Double click on the Source Files node to generate a list of all the source files The option is available under the cross reference node Double click on any source file to display the Member List Source File List All Procedures List ea Exportable Functions List Source Files ii TE Source File List for XAN4CDXA Total Objects 13 m Al Source Library Source File Source File Text XAN4CDEM ON4CDEM ON4CDEM tON4CDEM ON4CDEM ONC DEM ON4CDEM ON4CDEM ON4CDEM ON4CDEM tON4CDEM MAC Diy f COMA CD A X Analysis User Manual 11 0 ASIMELTEST CPYBKSRIC OCBLSRC OCLSRC OCMDSRC ODDSSRC OLETSRC POMOR YSR QRFOLESRC QRFPOSRE QSECTAT QEDSSRE QIRPGLESRC Cobol copybooks CBL Source File RPGLE Source File DDS Source File Generated RPG Service Modules 2015 Fresche Legacy Inc Page 83 Application Library BUSINESS RULES The program source is grouped into discrete blocks of logic so that each block represents a particular execution of business logic This block of code is then converted into pseudo code that describes the execution of the logic Literals and constants are liberally used in the narration wherever possible giving accurate descriptions of the logic These logics are termed as Business Rules The Business Rules option displa
88. that swt win32 3232 file is not copied to the system folder The reason is that UAC User Account Control the security feature in Windows Vista is ON and does not allow the user to write in the system folders e g C Program Files C Windows etc X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 406 X Analysis User Manual 11 0 Appendix G Troubleshooting To correct this the user needs to opt for the context menu on the Clean start Eclipse X Analysis for Eclipse shortcut and select the Run as administrator option Refer to the description of the option given above INITIALIZATION REPORTS After initializing an IBM i application various log reports are generated by the X Analysis server The log reports generated are categorized as Program Reference Exclusions Missing Object and Source Program Reference Exclusions These exclusions are specified in the XAOBJ XPGREXCS file X Analysis is shipped with XPGREXCS file containing values QRN QLE QC QM QS The file is duplicated into the user s X Analysis library Any program reference specified in this file is excluded from the X Analysis program cross reference database X XPGRF Two reports are produced to list all actual exclusions XARRMIVN program reports on exclusions from the DSPPGMREF output X PMxX1 program lists exclusions from the QBNLPGMI output The above reports assist the users to interpret the outcome of the initialisation
89. the application areas which has more calling programs Red Arrow Program to File references are displayed with distinct red arrows In case program from both application areas refers to files of the other application areas then there should be two distinct red arrows Application Area Diagram Details View The Application Area Diagram provides an option to view the details of the Application Area Diagram The Show AAD Details button is available on the toolbar of the Application Area Diagram as shown below Show AAD Details button Click the Show AAD Details button to invoke a new window displaying the relationship details for all the application areas X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 129 thJss LEGACY X Analysis User Manual 11 0 Application Area Diagramming Application Area Diagram details for complete cross reference pplication Area Diagram details for KAN4CDe4 4Soplication Area Rel Application Area Object Count ACCOUNTS COBOL Referred File ACCOUNTS COBOL Called Program ACCOUNTS COMNHDR Referred File ACCOUNTS CUSFMAINT Referred File ACCOUNTS CUSFMAINT Called Program ACCOUNTS CUSTOMERS Referred File ACCOUNTS CUSTOMERS Called Prograrn ACCOUNTS DEL16 Referred File ACCOUNTS DETI Called Program ACCOUNTS MYCFROCESS Referred File ACCOUNTS ORDERS Referred File aiii The Show AAD Details displays limited records if a particular application area is selected fr
90. the related program objects falling within or outside the selected application area The affinity is displayed as shown in the following image X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 104 dnd Application Area Affinity Identification window h l Affinity 83 z Affinity Identification for ACCOUNTS Al Programs CB906R CNTCMAINT RINMSGTEXT A GSCD s _ CUSFMAINT CUSFMAINTC CUSFMOLD CUSTMNT1 CUSTMNT1_0 CUSTMNT1_1 _CUSTMNT1_2 USTMNTIR RTNMSGTEXT TRNCLPCMD TRNHSTCLP WWCONDET WWCONHDR m TTT oO Oo 8 o amp O amp amp Two colors denote the affinity index of the programs with all the objects under the selected application area Red denotes above average Affinity Index Green denotes below average Affinity Index The above calculation is done based on the criteria below 1 The program to program dependency at the specific depth in the calling sequence 2 The common Database Files used in the specific pair of the programs 3 Exactly Matching Business Rules 4 Partially matching Business Rules The Affinity calculation is done considering the specific weightage for the above cases The default calculation settings are shown below i e in Affinity Index column X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 105 Application Area BizRle BizRle Note The Affinity Identification report can also be exported to MS Ex
91. the 2E members are generated from 2E model files The process then creates the procedure based RPG source from the action diagram If a specific 2E member includes any EXCUSRSRC type member its content which is recovered and stored in cross reference files gets appended The field definitions of the EXCUSRSRC member are also appended to the program using it The parameters e g starting with 1 O or B are renamed to start with Il OO and BB are set accordingly with the long field names which have been passed as the actual parameter from the calling 2E program s action diagram The example below illustrates this DRPRDFR Action diagram snippet Execute function Scan EXECUTE FUNCTION Scan TYPE EXCUSRSRC PARAMETER RCD Oms_ status PARAMETER CTL Oms_ status p12 PARAMETER LCL Scanresult Execute user source content of Scan Scan for search string Parameters 2015 Fresche Legacy Inc Page 393 Ths Appendix F X2E Specific Features x input ixutx te onderzoeken string input ixvtx zoekstring output Ounnb positie X D up C const ABCDEFGHIJKLMNOPORS D TUVWXYZ D lo w const abcdefghi klmnopars D tuvwxyz D ulen S 3 Initialize parameters movel blank u scanl 80 C movel plank uscan2 80 G movel Plank utranl 80 movel DLank utran2 80 C z add ZeELO uresul U Te onderzoeken string saven in uscan2 C movel ixutx uscan2 Zoekstring saven in uscanl C
92. the old version till you receive the new file New DB400 Connection The X Analysis menu provides the New DB400 Connection option Through this option you can create connections to different IBM i servers Provide valid sign on information when you select the New DB400 Connection option Upon successful sign on X Analysis adds a new IBM i node in the navigation view X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 36 JHJ LEGACY Creating New DB400 Connection from X Analysis Plugin File Edit Navigate Search Project B U O Q ee h s Navigation os Metrics Dashboard fy 192 168 21 102 fq New Connection Session Information Session Items Description Host Name A Analysis Usern X Analysis Library Job Details lt New DB2 Connection A Analysis Eclipse Platform A Analysis Tomcat Run Window Help i fib T Ph X ae w es Host Name 127 0 0 1 Username MARK Password Use SSL LJ Login Cancel Using X Analysis Client The X Analysis menu provides the New DB2 Connection option By selecting this option you can create connections to use offline X Analysis Provide valid DB2 sign on information when selecting the New DB2 Connection option X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 37 Creating New DB2 Connection from X Analysis Plugin File Edit Navigate Search Project wl Wo Qa E Navigation Metrics Dashboard
93. to the support team to get the License File After you have received the License file the next step is to install it Select the License Manager option from the X Analysis menu as shown below X Analysis User Manual 11 0 X Analysis menu License Manager option New DB400 Connection New DBZ Connection Mark all for Documenter Change Application Folder Open Log Folder Open Application Folder Authorize Google Drive Report an lssue Install SSL CA certificate 2015 Fresche Legacy Inc Page 34 thJst LEGACY Using X Analysis Client The License Manager View will be invoked Browse and enter the License File path as shown below License Manager View with the License File path 1 Enter the login informations and Connect to retrieve the server informations UseSSL C Security Code 2 Send the Server Information to Fresche Legacy to receive your License file Server Info Install License File F eaga CMU Click Install The Install log showing only the licenses included in the specified license file will appear Next click the License tab to get a complete list of the installed licenses It displays all information about the Product Expiry Date Status Install Date and License Type License Manager View License tab 1 Enter the login informations and Connect to retrieve the server informations Info License Security Code Product Expiry Date Install Date License Type A 2ZE An
94. user profile X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 362 Appendix B Enabling the SEU Interface Record Macro Script as File Name Directones IMAN4SEU c emulator private Record Format C VBScript File fe Macro File Description Record User Wat Time fe Actual C None C Fired List Files of Type Macro S crpt Files mac v Express Logon for Macro Step 2 On the Sign On screen enter the User Profile XAN4SEU Press Tab and enter the Password also as XAN4SEU I Session 24 x 80 Fle Edit View Communication Actions Window Help o DA AR BS a we el a ee Sign On C COPYRIGHT IBM CORP 1980 2009 i re MW 06 053 af 1902 Session successfully started Press ENTER The IBM i main menu screen will be displayed X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 363 Appendix B Enabling the SEU Interface Session A 24 x 80 EEk Fle Edt View Communication Actions Window Help D DA AR Em wi hb act B ee IBM i Main Menu Exii t F4 Prompt F9 Retrieve 17 Cancel 13 Information Assi 3 Set initial menu C COPYRIGHT IBM CORP 1980 2009 MW A R 20 007 a 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 X Analysis User Manual 11 0 2015 Fresche Legacy Inc
95. 0 2015 Fresche Legacy Inc Page 396 X Analysis User Manual 11 0 Appendix F X2E Specific Features Business Rules for the selected program e Programs TSAJEIR BS E r Business Rules for TS4JE1R in 442EDEMO O2ESRC E a H Pe SB eA o f Business Rules Program logic for ER Edit Hospital Edit recordil screen TsaAJEL1R USER Initialize detail screen new record WRE NWumber 4 ZERO WRE Wumber 5 ZERO URE Number_7 ZERO URE Alpha 6 RLAWE DTL Country RIVCND DTL Country Name USER Initialize detail screen existing record WRE Wumber 4 ZERO WRE Number 5 2ERO URE Number _ 7 ZERO UFE lpha 6 BRLANE USER Delete DEF record USER Validate detail screen fields iiil EH Business Rules E3 waa Ta n M 4 oO Business Rules for TS4JE1R Number of Lines 12 Source Member Rule Number Field o0001 Country TSACREP IF DTL Hospital Country is South Africa T54AJE1R ooo02 Gddress Post 7ip TS4CREP IF OTL Hospital Address Post ip is Range TS4JE TR OO00s IF OTHER WISE T54JE1R 00004 Country TS4CREP IF DTL Hospital Country is United Kingdom T5AJE1R 0000s Address Post Zip TS4CREP IF OTL Hospital Address Postizip is Range TS4JE1R OO006 IF OTHER WISE TS4JE1R a000 Country TS4CREP IF OTL Hospital Country is United States ol TS4IE1R o0008 Gddress Post 7ip TS4CREP IF OTL Hospital Address Post ip is Range TS5AJE1R o0009 IF OTHERWISE TSAJETR oo010 Country TS4CREP IF OTL Hospital Country
96. 1 0 2015 Fresche Legacy Inc Page 220 Options on Screen Components Annotate option 5 Screen Components x b eE de Fob E G El amp warn 0 Screen Components For Application Library MAN4CDKA fall 5 Program Function Type Seqgho OSPF Format Physical File Title CUSTMANT1 I eg er ee Ce EE E sen Source Code CUSTMAT 1020 13 ffF TO CUSTMNT1_0 big Function Editor at Preview Designer CUSTMNT1 0010 CUSTMNT1 0020 R I R Z7FTOL R ZZFT02 CUSTMNT1_1 I M Page Designer CUSTMNTI_101D R s7F To Me Data Content CUSTMNT1_102D FR ZZFTO2 IB Screen Actions I R R I R CUSTMNT1_ FL Class Diagram CUSTMATI 2010 Business Rules CUSTMNTI 2020 2eFT FTO2 CUSTMNTIR Component Documenter CUSTMNTIROID Lil eeFIOl Annotate The following dialog box is invoked in which you can write notes Subsequently click the related buttons to Save Delete or Cancel annotates Annotation dialog for a selected Screen Component Annotation for CUSTMNT101D Additional Notes DEVELOPMENT SCREENS X Analysis provides the following options on Development Screens Function Editor Screen Actions Preview Designer Class Diagram Page Designer Business Rules Data Content X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 221 Anos Options on Screen Components Options available on Development Screens List FA Development Screens i Fob amp a
97. 10 08 03 10 28 09 09 18 03 10 19 03 10 18 03 10 18 03 10 18 03 10 18 03 10 18 03 10 18 03 10 NAAN E hd r Base Change Date The first column of the PTF Analysis displays Class The Class column can have any of the following entries MODIFIED The object from the PTF library was found in one of the CUSTOMISED libraries User Action The PTF object will have to be reviewed and changes applied in the CUSTOMISED library manually applied to the object in the PTF library NEW The object from the PTF library was not found in the base repository User Action The PTF object can be placed in the base library APPLY The object from the PTF library was found in one of the BASE libraries Vanilla but not in any of the CUSTOMISED libraries User Action The PTF object can overlay the object in the base library X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 236 X Analysis User Manual 11 0 Inter Repository Options REFERS The object from the PTF library refers to one or more objects in one of the CUSTOMISED libraries The details are in XPTFROBJ User Action The PTF object will have to be revised to make sure all customised objects referred to still meet the requirements of this object REFERENCED The object from the PTF library is referenced by an object in one of the CUSTOMISED libraries The details are in XPTFROBJ User Action The CUSTOMISED objects will have to be reviewed to m
98. 11 0 2015 Fresche Legacy Inc Page 100 Application 4rea OIE MEOO1 ORDERS Application Area Omit from Application Area dialog Omit CONOO1 from Application Area Description Order Entry Application 4rea CEOO1 orders Planning System Printed documentation Sales System test app area Tesk Demonstration Cobol Application To remove the object select the application area name and click OK CONTEXT MENU ON AN APPLICATION AREA The context menu on an application area is displayed below X Analysis User Manual 11 0 Context menu on an application area Application Area Options d Derive Business Rules Export Options Annotate Document Application Area Data Management Options Test Management Options d Reengineer Programs Generate Programs Generate Web Services Generate Data Application Data Migration Audit Options UML Options d 2015 Fresche Legacy Inc Page 101 X Analysis User Manual 11 0 Application Area APPLICATION AREA OPTIONS The Application Area Options sub group consists of the following Update Description Remove Application Area Application Area Rules Affinity Identification E Affinity Comparison New Application Area Add to Application Area Omit from Application Area Update Description Select the Update Description option This invokes a dialog which allows you to modify the application area description Change the description
99. 12 Cancel PIS How to use this display F24 More keys Press F10 and Page Down X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 361 THUS Appendix B Enabling the SEU Interface Set Special Authorities ALLOBJ JOBCTL E SAVSYS Change User Profile CHGUSRPRF Type choices press Enter Additional Parameters opPecrla k authori y e a a a ATT TOBI SAME USRCLo NONE x JOBCTL GAVOT Sjoeieale LL 3S Ironmen e So Vek SAVME wos Covel gt NONE 1S 6 6 Display eig OM iNt E Omit on oe Valk SAMES NO AYES oe Valk Rass Wold expirat ron Iinterya lnm xSYSVAL 1 366 SAME SYSVAL NOMAX Limit device sessions xSYSVAL SAME E NOMRE YES ovo Van Keybecard Dufferin 2 2 25 aa aa OSVALD SOANE oo oV AL NO Maximum allowed storage NOMAX Kilobytes NOMAX Highest schedu ule priority n 3 039 Job description Library Group profile QDFTJOBD QGPL x NONE Name Neame AME A CURIE Name NONE Mome ee FP3 Exit F4 Prompt F5 Refresh F12 Cancel PIRB How eo use this display F24 More keys Step 3 Logoff CREATING MACRO OF XAN4SEU Macros allow you to automatically sign on for XAN4SEU and seamlessly work with the SEU option So it is necessary to verify whether the XAN4SEU 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 XAN4SEU
100. 128 Application Area DiagraMi esisssneniiccernnen anann a nni 128 Atea FOW DISE aN ep EE eno nee eee 131 Quick Reference to an Object ssssesessesessecessscesescesescecesoecesoecessecessecesescoessecesesoese 133 Jma D ANOS an A E EERE 133 Source Browser VICW scccciscasenscsnecenedsseeneus snecnnsnnsecnneceviensdesesenseyaetadadensdavsenessesssnesdaenenas 135 0 2 e1 Bed L o Pee en nore ene a ee ee ae eee eee 150 Variable Where Used ener nee men ne eee ce en ee eee eee eee 151 File Field Details sac asesdseestencinnnaeadisd nieee a ETE EE aea 155 EF ACCS PANS ee en ee E a 156 MEMO CI DAREN oar eE E E EE 156 Ennanced Member XRef oesssecencwececoaseatagavaposeanneevaraeeawecsenntoatagarapertnonecsapae sous eeseteeneten 158 AdE BOONE Kesare ere N E E E R 158 2015 Fresche Legacy Inc Page 4 Contents Program Logic DOCUMENTATION cscscscscscscscecccscsccccscscscscscscscecccscscsscscscscscsceces 161 Daa POW DET i anar TE E TO O 161 Structure Chart Diagr ag scircgeece cence a cecsamaedevancncawnce ENE 170 Application Arer SCD par crsnecoceaesvgceaoneunareseranarcassenotuanactevannedenteseranaraaienstaaiaeteaanedenveee 177 Hierarchical Structure Chart Diagram ccccccccccsssccccsseecceseceseececseeceesenecessecesaeeees 177 Mverned o UctuUre Car oeaio EE EE 184 Program Structure Chart PSC scc scadesvainacavisssacsssanindnatiavadnnsana iri E TaN E EENAA 185 Overview Structure Chart OSC eesssesssesssesessrssserssssre
101. 2 Screen Actions a Class Diagram Business Rules CUSTMAT 1 O01D CUSTMAT 1 O02D 2fFTO1 fF Ue CUSTMANT1_ 1 CUSTMAT1 1010 CUSTMATI 1020 CUSTMATI 2 CUSTMATI A010 CUSTMAT I 02D R I R R I R R I R Z 2F 101 R Z F IU CUSTMATIR I R Component Documenter CUSTMNTIROID f FTO1 ral ii Annotate The Screen Actions option is available for all Screen Components and Development Screens Screen Action Diagram Screen Components W Data Content Diagram B Screen Action Diagram i i A EERE E i ToN wW ONHER OZ E 5 SWBCCD WorkField E O Delete wWwWCONHORO2D Z2FTOL 5 SWECCD WorkField lL Display WWCONHDROZD 7 FTO1 4 a SWECCD WorkField C Lines X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 217 Options on Screen Components CLASS DIAGRAM Select the Class Diagram option to generate the UML class diagram Right click for the context menu on a Screen Component and select the Class Diagram option Class Diagram option E sn Components 3 CERFLELLEMTILCLCAE Screen Components for Application Library SAN4CDSA CAI Program Function Type SegWo OSPF Format Physical File Title CUSTMNT1 I as TMNTIOID EAU E Screen Source Code 13 CUSTMAT 1020 FTO2 Screen Components ii CUSTMNT1_0 sig Function Editor f2F TOL AI f2 FTO2 2 CUSTMANT1 OO1D Preview Designer CUSTMATL OO20 Page Desi CUSTMNT1_1 E Page Designer CUSTMAITI 1020 eeF T
102. 2EEPDY2DLSHLO Missing access path for entr AKkKKKKK END Or DATA KkKAKKKK Bottom Fo Exit F12 Cancel F19 Left EZ OSTRIA F24 More keys Option 20 X Analysis Log Option 20 can be used to display an audit of X Analysis and Generate processes The following screen displays the X Analysis Log window X Analysis Log Report screen Display Physical File Member ale eae ee XA4LOG trie loyal a oes ee AA2EDEMO Member a o 2 amp XA4LOG RECOrd 2 ane as 36 Comae rere ee B COLUMM o o o o o 1 Pind r E E T E E E S E E ret ai mach Mente ee ear E a r ceeeeba neers eieers A020 3 00S 433 33 AA EDEMO E RE EN Program TSAHSRR MANOJK ZOTZ OO T e 00S TAA EDEMO XREGEN Brocmamnk eaS Mirra MANOJK 202 009 222 03372 CRAZE DEMO XREGEN micomicsiils ank EMEA MANOJK X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 383 AOI 0 SIZ ZO 209 alee Ad OC I Oe Vs Os Manor O Oo nko AOILZ0 S25 10 ZOLZ UG Zod ZO e OI lhe O OO a 0 AO 0 f 2510 Z a i 0 ella O2ZAA2E DEMO 07AA2EDEMO 0O6AA2E DEMO 42AA2E DEMO 36AA2EDEMO 20AA2E DEMO 41AA2EDEMO 13AA2EDEMO L4AA2E DEMO 20AA2EDEMO 1 6AA2EDEMO XREGEN XREGEN XREGEN XREGEN XREGEN XA4INIT XDMODEL PEOQ ram Prooucam Program Program Ruogami Application Initialization CA2E Appendix D XREDOAPP Command SBME SBME IP SleWMleleds TSBMPFR WSBMEER XREENGPGMS ALL programs XGENBRULES ALL programs ATL programs ALL program
103. 3 rog 40 206 2552 Maint Index Total 23 months back 7011 06 04 1 904 rla 39 027 2599 Files Total 34 months back 2010 07 02 1 910 709 39 582 3057 Device Files Total 39 months back 2010 02 08 2 465 75l 45 971 6674 Called Programs Total 4z months back 2009 11 14 2 616 fa 47 340 7644 Calling Programs Select the Cyc Complex option from the drop down menu X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 248 Ths Complexity Level Cyclomatic Complexity option for Chart Summary Metrics T Metrics History i Metrics History for XAN4CD RA Change Date Source Lines Cyc Complex Halstead Maini Low Total e ee Total Total Total Total Total Current State 2 263 20 months back 2011 06 19 2 263 23 months back 2011 06 04 1 904 34 months back 2010 07 02 1 910 39 months back 2010 02 08 2 465 4 months back 2009 11 14 2 618 F09 Eii fla 709 fal fal 40 211 40 206 39 027 39 382 45 971 47 340 zoot anne 2599 3057 0674 Jott Audit Options Source Lines Cyc Complex Halstead Maint Index Files Device Files Called Programs Calling Programs This action invokes the Metrics History chart displaying Cyclomatic Complexity Metrics History Chart displaying Cyclomatic Complexity ES Metrics History Chark E3 Ta summary Metrics Metrics History a00 700 600 T 500 i E S 400 o 300 oo 200 100 Metrics History 4 0 Sed 3 0 Interact
104. 332 thJsst m m gt lt Document Manager Single System Document Document Features oystem Documentation Specify Contents Select features to be included in the System Document Object List Data Model Diagram g Normal In Word as Image 0 Detailed In Visio _ Annotation LF Access Path details Detailed File Field Details _ Field Annotation Object Where Used Data Flow Diagram g Normal C Detailed Annotation Structure Chart Normal C Expanded O Detailed Depth Annotation Screen Flow Diagram Normal Expanded Program Structure Chart Annotation Screen Report Layout Normal C Detailed Business Rules _ Export to MS Excel Summan C Detailed a _ Include Internal Rtn s Source Source level Pseudo Code Flowchart Lewel Business Process Logic Lewel Choose the options which you want to document from the above dialog Click Next which will display the following screen X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 333 Document Manager Single System Document Specify Sequence oystem Documentation Specify Sequence What sequence would you like to have for the System Document Application Area OSC Normal Application Area DMD Normal 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 Annotat
105. 50L C407 SSL C0650 CA0805QL C061 501 Ceta C2501 501 MISSYSOBIICD 11501 MISSYSOBIICYSOSSOL MISSYSOBIPCYSO85GL MISSYSOBIPCZO045OL MISSYSOBIPCZOOS5OL MISSY SOBINCZO4850L MISSYSOBINCZO4950L MISSYSOBIPCZOSO5GL MISSY SOBIPCZO5450L MISSYSOBIPCZOS554L MISSYSOBINCZOFO5GL MISSYSOBINCZOF15GQL MISSY SOBINCSOF259L MISSY SOBINCZOF35OL MISSY SOBINCZOF45OL MISSY SOBINCZOFS5OL MISSY SOBINCZOF65OL MISSY SOBINCZOROSGL MISSY SOBINCZO81 SQL MISSY SOBINCS4385OL MISSYSOBINCZSO159L 2015 Fresche Legacy Inc Page 96 X Analysis User Manual 11 0 Application Area Application Area ADD APPLICATION AREA X Analysis creates application areas from part of one or multiple systems It is possible to programmatically subdivide an application into logical modules or areas This can be within the context of a single system or specific parts from multiple systems For example you can have an application area like ORDERS containing Order Entry details from Operational System to represent single system Application Area You can also have an application area as ORDERS containing Order Entry details from Operational System and Sales Ledger details from Financial System representing the application area as a specific part from multiple systems The Application Area feature facilitates the grouping of an application into different Business Areas They are defined on the basis of certain criteria called Application Area Rules Application Area Rules
106. 6 417 418 419 420 422 423 424 425 428 432 Suite of products 10 X Analysis Client 9 13 25 27 46 47 97 149 303 358 405 X Analysis Perspective 25 26 278 395 405 406 X Extract 223 420 X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 452
107. 92 168 170 10 ZAN4CDXA X4N4CDEM Tutorial System i Application Area Diagram xt Data Model Diagram t Overview Structure Chart Se All Objects rr Programs E Files Source Files Business Rules Em Consolidated Rules Screen Components Cp Change History Regenerated Programs Pee 2OUrce Scan OA Sanitize z FResize Frocedures 2015 Fresche Legacy Inc Page 91 SJ U U A J H Application Library Source Scan dialog Work with Members Source Scan Member Details Application 4rea Library NONE w ALLUSR hal Source File Type Search Details You can provide keywords in the Search Text box If an application area is not selected then click OK to scan the entire application for the Object s with the keywords specified by you Limit the scan by selecting appropriate details in the other drop down boxes In this way you will get results quickly The words mentioned in the Search Text box will also scan the source member s for comments if any containing the keywords Select the required Member Details and fill in the keyword s as is shown below Source Scan dialog with details Work with Members Source Scan Eg Member Details Application Area Library ATEST w Ah DEM we Source File Type Search Details Search Text When the scan is complete the Source Scan result is displayed as follows X Analysis User Manual 11 0 2015 Fresche Legacy
108. AS work with Order Detail CBCONDETNWOeD R eFt STKMAS work with Order Details CBCONDETNWOSD C aF TZ CONHOR work with Order Details CBCONDETNWOID R e TU CONHDR work with Order Detail CECONDETN W O40 C CBCONDETNWO T ZEC NFI STEMAS Work with Order Details 22101 Work with Order Detail CBCUSFMAT CBCUSFMATOID ffFTU1 Customer Site Maintenal CBCUSTMANT ba Kop GENERATE PROGRAMS Select the Generate Programs option to generate a new Java application using the recovered screens and business logic Generate Programs dialog Project Name Project Components DAO Entities UI JSF beans CSS Business Logic OR The option generates a new Java application by default The generated application follows MVC Model View Controller Architecture and uses Open frameworks viz Spring Hibernate JSF 2 0 Facelets JQuery etc which drive it The generated project has its neatly organized classes under various packages See the screenshot below X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 72 Anda Application Library Generated Java Project EG src fA com databorough utils a mantcdsa dao an cdxa daoservices santcdxa data mantcdxa jsfbean manstcds4 logic mantcds4 logic data applicationContext datasource xml applicationContext xml datasource override properties datasource properties log 4i xml J A J A a po X mo X m messages_en pr
109. ASTATUS CNTACS CONDET CONDETH Y CONHDR CPYBRSR CUSF CUSGRP CUSTS DELIV DISTS FILE FILE FILE FILE FILE FILE FILE FILE FILE FILE FILE FILE Attribute Description Status file Contacts Contract Detail Contract Detail new 7 Contract Header Cobol copybooks Sites Customer Groups Purchases Delivery Areas Distributors status Changed 05 06 12 05 06 12 OS 06 12 1S 08s12 05 06 12 25 09 12 05 06 12 zzl06llz Os 0612 04 10 12 05 06 12 p The description of the columns that appear in the Files List are as follows Library displays the name of the Object Library Name displays the name of the file Type displays the type of object in this case it is FILE Attribute displays the object attribute like PF LF DSPF or PRTF Description displays textual description long name of the file X Analysis User Manual 11 0 2015 Fresche Legacy Inc 30 03 11 010908 0109 08 0109 08 D20211 0109 08 10 05 11 0109 08 0109 08 010908 0109 08 0109708 gt hl Page 78 X Analysis User Manual 11 0 Application Library Status displays the file status which will be either A B C or D The details are provided in the Component Status section on the following page Changed displays the date when the file was changed Created displays the date the file was created Used displays the date when the file was last used Stmt Count displays the total count of the statem
110. Analysis Provide the name of the cross reference library which needs to be refreshed along with other details and click ENTER to submit batch job This batch job refreshes the cross reference library Once the batch job is over you can check the error log It is a spool file generated as a result of this batch job The following screen displays the spool file listing Spool file listing Work with Job Spooled Files JOD s XREFRESH User US Number 086439 Type options press Enter 1 Send 2 Change 3 Ho ld 4 Delete 5 Display 6 Release 7 Messages 8 Attributes SSWouel with printing status Device or Total Current Opt File Queue User Data Status Pages Page Copies XREPORT OQPRINT XARPTRLOG RID 1 1 QPJOBLOG QEZJOBLOG ARERO K RDY 2594 1 Parameters for prions 27S or Command F3 Exit F10 View 3 F1ll View 2 F12 Cancel B22 ieee F24 More keys Then use Option 5 against spool files to view the report Spool file for the XREFRESH command Display Spooled File alg a gees cone XREPORT Page Line aly all Geignene esl ae eee eee Columme M Find TE Soe eer E E E A A E E oe o E T N E E E E E O E E eres Ocoee rere EN X Analysis Audit hog tor X4SRCXC XREPRESH Processing XARPTRLOG XREFRESH completed X4SRCXC alc Wiss S05 Sey eng 0A 10 A END OF REPORT X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 417 Appendix H Refresh X Analysis Bottom F3 Exit F12 Cancel F19 Left IE ZO e lquie F24 More keys
111. C COMHDR CUSTS STRBAL STEMS STOMAS HHDH Field Type Length Description Ommitted 5 A A fay fay 5 fay 5 mo oc oc OO OO Contract Product Store Ref Mo Trn Hst Ten Type Contract Oty Stk Unit of Measure Price The keyed fields are displayed in RED To exclude a field select any field other than the keyed fields and opt for the context menu X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 110 Application Area Field Exclusion option File Field Field Type Length Description Gmmitted CONDET aw ORON Contract yt ABCD a Product ay Oo Ss a TTS awRICD ay BolT ay Get O aww PRI CONHDR CUSTS STEBAL STEM AS STOMAS Omit From Result comparison Trn Hst Trn Type Contract ky Stk Unit of Measure Price Ly La P P He H amp B On selecting the exclusion option Omit from Result comparison the window gets updated and starts displaying O against the omitted field as displayed below Omitted Field Test Result Field Exclusion fs i Did A File Field Field Type Length Description Ommitted Aw OROM A ED ETIT AACS aw TOTA Contract Product Ref No a wWwRTCD Trn Hst Trn Type AW ASOT contract Oty HW AZC Stk Unit of Measure avy PRI Price In order to clear field omission select the omitted field and select the Clear Criteria option from the context menu X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 111
112. CONDETLZ Single click on a specific object shows the references of that object Click on CUSTS to view its references X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 201 X Analysis User Manual 11 0 Data Model Diagram DMD of XAN4CDXA with CUSTS selected PA ee O s a OS at Data Model Diagram 3 Data Model Diagram for ALL Total Objects 50 ed i a ASIMPLTEST STOMAS EVA STKMAS STKBAL cpversec Purchases Cobol copybooks CONDETNW TRATYP Transaction type description Contract Detail new CBL Wer with Long Fields CNTACS a CONDET Transaction History Product Master Stock Balances Contract Header Contract Detail v Legend The DMD Legend shown alongside depicts the relationship type of the object s Refer To This depicts a relationship where a non key field of another file is referred Owned By This depicts a relationship where the key field of another file is referred Uni Directional This indicates a singular relationship I Refer To n j between two objects E Owned By Multiple Rels This indicates multiple relationships P Uni Directional between two objects Multiple Fels Internal This depicts the file internal to an application F Internal area External External This depicts the file external to an application Extended By area Extended By T
113. DCDE EVFEVENT 0 4 j J l i co oe S amp S OO a eS oo A coo co fF oOo ore FF O AA l i l l l l l l i D oe amp OO oe ee NA A SUMMARY REPORT The Summary Report option is available under the Audit Options submenu on the context menu of cross reference library and application areas X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 265 Audit Options Summary Report Type and Location X Analysis Audit Report Type and Location Select the type of documentation and its location Audit report generates Single document with documentation of the selected Application 4reafCross Ref Audit report Documentation type Generate Single Audit report Document Document Details Mame Browse Audit Report For 4h4CO 4 pdf Path C Program Files Databoroughis Analwsis 192 168 170 10 PCF 4h4cCb 4 Quit Report For s4N4C0 4 pdf Cancel Specify Type and Location Click Next X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 266 Summary Report Options X Analysis Audit Report Options Select option to be included in the Audit report Audit Report Metrics Analysis Problem Analysis Summary Detailed Difference Analysis Summary Detailed Business Process Logic Metrics Mark options to be included in the Summary Report and click Next Summary Report Specify Sequence X Analysis Audit Repo
114. Description Status Changed Created CLYAN4CDEM CEC110 PM CLP Order Entry System tA 190313 01 09 08 REMAN4CDEM CB9O6R PGM RPG Back ouk account S O32 CLYAN4CDEM CLET PGhM CLP Build Customer Letter A ogo CLYAN4CDEM CLET PGM CLP Print Customer Letter 1109 0 Re AM4CDEM CHTCMAINT PGM RPGLE contacts Maintenance yogi Re MON4 CDEM CONUFCO PaM RPGLE Revert Back Customer Info iO tE MOM4CDEM CONUPDI PaM RPGLE Update Customer Info version 1 REXAN4CDEM CONUPD2 PGM RPGLE Update Customer Info version 2 RE YAN4COEM CONOO1 PGM RPG Contract Entry CLYAN4CDEM CPOM PGM CLP List Correspondence i CLYAN4CDEM CSEC DGM CLP Build Security Fax i CLYAN4CDEM CSEC2 PGM CLP Add Code to Batch CLYAN4CDEM CSEC3 Poh CLP Agent Fax Prompt RE YAN4CDEM CUSCPY PGM RPG Customer Copy l lt q a0 q 09 The columns that appear in the Programs List are as follows Library displays the name of the Object Library Name displays the name of the program Type displays the type of object in this case it is PGM Attribute displays the object attribute like RPG LE or CLP or CBL Description displays textual description long name of the program Status displays the program status which will be either A B C or D The details are provided in the Component Status section on the following page Changed displays the date when the program was changed Created displays the date th
115. Distributors Fields DNANE DSDCDE Distributor gt CUSTS Purchases Jons No Join Rule Exists Fields a XWECCD Customer No WorkFietd Fields E RECNAM a SFIELD 6 26 11 69 in 4 Ak X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 372 X Analysis User Manual 11 0 Appendix C Component Documenter Screen Action Diagram System Document for XAN4CDXA pdf Adobe Acrobat Professional Bfk File Edit View Document Comments Forms Tools Advanced Window Help x 0g kie MOE 4 Screen Action Diagram for ZZF T01 CUSTMNT101D Customer Detal Maintenance CUSTMNTI01D 22FT01 0 26 x 11 69 in lt Screen Design Re engineered Screen System Document for XAN4CDXA pdf Adobe Acrobat Professional ig fx sums l WOE 5 Screen Design for 77FT01 CUSTMNT101D Customers Customer Detail Maintenance Databe Customer Wo Customer Wane Statement Account Related Account 11 69 x 6 26 in 2015 Fresche Legacy Inc Page 373 ths Appendix C Component Documenter Business Process Logic System Document for XAN4CDXA pdf Adobe Acrobat Professional File Edit View Document Comments Forms Tools Advanced Window Help Cable eer We amp com 6 Migrated Logic for Function 47FT01 CUSTMNT101D INITIALIZE fi Mainline Code Entry parameters 77 Initialise message subfile tiTnNa2 1 SSUBET ZZPGM 1 8 CUSTMNT1
116. EL command Database Library Name The library name which contains the application database files The command submitted with the value LOADLIB implying each database file should be located in the same library used when XA4MODEL was run X Analysis Application Area The command uses the application area on which this option is invoked to control which files in the data model should be verified Only relationships among files in the specified application area will be verified Since an application area has been specified the X Analysis cross reference library too is passed as parameter to the command Run Mode The Run Mode parameter is passed as REPORT implying generate a report showing the primary keys and the foreign keys of each record that breaches a given relationship up to a maximum number for each relationship as specified by the Maximum records parameter Maximum Records If you have selected a run mode of REPORT then XVERIFY will print a report showing the primary keys and the foreign keys of each record that breaches a given relationship This parameter allows you to specify the maximum number of records printed for each relationship If a dependent file contains fewer than the maximum number of records specified but more than zero records and all the records breach the relationship then that relationship will be updated Verification Report Opt for the context menu on the Verification node under the selected
117. EN 5 19 22REFFLD COSMO XAN4ACDEM CUSTS 19 2 REFFLD COSMO AN4CDEMYCUSTS Level 4 Parameters Level 4 further includes fields used as parameters Variable Where Used Level 4 Parameters View SA Variable Where Used i amp fal ed Fal A Variable where Used for ALL CUSMO Din Smeia pue CBCOSTAD CECUSTSD CECUSTSD CECUSTSD AMECCD i l STEAT Customer SFIELD ZWENCL Le d 2 PERSON Le en ZDSDCDE l4 fe AFIELD CECUSTSD CECUSTSD CECUSTSD CUSNA 19 22PEFFLD CUNO AN4ACDEM CUSTS CECUSTSD 2CUSN0 19 22REFFLD COSNO SAN4CDEM COSTS CLET PAPRM amp PE a liil t ee P Pe P P P he X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 154 Ando Quick Reference to an Object 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 Variable Where Used Level 5 Cascading Parameters View SA Variable Where Used 23 a A Hi Els O Variable Where Used for ALL CUSNO Diieswa04y Wien DevelsyS Gsscading Parameters CBCUSTAD CBCUSTAD CBCUSTAD CBCUSTAD AWBCCD O 10 STEAT Customer FIELD ZWBCCD J a2 ZWENCD l 42 2 PERSON 13 22 Un 0CDE 14 22 FIELD CBCUSTAD CBCUSTAD CBCUSTAD CBCUSTAD 2ACUSN0 19 2 REFFLD CUSNO AN4CDEM SCUSTS CECUSTAaD 2CUAN0 19 22REFFLD CUSNO XANACDEM CUSTS lt E i Fee P P P be Maximum
118. EN Edic reser ipi Ions DSPDTASFL PMTERROR SCNDATE TRNLOGIC F5 Refresh F6 Add F10 Drop Fold F12 Cancel F22 File Errors 2015 Fresche Legacy Inc LYNDAB LYNDAB LYNDAB LYNDAB Bottom F20 Summary Page 385 HISH Appendix D XREDOAPP Command Options under Project Control Screen The flow of actions from the Work with X2E RPG Project Control screen is as follows Actions Options Report issue picked for a program F6 Add Option 2 Change Delete reported issue fora program Option 4 Display reported program details Option 5 Notes Option 7 Compilation Errors Option 8 Missing Files Option 9 Summary F20 Project Notes F21 File Errors F22 F6 Add Enter the following information Note Same applies to Option 2 change the added issue Program Name Enter the program s name for which the issue has to be reported Text Enter suitable description for the issue Issue Type Enter issue type Date and Time of event This is a system generated field Issue Category Enter issue category Category Description Enter category description Assigned To Enter the name of the person to whom the issue is assigned Programmer Narrative Enter note for programmer X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 386 X2E RPG Work with X2E RPG Project Control XARWKPRJL Project AACA2EDEMO Ref d Project NONE CEG e X Analysis User Manual 11 0 Appendix D XREDOAPP Co
119. EVIEW VIEW Shilpi Khan oo co I amp i A Wrap Text General Hire z P EX z utoSum Ay fo aa Fill Merge amp Center TI oH 9 9 209 Conditional Formatas Cell Insert Delete Format Sort amp Find amp Formattingy Tabley Styles X X Clear v Filter Select Alignment z Number Styles Editing AppAraRules The data loaded from the Excel document can be viewed in the Application Area Rules editor window on Eclipse as is shown in the following image App Area Rules editor window Application Area Rules for XAN4CDXA Application Area Description Select Omit Object Type Comparision Object Name TESTAREA My Test Application Area 1 5 P EQ WWCUSTS EQ CUSTS TESTAREA2 My Test Application Area 2 5 TESTAREA My Test Application Area 2 0 EQ CUSTMNT1 5 TESTAREA3 My Test Application Area 3 EQ CUSTMNT1 Delete the entries by right clicking on the required row and save the changes by clicking the Save icon marked in the above image X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 66 SSS py Application Library Mm Note The pre defined format for the Excel sheet is available in the template folder on i the location where X Analysis is installed EXPORT OPTIONS This submenu has the following options Export as DDL Export as Web Query Metadata Export as Web Query Application Export Business Rules as XML
120. FOR COLUMN IANANE CHAR 54 HHT Application Area H gt A FOR BIT DATA NOT NULL Double click the Indexes sub node to display the index names Similar to the Tables each index is assigned a System Index Name Eff Indexes 83 Window displaying Indexes for NEWDDL1 Indexes For NEWDDL1 Total Objects 66 Index Name CAITLF 1 CHTLF2 CNTLFS CMTLF4 System Index Mame CNTLFI CNTLF 2 CHTLFS CHTLF4 CONDETLI CONDETL CONDETLS CORHDRL4 CONHDRL 1 X Analysis User Manual 11 0 CONDETLI CONDETL CONDETLS COBIHDRL4 CORHDRL1 Index Schema NEWDODL1 WEWDDL1 NWEWDDL1 NWEWDDL1 MEWDDL1 NEWDDL1 NWEWDDL1 MEWDDL1 NEWDDL1 2015 Fresche Legacy Inc Right click on an index name to invoke the Zoom Source option The following image shows the Source List for a selected Index name Page 124 HIS Application Area Source List window CNTLF1 Ef Indexes CNTLFL es 0 Source List of CNTLF1 in NEWDDL1 QDDLSRC Lines 13 Yiew Level 5 r E BRP uw B i a oe Seq No se eo eee a ee ee eee 000i 0d Generate SOL OO0e2 00 Version VVRIMO 100425 0003 00 Generated on 06 03714 20 38 34 0004 00 Relational Database 2 LOSBOUR adas 0d Standards Option DRBe for i OO006 00 0007 0d CREATE INDEX CNTLF1 0006 00 ON CNT amp ACS O SIMIT ASC USERNM Asc w lt tl gt Views Select the Views sub node to invoke the window listing the Table Name besides the
121. Flow Chart Level 1 LFiAccess Path details File Field Details Object Where Used Data Flow Diagram Mormal with Annotation Structure Chart Normal with Annotation SOuUrCE Source Flow Chart Program Structure Chart Paper Size Letter 8 5 x 11 CO A4 Size 8 27 x 11 69 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 O Exit Skip document creation Click Finish to generate the document No Detailed Object Documentation If the No Detailed Object Documentation option is selected then only the Overview Structure Chart and or the Data Model Diagram as specified in the Application Area Options dialog is created X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 339 Document Manager No Detailed Object Documentation X Analysis System Documentation Application Area Options Select Application Area Features to be included in the System Document Diagram Options Overview Structure Chart Normal Expanded Detailed Data Model Diagram Normal In PDF as Image Detailed
122. Flow Diagram Object Where Used Variable Where Used Ta J a f m k Structure Chart Diagram Program Structure Chart Screen Flow Diagram Screen Components Screen Report Layout Annotate Mark For Docurnenter More Info Re engineering Options Application Area Options Design Recovery Options a RE GENERATE UML FOR APPLICATION AREA The Re generate UML option on an application area generates Activity Diagram and Class Diagram for all objects belonging to the selected application area Select the MVCPROCESS application area from XAN4CDXA and opt for the context menu on it Then select the Re generate UML option from the UML Options submenu This generates the Activity Diagram and the Class Diagram for all objects along with the Class Diagram for the selected application area X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 280 Data Management Features Data Management Features X Analysis is unique in that it automatically derives the system data model by analyzing both the actual data contents and all programs that use this data to verify the existence of any cross file relationships These potential relationships are verified by performing an integrity check to ensure that all data from the dependent file does indeed validly reference data records from the owning file In this way even the most complex legacy system can be data mo
123. Folder P D Program Files Databorough X Analysis 192 168 170 10 PCF_XAN4CDXA This option opens the folder currently used to record the log files of X Analysis The XAPlugin log file can also be used for bug error tracking To choose this option select the Open Log Folder option from the X Analysis menu X Analysis gt Open Log Folder X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 41 Using X Analysis Client Open X Analysis Log folder Log 2010 2 18_2 49 6977 File Edit View Favorites Tools Help Folders fine Search amp XAPlugin log Text Document 13 KE Open Application Folder Each application has its own Application Folder This folder contains generated System Documents Flowcharts and DDL files To view the Application Folder select the Open Application Folder option from the X Analysis menu X Analysis gt Open Application Folder Open Application Folder PCF_XAN4CDXA File Edit View Favorites Tools Help i gt Py Folders H J Search Y Address D Program Files Databorough Analysis 192 168 170 10 PCF_xAN4cDx EJ co Authorize Google Drive The Authorize Google Drive option authorizes you in exporting the DOCX or XLSX files to Google Drive For more details refer to Appendix M Report an Issue The Report an Issue option helps you in reporting an issue along with the log files When a user selects this option X Analysis collects all the information required
124. Folder gt After this step click Next to proceed further as shown below X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 330 Document Manager Single System Document Application Area Features X Analysis E mfx System Documentation Application Area Options Select Application Area Features to be included in the System Document Diagram Options Overview Structure Chart Normal Expanded Detailed Data Model Diagram Normal In PDF as Image Detailed In visio Show Al Application Grea Diagram Annotation d Application Area Annotation Coverage of System Document Detailed Object Documentation in Alphabetical Order Detailed Object Documentation in Call Sequence Order No Detailed Object Documentation The Overview Structure Chart and the Data Model Diagram options mentioned in this dialog are only for the selected application area The wizard dialog displayed above has a section called Coverage of System Document This section has three options depending upon these three options the System Document differs in its approach Let us see how these three options work Detailed Object Documentation in Alphabetical Order If the Detailed Object Documentation in Alphabetical Order option is selected then the object documentation proceeds in ascending alphabetical order of the name of objects in the application area The following dialog is displayed in the wizard X A
125. HCAL UPD LETN1 Letter Prefix Generation AWKCUSL Customer Letter CUSLETSO Update Letter Sequence FHIWECUSE Customer Release Letter FHAWKCUSSF Customer Enquiry Letter PRIFIL _QSECTXT gt AEE WKCUSSEF Find Fax Number OTHFIL Detailed Structure Chart m Generate the Detailed SCD by clicking the Show Narratives icon from the toolbar of both the SCD and the Expanded Structure Chart Diagram The following image shows the icon X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 175 Joa d Program Logic Documentation Show Narratives icon e Object List CLET Sees Structure Chart for CLET Total Objects 8 M h amp h Show Narratives The image below shows the detailed SCD for the selected object CLET Detailed Structure Chart Diagram e Object List CLET CLE S Detailed Structure Chart for CLET Total Objects 19 amp Fl amp H CLET OTHCAL Build Customer Letter Program Build Customer Letter A principal function of this program is to make H certain calculations then return the values to the calling program The following programs are called to carry out subsidiary functions LETN1 WKCUSL LETNI OTHFIL Letter Prefix Generation Program Letter Prefix Generation A principal function of this program is to read fle CUSFL3 the Sites by Number file Parameters are passed to the program when itis called The program is called by CLET CLETN CPDM
126. IDX and XAROBOT commands towards the end of the processing These commands generate source members for IBM Job Scheduler entries and ROBOT Job Scheduler entries X Analysis initialization process starts the ROBOT processing if it finds files RBTROB8 RBTCMD1 and RBTCS2 all in the same library For ROBOT entries it creates and indexes source members in QCLSRC and writes XMEMBER records It also populates the XAROBOTIDX file COMMAND XASCDEIDX The XASCDEIDX command will cross reference the IBM job scheduler entries A CL source member is generated in the specified library for each job This source is then indexed enabling references to be displayed through the Variable Where Used and the Object Where Used features X Ref Job Scheduler Entries KASCDEIDX X Ref Job Scheduler Entries XASCDEIDX Type choices press Enter XAN lysis Ione Ch source library X Analysis Library Enter the name of the X Analysis library where the Where Used data should be stored CL Source Library Enter the name of the library where the CL source should be stored This can be the X Analysis library itself if required COMMAND XAROBOT The XAROBOT command creates Program References and Global Where Used entries for jobs initiated from the Robot job scheduler X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 422 Appendix X Analysis Indexes Job Scheduler Entries Index Robot Scheduler Jobs XAROBOT Create Index Robot Sche
127. INLE DOWEQ C EXC C EXCPTEE C REA C READ QL C END C END OQSYSPRT HOO 1 OA OOSYSPRT HOO 1 OA O EF 1 EF 1 PRI D SRL GS END OF PGN t ii SCREEN METRICS The Screen Metrics option provides low medium and high complexity classification of all the available screen functions The screen metrics information is displayed for the complete application and for all the application areas The Screen Metrics information is displayed under the following headings Grid type functions Record type functions X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 250 Audit Options Other functions The following screen displays the Screen Metrics information for the cross reference library XAN4CDXA Window displaying Screen Metrics for XAN4CDXA Screen Metrics for XAN4CD A feaua Complexity Level Units Files Database Fields Work Fields Outgoing Calls Incoming Calls Function Keys Conditioning Fields E Grand Total a a31 664 Jaza fe Ja as O O aO O High 6 55 13 6 48 Average fl 1i4 590 Low 11 11 19 a TH Application Area Breakdown ACCOUNTS 38106 57H IR High Tahar 5 o 0 0 12 Average 0 0 0 0 0 0 0 0 Low 0 0 0 0 0 0 0 0 CUSFMAINT 62 105 59 BO The Metrics information displayed above has the following columns 1 Complexity Level This shows various groups The topmost group is either Grand Total or App area totals All functions in application areas or cross
128. Inc Page 92 Joa d Application Library Window displaying Source Scan result Business Rules Source Scan Result E3 fly l aaa m Source Scan For Test Name seq No Peet ee teeta e eer ey ce athe te ewotina bile eime ct Sree aeeee eet eer hens AAS YSOPR 24 00 SHDIMS G MHaG xA Test Alert TOUSR SYS50FR ORDAUDITOL ORDAUDITOL ORDAUDITOL ORDAUDITOS ORDAUDITOS ORDAUDITOS ORDAUDITOO ORDAUDITOO ORDAUDITOO l4 19 ad l4 13 ad l4 13 ad O0 O0 O0 O0 O0 O0 O0 O0 O0 USEDTS BATCHTEST USEDTS BATCHTEST USEDTSA BATCHTEST USEDTS BATCHTEST USEDTS BATCHTEST USEDTS BATCHTEST USEDTSA BATCHTEST USEDTS BATCHTEST USEDTS BATCHTEST HT SPLFNAME ORDERS SPLFNAME BALANCESTO SPLFNAME BALANCEPRD SPLFNAME ORDERS SPLFNAME BALANCESTO SPLFNAME BALANCEPRD SPLFNAME ORDERS SPLFNAME BALANCESTO SPLFNAME BALANCEPRD X Analysis User Manual 11 0 PROCEDURES Select the Procedures node to access procedure related information This node is available on the navigation pane of the application Expand the Procedures node to reveal four sub nodes displayed below Procedures node wh ZANACDXA SAN4CDEM Tutorial System A Application 4rea Diagram at Data Model Diagram Ea Overview Structure Chart Se All Objects I Programs E Files Source Files Business Rules Em Consolidated Rules Screen Components Ce Change History Regenerated Programs Source Scan
129. J XMETOBJH if necessary The data in XMETOBJ XMETOBJH is not necessary to the source archiving process itself but is used by the PC client to locate the change history If data is written to XMETOBJ by source archiving the SRCACT field is set to the value A Processing Source archiving is invoked from XA4INIT XREFRESH XA4MAINT and XA4SRCMNT which all call the wrapper program XRACVMBR The archive processing itself is done in srvpgm XACV in procedure XACV_ArchiveMember This procedure checks the source update date time against the date time recorded in XAACVHDR If there is a difference archiving takes place i e copy X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 269 ar yng X Analysis User Manual 11 0 Audit Options the source write out to XAACVSRC update XAACVHDR and write out to XMETOBJ XMETOBJH if appropriate data is not already present in these files The wrapper command program XACVMBR XRACVMBR first checks whether metrics is active then performs either a if metrics are active writes out a record to XMETCHGS which will cause metrics processing to take place when XRMETCHGS is called which is the case in XREFRESH XA4INIT and XA4SRCMNT or b if metrics are not active calls procedure XACV_ArchiveMember If metrics is active then the source archiving call is made from metrics processing which will call XACV_ArchiveMember This is so that metrics will write the appropriate XMET
130. K to unselect the application and submits the modelling command in batch mode The process locks the application X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 64 Application Library Repository Refresh Log The Repository Refresh Log option displays list of commands which were executed over the selected cross reference library The option is available under the Refresh Options submenu on the context menu of the cross reference library Select this option to display the following window Repository Refresh Log Repository Refresh Log 25 E Repository Refresh Log of Z4N4CDRA im al fs f Run Date Run Time Program Executed Motes 2012 12 20 012 12 20 012 12 20 012 12 20 2012 12 14 U12 12 14 012 12 05 012 11 29 012 11 29 012 11 29 2012 11 29 0iz 11 293 012 11 29 2012 11 29 2012 11 29 012 11 29 U12 11 29 012 11 27 e012 11 22 012 11 05 012 11 05 125025 12 40 36 12 11 54 075703 OF so 02 17 46 04 125339 12 51 43 11 46 19 11 46 00 10 53 04 10 51 17 10 26 16 10 24 01 10 12 25 10 06 45 140332 06 31 26 Ha a 06 41 16 REGEN REGEN REGEN REGEN REFRESH REFRESH REFRESH REGEN SGENBRULES REGEN GENBRULES REGEN REGEN AGEN BRULES REFRESH AlGENBRULES AGENBRULES AGENBRULES ADMODEL AREEN AGENBRULES ALL programs ALL programs ALL programs Program Ww STS REFRESH Processing REFRESH Processing AREFRESH Processing Are
131. KEREEREEKRERAKERERARERKEKRAKEKERKERK EX ji KERKREXERRERREXREERRERREXREERERRERKERERKREREKREREERERREREERREREMR ER ee Fi2 Cancel Fi0 Cursor Fil Toggle 04 026 a Hd aS Bm wl sla ele Host Port Columns SEU FMT 0120 0121 0122 0123 0124 0125 0126 0127 0128 0129 0130 0131 0132 UEER 0134 0135 Disconnect Browse Workstation D if KEXEERERRERKEREERERKREXRRERERREREERERKERKRERERRERKRERERRERRER begsr zuwrtprbobjs prbcat TRIGGERS prbob trfile setllle prbcat prbobj xprbobjs if not equal xprbobjs Write the records writele rprbobjs Clear the existing records clear rprbobjs F9 Retrieve Fi0 Cursor Fi Cancel F24 More keys Fill Taggle 05 016 QRPGLESRC XRADDTRGRS Audit Options These modifications in the Problem Analysis will be reflected in the Problem Analysis Editor when taken Now when you select the Problem Analysis option the Edited Category can be seen there X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 274 Audit Options GENERATE PROBLEM ANALYSIS The Generate Problem Analysis analyzes the application database files and reports problems Select the Generate Problem Analysis option from the Audit Options on the context menu of the X Analysis application This invokes the following dialog Generate Problem Analysis dialog Generate Problem Anal
132. L Schema Diagram for NEWDDL1 G ASTATLIS Al cnTacs A CNTACSKO A CONDET a Columns STATUS Columns Columns STATUS_TEST Primary Keys CONTRACT PRODUCT Foreign Keys PRODUCT TRA_HST_TRA_T PE Columns CONTRACT TRN_HST_TRN_ TYPE CONTRACT OTY STK_UNIT_OF_ MEASURE PRICE 4 lt ti we File Analysis When you select the File Analysis option a list is presented displaying all the files sorted to be rebuilt as SQL Index SQL Table or Table with LF for existing name The following screenshot shows the File Analysis list for application area ACCOUNTS File Analysis window e Object List Problem Analysis File Analysis 25 i File Analysis list for ACCOUNTS m al OoOo Fi 7 Category Object Description Type Attribute To be rebuilt as SOL Index El To be rebuilt as Table with LF for existing name oie Contacts E CNTACS Contacts LF PF CISTS Distributors LF FF HAMESI Mames Index LF PF SLMEN Salespersons LF PF SLMEN Salespersons LF PF E To be rebuilt directly as SOL Tables CONDET Contract Detail PF COMHDR Contract Header PF CUSF Sites PF CUSTS Purchases PF X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 127 Application Area Diagramming Application Area Diagramming APPLICATION AREA DIAGRAM X Analysis allows easy subdivision of an application into business areas or application areas You are able to split the application areas further into sub application are
133. LICATION AREA The conversion of DDS into DDL is intended for the clients planning to modernize their databases to get the enhanced DDL features Below are some of the benefits 1 Better data integrity data validation is performed at Write Update unlike in DDS where the validation is performed on a read 2 Access to new data types not supported in DDS identity columns BLOBs CLOBs DataLinks etc 3 Better read performance DDS to DDL X Analysis In X Analysis enhancing the maintainability of databases by converting from DDS to DDL can be achieved via the DDL Modernization node This feature is only available under the X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 116 Application Area application areas When an application area under an X Ref library is expanded the DDL Modernization node appears under it as shown below DDL Modernization node under application area ACCOUNTS There are four sub nodes under the DDL Modernization node These are X Analysis User Manual 11 0 X Analysis Eclipse Platform File Edit m Mavigation Mawvigate Search Project Analysis T a a E Metrics Dashboard Tomcat Run Wh XAN4ACDXA XAN4CDEM Tutorial System ta Application Area Diagram xt Data Model Diagram Peu Overview Structure Chart e All Objects i Programs US Files Source Files Business Rules Fae Consolidated Rules Screen Components ce Change History Ha Regenerated Programs
134. Learn more Create new Client ID Public API access Use of this key does not require any user action or consent does not grant access to any account information and is not used for authorization Learn more Create new Key Create Client ID pop up window Google Developers Console X TE gmail com Click on Create new Client ID The following pop up window will appear https console developers google com project fluted bit 803 apiui credential ve a Search Monitoring Source Code Compute Networking Storage Big Data X Analysis User Manual 11 0 Create Client ID APPLICATION TYPE Web application Accessed by web browsers over a network Service account Calls Google APIs on behalf of your application instead of an end user Learn more Installed application Runs on a desktop computer or handheld device like Android or iPhone INSTALLED APPLICATION TYPE Android Learn more Chrome Application Learn more iOS Learn more PlayStation 4 Other Create Client ID 2015 Fresche Legacy Inc Page 442 Anos Appendix M Export to Google Drive On the pop up window select APPLICATION TYPE gt Installed application and INSTALLED APPLICATION TYPE gt Other Click Create Client ID 7 A window will appear displaying the Client ID and Client Secret Please save the Client ID and Secret for later use Client ID and Client Secret Client ID for nativ
135. List Summary Metrics 3 i Metrics Analysis for XAN4CDXA Double click to view History as Rl a4 Complexity Level e Be Source asi 30 em kalasia 4 Grand Total a HighTotal ie 1186 82 7551 High RPG d 186 133 Taal y gt Click the General Metrics Preferences icon to invoke the following dialog General Metrics Preferences dialog Metrics Preference Setting Source Lines Cyclomatic Halstead Maint Idx Called Pam Calling Porm Files Device Files Highvalue ooo e S L e S S X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 245 thJsst LEGACY Audit Options Specify a high value so that any value above this will determine that the program is of high complexity Any program that falls below the Average setting will be determined as Low complexity Print Metrics To print the Metrics directly select Print Print icon on Metrics Window Toolbar Source Type court Compl Halsteac Export Metrics Select the PDF or MS Excel option as required under the Export Options icon xport Options on Metrics Window Toolbar Expand All Click the Expand All icon which will expand all the data Expand All option on Metrics Window Toolbar Complexity Level 4 Grand Total The screen below shows the expanded window after the Expand All icon is clicked X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 246 Audit Options Expanded Metr
136. Logging This controls the logging statements to include on the generated code By default None is set i e no logging Trace includes the Entry and Exit statements into the Public functions by default Selecting Debug includes the statements to log values of the entry parameters when entering a Public function and their values when exiting the function These are in addition to the Entry and Exit statements generated by the Trace option For Trace Debug mode you may select All to log all the functions the control enters and exits at the runtime X REDO ADVANCED PREFERENCES Expand the X Redo node to view modify the X Redo Advanced Preferences X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 54 Using X Analysis Client X Redo Advanced Preferences type filter text Advanced gt Run Debug Advanced X Redo Preferences gt Server a Bp Page Designer Service Policies s Tasks Design Page using Eclipse gt Team Generate WAR EAR gt Tomcat gt UML Diagrams _ Generate Separate UserLogicClass gt Usage Data Collector _ Generate Java to use with Other Databases Validation _ Suppress try catch Statements in Logic Classes gt Web gt Web Services A Analysis Advanced Folders General A Data Test a A Redo gt ADoclet gt AML Restore Defaults Apply You can modify the following X Redo Advanced Preferences
137. Marking the individual objects complete list section X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 352 Document Manager DOCUMENTING AN ENTIRE APPLICATION The Document Entire Application option documents all information about objects belonging to the selected application This option is available on the context menu of an application and invokes the System Documentation Wizard The procedure for documenting an entire application is same as the procedure of documenting an application area DOCUMENT CHANGED OBJECTS The Document Changed Objects option documents those objects which have changed since the last initialisation was run on the cross reference library This option is available on the context menu on a cross reference library The Document Changed Objects provides a filter criterion for the System Documentation process The user can select the object s library name type and attribute as per the requirement Filter Documentation List Filter Documentation List Library Mame Attribute VIEWING THE GENERATED DOCUMENT The default Application Folder for a specific application can be opened by selecting the Open Application Folder option from the X Analysis menu from menu bar X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 353 Anos Document Manager Open Application Folder Run Window Help New DB400 Connection New DBZ Connection Mark all for Docurnenter Change Appli
138. NO Include obsolete source object ANO x NO If the sources and objects are modified then the XAXREF job needs to run with CHG option and Build Data model to YES to track any file level changes in keys fields etc Generate Business Rules to YES to track any source level changes The details of the various options available on the XAXREF command are given below Feature Brief Description X Analysis Library The X Analysis cross reference library name Object Libraries Special value SPECIFIED is selected by default It means that X Analysis will retrieve all object libraries you have previously specified using Option 8 Source Libraries Special value SPECIFIED is selected by default It means that X Analysis will retrieve all source libraries you have previously specified using Option 8 Index Source Files Specify whether or not to create indexes over the source files These indexes will allow the immediate display of where used data They may be required for the generation of the data model depending on which options are taken If the indexes are not built now they can be built for an individual Source Member at the time they are viewed through the X Analysis browser Select one of the following e CHG Only update current indexes It will find newly added source members and remove deleted members It will also index any source member that has changed since the last initialisation e NO Do not build the indexe
139. No FASNO Fax No Legend The Access Path Diagram Legend displays the following Main Main This depicts the main object Alternative PID Alternative PID This depicts the alternative Primary oo ies eet aes Logical File Identifier file Logical File This depicts the LF for the selected object SCREEN ACTIVITY DIAGRAM The Screen Activity Diagram option is available on the context menu of an object Select this option to study the screen s activity of a particular object Bus routing block diagrams are used to map the activity of the object When you select this option the following diagram appears X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 199 Program Logic Documentation Screen Activity Diagram CUSFMAINT e Object List je CUSFMAINT 2 3 E Screen Activity Diagram for CUSFMAINT P INITIALIZE Initialization Routine CUSFMAINTOL Customer Site Maintenance Fields Actions wt s Ll 2 Click the l icon to expand the screen and reveal the Fields and the Actions of the object as displayed underneath Screen Activity Diagram Expanded view e Object List E CUSFMAINT E E Screen Activity Diagram for CUSFMAINT gt INITIALIZE Initialization Routine CUSFMAINTOID Customer Site Maintenance Fields Ackions CSPDISTS Distributor Ww CONS Contacts WW ROR ES Delivery Areas wt lt gt Note Generating the Screen Activity Diagram is lim
140. OB No file found for existing source member NOFILESRC No source member for file NOPGMOB No program object found for source member NOPGMSRC No source member for program module FILEMISMCH Source member changed after file created ZEFILEQUD NODEVOBJ No device file found for existing source member NODEVSRC No source member for device file NODTAREF Referenced data area does not exist NOFILEREF Referenced database file does not exist Use the Edit Add or Delete buttons to make changes to the Problem Category Group Click Edit to invoke the following dialog Edit dialog Problem Category Group Problem Category Group Group Number 1 Description Edit the Group Number and or the Description Click Save Click Add to invoke the following dialog X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 271 HSA Audit Options Add dialog Problem Category Group Problem Category Group Group Number Category Group Seq No Severity Category Description Cancel Enter details in the given fields In the Category Group section enter the sequence number and the severity scale to be assigned to the new category The Severity scale indicates the complexity of the problem and is based on the combination of problem report data and additional data Click Save The new category will appear in the Edit Problem Categories window On selecting t
141. OBJ XMETOBJH records before source archive processing takes place Purge A purge process command XACVPRG will move source to a user specified library and record the location in XAACVSRC Purge is by cut off date as compared to the archive timestamp in XAACVSRC The purge process always leaves one source version in place even if the timestamp is older than the cut off date GENERATE METRICS ANALYSIS The Generate Metrics Analysis option generates the metrics data for the selected cross reference library The following dialog is displayed when you select the Generate Metrics Analysis option Generate Metrics dialog Update Metrics Ref Library Update metrics amp Dlt history A batch job is submitted when the user clicks OK EDIT PROBLEM CATEGORIES You can add a new category or edit delete a previously existing category by selecting the Edit Problem Categories option Such modifications can be made for the main category i e the Problem Category group as well as for the sub categories Select the option to invoke the following dialog 2015 Fresche Legacy Inc Page 270 Audit Options Edit Problem Categories window JHJ LEGACY Category Group Problem Category Group Source Object Alerts v Edit Add Froblem Category Category Description DEVFMISMCH Source member changed after devicefile created FILEMISMCH Source member changed after file created NOFILE
142. Object Mame Select Report Columns and Options Column Metrics YarMame Subr BINA Object and Source ID Data OBISUBHAM Object Library CIBILIE OBIATR Object Mame OBINAM CYC Object Type OBITYP HAL Object Attribute DBJATF MI Object creation date OBJICRTOAT SRCLINSTM Object last used date QOBILSUDAT Source File OBISRCFIL Source Library OBISRCLIB Source file change date OBISRCFCHD Cen Tada Aaah Show report data at subroutine level OBIATR RPG OR OBISTR RPGLE Filter User metric Formula User program Save and Submit Report Save Definition Only After changing the report definition click Save Definition Only If you would like to generate the report then click Save and Submit Report Copy Report Definition The user has the option to copy the existing report definition It can be used when the user wants to retain the existing report as well as have a customised report X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 259 Anda Audit Options Copy Report Definition option Td Specialized Analysis 24 HE X Analysis Metrics for XAN4CDXA Shel l Category Report Run M Date Type Status RPG Metrics Reports COMPLEXP General cross language complexity by program COMPLEXS General cross language complexity by SUBROUTINE TT O OE DATACFY Program data complexity Run Metrics Report LOGICP Program logic complexity Modify Report Definition LOGICS Program logic complexity by s
143. Overprinting not displayed XAXREF The XAXREF command reinitializes the cross reference library to reflect any changes that have been made to the cross reference library It is recommended to run this command each night or weekly as the case may be so that the cross reference reflects the most updated state Before using the XAXREF command ensure the following sequence of the library list XAOBJ QGPL QTEMP Then type the XAXREF command on the command line and press ENTER The following screen should appear XAXREF command screen Initialise X Analysis 4 XAXREF Type choices press Enter X Analy ere EID rar Bottom POSEI L F4 Prompt F5 Refresh F12 Cancel PIRB3 HOw to use this display F24 More keys Parameter XRFLIB required Provide the name of the cross reference library and press ENTER to input further details X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 418 Ando Appendix H Refresh X Analysis XAXREF command screen Initialise X Analysis 4 XAXREF Type choices press Enter An a ala oa clia Wiig re NE eater ed NaC AB Clog ALITA rte een ee as PIC IVE IL ab os PC IE 1L a0 for more values Source Libraries so so s o o o a SPECIE 1ED lt SPEC ILE LED NONE for more Values index Source Files s o a o o o ACRE xNO ACL UPG Ithieh Denese Weel 4 6 5 4 8 A 4 INO NO Generate Business Rules xNO NO TaLrcialise Res 167 o o o o o x NO x
144. PG J J5 CONFIS RPG J ng CONFI RPG 45 a4 CONDO RPG loz CUSLETSQ RPG J5 0 CUSRGZ RPG i z 0 FASERRI RPG ll 39 FASERR2 RPG 119 39 FASNOSL RPG 63 fe k Modify Report Definition The user has the option to modify the existing report definition Modify Report Definition option E Specialized Analysis 5 7 X Analysis Metrics for XAN4CDXA gma sid AS Category Report Run M Date Type Status H RPG Metrics Reports COMPLESP General cross language complexity by program COMPLEXS General cross language complexity by SUBROUTINE fT O fJ DATACRS Program data complexity Run Metrics Report LOGICP Program logic complexity Modify Report Definition LOGICS Program logic complexity by subroutine Copy Report Definition Source Object Reports Delete Report Definition HARDCORE Programs with hardcoded libraries MISSING Source or objects missing SRCOBIDT Source change date after object created Database Reports DATAERR Database file and member errors and alerts DSGNALRT Database design alerts Select the Modify Report Definition option to invoke the report configuration dialog X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 258 Audit Options Report Definition dialog X Analysis Metrics Report Specification and Submission Report Mame Report Title leneral cross language complexity by SUBROUTINE Report category RPGMET Application rea All Members Selected
145. RARIES A customized library is where you would store programs taken from the vendors library and modified In this way you will retain the original programs from the vendor and have their modified version too The following dialog is displayed when you select the Customized Libraries option Customized Libraries dialoc Library Name Customized AGMAN W A MAND W AGMSRC YARLACOERA Customized Apply Changes Cancel Provide valid entries for Customised Library ies and for Non Customised Library ies GENERATE PTF ANALYSIS The Generate PTF Analysis option submits a batch job which populates data for PTF Analysis The following dialog is displayed when you select the Generate PTF Analysis option Generate PTF Analysis dialoc Compare Base to PTF Eg Base Repository Provide the base repository name in the Generate PTF Analysis dialog and this will be used to compare the PTF repository with the base repository X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 233 Inter Repository Options PTF ANALYSIS The PTF Analysis displays the comparison between the PTF repository and the base repository Select the Generate PTF Analysis option first to access the PTF Analysis data Demo Case PTF Analysis Create a demo case for better understanding of the PTF Analysis Follow the given steps to set up the demo case 1 Create a new X Analysis application call it XAN4CDXP with the followi
146. SA1 SBSLIB ORDERSS1 ARCMODE GENSBS DLTDTA NOQ DBASELIB LOADLIB Library List AAOBJ QGPL QTEMP Job Completed PURGE DATA The user can use the Purge Data option to eliminate superfluities and further streamline the data On selecting this option from the Data Management Options submenu the following dialog with available details is invoked X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 295 THUS Data Management Features Purge Data dialog Purge Data Ref Library Application 4rea Archive Library ORDERS AL Subset Library ORDERSS1 Archive mode FARICDT A Delete live data Database library name Cancel The Purge Data dialog is the same as the Archive Data dialog However note that the default Archive mode is ARCDTA which the user can change to BOTH and the Delete live data is pre set as YES When the user clicks OK a batch job is submitted and the details appear on screen as shown below Batch Job details 2 Job Log E3 aka O Status of batch jobs submitted Job Details Job Status ORCAS SI TESTER 12901 IOBO Purge Data ORDERS Command ARCASS XA4AREA ORDERS SA4LIB XANACDXA ARCLIB ORDERSA1 SBSLIB ORDERSS1 ARCMODE BOTH DLTDTA YES DBASELIB LOADLIB Library List XAOBJ QGPL QTEMP ARCHIVE amp PURGE DATA When the user chooses the Archive amp Purge Data option from the Data Management Options submenu he invokes the following dialog similar to the Subset Filter Cr
147. SELR DISTSSELR ORDSTSELR SLMENSELR SLMIENSELR CUS TSSELR DISTSSELR DISTSSELR ORDSTSELR SLMENSELR SLMENSELR RPGSLE RPtslE RPGLE RPtsLE RPGSLE RPtslE AAMA DA PAMA DA AAMA DSA PAMA DA AAMA DS A PAMA DA External Procedures The third option under the Procedures node is External Procedures This option registers high level language program like RPG Java C etc as a stored procedure However the procedure may or may not use SQL Select the External Procedures option to invoke the following window X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 94 a All Procedures List Specific Mame AB WwLDT 6 Bits wy LIT aOR TMILE AO05PC IL AOD T RDP KAL SRC BR wu SARRAT WDO sBLOSCO e _ HELIB _RTLIB SER MD sEsIT sFMNSPEMGR T sFMNSPCMGR 1 sJIAINIT sREFINUSE SCNRPTLYT soECCHE aOR APP oR O AW RE AS 4 IB 1 Window External Procedures List pea Exportable Functions List ternal Procedures List Total Objects 71 Routine Mame OE LID T BCs VY LIT AR T MILE sADSPOJU SADT AR DR SALW SR BR W MART yD aBLOSCD HELIB a RTLIB see CMD sE IT sFNSPCMGR T sFNSPCMOR 1 SIV ATAITT aREFINUSE aol AWRPTLYT mA oEL HE aOR PP aoRWSCD aR AS 4 61 Application Library External Procedures List 2 5 E aar id External Name SOO IADB WUDTA SOB I SAB wy LT SOB I SACK TMLE S008 240 5POIU 2006 2407 ARDR ADB KAL Vy SROCBR Wy ADOBI XARRAT
148. SER Initialize detail screen existing record USER Delete DBF record USER Validate detail screen fields USER Create DBF record USER Change DBF record USER Process command keys Bee amp H USER Exit program processing ES REENGINEERED ACTION DIAGRAM The Reengineered Action Diagram is available only when the Reengineering process is over The following screen displays the Reengineered Action Diagram option from the Action Diagram toolbar X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 398 Anda Appendix F X2E Specific Features View Code drop down menu be Programs Ela TSAJELR E3 oO Action Diagram for ER Edit Hospital Edit recordi 1 screend TSAJE1R O g E H a aue a aoi Reengineered Action Diagram Action Diagram Data Section Workftield Generated Java Generated Controller Reengineered 5250 Program Ly The Reengineered Action Diagram is the RPGLE member generated for the Action Diagram This is created in the name lt Program gt A e g DRPZE1RA Reengineered Action Diagram be Programs TSAJEIR gl TSAJEIR i3 E Source List of TSAJEIRA in AAZEDEMO QRPGLESRC Lines 536 Yiew Leve 5s GA Bh fy Ed Seq No Ce seo eee ee ee ne a eee ee 0132 00 P InitPgm 0133 00 PR aS SS aa 0134 00 D pi E 0135 00 include Z2E GRPGLESRC X2EFROTO1 0136 00 free Dia teu aopenfilesi 0138 00 2Crtivar hlanks 0139 00 return 0140 00 fend free 0141
149. SF CUSFL3 CUSNO CUSGRP CUSGRP XWENCD CUSTS CUSTS XWBCCO DELIVA DELIVA XWBDOCO DISTS DISTS DSDCDE EVFEVENT EVFEVENT EVFEVENT GENT AB GENT AB FLONWAM CODVAL LISTS LISTS LSLCDE lt mT X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 282 ths Data Management Features Access Paths The second submenu option in the Data Dictionary is Access Paths This file records all of the access paths available to each Physical File There is one XKEYMAP record for each access path The user can select the Access Paths option by clicking on the Data Dictionary icon Data Dictionary Access Paths Data View for XKEYMAP 23 F Data View for XKEVMAP IE a T RE OoOo o O File Name LF Name 5 0 UK Key Fields Ref Fields fad Attributes 1 status astatus status J TUSA00OO1 O O TFA FEA CUSNO PRP SNO NOCOO 5PCDEA000O02 CHTACS CHTLF1 N SINIT USER MIT A0000SERNMA00034 CNTACS CNTLF2 M USERNM ERNMA00034 CNTACS CNTLFS STATUS CUS ATUSAQOOD1SNO Nooo0s CNTACS CNTLF4 N Y PRPCDE STA FCDEAQO0OOZ2ATUSAOOOO15SNG I CONDET CONDET Y XWORDN X ORDNNOOOD6BABCDADNO 20 CONDET COND N XWAACS X AACS A000 1 TORDNNGOOKEABRCL CONDET COND N AWABCD X ABCD ADDO 2044054000 1IORDI CONDET COND N AWABCD XX ABCD A000 20O0RDNNOO00E CONHDR CONHDR Y XWORDN ORDNNO0O0S CONHOR CONH N XWBCCD X BCCDA000110RDNNO0006 4 nT Up to 10 key fields can be associated with each field Fields Fields is
150. SS fie My Network Save as type pdf Then click Finish to initiate the System Documentation Process DOCUMENTING AN APPLICATION AREA The Document Application Area option documents all information about objects belonging to the selected application area This option is available on the context menu of an application area and invokes the System Documentation Wizard On selecting the Document Application Area option the following System Documentation Wizard appears X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 328 Document Manager Type and Location X Analysis Se Ed System Documentation Type and Location Select the type of documentation and its location Syskem Documentation can generate Single document with documentation of all the objects marked For documentation OR Generate multiple documents Foar each object marked For documentation System Documentation type Generate Single System Document Generate Individual System Documents Document Details Document Title System Document for AM4 4 Application Area MYCPROCESS Name System Document For H4h4CD84 Application Area MYCPROCESS pdf C Documents and Settings alakhily Documents 4nalvsis Application Data19 168 170 10 PCF 4ah4cor 4 system Document For s4h4Coe4 Application Area MviCPROCESS pdf Cancel You can choose from the following options 1 Generate a single document with documentation fo
151. System View Name The screenshot below presents the Views window Window displaying Views for NEWDDL1 Ef views 3 pim iews For NEWDDL1 Total Objects 1 Table Name System view Mame Table Schema ASTATISL ASTATISL ME WDOLI Select the Zoom Source option to invoke the Source List window X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 125 Source List window ASTATUSL1 Ey views ASTATUSLL Source List of ASTATUSL1 in NEWDDL1 QDDLSRC Lines 26 Yiew Level 5 E BaF M O i a Application Area a Seq No t 1 2 3 4 hi a ee eee a a A 0003 00 Generated on 10 04 14 12 27 12 OO004 00 Relational Database 2 LOSBOUR 000s ad Standards Option DB2 for i 0006 00 o007 00 CREATE VIEW ASTATUSLI i 0008 00 STATUS J 0009 00 STSTET 0010 00 AS 0011 00 SELECT 0012 00 STATUS 0013 00 STSTET 0014 00 FROM ASTATUSXO a lt gt Zoom Source displays the source from QDDLSRC if existing in the given library Otherwise the image of DSPFFD would be displayed Schema Diagram X Analysis User Manual 11 0 Select the Schema Diagram option to invoke a block diagram of the entire schema The diagram shows the files and relation among the files Relevant details like the primary keys foreign keys columns are presented in the Schema Diagram 2015 Fresche Legacy Inc Page 126 Application Area Schema Diagram for NEWDDL1 Ei tables Eanamesioxo GB ewoo i 5 DD
152. To populate Difference Analysis data opt for the context menu on the new X Analysis application KAN4CDXC and then select the Generate Difference Analysis option from the Inter Repository Options submenu Select XAN4CDXC from the drop down box Other X Analysis Repository Then click OK to submit the batch job Generate Difference Analysis dialog Ref Library Other 4nalysis Repository Report Trivial Differences Report DB rels and Biz Rules Report on deleted objects 4 To display the Difference Analysis data opt for the context menu on the new X Analysis application KAN4CDXC and then select the Display Difference Analysis option from the Inter Repository Options submenu The following screen should appear Display Difference Analysis for XAN4CDXA Difference Analysis 2 H Difference Analysis for XAN4CDXA compared against XAN4CDXC M Oooo aa Heading ObjectiCategory Description Total Library Element Difference amp E CHANGED Changed Files fe Jf Jf CNTACS Contacts E FIELDS Database File Fields 1 Field CUSNO has been changed ONC DEM Changed RELNS Database File Relationships E CNTLF1 Global Contacts by Salesman FIELDS Database File Fields E KEYS Database File keys key no 1 has been added OM DEM key no 2 has been added OM 4CDEM CNTLF2 Global Contacts by Mame X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 232 HJA Inter Repository Options CUSTOMIZED LIB
153. Tracking Tracks the usage of a variable or field to maximum level of indirection Variable Where Used Maximum Tracking View SA variable Where Used 2 e a Mel H O Variable Where Used For ALL CLISNC Ein i SIU jltielLet Nl esenianniunrselanig CBCUSTSD CBCUSTSD CBCUSTSD CBCUSTSD AWBCCD 0 10 STEXTi Custoner 2NSAGE 2USGPATR HT SFIELD 2WECCD cat AWENCD ca 4 PERSON ae 2DSDCDE ay 2S AGE 2DSPATR HT SFIELD CBCUSTSD CBCUSTSD CECUSTHL CBCUSTSD CBCUSTSD E E Pe P Pe PFE PF P be FILE FIELD DETAILS Select the File Field Details option to display the field details for a file This option is available only for the PF type of objects Opt for the context menu on any of the PF from the Member Object List and select the File Field Details option The following window will be displayed X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 155 Quick Reference to an Object File Field Details for CUSF be Object List IEX File Field Details E File Field Details for XAN4CDEM CUSF Total Fields 47 m fle Mnemonic Long Name Type Length Dec Pos Inp Buf Pos Display Grid Seg Record Screen Seg Headings Company ee a a E DSDCDE Distributor CHAR O00 OO035 STATUS Sts CHAR 00001 OO03 TELNO Phone CHAR 00017 OO036 EXTH Extn CHAR OO006 00055 200 3 00 Distributor 3 00 4 00 ots 4 00 5 00 Phone 5 00 6 00 Extn 6 00 PANI Last Cnt Date ANI 00 Next Cnt Date EAI 9 00 Contact 9 00 10 00 S
154. US Appendix L Setting Status for Business Rules Note You may define a rule only when you have opted for the Business Rules feature on an individual program from the Source Member view The user can also use a right click option to convert a rule to Exportable Non Exportable The option is displayed in the image below Business Rules window Convert to Exportable option feu Business Rules E3 amp Ee hEtEraa B R a Business Rules For CUSFMAINT Mumber of Lines 10 Source Member Rule Wumber Field File Rule CUSFMAINT MOR os So not Found on Sites Annotate CUSFMAINT Oooo Company blank CUSFMAINT 00003 Rule Status Manager Phone lt gt blank CUSFMAINT OO004 Change Rule Status to P Fax Mo lt gt blank CUSFMAINT OOO0S Matched Rules Distributor lt gt blank CUSFMAINT oo006 Variable Where Used amp Exact match not Found For Distributor CUSFMAINT dgr Sts lt gt blank CUSFMAINT OOOO Convert to Exporbable Contact blank CUSFMAINT o0009 Show Hierarchy h Salutation lt gt blank and lt gt Mr and CUSFMAINT goid Customer 0 The X Analysis client allows the user to view the Business Rules Matching Exclusion list produced as a result of a process on server which compares the existing cross reference against an older one and moves the Business Rule Status and Annotations from the older to the new cross reference This report can be seen by the right click option Business Rule Matchi
155. WD SOB I XBLOSCD SOB IX CHELIE SOB I XCRTLIE SOB XEXCCMD SOB I KESIT SOB XFMSPCMGRT SOB I XFNSPCMGRT SOB ISI AINIT SOO I AREFINUSE SOB I SSCHRPTLYT SOB ITASECCHE SO OB ISSR APP SOOB ISSR SCD SOO IWR AS4 JOB External Language GL CL CL CL CL CL RPtsLE RPtsLE CL CL CL CL CL CL CL CL SQL Procedures The last option under the Procedures node is SQL Procedures Select this option to present the entire procedure coded with SQL The option follows SQL Standard PSM and allows normal DDL DML SQL in addition to procedural statements The following window appears on selecting the SQL Procedures option X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 95 ahs Application Library Window SQL Procedures SOL Procedures List E aa i Specific Mame Routine Mame External Name External Language AUTHENTICATECREWUSERID AUTHENTICATECRE WUSERID MISSYSOBI SUTHEOOOOL CANEDITPROJECTPHASE CAMEDITPROJECTPHASE MISSYSOBJ CANEDOOOOZ CANEDITPROJECTSTEF CAMEDITPROJECTSTEF MISSYSOBJICANEDOOOO1 SQL Procedures List Total Objects 164 COF11S0QL CYSOS5OL CY DESL C200450L C20055OL C0485 OL C0495OL C20505OL C205450L CA0555OL C20705OL C207 1507 C207250L C207 S5OL C207450L C20755OL C20765OL C20805OL C20615OL C4685 0L C25015OL X Analysis User Manual 11 0 CDO 115QL CVSQS50L CVSQGSQL C0045 C0055 C itas 2049501 C0505 C2405450L 4055501 C0050 Ceiri SGL C207 250 C407 3501 CA074
156. WKLIB 132328328 Zae 2015 xX ref library XAN4CDXAT TOST S O O Object S Source M 2E Model Sequence iO TsO n a ceeeneatc XAN4CDEM1 Je So EISE FiIl2 Cancel The Type may be any one of the following O Object S Source E M Model Source amp Object Libraries While the source library contains the un compiled source files the object library comprises the compiled objects for the same Specify the libraries containing both source and object as O and S types See the settings on the XAN4CDXA Tutorial Application It has XAN4CDEM specified as O and S types Cool 2E Synon Model Libraries In order to analyze a Synon application the Synon model library s can be specified by putting the library type as M The initialization process picks the data model information in the Synon model library s when creating the X Ref library Before moving on to the initialization step you should confirm that the X2E specific Data Areas are set with appropriate values For details refer to Appendix D X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 15 EXCLUSIONS Configure Cross Reference Library The exclusions can be set up using the Exclusions option from the master command menu X4WRKAPP Select Option 16 to do this and press ENTER x Analysis XARWKXCS Enter options 5 Work with Program XARWKSCE XARWKSFE XARWKBRC XARWKHRE XARWKUMLE X4WRKAPP Work with Exclus
157. X Analysis User Manual Software version 11 0 12022015 LEGACY X Analysis User Manual 11 0 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 databorough com Web www freschelegacy com Title X Analysis User Manual software version 11 0 Publication Date February 2015 Note lt Activation information or other notes gt Fresche Legacy documentation team Kim Chan Shilpi Khan Chaudhary Vincent Gardner Trademarks X Analysis X Analysis Professional and X 2E Modernize are trademarks or registered trademarks of Fresche Legacy Inc or its subsidiary Databorough Ltd lt iSeries Power Systems Power8 gt 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 publica
158. a MyCPROCESS Grea MyCPROCESS Program CUSTMAT 1 Program CUS TMT 1 Area My CPROCESS Area MyCPROCESS ALL programs REFRESH Processing Program CUSFMAIMT Area MYCPROCESS ALL programs BOTH PREFIY Program AH040 Program AH00 40 US US DVERMA LS US US US US TESTER TESTER US US US US US US US US 4MURUDHD ANURUDAD The log contains information about the user who executed a command and its date and time details Only the following commands were reported DERIVE BUSINESS RULES Application Initialisation XA4INIT Data Model Generation KDMODEL Business Rules Extraction KGENBRULES X Resize Initialisation XRESIZE Application Refresh KREFRESH The Derive Business Rules option is available on the context menu over the application library an application area and on an individual PGM type object of RPG RPGLE or CBL attribute For more details refer to the Business Rules Analysis section X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 65 ths LEGACY Application Library IMPORT OPTIONS The Import Options submenu has the Application Area using Excel Sheet as the only option Selecting the option will open a dialog box to browse the Excel document in a pre defined format The image of the format is shown below Excel sheet Pre defined format AppAreaRulesFormat Compatibility Mode Excel x INSERT PAGE LAYOUT FORMULAS DATA R
159. a Flow Diagram for CUSF Total Objects 94 ea B amp a gt zl a ZAUDCUSF E ZBPRNCUSF CUSF B o CUSFLA o CUSFLB Audit CUSF file Print Customer Details Sites by Product renamed from Sites by Orig List r cusfla For testing b Attributes b Attributes P Access Paths 13 Objects g freee gt Attributes gt Input Programs 59 Objects A a DSPPTYPES HH OSPPTYPESR gt Input Services 1 Object H a 3 b a b aS P npu Trijges 1 Object g Sites ees Mri b Input Output Programs 2 Objects B gt Attributes gt Attributes gt Update Programs 14 Objects H i 4 ee enc i 4 a ete iii eit ee laa B CUSFLE o CUSFL1 udi ile udi ile P Attributes P Attributes Sites by Organisation Sites by Name b Attributes gt Attributes E ZAUDORGS m CUSREAD 3 3 Audit ORGS file Test Sequential Read options P WWCUSF P WWCUSFR Marei T ia j j U Attributes gt Attributes Work with Customer Sites Work with Customer Sites a y TEE Z b Attributes b Attributes S esc 4 a WKCUSP B ZAUDASTATU a a i i CUSFLS CUSFL6 sey Customer Report Ault ASTATLE fle 2 ZBCUSFMNT 2 ZBCUSFMNTR Sites by Dist amp Status Sites By Dist amp Name Attributes Attributes Customer Site Maintenance Customer Site Maintenance pak NPE P Attributes P Attributes ata ee E CUSFSEL E CUSTMNTJR 5 5 Customer Site Selection Customer Detail Maintenance CUSFL CUSFLE gt Attributes gt Attributes Sites by Last Cnt Date Sites by Next Cnt Date b Attributes gt Attributes E custwntt BH custmnti_o 5 Ea 7 i
160. acy Inc Page 150 Quick Reference to an Object This produces an Object Where Used listing for all objects referring to CUSF If you select the Object Where Used on a PF CUSF in this case then besides listing the objects using CUSF the objects using the LFs built on CUSF e g CUSFL3 are also reported Object Where Used Usage References screen be Object List 34 Object Where Used 22 E Object Where Used Usage References for CUSF Total Objects 77 im Al BSR CONUPDO CONUPD CONUPD2 CUSCPY CUSFLI1 CUSFLZ CUSFL3 CUSFLS CUSFLG Back out account Revert Back Customer Info Update Customer Info Version 1 Update Customer Info Version 2 Customer Copy Sites by Name Sites by Status Sites by Mumber Sites by Dist amp Status Sikes By Dist amp Mame dated By Program File Updated By Prograrn File Updated By Prograrn File Updated By Programm File Reads Written To By Program Logical File Logical File Logical File Logical File Logical File CUSFL Sites by Last Cnt Date Logical File CUSFLE Sites by Next Cnt Date Logical File 4 ll If you select the Object Where Used on a variable in a PGM type object then all objects where the variable has been used are listed Select an object and click ENTER to access its Source List Alternatively double click on that object row Double click on an object from the Object Where Used list to zoom on to the source line where the first reference has been made
161. age is written to the error log for each file REFERENCE Fields These can only be used in PFs so the references are removed A message is written to the error log for each file TEXT specified on an LF format Where the PF format can be added TEXT cannot be specified so it is removed 2015 Fresche Legacy Inc Page 309 Exporting amp Printing ALWNULL CCSID and DFT field keywords These are removed from the original PF definition when it is converted to an LF definition They will have been generated in the DDL source for the SQL table Command Parameters The XDDSTOSQL command requires the following parameters X Analysis Library Enter the name of the X Analysis cross reference library built for the application containing the database objects to be converted New Database Library Enter the name of a new library which will contain the converted database Application Area Enter the name of the application area containing the database objects to be converted You can also enter the special value of ALL This will result in all database objects in the application being converted Compilation Type This option will allow the user to choose whether this command should run all compilation commands or whether calls should be made to external change control systems When the INLINE option is selected the user will be able to set various compile command parameters using data areas XWRKDTAARA com
162. ailable Software Name Version Update Up EMF Edit UI 2 4 0 v200806091234 uh EMF Mapping 2 4 0 v200806091234 Lit EME Mapping UI 2 4 0 v200806091234 Ope EMF Model Converter 2 4 0 v200806091 234 Li EME Sample Ecore Editor 2 4 0 v2008060091 23 4 iit EMF SDO Service Data Objects Runtime 2 4 0 v200806091234 Ep Graphical Editing Framework Draw2d 3 4 0 7200801 15 33 7w3119163_ Graphical Editing Framework GEF 3 4 0 v200801 15 677 8082 45696H2 744 Opt Java EE Develo per Tools 3 0 0 v200806111800 7U 8 9LInwYBUV7sk ea Java Persistence API Tools 2 0 0 v200806090000 7938aCYOCD4CmHtI Uninstall Properties Revert Configuration Ut Java Persistence API Tools EclipseLink Support e 2 0 0 v200806090000 3 85 73313D683333 l JavaScri pt Developer Tools 1 0 0 v200806092130 6 BcMAAwAbORLC Wit JST Common Core 3 0 0 v2008060921 30 25 85 73313C4G6D37 ea JST Enterprise Core 3 0 0 v200806092130 42E9w_kE 77c 7590 _JI be IST Enterprise UI 3 0 0 7200806092130 7 7BFSHEPOWOKwk Wipe IST Enterprise User Documentation 3 0 0 v200712031330 52EAUAgI9m9YDct w x gt Open the Automatic Updates preference page to set up an automatic update schedule If the GEF version number on the user s RDi is below 3 3 the Data Flow Diagram will not be displayed In such a scenario perform the following steps to update the Graphical Editing Framework 2 Click on the Available Software tab and check for the latest version of the Graphical Editi
163. ains objects from XAN4CDEM with simulated changes XAN4CDEMPT This library contains simulated PTF for XAN4CDEM X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 230 Inter Repository Options GENERATE DIFFERENCE ANALYSIS The Generate Difference Analysis option submits a batch job which populates data for Difference Analysis You must provide the cross reference library name which will used to compare the cross reference libraries The following dialog is displayed when you select the Generate Difference Analysis option Generate Difference Analysis dialog Ref Library Other Analysis Repository Report Trivial Differences Report DB rels and Biz Rules Report on deleted objects FAO DISPLAY DIFFERENCE ANALYSIS The Display Difference Analysis option displays the differences of the application database files and programs The difference analysis data is available only when the difference analysis has been generated by selecting the Generate Difference Analysis option Demo Case Display Difference Analysis Create a demo case for better understanding of Display Difference Analysis Follow the given steps 1 Create a new X Analysis application call it XAN4CDXC with the following libraries Source XAN4CDEMCU XAN4CDEM Object XAN4CDEMCU XAN4CDEM X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 231 THUS Inter Repository Options 2 Initialize the new application 3
164. ake sure the PTF object still meets the requirements of that object MANAGE LINKED REPOSITORIES If you want to link one or more IBM i and or non IBM i Windows cross reference repository to an existing IBM i repository select the Manage Linked Repositories option The option is available under Inter Repository Options You can use this option to manage the linked repositories Linking IBM i Repositories The Manage Linked Repositories option opens the following dialog Manage Linked Repositories dialog Manage Linked Repositories 45 400 Repositories pc Repositories Repository Mame Location 2015 Fresche Legacy Inc Page 237 Inter Repository Options In the above dialog Host Name is the field that will show the IP address of the AS 400 server whose repositories can be selected from the Repository Combo Add the repository ies on to the base working repository for combined analysis The dialog lists all repositories available on the X Analysis server besides the base repository You can select the repository to add Linkage Type Link repository ies in the following two ways ADD In this mode the cross reference information from the entire linked repository ies is merged with those of the base repository on the X Analysis lists and diagrams REPLACE Here ONLY the distinct cross reference information from the repository ies is put on the X Analysis lists diagrams This depends on t
165. alutation 10 00 11 00 Job Title 11 00 12 00 Fax Mo LCTDAT Last_Cnt_Date ZONED 0006 O006 1 APOATE Next_Cnt_Date ZONED Q0006 gig USERNM Contact CHAR 00034 E SALUT Salutation CHAR 00034 0007 JTITLE Job_Title CHAR 00034 00141 FasNO Fax_Mo CHAR O0015 00175 LFS AccEsSS PATHS Select the LFs Access Paths option to display all Access Paths for the selected physical file Opt for the context menu on a PF from the Object Member List and then select the LFs Access Paths option LFs Access Paths e Object List E Access Paths 23 E LFs Access Paths for CUSF Total Objects 14 tml fal Access Path Text Unique Keys SelectfOmit Field Names LF Seq Do Not Dis i ee eee ee CUSFLA Sites by Product ren PRPCDE CNAME OOO CUSFLE Sites by Orig List LSLCDE CNAME OOO 4 CUSFLC Sites by Salesperson SINIT CNAME 00005 CUSFLD Sites by Validator VINIT CHAME OOO0E CUSFLE Sites by Organisation ORG CNAME 000d CUSFL1 Sites by Mame CNAME angai CUSFL2 Sites by Status STATUS CNAME ODODE CUSFLS Sites by Number CUSHO OOOO CUSFLS Sites by Dist amp Status DSDCDE STATU 0000s CUSFL6 Sites By Dist amp Name DSDCDE CNAME 00010 lt 2 2 ee Fee efe Sf ef fff fe Se ff ff FfFfeteese In order to browse a source of any LF double click on it or select the Zoom Source option from the context menu MEMBER X REF The Member X Ref option lists all source lines where the field variable h
166. alysis Permanent 2015 02 1 X 2E Migrate Permanent 2015 02 1 A Analysis Lite Permanent 2015 02 1 A Archive Permanent 2015 02 1 A Audit Permanent 2015 02 1 4 Control Permanent 2015 02 1 X DE Modernize Permanent 2015 02 1 4 Datatest Permanent 2015 02 1 A Verity Permanent 2015 02 1 AA Open Permanent 2015 02 1 Perrnanent Permanent Permanent Permanent Permanent Permanent Permanent Permanent Fermanent Fermanent X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 35 THUS Using X Analysis Client The third tab is Security Code which displays any installed V1 modules based on the installed security code In the absence of any security code the page will display as empty as is seen in the following view License Manager View Security Code License Manager View 24 E 1 Enter the login informations and Connect to retrieve the server informations Host Name Username Password seeeeees Use SSL E Info License Security Code Expiry Date 0001 01 01 Module 1 Not included Module amp Not included Module 3 Not included Module 4 Not included Module Not included Module 6 Not included Module 7 Not included Module 2 Not included Module Not included Module 10 Not included Note Proceed with installing the X Analysis V11 client and server only when you have received the License File from support Please store the new License file safely You can continue to use
167. alysis data model to bridge this gap and import your data model into other tools X Analysis provides various export options for exporting diagrams and technical details directly to applications such as PDF Microsoft Word or Microsoft Visio The interface to PDF Microsoft Word is sophisticated enough to automatically produce detailed and structured documents that have Contents amp Index pages chapters sections and all of the screens available in X Analysis displayed with a simple selection wizard Existing documentation object field annotation can be included in the exported PDF Microsoft Word documents EXPORT TO PDF On selecting the Export to PDF option from the Export Options icon available on the toolbar the displayed content gets exported to PDF PDF view of current Source Code i X Analysis Source List of CONOO1 in XAN4CDEM QRPGSRC Lines 206 View Level 4 1 pdf 2 C X File Edit View Document Comments Forms Tools Advanced Window Help x ey ee a gt lm we os ae lm Ll Be ee lm gt gs 10 05 04 Ag000002 testing FCONOOIDECE WORKSTN F RRN1 KSFILE CESPL FCUSTS IF DISK FCONHDR UF DISK FCONDET UF DISK FETEMAS IF DISK FSTOMAS IF DISK FETHEBAL IF DISK FTRNHSTLIIF DISK CMD Key Data ROUTINE SROUT 11 69 x 6 26 in iili X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 298 dhUSsts EXPORT TO MICROSOFT WORD Exporting amp Printing On selecting the Export to Microsoft Word
168. alysis session The file can be obtained by using X Analysis gt Open Log Folder menu option X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 415 ae Jost d Appendix H Refresh X Analysis Appendix H Refresh X Analysis X Analysis provides two commands for the operational maintenance of X Analysis repository cross reference library These two commands are XREFRESH and XAXREF XREFRESH The XREFRESH command refreshes the cross reference library to reflect any changes that are made to the cross reference library The command refreshes both the sources and objects that are already initialized it will not look at freshly added sources or objects It is recommended to run this command each night so that the cross reference reflects the most updated state Before using the XREFRESH command ensure the following sequence of the library list XAOBJ E QGPL QTEMP Then type the XREFRESH command on the command line and press ENTER The following screen should appear XREFRESH command screen Refresh Changed Objects XREFRESH Type choices press Enter oea Ilmklopecmas eau sy ye eae Name Refresh Application Areas n AROPE NOT N Refresh Business Rules SYES NO BOrEEOm SEs F4 Prompt F5 Refresh F12 Cancel F13 How to use this display F24 More keys Parameter XRFLIB required X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 416 Appendix H Refresh X
169. am relationships The SCD with files also displays associated files along with programs To see the SCD with files click on the Show Files icon available on the SCD toolbar Show Files icon Se Object List EQ CLET amp OLET t4 Structure Chart for CLET Total Objects 8 Bl h gt X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 173 Program Logic Documentation Structure Chart Diagram with I O Files e Object List CLET G ce E Expanded Structure Chart for CLET Total Objects 19 amp M h E g T Ci IECLET Build Customer Letter OTHCAL LETN 1 Letter Prefix Generation SLETSQ Update Letter Sequence CUSLETSQ Update Letter Se Structure Chart Diagram Show Overridden Files Only In the case of only CLP CLLE objects the SCD has the feature that displays the Overridden Files The following image shows the Show Overridden Files Only icon Show Overridden Files Only icon Se Object List CLET E ees H Structure Chart for CLET Total Objects 8 Al y gfe E M Ei gt Show Overridden Files Only A When the icon is clicked the following window is displayed X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 174 Program Logic Documentation SCD Show Overridden Files Only window Se Object List CLET G CET Structure Chart with Overridden files for CLET Total Objects 11 A we H H HACLET Build Customer Letter OT
170. ame option Annotation dialog e Files Z Object Where Used El CUSTMINT1 CUuse x E Object Centered Data Flow Diagram For CUSF Total Objects 94 A w M amp Sites by Product renamed From cusfla For testing b Access Paths 13 Objects P Attributes Annotation for CUSF Additional Notes Additional comments For CUSF Wayne says so Attributes The Attributes feature comprises the impacted fields of a particular object Through these fields the main object is referenced X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 165 e Files 3A Object Where Used Object Centered Data Flow Diagram for CUSF Total Objects 94 b Access Paths F Input Programs F Input Services b Input Triggers Attributes icon CUSTMNT4 fal cuse i3 13 Objects 59 Objects 1 Object 1 Object b InpukfOukpuk Programs 2 Objects Update Programs 14 Objects b Update fOutpuk Programs 4 Objects Fi Wt CLISE Work with Customer Sikes iors F ZECUSFMNT Customer Site Maintenance PF Attributes Fl WCLISFR Work with Customer Sikes F Attributes E ZECUSFMNTR Customer Site Maintenance F Attributes 4 Program Logic Documentation H e a i amp aa e CUSFLA Sites by Product renamed From cusfla For testing b Attributes J CUSFLC Sites by Salesperson b Attributes m CUSFLE Sites by Organisation b Attributes USFLZ Sites by Status b Attributes CUSFLS Sit
171. ams for the functions in the prototype application These shadow programs contain all the business rules logic from the original programs These rules include all field validation that is additional to the normal database integrity checks which are generated automatically calls to batch programs for additional functions and secondary file processing 2015 Fresche Legacy Inc Page 223 Business Rules Analysis The primary criteria to track Business Rules are the presence of CAS COMP IF ELSEIF and WHEN statements For the secondary criteria the following are specified The condition involves one or more database fields The condition contains the screen fields which get tracked to the database fields The condition involves the EQUAL FOUND EOF built in functions The condition contains the resulting indicators for the database I O operations analogous to EQUAL FOUND and EOF built in functions The presence of the conditioning indicators for some other operation codes e g CHECK SCAN LOOKUP Based on the above specifications the recovered logic contains the following business rules components Field Validations Calls to other significant programs Secondary database file updates Non owner file reads DERIVE BUSINESS RULES This option is available on the context menu of a cross reference library and an application area The Business Rules may only be generated for RPG RPGLE and CBL objects PGM ty
172. an change document title as per the requirement Path Click the Browse button to change the default path The default path is lt C Documents and Settings alakh My Documents X Analysis Application Data 192 168 170 10 PCF_XAN4CDXA gt Press Next to proceed further For Single System Documentation the following dialog is displayed X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 317 AHISHA Document Manager Generate Single System Document Options 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 In Visio Annotation _ LF Access Path details _ Detailed _ File Field Details _ Field Annotation Object Where Used _ Data Flow Diagram Normal C Detailed Annotation Structure Chart Normal D Expanded O Detailed Depth hi Annotation Screen Flow Diagram Normal D Expanded Program Structure Chart _ Annotation Screen Report Layout Normal C Detailed _ Business Rules S E _ Export to MS Excel Summary _ Detailed _ Include Internal Rtn s _ Source sourcelevel 1 w _ Pseudo Code Flowchart Level _ Business Process Logic Level A user can select different options from the above dialog as per the requirements If a user selects the Business Rules for documentation then he has the option to get the business rules docum
173. an view it through X Analysis Select one of the following e YES Initialise X Resize Project e NO Do not initialise X Resize Project Should have the X Field Resize Module for this to work GENERATING THE DATA MODEL You should attempt to build the data model only if you have purchased the Re engineering Data Modelling Module X Analysis provides a data modelling environment on IBM i It can re engineer a current application and then automatically generate the data model and the process model The logical data model or entity relationship diagram is derived from the physical data model implicit in the application The initialization procedure asks for generating the Data Model If you have not generated the Data Model then the next step is to generate it To do this select Option 13 on the Work with X Analysis 4 Applications menu X Analysis 4 Work with X Analysis 4 Applications Dababorough lira XARWKAPP IS Be SETAN 2d Jienay eZ LS Enter options prez Enter 1 Authorities 2 Change 3 Copy 4 Delete 5 Display 7 X A Log 8 Libraries 9 Variable Calls 10 App areas 11 Reports 12 Initialise 13 Build data model 14 Refresh 15 Gen Business Rules 16 Exclusions 17 Objects 18 Pgm Stds KIS Iails Mesa Company division XAN4CDXA XAN4CDEM Tutorial System 13 XAN4CDXAT XAN4CDEM Tutorial System Press ENTER Generate Data Model XA4MODEL Type Choices press Kuter X Analysis library mua oo MANA CD XAT Name Date a cilabiga hieS 2
174. anat seanousacaansoracansesnaconteeseseanosunsauensecaens 270 Edit Problem Cale 26 il OS reputan aE EE 270 Generate Problem AMANY SIS aeseteeedntecsnasstoceddadawnseGtbeas ide aE teabecsncaeds 275 UMEDE ANE rE EEEE 276 The PrereguUisitES sonrasi rain seran E en T eE As A 276 Regear e UME ES 276 AUVI DII I e E E T E S 276 aeS DE rI ae E EEN EN 278 Re generate UML for Application Are d ccccccsssccccssececesececeeeceseeseeeeeeceeeesesseeeees 280 Data Management Features eesssoesscoescooccscoesscocescoessseecssoescseescoeessoesssseessseesssoe 281 VOD A a a a E E E led peat suse osnctees 281 Be LC EO UW AA A nana sat vere eeaesion acre rne ee E E AA 281 Override Data DICHON ANY saisicciscisisssssvcesanccdsasessseinaccsadabavtnavessareedvaranesitneoseadadavtnetescas s 285 Override Relationship Details rcs ceseccecteaecsceesseccaacctesasertecccacaseecnareeocetsasctneuueteccencess 287 V CNY Data Relationship S sesrssisaniievi ann aa EEEE E RE 288 Subset Archive Filter ccccsssecccssscccceseccccssccccesececesecesenecesceseseceseseseuscescusesecasesesens 291 UO SOU Ale r E E TEE 293 ACNE DI aran T A E E E 294 FM E E E ce ceo E co E E A soe T TT 295 Archive s Puree Data eaa EE E EEE RR 296 EXpOrUNE S PriInUNE vcseccte cece cccusnduentavsescouneustenee vets cnciaedusodersemnciwssesdeiewseseadeaceuestaesess 298 EPONA O oD a et errr earn ere ere ee ere een rr rT eee ee te ee 298 Export CO Microsoft VV ONG satasorsseseacasana scaccna
175. and click OK to reflect the changes to the application area description Update Description dialog Update Description Description kompan Accounts Remove Application Area Select the Remove Application Area option This prompts for deleting the selected application area If confirmed by the user then it deletes the application area Application Area Rules Select the Application Area Rules option This invokes a window displaying the available Application Area Rules These rules determine which objects are to be placed in that particular Application Area You may Update Delete or add new rules using the Add Delete and Update buttons at the bottom of the screen 2015 Fresche Legacy Inc Page 102 Application Area Application Area Rules dialog Selec Object Ty Object Compan Name T Library Compan Librar Wa Inel Refd Inel Ref Incl Owe Incl Dep Level LEGACY Select Program Equal CNTCM es Select Program Equal CBS06R Yeg Select File Equal ASTAT No Update Click Add to invoke the following dialog Add dialog Application Area Rules Seq Mo Selection Object Type Object Comparison Marne T ext fs Library Comparison oo Library Mame fs Incl Red Pome Pome Level ALL Incl Aef d Files Incl Owning Files Incl Dependent Files Mo Make the appropriate selections in this dialog for adding or modifying a rule for a specific application area
176. application area and then select the Orphaned Records option This generates a report displaying the primary keys and the foreign keys of each record that breaches a given relationship X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 290 JHJ LEGACY Verification Report Data Management Features Orphaned Records Report For Subset Data Library MVCPROCESS File Owner Total Primary Key Foreign Key AU a a a ee CUSF CUSGRP DISTS SLMEN Relationship verified el CONDET E CONHDR xWORDN XVW ABCD 3 000080 x WORDN XVVABCD 4 000083 xWORDN XVVABCD 5 000031 XWORDN XVWABCD 5 000083 xWORDN XVVABCD 7 000083 STEBAL STEMAS ST OMAS TRAIT YP ST REAL CONHDR CUSF TRAST SUBSET ARCHIVE FILTER XWORDN 3 XWORDN 4 XWORDN 5 XWORDN 5 XWORDN 7 The subset selection criteria can be understood as the filter criteria specified on the Physical File s under an application area to select records to subset On the Subset Archive Filter Criteria dialog pick the file in the drop down to add update filter criteria X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 291 ths Data Management Features Subset Archive Filter Criteria dialog Subset Archive Filter Criteria MVCPROCESS Filter Criteria Physical Files SELECT SELECT 4 Boolean Field Name periCONDET Field Value CONHDR CLUSF Query viewer This lists the filter criteria defined on the file
177. application area node in the navigation view Subset Library node eis ORDERS Order entry System ORDERSS1 ss Application 4rea Diagram xt Data Model Diagram ott Area Flow Diagram im Overview Structure Chart be All Objects Programs IE Files Business Rules Em Consolidated Rules ARCHIVE DATA According to its name the Archive Data option helps the user in archiving data thus supporting application development and maintenance work On choosing the option from the Data Management Options submenu the following dialog is invoked X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 294 THUS Data Management Features Archive Data dialog Archive Data Ref Library Application 4rea Archive Library ORDERS AL Subset Library ORDERSS1 Archive mode CENSBS Delete live data Database library name i Cancel The dialog prompts the user to supply the following details Archive Library Name of the Archive Library Subset Library Name of the Subset Library Archive mode Select from GENSBS default value ARCDTA BOTH When the user clicks OK after providing the details a batch job is submitted On the execution of the batch job the job details appear on screen as is shown below Batch Job details Job Log E Status of batch jobist submitted Job Details Job Status ARC SS TESTER 212630 OCTIVE Archive Data ORDERS Command ARCASS AAJ AREA ORDERS XA4ALIB XAN4CDXA ARCLIB ORDER
178. area but has the highest affinity green color represents the specific object has highest affinity and is also present in that application area DERIVE BUSINESS RULES The topic has been discussed under the Application Library section EXPORT OPTIONS The topic has been discussed under the Application Library section ANNOTATE X Analysis provides a facility of annotation for application areas Select any application area and opt for the context menu on it then select the Annotate option This invokes a dialog box provide the required text and click Save The annotation is stored in a table available in the cross reference library DOCUMENT APPLICATION AREA We will discuss it under the Document Manager section DATA MANAGEMENT OPTIONS This submenu has the following options Verify Data Relationships X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 107 Subset Archive Filter Subset Data Archive Data Purge Data Archive amp Purge Data Application Area We shall discuss these options under the Data Management Features section TEST MANAGEMENT OPTIONS This context menu contains various options related to X Test The following screen displays the options Test Management Options Application Area Options Derive Business Rules Export Options Annotate Document Application Area Data Management Options Test Management Options Reengineer Programs Generate Programs Generate Web Services
179. ariable in the application Same as Variable Where Used but displays only those source lines where the field is updated Displays the source lines where the variable is defined Displays the Data Model Diagram of the object 2015 Fresche Legacy Inc Page 134 Quick Reference to an Object SOURCE BROWSER VIEW The source browser displays the source for an object The context menu on any member object has the Zoom Source option which invokes the source browser for that object or member Context menu Zoom Source option be Object List 3 T Object List of ALLUSR ALL ALL ALL ALL ALL Total Objects 327 ee w ie Ale Library Mame Type Attribute Description Status Changed Created Us J SAN4CDEM le Contract Entry D m sAN4COEM Zoom Source der Entry Display os 06 12 15 XAN4CDEM tract Entry Display os 06 12 15 CLXAN4CDEM fae Data Flow Diagram Correspondence A o5 06 12 18 PFRAN4CDEM Object where Used p ool copybooks 0 050612 4 CLYAN4CDEM d Security Fax an Oo 06 12 15 CLYAN4CDEM variable Where Used J Code to Batch 5 050612 15S gt ne ee ee ee oe mnm a Select any member object and double click on it to open the source member of that object in the X Analysis source browser Zoom Source The Source Browser follows the pattern similar to IBM s SEU and is equivalent to viewing a Source Member in SEU browser mode However the X Analysis source br
180. ary 000001 A PG V2K Be wl 000002 B PG V3K PG V4 KKKKKK KKKKKKKK End Ot report KkKKKKKKK Considering the above setup and example below program references are added once XREFRESH or the initialization process is executed on the X Ref library X Analysis 4 Work with Generic Files Databorough Lia XARWKGE S eo ees oul 21 Jam 2015 Enter options press Enter 2 Change 4 Delete 5 Display WHPNAM WHTEXT WHFNAM WHOBTP WUSAGE CL GEN PGM PG V2K P T CL GEN PGM PG V3K P i KKKKKK KKKKKKKK End Or Gata KkKKKKKKK In this example reference to Generic Programs has been deleted and the references from relevant file field listing on the Work with Generic Files screen has been added The key type is specified as ALL in the generic file entry All the program names under the PGM1 field of PGNAME file are considered as dependencies of CL_GEN_PGM Therefore the object dependencies of PG_V5 are removed and the program names existing in PGM1 field of PGNAME file are added as the dependencies of CL_GEN_PGM program As a result the Object Where Used displays the replaced dependencies X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 24 Using X Analysis Client Using X Analysis Client SIGN ON DIALOG Start IBM s Rational products 7 5 and above or Eclipse 3 4 and above Select Window gt Open Perspective gt Other gt X Analysis X Analysis User Manual 11 0 Choosing Perspective in RDp Window New Wingo Open Per
181. ary has been selected Application Area Displays the currently selected Application Area E Data Model Info Informs the user whether Data Modelling is available or not Library List Displays the library list for the current job X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 27 Using X Analysis Client X ANALYSIS MENU X Analysis provides the X Analysis toolbar menu on the Eclipse toolbar The following screen displays options available on the X Analysis menu HSA X Analysis Menu License Manager New DB400 Connection New DBZ Connection Mark all for Documenter Change Application Folder Open Log Folder Open Application Folder Authorize Google Drive Report an Issue Install SSL CA certificate The details of the options provided by the X Analysis menu are discussed as under License Manager V2 is the new licensing mechanism which adds to the ease of both the new and existing X Analysis users The initial step is to download the XALicenseManagerTool from the support folder from the location where X Analysis is installed Extract the tool to a preferred location See the screenshot below X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 28 JHJ LEGACY Home share View t di XALicenseManagerTool r Favorites B Desktop configuration mt Downloads m logs E Recent places m plugins SAVE a Homegroup m workspace ha eclipseproduct
182. as 11 Reports 12 Initialise 13 Build data model 14 Refresh 15 Gen Business Rules 16 Exclusions 17 Objects 18 Pgm Stds MS aers 5 Male Teste Company division XAN4CDXA XAN4CDEM Tutorial System Fl Help F3 Exit F6 Add F10 Cmd Line F12 Cancel F24 More Keys The X4WRKAPP is the master command menu of the X Analysis Server The first step is to add a new cross reference library Press F6 to add a cross reference library X4WRKAPP Add Application screen X Analysis 4 Work with X Analysis 4 Applications Databorough Ltd XARWKAPP 13 26921 21 Jan 2015 rer Library Text S Company division indez sre Files cote F Process var amp bound calls Include obsolete source Build data model Data model match value TCPIP address User iD F1l Help F3 Exit F12 Cancel X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 13 Configure Cross Reference Library Cc This option will add an entry to the list of the X Analysis 4 applications and create a new empty cross reference library You must specify the name of the cross reference library TA e g XAN4CDXA You can optionally specify text and a company name X4WRKAPP Application added X Analysis 4 Work with X Analysis 4 Applications Databorough Ltd XARWKAPP hee Ge Zl lena E ZC IES p ae E ON sa Cem ne ee XAN4CDXAT Eee aan cyl ee a ean Or UNA eet se eyes XAN4CDEM1 Tutorial System Company division Dingle sre ir eS 5a so o o o o o c Y Process var amp
183. as been used referenced in the source member and its associated Device Files and Copybooks A wide variety of options can be specified including X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 156 Quick Reference to an Object Files Array Definitions Data Structures Sub Fields of Data Structures Indicators Key Lists Data Fields File Formats Subroutines Program Variable Array Elements Parameter Lists Parameters Key Fields Message Ids EXCPT Names etc Double click on a field in source member displays Member X Ref Alternatively choose the Member X Ref option from the context menu When the Member X Ref option is selected for a sub item such as a Sub Field Data Structure Array Element or File Format a list of the sub items along with all references to the parent items is displayed Double click on the source line to view source of the object Member X Ref 2 5 Member Reference for COMOO1DF in Y4AN4 CDEMIORPGESRC CON001 Lines 14 View Level 1 seq No 0003 oil Ditz 004a OUG3 OO64 oiya OO 0g OO O0 0g 0g OO Legend X Analysis User Manual 11 0 FCONOOIDFCF E Member X Ref view a A H E O WORESTH GRRN1 ESFILE OESFL WRITEOECLR a9 WRITEOETRL 39 EXFMTOESFLC 39 WRITEOETRL 33 EXFMTOESFLC SE WRITEOETRL 93 Dark Red depicts the Definition Statements Black depicts the File Operations Magenta depicts the Parameters Dark Brown depicts the Program Structur
184. as for better application analysis For analyzing an application application area X Analysis provides another diagrammatic construct called Application Area Diagram The Application Area Diagram helps in visualizing the relationships between various applications areas When opted for the entire cross reference library the Application Area Diagram option displays all the Application Areas and sub Application Areas Application Area Diagram for XAN4CDXA AANACD RA COBOL CONHDR conhdr 138 Files 142 Poms Danis ee HFNI F a ete ae ro FESAI p ae Ti p j AFGPRU Eei SRA NSN ree P tiles sone oe ie i i ET il IO A eet aa Uf Jee i WZ eee ZY IDATATEST gt T ET p E i ae i 96 Files L ee Y 123 Poms Ze os N saps SALES Sales System 47 Files 2 Files 1 Poms 9 Pgms The bluish grey blocks represent an application area The size of the box is indicative of number of objects it contains A larger box has more objects as compared to a smaller box X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 128 JHJ LEGACY Application Area Diagramming The relationship between various application areas can also be displayed by selecting an application area Select an application area to test this The Application Area Diagram also displays colored arrows Red amp Blue Blue Arrow Displays Program to Program calls The blue arrow points towards
185. ategory 433 Change Rule Status to 428 Class Diagram 47 145 207 218 221 276 278 279 280 Clean start Eclipse 405 Component Status 79 80 Configure Columns 228 429 430 Consolidated Rules 45 75 84 85 139 140 428 Customised Libraries 73 230 233 234 235 Data Content 207 215 216 219 221 320 325 366 368 372 Data Content Diagram 216 320 325 366 372 Data Definition Language 67 302 Data Dictionary 206 281 282 283 284 285 286 287 288 Data Flow Diagram 11 45 47 134 144 161 162 168 169 170 data library 20 57 58 59 60 Data Management 107 108 281 288 293 294 295 296 data model 13 14 15 18 19 20 21 67 88 206 218 281 282 289 290 293 298 302 303 379 380 419 Data Model Diagram 11 134 201 203 331 339 345 349 X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 449 eh er Index Data Modelling 19 27 283 285 DB2 Connection 37 239 DDL 42 67 95 116 117 118 119 120 122 123 302 303 304 305 306 307 310 DDL conversion 118 119 120 122 123 Development Screen 87 88 Difference Analysis 73 230 231 232 Document Application Area 107 328 330 342 343 Document Manager 9 39 40 70 107 315 316 Documenter 38 39 149 195 207 219 220 315 316 327 356 366 408 Dreamweaver 55 213 214 Eclipse 12 25 28 43 55 146 212 214 403 405 406 407 409 415 424 Edit Problem Categories
186. ays Used Complexity Fields Access Paths Creating Pgms Reading Pgms Updating Pgms Deleting Pgms Total References Quick Reference to an Object ore Info for CNTCMAINT General CNTCMAINT Contacts Maintenance XAN4CDEM PGM RP GLE EDTRCD A 13 09 10 13 14 09 22 09 14 24 CNTACS However for objects with PF attribute the More Info display is limited to the General and the Complexity details The image below shows More Info without the Business Rules count for the PF object CONDET CONDET Contract Detail XAN4CDEM FILE PF B 01 09 08 13 27 40 23 09 14 X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 148 ths Quick Reference to an Object Export Options It is a drop down menu and contains options for exporting list adding annotates and generating system document 1 Export to PDF MS Word Exports current list on the X Analysis Client to PDF MS Word 2 Export to MS Excel Exports current list on the X Analysis Client to MS Excel 3 Annotate Allows to add annotates for the selected object 4 Documenter Allows to access the Documenter option for generating a customized system document Export Options Source List of CONOO1 in XAN4CDEM QRPGSRC Lines 271 ViewLeve 5 ss PA E 6 AEH P U Bm SBGi are amp Seq No Tuaana l nastana 2 PQ Export to POF 0021 mg A Export to MS Excel OOe22 00 Ct Receive Parameter B inode 0023 00 a TEN TRY W 5 l
187. ays all the options available for a specified member object or variable for fast access to Source Browser DFD Structure Chart PSC Object Where Used Source cross reference Variable Where Used and DMD Source Browser View Displays source code of the selected member Provides various options related to the source code Object Where Used Displays all the instances of an object in the application Variable Where Used Displays all the instances of the specified variable in the application File Field Details Displays the Field Details for a file LFs Access Paths Displays all Access Paths for the selected Physical File Member X Ref Displays all the instances of the specified variable in the source code This is available only on the Source Browser view Enhanced Member X Ref Displays the references of a variable in the member along with the information Add Bookmark Displays the bookmarked source lines besides allowing the user to edit bookmarks as per requirement More Info Displays detailed object Information like name library type attribute etc JUMP TO DIALOG The primary requirement of an analyst working with a case tool is to get quick and ample information about an object X Analysis facilitates this by providing faster access to the objects using the Jump To utility This utility is accessible from any screen using the related button on the toolbar Jump to displays all the options available for a specified member obje
188. boune calls s c Y Include obsolete source Build data model Data model match value TCPIP address User iD F1l Help F3 Exit F12 Cancel LIBRARIES After successfully adding the cross reference library the next step is to provide libraries for the cross reference library These libraries are used when initializing the application and for various other commands which need this information Select Option 8 to assign the Source Object and Model 2E Libraries X4WRKAPP Libraries screen X Analysis 4 Work with X Analysis 4 Application Libraries Databorough LEd XARWKLIB MOEA FAS aM Jali AOL Selected x ref Library gt XAN4CDXAT Enter options press Enter 2 Change 4 Delete 5 Display Type Sequence Library eae Fi2 Cancel eG eee X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 14 Configure Cross Reference Library The sequence of libraries is important because the objects and the sources are given preference according to the order of the library they belong to Only the first occurrence of the object source gets reported Subsequent occurrences are omitted Press F6 to add the names of the Source Object Model libraries associated with the application and press ENTER Repeat the step if application consists of multiple libraries Press F3 when all the libraries have been defined X4WRKAPP Add Library screen X Analysis 4 Work with X Analysis 4 Application Libraries Databorough Lid XAR
189. can change the default settings using the X Analysis General Preferences option Invoking 5250 session requires XAN4SEU user on the IBM i Refer to Appendix B for creating XAN4SEU user The X Analysis Plugin comes with default Preferences settings To change the Preferences settings start IBM s RDi RDp WDSC 7 5 and above or Eclipse 3 4 and above then select Window gt Preferences to display the Preferences dialog X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 146 Jodi d Quick Reference to an Object General X Analysis Preferences setting for Source Editor E nalysis Default view Level Advanced Folders Object Where Used Entry Level References 7 Data Test j B E oe Default Source Editor H ADoclet Sai 5250 Emulator Obhers Number of records to display 1000 view Job Log Restore Defaults Apply More Info The More Info option presents detailed information about an object Select the option from the source browser toolbar or the right click menu over a selected object from the Object List More Info option Source List of CONOO1 in XAN4CDEM QRPGSRC Lines 271 Yiew Leve 5 GA E M EEC Seq No a a kil Soca T a a More Info bana a a ere 2 H 0021 00 i ate wane a a o T Boo o aa a ce he te to a oe Important information related to the status function attribute etc of an object are displayed besides other relevant details like the number of Business Rules or t
190. cation Folder Open Log Folder Authorize Google Drive Report an Issue Install SSL CA certificate Locate the document in the specified save location and double click on it to open the document Document Folder PCF XAN4CDXA File Edit View Favorites Tools Help e E Search 2i E x 1 aH System Document for System Document For ONC DA pdf CNC Oe log ibe dobe Acrobat Document Text Document Preview of the generated System Document TOC ES System Document for XAN4CDXA pdf Adobe Acrobat Professional File Edit wiew Document Comments Forms Tools Advanced Window Help Seb we ell BO amp ce SYSTEM DOCUMENT FOR XAN4CDXA TABLE OF CONTENTS LEGENDS Object List fir MANSCDXA Access path details for CUSF File Field Details for CUSF Object Where Used for CUSF Se cetce gene sid paaestn east oepesercasct a creme eee emma Data Flow Diagram Normal fae OEMENU Data Flow Diagram Normal for CUSF PEPE EEEE EEEE E EEE E A Siructure Chart Diagram Normal for OEMENU ror 4 E E E Bb E E I oa oo om B ho hi oo 1 1 1 X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 354 Document Manager Preview of the generated System Document Legend gS System Document for XAN4CDXA pdf Adobe Acrobat Professional Fie Edit View Document Comments Forms Tools Advanced Window Help LEGENDS Structure Chart Diagram Legends If the Flowchart option is selected the
191. ced in the google drive and can be checked using the web browser Note Once authorized the Google Export feature will work on an active session of X Analysis After you exit the X Analysis platform you will need to re authorize the Google drive X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 448 ey ae Index Index 5250 Emulator 51 146 Access Path Diagram 11 198 199 Action Diagram 86 395 396 398 399 404 Activity Diagram 145 195 199 200 276 277 278 280 Add Status Category 435 Add User defined Rule 431 Affinity Comparison 61 62 102 106 107 Alternate Data Library 57 58 59 60 Annotation 162 164 165 221 227 356 357 429 Annotation Template 357 APIs 436 438 439 441 Application Folder 40 41 42 68 69 304 330 353 354 408 Archive Data 108 294 295 296 AS400 12 Attributes 162 165 166 167 376 379 417 421 Audit Options 9 74 114 241 255 262 265 275 400 Bookmark 133 158 159 Business Process Logic 74 140 141 142 241 254 374 395 400 401 Business Rule Matching 432 Business Rules 9 11 13 17 18 19 20 21 45 65 67 68 75 84 85 107 138 139 147 148 152 207 218 219 220 223 224 225 226 227 228 229 318 324 369 374 376 381 392 395 396 397 403 416 419 420 428 429 430 431 432 433 434 Business Rules Analysis 9 65 223 Business Rules Overlay 45 138 428 Business Rules Status C
192. cel Affinity Comparison Select the Affinity Comparison option at the application area level to display the comparison of affinity values for all the objects present in that application area versus their affinity in other application areas The following image shows the Affinity Comparison option Affinity Comparison option OUNTS Company Application Area Options Update Description Ree ee ee Remove Application Area Application Area Rules Export Options Affinity Identification Annotate Affinity Comparison Document Application Area New Application Area Data Management Options Add to Application Area Test Management Options Omit from Application Area The following window will be invoked when the option is selected X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 106 Ths Application Area Affinity Comparison window IE Affinity Comparison 24 H0 Affinity Comparison for ACCOUNTS ag Programs ACCOUNTS ACHEADO BCHEADO COBOL CONHDR CONUPD CUSFMAINT CBS06R 10 0 0 0 0 0 0 CNTCMAINT 10 0 0 0 0 0 10 RTNMMSGTEXT 10 0 0 0 10 0 10 X GSCD 10 0 0 0 10 0 10 The first column displays the selected application area and rest of the columns are the other app areas in X Ref library The blue color in a specific cell showing affinity value represents the presence of that object in the application area corresponding to that column red color means the object does not exist in the application
193. cess the object in question Real Time References Object Where Used references to track dependencies It facilitates the live impact analysis at runtime and lets you see the Real Time references or the object dependencies Select CUSF from the Member Object List and opt for the Object Where Used option from the context menu Object Where Used option e Object List 53 ial Object List of ALLUSR ALL ALL ALL ALL ALL Total Objects 362 a EF L el Ld Library Name Type Attribute Description CLXANSCDEM CSEC PGM CLP Build Security Fax CLXANSCDEM CSEC PGM CLP Add Code to Batch CLXANSCDEM CSEC3 PGM CLP Agent Fax Prompt jE i XANSCDEM CUSCPY PGM RPG Customer Copy PF XAN4CDEM CUSF l vers DEI gt LFXAN4CDEM CUSFLA em e roduct renamed from cusfla for te LFXAN4CDEM CUSFLB fae Data Flow Diagram rig List LF XAN4CDEM occa Object Where Used d Usage References LF XAN4CDEM CUSFLD All Ref LF XAN4CDEM CUSFLE Variable Where Used d Tre eae lic pem Update References TAANE Baiia xt Data Model Diagram lt n LF XANA4CDEM CUSFL2 P i Delete References LFXAN4CDEM CUSFL3 facia co Entry Level References LF XAN4CDEM CUSFLS LFs Access Paths eee mimi Real Time References LFXAN4CDEM CUSFLG Access Path Diagram PETE L Consolidated Rules 2 X Analysis User Manual 11 0 2015 Fresche Leg
194. cified libraries for all the changed objects The refresh will have no effect unless there are changes to at least one of the source files registered in the cross reference database This command will update the Object and the Member lists immediately and run a separate job to re index the appropriate source code To run the refresh command from the 5250 screen go to the master command menu X4WRKAPP and select Option 14 against the cross reference library X Analysis 4 Work with X Analysis 4 Applications Databorough Ltd XARWKAPP e262 ZA Weve 20S Enter options press Enter 1 Authorities 2 Change 3 Copy 4 Delete 5 Display 7 X A Log 8 Libraries 9 Variable Calls 10 App areas 11 Reports 12 Initialise 13 Build data model 14 Refresh 15 Gen Business Rules 16 Exclusions 17 Objects 18 Pgm Stds Ke1eEiE Ils Tet Company division XAN4CDXA XAN4CDEM Tutorial System 14 XAN4CDXAT XAN4CDEM Tutorial System Press ENTER to invoke the XREFRESH command screen displayed below Refresh Changed Objects XREFRESH Type choices press Enter K Analysis lieraby ess a ee ANA CD XAL Refresh Application Areas NG Refresh BuSimess Rules s gt o NO X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 20 Anda Configure Cross Reference Library Feature Brief Description X Analysis Library The X Analysis cross reference library name Refresh Application Areas If you wish to refresh the Application Areas select YES I
195. ck the Member List icon the following dialog is invoked Work with Members dialog Work with Members Application 4rea Application Area Description All Members Selected Library Source File Mame Library Source File Member Details Member Type Text Doo E Specify the selection criteria on the dialog to display a set of members 1 Select the Source File and the Library using the drop down list Selecting ALLUSR as the library name prevents the source files in the cross reference library from getting displayed 2 The Member name on the Member Details group can be oO ALL o Member Name maximum 10 characters long X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 82 Jodi d Application Library 3 Select the Type from the drop down list 4 Click OK The following screen displays the list of members for the selected criteria Select any member and double click to invoke its Source List Member List Member List 2 H Member List of ALLUSR ALL YALL YALL Total Members 325 Library Source File Name Type Description ODOSSRC STATUS Status file C YAMNA4CDEM C YAN4CDEM C YAN4CDEM C YAN4CDEM CEXAN4CDEM QBLSRC QC BLSRC QC BLSRC OC BLSRC QC BLSRC CBCONDET CBCONDETH CBCONHDR CBCUSFMNT CBCUSTMNT 2 Work with Order Details Work with Order Details Long fi Work with Orders Cobol vers Customer Site Maintenance Customer Detail Maintenance L The first
196. command run on an IBM i application Missing Object and Source Various programs in X Analysis initialization process write mismatches to all logs These mismatches are printed out under the following headings References to Objects not loaded References to Sources not loaded Source Code without Objects The above reports assist the user to interpret the outcome of the initialization command run on an IBM i application 2015 Fresche Legacy Inc Page 407 ths Appendix G Troubleshooting SYSTEM DOCUMENTATION FAILED FILENOTFOUNDEXCEPTION On executing the X Analysis Documenter if the following error is reported X Analysis Files Databorough s Analysis 192 168 170 10 PCF_ XAN4 sRFLIB System Document For S4h4RFLIB log tek The System cannot Find the path specified 3 System documentation Failed java io FileNotFoundException D Prograrn This means that the user does not have rights to create files under Program Files folder Do the following to get around this problem 1 On WDSc under the X Analysis menu opt for Change Application Folder Select the folder for which you have full rights 2 Opt for the Documenter again SWTEXCEPTION ON WINDOWS 2000 MACHINES If the following error is reported on opting for diagrams in X Analysis running under Windows 2000 machine X Analysis x x This error was not expected and is probably due to a programming problem Kindly report this error w
197. complexity LOWSICP Program logic complexity LOWSICS Program logic complexity by subroutine Source Object Reports HAROCODE Programs with hardcoded libraries MISSING Source or objects missing SRCOBIDT Source change date after object created Database Reports DATAERR Database file and member errors and alerts DSGNALRT Database design alerts The user has the option to generate pre configured reports Select any report under the listed category and then right click on it to invoke the context menu Context Menu on Report Definition RPG Metrics Reports COMPLESP General cross language complexity by program COMPLESS General cross language complexity by SUBROUT DATACHS Program data complexity LOGIC Program logic complexity LOGICS Program logic complexity by subroutine SSSER aa Run Metrics Report Modify Report Definition Copy Report Definition Delete Report Definition SourcefObject Reports HAR DCODE Programs with hardcoded libraries MISSING Source or objects missing SRCOBIOT Source change date after object created Database Reports DATAERR Database file and member errors and alerts DSGNALRT Database design alerts Run Metrics Report When the user opts for this option the pre configured report dialog invokes X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 255 TTA THUS Audit Options Report Definition dialog X Analysis Metrics Report Sp
198. cscsceccccscsceccccscsceccccscsceces 436 ING ON PEPP EA E E EE E E E A E P EE E 449 X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 8 THUS Preface Preface ABOUT THIS GUIDE This guide X Analysis User Manual describes how to use X Analysis and its other related modules In particular it discusses the following topics Configuring X Analysis Using X Analysis Client License Manager V2 licensing Application Library Areas Diagramming features Screen Components Business Rules Analysis Audit Options Document Manager Version This guide describes X Analysis Version 11 0 How to use this guide The manual has 17 chapters Each chapter throws light on one or more of the diverse X Analysis features which adequately support advanced analysis and documentation tasks The Appendices contain the other crucial technical details relevant to understanding and using X Analysis The topics progress from general ideas to more advanced concepts building on the earlier chapters This guide will prove to be very useful for software professionals from analysts and developers to architects and operations teams intending to analyze document or modernize AS 400 IBM i applications Explore this guide to gain insight into the inimitable facets of X Analysis that equip users with rich understanding of existing legacy applications X Analysis User Manual 11 0 2015 Fresche Legacy Inc Pag
199. ct or variable for fast access to Source Browser DFD Structure Chart PSC Object Where Used Member X Reference Variable Where Used and DMD X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 133 HSA Options Quick Reference to an Object Jump to dialog Jump to Eg Object Variable foo 00m Source Data Flow Diagram O Structure Chart Diagram O Program Structure Chart Object Where Used Variable Where Used Physical File Field Mamet Variable Where Updated Physical File Field Mamet variable Where Defined Physical File Field Mamet Data Model Diagram Cancel Each option acts on the Object Variable specified in the selection edit box Zoom Source Data Flow Diagram Structure Chart Diagram Program Structure Chart Object Where Used Member X Ref Variable Where Used Variable Where Updated Variable Where Defined Data Model Diagram X Analysis User Manual 11 0 Zooms the source code of the object Displays the Data Flow Diagram of the object Displays the Structure Chart of the object Displays the sequence of calls within the program Displays all the instances of an object in the application Lists all the Source Lines where the Field Variable has been used referenced in the Source Member and its associated Device Files and Copybooks This option enables only when Jump to is opted on the Source Browser Displays all the instances of the specified v
200. cts dialog Alternatively click on the Member List icon from the toolbar to bring up the Work with Members dialog Furthermore you can access additional lists by double clicking on the Source Files node to view the source list comprising source files Double clicking on an individual Source File will present its Member List The various lists that can be generated are as under Lists Brief Description Object List Member List X Analysis User Manual 11 0 Displays a list of all specified objects Displays a list of all specified source members 2015 Fresche Legacy Inc Page 74 HSA Application Library Lists Brief Description Source Files Displays a list of all source files Business Rules Displays a list of all business rules and their narrations Consolidated Rules Displays a list of all rules based on file field combination Screen Components Displays a list of all reengineered components Change History Displays a list of all source members that are modified Procedures Displays a list of all procedures X Analysis Bookmarks Displays a list of objects that are bookmarked Application Library view Fie Edit Navigate Search Project Analysis Tomcat Run Window Help DE A oH Bm MAAN ee Navigation Metrics Dashboard BB 1927 168 170 10 uk ZAN4CDZXA XAN4CDEM Tutorial System Ta Application 4rea Diagram Work with Members at Data Model Diagram Fa Overview Structure Chart Se All Objects Progra E
201. cumenter Program Function Type S5eqMo OSPF Format Physical File LONOOLOTS l OESFL LONDET CONTRACT ENTRY CUSFMAINT CUSFMAINTOLD f2FTO1 CUSF Customer Site Mainte CUSFMOLD CUSFMOLDOID f2FTO1 USF Customer Site Mainte i CUSFSEL E CUSFSELOIL CUSFSELO1G FFCTL Please select FF SFL Please select CUSFSELR CUSFSELROID FFCTL Please select E CUSGRSEL CUSGRSEL01D CUSGRSELOLG 2201 Please select 1 fe SFL CUSGRP Please select D ee ee oD e E CUSTMNTI PF CUSTMINT LOD ZZFTOI DISTS CUSTMANT 1020 Z eF Ue USF Note Multiple selections of Screen Components are allowed for Component Documentation Click the Component Documenter icon to display the System Documenter Wizard as shown below X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 366 Appendix C Component Documenter Component Documentation Wizard Screen 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 OP Generate multiple documents For each object marked for documentation System Documentation type Generate Single System Document Generate Individual System Documents CO Generate System Documents using previous values Document Details Document Title System Document For 4h4cD4
202. d Jobs XAROBOT Type choices press Enter X Analysis library Robo e Ibray Che ource library X Analysis Library Enter the name of the X Analysis cross reference library built for the application containing the jobs scheduled by Robot Robot Library Enter the name of the library that contains the Robot database CL Source Library Enter the name of a library where the program can generate CL source members for each scheduled job entry You can enter QTEMP if you do not wish to keep or view the source programs generated X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 423 THUS Appendix J Dual Installation of X Analysis Appendix J Dual Installation of X Analysis X Analysis gets installed on the X Analysis Runtime Environment if both RDP and Runtime Environment are installed as preference is given to the Runtime Environment In order to run X Analysis on both the Runtime Environment and RDP 8 5 you must follow the steps given below 1 Uninstall X Analysis which is installed on RDP and then install X Analysis Runtime Environment 2 Install the X Analysis client 3 In the location where Runtime Environment is installed for e g C Program Files Databorough Eclipse look for a subfolder named dropins This would have a file named com databorough xanalysis plugin link 4 Now locate the installation path for RDP At the same level where eclipse exe lies like C Program Files IBM SDP look f
203. d analysis and interactive diagrammatic constructs that enable rich understanding of existing applications It also has a set of powerful re engineering facilities for automated database and application modernization which are integrated with the analysis and design extraction functions Whether an application is poorly structured or highly structured eg Synon 2E applications X Analysis can extract the design logic of the application providing an excellent base for efficient and effective design recovery X Analysis is a suite of modules fully integrated with IBM Rational products WDSc RDp RDi etc and MyEclipseBlue It also runs standalone on Eclipse without any other product dependencies Individual modules are grouped together to provide useful solution sets that meet a number of requirements around a central theme PROFILE AUTHORITY REQUIREMENTS The initialization refresh jobs make extensive use of various IBM i commands like CRTDUPOBJ CRTPF CRTLF DLTF RGZPFM RTVMBRD CRTLIB CLRLIB RSTLIB DLTLIB DSPFD DSPFFD DSPPGMREF DSPDBR CLRPFM CPYF CRTDTAARA RTVOBJD ALCOBJ DLCOBJ DLTUSRIDX DSPOBJD RTVSYSVAL RTVDTAARA In order to run the X Analysis jobs on an IBM i machine it is recommended to use the QPGMIR profile or the user profile having QPGMR as the group profile Regardless of the profile used you should have the following authorities The profile must have a USE authority to all of the commands listed ab
204. d display files OTH No cumulative component function can be determined Function Type Function Type describes the function of the object and is based on COOL 2E definitions 2015 Fresche Legacy Inc Page 189 SSS m Program Logic Documentation ITA CS J n C Hierarchy Exclusions in OSC n Work with Exclusions is an option on the master command menu X4WRKAPP Option 16 Using this feature you can add a program s name for Hierarchy Exclusions This has effect in the OSC and the SCD This feature removes the child nodes of the excluded object and a green arrow is shown to indicate the hierarchy exclusion Repeated Nodes in OSC The OSC displays the repeated objects having child nodes with a green arrow beside them The following screen displays repeated nodes in OSC Repeated nodes in OSC Ea Overview Structure Chart 4 z Overview Structure a NIPA Total Objects 526 a e H 5P012 Derive the date n working days from the input date OTHFIL XRZZP Exception error Handling called from XRZZ subr OTHCAL OTH SP012 Derive the date n working days from the input date t 85P013 Holiday Checking amp Adjustment 1 Holiday Area OTHFIL XRZZF Exception error Handling called from XRZZ subr OTHCAL OTH 5P013 Holiday Checking amp Adjustment 1 Holiday Area OTHFIL Detailed OSC Click on the Show Narratives icon to invoke the Detailed Overview Structure Chart It is available on t
205. d geometric shape before the file name indicates the file type be Object List Referred Files Expanded Hierarchical Structure C_ EMENU Total Objects 14 Fl gt H O OE002 Order Enquiry Referred Files m Customer Enquiry Mainte Referred Files X Analysis User Manual 11 0 LJ OEMENU D Order Entry Menu Referred Files OEO05 T Product Enquiry Referred Files DEDE Frint Invoices Referred Files 2015 Fresche Legacy Inc L OEO01 Order Entry Referred Files fA CUSTSL3 by Cusno R O QEOO1DF Order Entry fi PTYPES Products Page 181 Program Logic Documentation Show Root Node Click the Show Root Node icon to display the root node Show Root Node icon ony be Object List h OEMENL i Hierarchical Structure C EMENU Total Objects 14 fa E T show Root Node E OEMENU l Order Entry Menu F Referred Files OE002 D OE003 oll H OE00 Order Entry Order Enquiry Product Enquiry a Referred Files Referred Files Referred Files Legend icon The Legend icon on the toolbar displays details of the color scheme used by the Hierarchical SCD The colors help in establishing the reference and association of specific objects Click the Legend icon as shown below Legend icon Hierarchical Structure C EMENU Total Objects 14 P a o L OEMENU Order Entry Menu Referred Files O OE002 OE003 all JE eind Order Entry Referred Files Order En
206. d logie for Synon DFO Database Language Translation No Translation requerec Restore Defaults 2015 Fresche Legacy Inc Page 414 ar yng Appendix G Troubleshooting If OLE automation fails check your OS configuration For instance if you have a 64 bit OS the OLE automation will not work In such a case uncheck the Use MS Word OLE Automation to continue generating documents in generic format These documents can be viewed later using MS Office or Open Office USING THE FRENCH INTERFACE If you wish to allow running the Eclipse provided with the Runtime Environment in the French mode you need to edit the properties of the shortcuts provided in X Analysis group Clean start Eclipse and X Analysis for Eclipse Using the Properties option on the shortcuts update the Target value by appending nl fr_FR at the end of existing value Clean start Eclipse Properties dialog Clean start Eclipse Properties General Shortcut Compatibility Security Clean start Eclipse Target type Application Target location eclipse Target taborough eclpsereclpre ese clean nl fr FA Start ir D Program Files D ataborough E clipse Shortcut key None Run Normal window Comment Cleans cached data and launches Eclipse Use t In case of any other problem which is not covered above the users are requested to send their requests to support databorough com along with the log file for the current X An
207. d to select the Alternate Data Library On selecting the Alternate Data Library List the Library List is modified by replacing the Data Library from the user part of the Library List with Alternate Data Library ies in the user part of Library List X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 59 Application Library aaa Remove Alternate Data Library List ar Select the Remove Alternate Data Library List option to remove the Alternate Data Library from the cross reference library It will invoke the following confirmation dialog Confirmation dialog on removing Alternate Library List X Analysis E Alternate Data Library List TEST1 will be deleted Ore You sure Click OK to remove the Alternate Data Library Click Cancel to cancel the option Reset Library List When a cross reference library is selected the Library List changes accordingly This Library List contains cross reference library data library QGPL QTEMP and XAOBJ You can change this set of Library List by the help of the Add Alternate Data Library List option Once the Alternate Data Library is set up select the Select Alternate Data Library List option to modify the Library List of the cross reference If you want to use the previous Library List original Library List at the time of cross reference selection select the Reset Library List option The Reset Library List option is available on the right click menu of a cross reference lib
208. dd Bookmark option fe Object List Fa conool E3 S oO Source List of CONOO1 in XAN4CDE PGSRC Lines 271 Yiew Levei 5 A E PAB Ey PH B SB Be i a 2 ee Seq Moa ee oe a ae we ae ee eee eG ee oe ae oo26 00 C Until F3 od z 7 a Variable Where Used BGS CMDDT A Member ReF EWADD 1 003e 00 Enhanced Member Ref SW ADDS 0033 00 Indicator Where Sek aW ADDS hall 4 Lill gt X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 158 Quick Reference to an Object Select this option to invoke a dialog as shown below You can edit the name of the Bookmark as per requirement Add Bookmark dialog Add Bookmark Enter Bookmark name Click OK to bookmark the specific source line The following image shows the bookmarked source line Bookmarked selection IN03 be Object List Ee cONOoL E3 E Source List of CONOO1 in XAN4CDEM QRPGSRC Lines 271 Yiew Leve 5 GA E D aE P E m SBOE i a aA Seq No E A P E S A E eae oe eee Meee ere Ooo0z26 00 C Until Fs 002 00 Cc THOS DOUEG 1 OO29 00 Ct nitialise screen 0030 00 T MOWEACMD 1 CHDDTS nP lt 1 gt To remove the bookmark right click on the bookmarked field and select the Remove Bookmark option or use the Delete option from the X Analysis Bookmarks window To view the bookmarked items click the X Analysis Bookmarks icon featured on the X Analysis toolbar X Analysis toolbar displaying the X Analysis Bookmarks icon X Ana
209. dell F3 Exit F4 Prompt F5 Refresh F24 More keys Option 15 Business Rules Initialise screen AA2 EDEMO SPEO TETTED PE O TETED ALL ns YES ZNO INO MODEL Fl2 Cancel XAXREF Name Name SPECIFIED Name SPECIFIED NONE SCEIE IMO Minh WIDE YES NO YES NO YES NO YES NO CODE MODEL Bottom PiS How to use thus display Option 15 can be used to generate Business Rules for a single application area or for the entire application The following screen displays the Business Rules window Generate Business Rules screen Generate Business Rules Type choices press Enter X Analysis x Ref Library Kea Rev LIDA tere a aaa X Analysis Application Area F3 Exit F5 Refresh F4 Prompt F24 More keys gt AA2EDEMO XALIB ALL Fl2 Cancel XGENBRULES Name Name XALIB Character value ALL PGM Bottom F13 How to use this display This command will identify the business rules logic in each program in the application over which the specified X Analysis cross reference database has been built X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 381 Appendix D XREDOAPP Command A source member containing the business rule logic and narrative describing each rule is generated for each program Option 16 Generate Option 16 can be used to generate the new RPGLE application programs The following screen displays the Generate w
210. delled with relatively no effort View DATA Using the View Data option from the context menu the records of FILE type objects PFs and LFs may be viewed On selecting the View Data option the following Data View is displayed View Data on CUSFL1 Company Distributor Sts Last Next 030514 031025 031102 031125 030408 031006 Bertwhiste amp Company Ltd OT Besson Bros DT Beta Company Limited 031102 031125 030508 031015 Cable Installations Ltd Carmel aeiia Ltd 5 T a Bock amp Co Ltd 3 030408 031006 T 2 Fans 01 05 ee 15 Cus Mo 00001 00015 00140 00014 ob0092 00100 Product Code Computer Products Ltd 18 030408 031006 01 fools Consumer Products Ltd 0 030514 031025 Culver plc 5 030514 031025 Driver Drawdowns plc 9 030908 031013 Express International plc 9 030908 031013 First Chemicals Ltd 3 030514 031025 First Trarinn trd 070514 names Ul DATA DICTIONARY 03 04 01 0 4 05 ni 00102 00139 00029 00116 00043 anina X Analysis makes the seemingly complicated task of data modelling an easy one When the data inherent in a specific application is accessible data modelling can be a straightforward procedure X Analysis has the Data Dictionary option for this purpose X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 281 Anos Data Management Features The Data Dictionary contains detailed i
211. displays information under the following headings 1 Units Displays total number of Files Fields Displays the total number of fields available in the file Access Paths The total number of access paths for the file Creating Programs The number of programs creating records in this file Reading Programs The number of programs reading this file Updating Programs The number of programs updating records in this file Deleting Programs The number of programs deleting records from this file Total References The total numbers of programs referencing this file in effect total of 3 6 The following screen displays the File Metrics information for the cross reference library XAN4CDXA X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 253 thJsst LEGACY Window displaying File Metrics for XAN4CDXA File Metrics for XAN4CDXA awm Mame Units Fields Access Paths Creating Pgms Reading Fgms UpdatingPgms Deleting Pgms Total References Audit Options ACCOUNTS 3 168 5 CONHDR 16 1735 6B 1 B aA Ww CONUPD 3 100 28 BB BUSINESS PROCESS LOGIC METRICS The Business Process Logic Metrics Report displays business process logic data in metrics form Total Lines Excluded Lines Controller Lines and Residual Logic The following screen displays the Business Process Logic Metrics Report for XAN4CDXA Business Process Logic Audit Report for XAN4CDXA i Summary Metrics is N Business Proce
212. ds aoatanntaaae stuvecsadendeanrandnaciseainaensteveotadersae 224 View Business FOS hae tecencoocensarsonsteccnedsaeeraataiencauevsasenoie tv oeunestaieseetsaceetaneuraoessesaate 226 Inter Repository Options ssessessesceesoescecceccoescesceececcoeccescecceeccoescecceecoeccesseeceesseese 230 Generate Difference AnallySis ccccsseccsssssccsssscccsssccccneseccusseceessscneneseseusseseusecnens 231 Display Difference Analysis ccccssscsssssccssscccessseceseccucuececeusseceesccneneseneussecsensss 231 omae AO E n e E A E 233 canara PRANIE i E ieai E E i 233 PIF ADIY SNS rE E AE EA E EEE 234 Manage Linked Repositories eosensssensseersseessseessrrresrrrssrerssrressereseersseerssrreserreseeree 237 Audit OPUOD enne N EE EE E A EA EA 241 METIC ANN a E E E E E 241 SAN C ene 250 FNS MET eee es nsec A E E A E E ensingenscenstacsaets 253 X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 5 Contents Business Process Logic Metrics cccsccsseccscccecceeccsccseccseccsecesceeecceeeseecsseesseeeeeeeeees 254 SIO Cll ZO ANYS erann E A A E E EEE OEN 254 PODE MTANI aae a EAEE E E EN OOA 262 OPE TAIOC 1d 6 g anea A ne ene ee ee ee eee EEE 264 AN OAS Oe UII VN LLE NEE PAIA AT NA successors EE I 265 SUMM ROPOT eE R E A E OE O OEE 265 Initialize Source Archiving saicscoustarncesagan adanduevacscnamandoavesusde tases adandevaciesenandoaseaaeeeimensader 269 SEINE FAL Metrics ANalySiS saccascasag ae scnanareevannesm
213. duct Name Project Name would like to HOMEPAGE URL Optional Sign up for a free trial rr gmail com Know your basic profile info and list of people in your circles PRODUCT LOGO Optional Make your listen app and comment activity available via Google visible to Your circles This is how your logo will look to end users Max size 120x120 px By clicking Accept you allow this app and Google to use your information in accordance with their respective terms of service and privacy policies You can change this and other Account Permissions at any time PRIVACY POLICY URL Optional TERMS OF SERVICE URL Optional GOOGLE PAGE Optional plus google com Page ID Provide your email address and Product Name as shown below X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 440 Appendix M Export to Google Drive Consent screen window with email and product details Google Developers Console X amp https console developers google com project fluted bit 803 apiui consent wW ata JHJ EGACY Google Sign up for a free trial gmail com Projects Consent screen The consent screen will be shown to users whenever you request access to their private data using your client ID My Project Note This screen will be shown for all of your applications registered in this project APIs amp auth EMAIL ADDRESS gmail com Credentials Logo Consen
214. e 9 Anda Preface The X Analysis suite of products contains a total of eight modules This guide describes only the following module X Analysis For information about the other modules please contact your Fresche Legacy representative or visit us at www freschelegacy com X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 10 Overview Overview A comprehensive stepwise illustrative guide that encapsulates the advantages of X Analysis as a multipurpose software product suite X Analysis comes fully equipped to address all analysis and documentation needs from analyzing Metrics to decoding monolithic Business Rules and many more In sum X Analysis is a power packed toolset designed to keep technical complexities at bay making conversion of existing application designs into the latest format a much easier exercise ACRONYMS USED IN THE MANUAL 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 OSC Overview Structure Chart X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 11 X Analysis User Manual 11 0 Introduction to X Analysis Introduction to X Analysis X Analysis is a proven world leading tool used by analysts developers architects and operations teams for analysing documenting modernizing and rebuilding of IBM i applications It provides detaile
215. e BE Screen Actions Class Diagram feFTOl Business Rules reFlo CUSTMNT1 2 CUSTMNT1 2010 CUSTMNT1 2020 CUSTMATIR F I F F I CUSTMATL 1010 R 77FT L ae Data Content F I F F Component Documenter CUSTMNTIROID 2eFTO1 Ea m j Fy Annotate The Class Diagram option is available for all Screen Components and Development Screens Class Diagram Be CUSTMNTIFM d CUSTMNT101D classdiagram umiclass 23 Table Ea CUSTMNT 1010 H Distributors attributes description String 7 code String operations classes E BUSINESS RULES Business rules are defined as discrete blocks of program logic gathered during the design recovery process which describe data processes that are independent of both the data model and the environment The rule narration too is held along with the rule for better understanding Right click for the context menu on a Screen Component and select the Business Rules option as shown below X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 218 thJs0 LEGACY Options on Screen Components Business Rules option ee Screen Components x GE sa E E ti k Ey t MA Program Function Type Mo OSPF Format Physical File Title CUSTMANT1 I PT custHNTi010 PUT scrcon source code CUSTMAT 1020 15 ZEF TOZ CUSTMNT1_0 sig Function Editor at Preview Designer M Fage Designer FZFTOL ae Data Content Zam T02 BE Scr
216. e Chart Default View Level 13 Number of records to display 1 Variable Where Used Default View Lewel 1 v Object Where Used Entry Level References 7 w Default Source Editor Lpex 5250 Emulator Others Number of records to display 1000 Restore Defaults Cancel 2015 Fresche Legacy Inc Page 49 Using X Analysis Client Structure Chart o Maximum Diagram Depth The Interactive Structure Chart can be displayed up to 14 levels Select appropriate level for the interactive Structure Chart The default level is 14 o Maximum Unexpanded Depth This sets the maximum depth up to which the SCD will be displayed as expanded The data for further levels will be fetched but shown as collapsed initially The default level is 10 o Maximum Files to show in a row in Show Files mode The Interactive Structure Chart can display up to 10 files in a row Select appropriate value for files to be displayed Value ranges from 1 10 The default value is 5 o Preferred Volume Limit The Interactive Structure Chart gets displayed according to the volume limit set provided in this field The default limit is 1000 System Document amp View Export as o PDF The PDF option is checked by default It implies that System Document will be generated as PDF document Also all list view diagram exports will be as PDF o MS Word Document To generate System Documents in MS Word format the user should choose this
217. e Operation Dark Blue depicts the Field Operation de Member Ref 22 Legend for Member X Ref a Aly Fe Member Reference for COMOO1DF in 4N4COEM W Detinition Statements w aooo c aly age H e File Operations FCONOOIDFCF E F C C L E Parameters Program Structure Operation E Field Operation 2015 Fresche Legacy Inc Page 157 ths Quick Reference to an Object ENHANCED MEMBER X REF The Enhanced Member X Ref option displays the references of a variable in the member along with the information about how each subroutine handles this variable It also presents the logical order in which the variable actually gets used and not in the order of how it is physically placed in the source Enhanced Member X Ref view Source List of CONOO1 in XAN4CDEM QRPGSRG Lines 271 Yiew Levek 5 GA E BD AGEA i mh BBE i Anar seg Wo Cans or Pee I aR rr ae ee ee cr ee MARE Ct Until F3 INOS Add Bookmark Variable Where Used MDDOT Member Ref ZU ADD 1 Enhanced Member Ref WADD Indicator Where Sek aWADDS eld Business Rules EF Member Ref Er Enhanced Mbr Ref 2 8 Member Reference For INO3 in 4N4COEMIQRPSSRC CONOO1 coNooi noe 00 INOS DOUEG 1 0046 00 INOS IFNE 1 oe 00 INOS IFNE 1 00ra 0d INDS IFME I RYTON PRLNS 4LID ERCON ADD BOOKMARK Use the Add Bookmark option to access the facility and bookmark a selected source line in the Source List view A
218. e application CLIENT ID ile Pe a fa et eee r ie ar BT a Bii Ey pip tiigri CLIENT SECRET ahii AT aci REDIRECT URIS urm ietf wg oauth 2 0 00b http localhost Reset secret Download JSON Delete 8 On the X Analysis Client check to allow options for DOCX and XLSX on the Window gt Preferences gt X Analysis gt General X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 443 Appendix M Export to Google Drive General Preferences window showing Google Drive Export options type filter text gt General gt Ant t Data Management gt Help t Install Update gt Java gt JavaScript JPA gt Plug in Development gt Remote Systems gt Run Debug gt Server Service Policies t Tasks gt Team gt Usage Data Collector Validation gt Web Web Services A Analysis Advanced Folders X Data Test b X Redo bo ADoclet gt AML General Setting Preferences Structure Chart Maximum Diagram Depth Maximum Unexpanded Depth Maximum Files to show in a row in Show Files mode s Preferred Volume Limit System Document amp View Export as Paper Size O PDF MS Word document A4 Letter Google Drive Export Allow Export to Google Drive as DOCX Allow Export to Google Drive as XLSX Program Structure Chart Default View Level 13 Number of records to display Variable Where Used Default View Level 1 w Object Where Used Entry Level References 7 w Default Sou
219. e available certificates Install CA Certificates window displaying all certificates Install CA Certificates Alias Mame addtrustclassica addtrustexternalca addtrustqualifiedca aolrookcat aolrookcaz baltimorecodesigningca baltimorecybertrustca camerfirmachambersca camerfirmachamberscommerceca camerfirmnachambersignca certplusclass2primaryca certplusclass3pprimaryca certumca cerctumbrustednetworkca Pat netee fa a3 5 75 Last Modified 02 105 2006 06 20 24 02 05 2006 06 21 44 O2 05 2006 06 25 29 1701 2008 09 41 21 27 103 2008 01 00 26 1Of05 2002 05 35 16 10f05 2002 05 58 14 1Of10 2008 11 02 12 1Of10 2008 11 14 52 1010 2008 11 02 50 2A OS 2009 09 37 38 27 f05 2009 09 35 19 11f02 2009 01 01 21 11f02 2009 01 02 07 No Pee ed od 6 Click Import and select the Security Certificate issued from the iSeries It would then get added to the list of certificates providing you with the necessary authorization After performing these steps check the Use SSL box in the Sign on dialog to begin using the feature X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 427 Appendix L Setting Status for Business Rules Appendix L Setting Status for Business Rules BUSINESS RULES STATUS When the user opts for the Business Rules Overlay or the Business Rules mode in the Source Editor a new functionality allows him to set Rule Status for any rule Check the box Allow editing in C
220. e file join the second part displays Fields lists the field s from the primary file Data Content Diagram nA Ee e wi E e Fields a DNAME e DPSDCDE Distributor CUSTS Purchases Joins No Join Rule Exists Fields WiorkField Fields SLMEN Salespersons Joins No Join Rule Exists Fields CUSGRP Customer Groups Joins No Join Rule Exists Fields 1 Co m m CO m D m SCREEN ACTIONS The Screen Actions Diagram presents the actions allowed on the screen The actions could be X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 216 Options on Screen Components Prompt Action To look up for the possible values for a field facilitated by the join on the secondary foreign file Submit Action Usually on the record screen or a form which submits the data for validation and moves on Navigation Action To branch off to a new screen Usually on the grids or record screens being viewed in the display mode Right click for the context menu over a selected Screen Component and select the Screen Actions option as shown below Screen Actions option AC GH ode of we amp El oh fs Al 0 Prograrn Function es Seq No DSPF Format Physical File Title CUSTMATI us TMNTIOID Re TTo 5 Source Code CUSTMANT 1020 13 eF TOZ CUSTMNT1_0 a a Function Editor at Preview Designer M Page Designer 77FTOl ne Data Content FFFTO
221. e indented source code is displayed as shown below Indented Source Code Se Object List Ea CONDDL 63 E Indented Source of CONOO1 in XAN4CDEM QRPGSRC Lines 211 Yiew Levek 5 A E BREE F W Bm SBBi MN ar seq No INDENTED SOURCE CODE 4 0062 00 G7 Delete SFL 0063 00 o HOVEL 1 t IN 0064 00 C WRITEGESFL 0065 00 C MOVEL O IN 00a a0 s End So long as Exit not requested 3 0066 00 C END 0090 00 Ct End So long as Exit not requested 2 0091 00 G END 0093 00 Ce End So long as Exit not requested 1 0094 00 END 0096 00 Ce End Until F3 o097 00 END 0099 00 Ct Terminate Program lt ii PI X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 137 Quick Reference to an Object Business Rules Overlay Select the Business Rules Overlay option to observe the business rules embedded in the Normal Source Code The following screen displays the Business Rules Overlay view for the CONO01 program Business Rules Overlay window gt Programs Ee CONOC Business Rules Overlay for CON001 QRPGSRC Lines 282 View Level 5 _ E D AEH Ry ity Auei Ara T EXFMTOESFLC So long as Exit not requested 1 INOS IFNE 1 Contract gt 300000 Validate Contract no DSORDHN IFGT 300000 MOVEL OEMO010 ZMSGID 7 ENDIF r e e l a a TEEPEE TtETea H B O5 Business Rules for CONO01 Number of Lines 11 Source Member Rule Number Field File Rule CONO01 00001 XWORDN CONDET Contract gt 300000
222. e program naming depends upon the template selected The following table explains this ZUTEMPLATE ZU ZSTEMPLATE ZS ZRTEMPLATE ZR ZXTEMPLATE ZX On selecting ZSTEMPLATE an SQL CRUD service program is generated whereas on selecting ZRTEMPLATE an RPGLE CRUD service program is generated In both the cases a service program is generated containing sub procedure definitions for READ UPDATE WRITE DELETE record On selecting ZXTEMPLATE an SQL extended READ service program is generated The generated service program contains sub procedure definitions for Extended READ Using Generated Service Program The following is a snapshot of the generated service program Snapshot of a Database Service Program H debug yes Copyright Databorough Lcda 200e H nomain D x x x xxx xxxkxxkxkxxkxkxxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkkxkx xkkxkxkkxkxkkxkxkkxkxkkxkxkkxkxkkkxkkkkkkkkkkxk Dee Deceit OS Dae AKARKRKRAKRKKKNR RR KKK KK RK RK RR KK RRR RRR KK RK RK RR KK RK RK RK RK RAK KR AR KK ROK KK AR KKK D zrecord e ds extname condet 7G eornds oi e ds extname condet prefix sql zrecordcpy e ds extname condet prefix cpy D D D D Dt Data Structure containing all required parameters D Plus before and after database record image D Keys passed in ZOLDRECORD data returned in ZNEWRECORD X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 312 D zsdaca D znewrecord D zoldrecord D copy qrpglesrc zsheade
223. e program was created Used displays the date when the program was last used Function displays the function of the object The various types are explained under the Function Type section PF Name displays the name of the physical file related to the program BR Count displays the total count of business rules related to the program Annot Count displays the total count of business rule annotations related to the program X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 77 ar yng Application Library Stmt Count displays the total count of the statements in the source list of the program Screen Count displays the total count of screens recovered by the re engineering process Mode Count displays the total count of modes available to access the screens belonging to a program Double click on the list item opens the object s source code in the source browser Files Similarly double click the Files node under XAN4CDXA to bring up the Work with Objects dialog with the Type Attribute set to FILE PF Double clicking on the All Objects node re sets the Type Attribute to ALL ALL The following screen displays the Object List for Files de Files es Object List Files Object List of ALLUSR ALL FILE PF ALL ALL Total Objects 50 w a fle PF eAN4CDEM PF YAN4CDEM PF YAN4CDEM PF YAN4CDEM PF YAN4CDEM PF eAN4CDEM PF YAN4CDEM PF YAN4CDEM PF YAN4CDEM PF YAN4CDEM PF eAN4CDEM lt ASIMPLTEST
224. e which programs to call In this instance PG_V5 is a generic program called by CL_GEN_PGM See PG_V5 as listed under the Generic Programs list Work with Generic Programs screen X Analysis 4 Work with Generic Programs Databorough Ltd XARWKGPS 12 58351 Zi wena OIS Enter options press Enter 2 Change 4 Delete 5 Display Program Type File name POVA FILE PGNAME The following screen shows PGNAME as listed under the Generic Files list X Analysis 4 Work with Generic Files Data ousenigiin ie ale XARWKGE S oS OA ae OS Enter options press Enter 2 Change 4 Delete 5 Display File Key type Key field name Called pgm field PGNAME ALL PGM1 PGM11 field of PGNAME file is considered for variable program calls There are two options to specify the Key type ALL All the program names for the Called Program Field i e PGM1 existing in the generic file i e PGNAME will be added as the program references CONSTANT It works differently because it tracks the actual constant key value moved in the key field name for selecting the database records matching the key value for the variable call selection As an example below are the entries in the PGMNAME file X Analysis 4 Work with Generic Files Dave aloouconG iii e al XARWKGEF S 122 58351 Z a Enter options press Enter 2 Change 4 Delete 5 Display COND EMN X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 23 Configure Cross Reference Libr
225. eceseeeceeeeeess 410 Data Flow Diagrams are Unavailable ccccccccsssccccssecccesececescecseeeeseecesseecessenees 411 Setting the password Held rriaire iraa E ia 413 Error in generating program documentation ssssssssessseessserssrrresrrrssreessrreserreseeree 414 Using the French interface ccccccssscccessccccssececeececeenecceesececsuecessesceeseecessuecesseness 415 Appendix H Refresh X AnallySis ssesessesessesessssessecesesoecescesesoesessesesoecsessecsesssoecee 416 AREFRE E E E E E 416 AR EI aE E N E 418 Appendix I X Analysis Indexes Job Scheduler Entries cscscsssscscsceccccscsceccecs 422 X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 7 Contents OAS AP DK saree dts sees soa certenaits mae dntanaesetvoeact aweneteesasatus tee saaes aeaense tence eheeaet 422 Coy aay gals ale A AROBO 7 eeeenrer rear re Ort eet nt nr E eee 422 Appendix J Dual Installation of X AnalysiS ccscsccscscsccecscsccccccsceccccecsceseececs 424 Appendix K Use SSL feature cscscsecscsceccccscsceccccscnceccecscnceccececscesescecsceseecess 425 Appendix L Setting Status for Business RUules cccccscscscsscscsceccccscsccccccscececcess 428 B simess ol B hoe Es 0 oda aan arn ree 428 Business Rules Status Cate gory ccccccsssccccssececesececeseceeesececeesceseeeeeseecesseecessuaees 433 Appendix M Export to Google Drive ccscscsccscsccccc
226. ecification and Submission Report Mame Report category Application 4rea all Members Selected Select Report Columns and Options Column Metrics YarMame Subr OBIN AM Object and Source ID Data OBISTR Object Library OBILIE CYC Object Mame DBJINAM HAL Object Type OBITYP MI Object Attribute OBISTR SRCLINSTM Object creation date OBICRTBAT Object last used date OBJLSUDAT Source File OBJSREFIL Source Library OBISRCLIB Source file change date OBISRCFCHD Cee Ted habe OBI4TR RPG OR OBISTR RPGLE Filter Click Submit Report to generate the report A batch job will be invoked and upon its completion the Specialized Analysis window will be updated X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 256 Anda Audit Options Specialized Analysis window Ta Specialized Analysis 5 0 X Analysis Metrics for XAN4CDXA zme lt amp Category iReport Run M Date Type Status a RPG Metrics Reports EB COMPLEXP General cross language complexity by program 2015 06 06 Metrics data Submitted COMPLESS General cross language complexity by SUBROUTINE CATACH Program data complexity LOGICP Program logic complexity LOGICS Program logic complexity by subroutine SourcetObject Reports HARDCODE Programs with hardcoded libraries MISSING Source or objects missing SRCOBIDT Source change date after object created Database Reports DATAERR Database file and member errors and alerts DSGNALRT
227. ective double click the Programs node under the selected cross reference to bring up the list of all programs Double click on a program to zoom source into its corresponding Action Diagram see below Action Diagram for a program e Programs Action Diagram for ER Edit Hospital Edit record 1 screen TSAJE1R E H g e aua a a i Action Diagram ye ene laces Workfield Program logic for ER Edit Hospital Edit record 1 secre E USER Initialize detail screen new record WERE Number 4 ZERO WERE Number 5 ZERO WEE Number 7 ZERO WRER AlLpha 6 BLANE Country RIVCND DTL Country Name Inpervelize Petal Screen existing record M X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 395 Appendix F X2E Specific Features Note that the Call has a before it indicating that the program being called has parameter s BUSINESS RULES Opt for the Business Rules option from the Source Options drop down menu on the Action Diagram toolbar Business Rules option on the Action Diagram toolbar e Programs B TSAJEIR 3 H Action Diagram for ER Edit Hospital Edit recordi 1 screenj TSAJE1R E Ham it S Ba os f Original Source Code w Action Diagram tion Migrated Logic logic for ER Edit Hospital Edit record 1 serem ii gt On selecting the Business Rules option the following screen is displayed X Analysis User Manual 11
228. ed Licenses Security Cod 2 Send the Server Server Info Username nal Password seseeee8 Connect Serial Number Partition ID Total Partitions Send Server Info Cancel Once the connection is established the following window is displayed X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 30 JHJ LEGACY Using X Analysis Client X Analysis License Manager Tool 0 E Help License Manager View 3 1 Enter the login informations and Connect to retrieve the server informations Host Name Username WY Passware LJ Use SSL Info Installed Licenses Security Code 2 Send the Server In Progress Information Server Info Serial Number Fartbon ii i z Server connected Total Partitions Send Server Info Click OK The Server Info will now show the Serial No Partition ID and Total Partitions License Manager window with the Server Info 1 Enter the login informations and Connect to retrieve the server informations Het Name Use Peso L Use SSL Server Info Serial Number Partition ID Total Partitions Send Server Information Copy to Clipboard X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 31 JJS LEGACY Using X Analysis Client You must wait for the License file to be returned by Fresche You will require a single license file regardless of the number of partitions you may have for a given machine identif
229. ed Object Documentation in Alphabetical Order is selected then the object documentation generates in ascending alphabetical order of Object name from the application area The following dialog is displayed in the wizard Exclude Object List X Analysis l B System Documentation Exclude Objects Exclude objects From documentation optional Mame Type Description Delete Objects SELNG FCT A APO Last Skeleton Letter CATCMAINTD FILE Contacts Maintenance CONDET FILE Contract Detail Delete by Type CONDETLI1 FILE by Store Contract Prod CONDETLZ FILE by StorefContract Prodi CONDETLS FILE by Produckitontrack Select by Type CONHDR FILE Contract Header CONHDRL1 FILE by Debbor Contract LOPRJHDRL1 4 FILE by Debkor Cusk Ref Undo ll Deletes CONHDRL FILE by RepfContract LOPRADRLS FILE by Debbor Date CONHDRL4 FILE by Debkor Date Rep COPRADRLS FILE by Date USF FILE Sites CUSFLI1 FILE Sites by Mame CUSFL2 FILE Sites by Status CUSFL3 FILE Sites by Number CUSFLS FILE Sites by Disk amp Status USFLG FILE Sites By Dist amp Mame CUSFL FILE Sites by Last Cnt Date CUSFLE FILE Sites by Next Cnt Date CUSFL9 FILE Sites by Fax Mo CUSFLA FILE Sites by Product renan Clleele ETI E Dikar has iwin ick lt Cancel The dialog offers removal of objects from system documentation based on name type of objects The selected name type can be remo
230. eecenennesecesneteracenseneeseneesenneseaeeaces Screen Action Diagram for 22FTO1 CUSTMNT101D W nce neeeeseceeseceeseneesenneraaceesesesseneeeneeeenes Screen Design for 27FT01 CLS TMNT 1010 2 2 2 nnnnnneen none eee nee eee ee eee eeen eee neeeen nee eneenenenees Migrated Logic for Function 27FTO1 CUSTMNTIO1D ee ceceecncee neces secnseaceesseeesenenecenesceeeaces Business Rules for 22FTO CUSTMNT1IO1D 2 cccccsesscenesscseenseeeeraneesanersannssucenenesseensseneranesanees mo om on ie fo Po bi P o 26 x 11 69 in X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 371 System Document for XAN4CDXA pdf Adobe Acrobat Professional File Edit View Document Comments Forms Tools Advanced Window Help x OFF ct GS lja ad Appendix C Component Documenter Header amp Parameter information CUSTMNT107D Customer Detail Maintenance 1 Header Information for ZZF T01 CUSTMNT101D Customer Detail Maintenance Function Type R Record Re Engineered Function No attached Grid Co Attached Trailer 7FTO1 Entry Mode NO Grid with Ada Noo OO 2 Parameter List for ZZFT01 CUSTMNT101D DSDCDE _ Distributor gt G26 x 11 69 in 3 Data Content Diagram System Document for XAN4CDXA pdf Adobe Acrobat Professional File Edit View Document Comments Forms Tools Advanced Window Help OrRrAsAwR e LEa 3 Data Content Diagram for ZZFTO1 CUSTMNT101D J DISTS
231. een Actions a Class Diagram g Business Rules CUSTMNT1 OO10 CUSTMNT 1 o020 F7FTOL 27FTO2 CUSTMNT1_1 CUSTMNT1_101D CUSTMNT1_102D CUSTMNT1_ CUSTMNT1 2010 CUSTMNT1_ 2020 2eF TOL zeA TOZ CUSTMNTIR R I R R I R R I R R Component Documenter CUSTMATIROID 2 FTO1 4 i j B Annotate The business rules for the source member will get listed The business rules are listed only when the Derive Business Rules option has already been opted on the source member Business Rules vetaa M 80 fed Business Rules 2 b H ig Screen Components i Business Rules for function CUSTMNT101D Number of Lines 13 Source Member Rule Number Field File Rule ECUSTMNT1 00001 MWBCCD CUSTS Debtor blank CUSTMNT1 00002 AWG4TX CUSTS Name blank CUSTMNT1 00003 XWBNCD CUSTS End of file on CUSGRP and CUSGRP CusGrp lt gt blank CUSTMNT1 00004 PERSON CUSTS Rep not found on Salespersons CUSTMNT1 00005 DSDCDE CUSTS Distributor not found on Distributors CUSTMNT1 00006 AWGIVA CUSTS Credit_Limit lt 0 CUSTMNT1 00007 CUSNO CUSTS Cus No 0 CUSTMNT1 00008 CUSNO CUSTS Cus No not found on Sites CUSTMNT1 00009 XWBCCD CUSTS Debtor found on Purchases COMPONENT DOCUMENTER The Component Documenter option documents the extracted Screen Components Re engineered Functions The following information is documented Additional Header Info This includes the function header information Data Content This includes
232. een Components option Source List of CONOO1 in XAN4CDEM QRPGSRC Lines 271 ViewLevel 5 A E B REE P W Bee i Bl amp fa Seq Mo Ta eaan ols a 4 5 A 0204 00 C SViLID BEGSE 4 4 i Click the Screen Components icon to display a list of all the screen components for the selected program Screen Report Design The Screen Report Design displays layout for associated DSPF PRTF Screen Report Design option Source List of CONOO1 in XAN4CDEM QRPGSRC Lines 271 ViewLeve 5 A E BEEE ert amp BME i a amp f amp Seq Mo Lega gee a Ot weenie sna toe nn ilies nn CtttttttttttAT Bes caviecer oor KEREKEREEREREREREEEEEEEEE Lpex SEU Editor SEU You can make changes to the source code using the SEU option Click the SEU icon available on the Source Browser toolbar Invoke SEU option from the Source Browser Source List of CONOO1 in XAN4CDEM QRPGSRC Lines 271 Yiew Levei 5 GA E BASE Peas m amp fa Seq No ent ee ae re eee ee ae si GO oleae eee FES ee ag 2a eee oe peararenerrerenmeargem argc 5E TET AAT TTT TTA Aaa r NG ok Oe Cee AREA ET Lpex Editor You can make changes to the source code using the Zoom in Lpex option Click the Zoom in Lpex icon available on the Source Browser toolbar to initiate the Lpex editor 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
233. een below Context Menu for Run as administrator P Run as administrator Open file location EditPins WD Add to archive BR Add to ecipse rar BD Compress to ecipse rar and email This will launch Eclipse correctly and the user will be able to switch to the X Analysis Perspective X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 405 Appendix G Troubleshooting X ANALYSIS MENU ON THE MAIN MENU BAR DISAPPEARS FROM X ANALYSIS PERSPECTIVE Sometimes it so happens that the X Analysis menu on the main menu bar disappears Use the Window gt Reset Perspective option to restore it Reset Perspective e Do you want to reset the current 4nalvsis perspective to its defaults F Also Eclipse allows the users to drag and drop various views If some of the X Analysis views are accidentally closed or are not visible the Window gt Reset Perspective option should be used to restore them ERROR IN RUNNING X ANALYSIS INSTALLED ON WINDOWS VISTA FOR THE FIRST TIME This is observed when The user has installed XARuntimeEnv8_x_x msi On running X Analysis the following error message is reported An error has occurred See the log file C Users sjriworkspace metadata log Check the XAPlugin log file available under X Analysis gt Open Log folder to see if it has the following line java lang UnsatisfiedLinkError no swt win32 3232 in java library path This means
234. efine the application area using the X4WRKAPP X Analysis Define the filter using X Analysis Take the Subset Data option on the application area Creating Subset Data Select the application area ORDERS from the tutorial application XAN4CDXA Select the Subset Data option from the Data Management Options submenu available on the context menu on application areas The Subset Data option brings up the Subset Data dialog as shown below Subset Data dialog Subset Data Ref Library Application 4rea Subset Library ORDERSS1 Include Owners YES w Include All Dependents mo M Replicate Triggers Constraints MO t Data Option REPLACE X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 293 Data Management Features The Subset Data dialog prompts for the following options Subset Library Library to hold the subset records Include Owners Select from YES default value NO ALL Include All Dependents Select from NO default value YES ALL Replicate Triggers Constraints Select from NO default value Yes Data Option Select from REPLACE default value ADD After making the choices click OK to execute the batch server command XSUBAREA This produces the subset library as the name specified in the Subset Data dialog The records on the file obey the subset filter criteria specified on the files under the application area This also adds the subset library ORDERSS1 as a node under the
235. eg Ho ar a teas L da 0 eis 2 erateas aaa ea eee ametis 4 0001 00 US 10 05 04 A000000 testing 5 0002 00 FEONODIDFCF E WORKSTN 0003 00 F RERNI KSFILE OE SFL 0004 00 FeUSTS IF E k DISK FEONHDR UF E K DISK A OO06 00 FCOMDET UF E K DISK A O 0007 00 FSIKMAS IF E K DISK k k m m im J lt OOO O0 FSTOMAS IF E DISK 0009 00 FSTKBAL IF E DISK 0010 00 FIRNHSTLAIF E K DISK 0011 00 a 5 0012 00 E CMO 1 370 6 0013 00 17 0014 00 MEDM H o4 ok FS Sheeti Ready L CMD Key Data L k i im Ff lo bo O OL ITIRIE fae IT 4 EXPORT TO FLOWCHART X Analysis generates Flowcharts for RPG RPGLE and COBOL programs It also generates Process Flow Diagrams for CL programs The Flowchart option is enabled only in the source browser view It generates the flowchart of the displayed program using MS Visio Each level of source selected source member has a different flowchart Level 1 2 will have a Flowchart without any code Level 3 4 will have a Flowchart with code without blank lines and with no comments Level 5 will have a Flowchart with full code and comments In Level 1 2 the context menu on a shape in the Flowchart has the option View Source The View Source option displays the code for that section of the flowchart in the form of an HTML page X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 300 ths Exporting amp Printing F
236. ented in MS Excel This can be done by checking the Export to MS Excel option If the user selects the Business Rules for documentation with the Summary X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 318 Document Manager option then the basic rule information will be documented if the user selects the Detailed option then the logic behind the rule will also be documented JHJ LEGACY Single System Document Features oystem Documentation Specify Contents Select features to be included in the System Document Object List Data Model Diagram Normal In Word as Image Detailed In Visio _ Annotation LF Access Path details Detailed File Field Details Field Annotation Object Where Used Data Flow Diagram Normal C Detailed Annotation Structure Chart Normal C Expanded C Detailed Depth 5 v Annotation Screen Flow Diagram Normal _ Expanded _ Program Structure Chart Annotation Screen Report Layout Normal C Detailed Business Rules _ Export to MS Excel Summary C Detailed Include Internal Rtn s Source Source level A w Pseudo Code Flowchart Lewel Business Process Logic Lewel If a user selects the Screen Report Layout for documentation with the Normal option then the System Documentation process will print the Screen and the Fields list of X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 319 Documen
237. ents in the source list of the file Format Count displays the total count of screen formats related to a file The displayed Object List is sorted on an Object s name in ascending order Click the respective column heading to change the sort order To narrow down the search the object name on the object group may be mentioned as well It can be Mm ALL Object Name maximum 10 characters long Besides the other settings the following can also be specified on the dialog Component Status The Component Status can be picked up by selecting appropriate status for e g A B etc under the Function Attributes section Work with Objects dialog showing Component Status Function Attributes Component Status Function Type w J Frogram Type Component Status for Programs Parent or top level program i e calls other programs but is not called itself B Program is called by another and also calls other programs C Program at the end of a program tree does not call other programs D Standalone program 2015 Fresche Legacy Inc Page 79 X Analysis User Manual 11 0 Application Library Component Status for Files A Accessed by other files but does not access any other file B Accesses other files and gets accessed by other files C Only accesses other files not accessed by others E D Standalone file Function Type This describes the function of t
238. eport For S4h4C0 4 pdf Do you want to open this X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 268 Audit Options INITIALIZE SOURCE ARCHIVING Source archiving can be run independently of metrics The Initialize Source Archiving option is available for the cross reference library and the application areas When the user chooses the option the following dialog is invoked Initialize Source Archiving dialog amp Initialize Source Archiving Ref Library Archive From S441NIT process Archive From REFRESH process Archive From sA4MAINT process Archive From 445RCMNT process Source archiving is started by the XACVINI command which sets up a controlling DTAARA in the XA library and makes an initial copy of all source codes If archiving is deactivated and then restarted later the initial archived copy is not made Source archiving can be deactivated by XACVEND which optionally clears all source archives and controlling data This command can only be run on the server Files All archived source versions are recorded in XAACVSRC whose data is only ever purged when XACVEND DLTHISTO YES is run whereas metrics can be purged independently which clears XMETOBJ When archiving is active the source date time of the latest version archived is recorded in XAACVHDR Archiving handles all the source types whereas metrics only records for CL RPG and CBL Source archiving continues to maintain data in XMETOB
239. ept 13 The following window containing a code will appear Copy and paste this code on the Paste code from Web Browser box Google Authorization window with code https accounts google com o oauth2 auth access_type online amp approval_prompt auto amp client_id 1007793557 Please copy this code switch to your application and paste it there Authorize and copy code Paste code from Web Browser Cancel X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 447 Appendix M Export to Google Drive Click Authorize 14 The following window will appear Click OK to confirm the use of the Google Drive feature Google Authorization successful dialog Google Authorization successful This shall be used for the entire A Analysis session This needs to be done again for a new session After completing these steps you will see Export DOCX to Google Drive and Export XLSX to Google among the Export Options Export Options displaying Google Export By Pen Seq No ans Export to MS Word 0001 00 1f Export to MS Excel 0002 00 Export DOCX to Google 0003 00 i Export XLSX to Google TEXT Contract 0004 00 TEXT Praduct Annotate 0005 00 F COLHDG Product Documenter 00 L TEXT Store 7 00 XWI8TX 54 TEXT Ref No 00 XWRICD TEXT Trn Hst Trn Type 00 AWASOT TEXT Contract Oty 00 EDTCDE M The document you select would be pla
240. er The Documenter Document Manager facilitates the generation of a PDF MS Word document containing the system design information for the specified objects in an application The System Documentation is generated in the following two ways Marking the individual objects complete list Documenting an application area MARKING THE INDIVIDUAL OBJECTS COMPLETE LIST Follow the steps below to generate the system document L Start X Analysis Select a cross reference from the cross reference list view Mark objects to be included for the System Documentation process To mark the objects for documentation process use the context menu on objects and select the Mark for Documenter option Alternatively the entire list can be selected for documentation by selecting the Mark all for Documenter option available under the X Analysis menu Select the Documenter button from the main toolbar Document Manager X Analysis Document Manager Name Description CONDO Contract Entry CEO Order Entry Move Down Delete All Invert Selection Generate Document Save amp Exit X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 315 Document Manager The Objects Members on the documenter list can be arranged using the Move Up Move Down Delete Delete All buttons on the Document Manager The Document Manager provides a facility for object selection for system document Invert Selection On clicking In
241. es an Input file Output This depicts the program that writes to a file Command This simply depicts a Command Others This refers to the Programs that are referring to a file which is not Update Display Print Input Output Internal Routine This refers to the Synon specific routines 4 Update F Display Print Input Output O command Others F Internal Routine Indeterminate E Trigger WS Module Indeterminate This depicts the programs where the usage cannot be programmatically determined X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 188 X Analysis User Manual 11 0 Program Logic Documentation Trigger This depicts the program which is a Trigger Module This depicts the program which is a Module The OSC can be expanded collapsed using the button on the lines Collapse CBC 110 Order Entry System OTHFIL ia CBS06R Back out account EDTFIL CBo07R Expand CBC 110 Order Entry System CBS06R Back out account EDTFIL X GSCD Generate Code Rollup Group CEC 110 Order Entry System The Rollup group describes the cumulative component function of the program and its dependents The following types of Rollup groups are available UPD At least one program updates a file PRT Program and dependent programs create a printed report DSP Program and dependent programs use input files an
242. es by Disk amp Status b Attributes gt The different objects corresponding to the main object have fields within them implicit as Attributes These are easily accessible by a single click on the Attributes icon The term Attributes is changed to related attribute input update output etc on expanding the Attributes button as shown below e Files a Object Where Used Object Centered Data Flow Diagram for CUSF Total Objects 94 b Access Paths F Input Programs b Input Services F Input Triggers b InputiOutput Programs 2 Objects b Update Programs me F Update Output Programs 4 Objects Fl Wit CLISF Work with Customer Sites Updout 47 Fields a ADDI Address 1 a ADDZ Address 2 e ADDS Address 3 e ADD4 Address 4 a ALTTEL Alt Tel No 1 X Analysis User Manual 11 0 Expanded Attributes CUSTMNT1 ga ysr Ee m 13 Objects 59 Objects 1 Object 1 Object 14 Objects 1 m 00 00 00 00 oo Fl WihtCLISER Work with Customer Sikes F Attributes 2015 Fresche Legacy Inc E A amp e aa Pn m CUSFLA Sites by Product renamed From cusfla For testing b Attributes E CUSFLC Sites by Salesperson b Attributes CUSFLE Sites by Organisation P Attributes m CLUSFLZ Sites by Status b Attributes CUSFLS Sites by Dist amp Skatus b Attributes lt Page 166 Program Logic Documentation Detail DFD icon The Detail DFD presents the field u
243. es screen X Analysis 4 Work with X Analysis 4 Application Libraries Dat Borough Wed XARWKLIB Lls51311 Zi deg 2101s Keren library AA2 EDEMO die clan eee ee ee M O Object S Source M 2E Model Sequence 200 Li orary This screen is used to set up the source object and model libraries for the selected application If you intend to build the data model using CA 2E model libraries then you should enter the names of those libraries here specifying the library type as M These libraries are used when initializing the application and for various other commands which need this information The maximum number of libraries allowed for each type is 300 Two items of data are held against each library name Library type O Object S Source or M 2E Model type of libraries X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 380 Appendix D XREDOAPP Command Sequence Number It determines the order in which the libraries are placed in the library list Option 12 Initialise Option 12 can be used to initialise the X REDO Application Library The following screen displays the Initialise window Initialise X Analysis 4 Type choices press Enter Analysers bibrary Ooae LDT ar ke ce eee for more values Source Libraries A E E wee for more values inde Source Piles Build Data Model Generate Business Rules Initialise X Resize P TN Include obsolete source object Import 25 Mo
244. esaaereestenerseontareriaanx 97 Adding Object to an Application Area ccccscccccssscccesseeccesececeececeeseeeeeeceseaeceneneeees 98 Removing Object from an Application Area cccccsssccccssececesseceeeseeeeeecessescesaeaess 100 Context menu on an Application Area cccccssecccssscccessecceesececeesceeeeneeeseecessueeeeees 101 Application Area OPTIONS sesrrinencereiririe nesinnes 102 Derive BUSINESS RUIOS ccecccsssecccesececeeccceeseceeauececeueeceseneceseuseessueessenecessuecessuaess 107 POT ORUN scranctvcseacsesnerencaurapeesnerctancacnceocesnuosmrcmerciaqeeceuansavecoaeeanonnseapneuaesnereaanaas 107 ANNOTA E E E E 107 DOCUMENT Application Area scccccsssccssssccssecccensseccseccucneseneusseceeussceenesenenssecsensss 107 Data Management OPTiONS ccccccscccssccseccsccesccesecesecesessecesecesecesseuseseceeseeesecesees 107 Test Management Options cccsccssccssccssccsccesccesccesccascesscesecesecesecasseesesaeceseceaees 108 Reengineer ProgramMS sesssssssesssssessesresrrseessessosessessrssroressesresseseoseoseosessesseseeseesee 114 Generate Protams correnti srin ra E e EE A E T EAS 114 Audit OIG ING arn e T E E TA E E EA E AE AR 114 MIE OPOS ana E A E E E EE AEE A O EON 114 DDL Modernization node on an Application Area cccsecccsssccceseeecesecenseeceeeenees 116 Application Area Diagramming cscscccsscscecsccscsceccccscsceccccscncescececscesescecsceceecess
245. esche Legacy Inc Page 183 INVERTED STRUCTURE CHART Program Logic Documentation The Inverted Structure Chart depicts the reverse order of the calling programs In other words it traces the backward movement of how a specific program gets called It shows the immediate calling programs that may be the same for the other programs called In the screenshot below XCMMENU program is calling for both WWCUSF and CUSFMAINTC along with the main called program CUSFMAINT fe Object List Inverted Structure Chart for CUSFMAINT CUSFRGINT Customer Site Maintenance CUSFMAINTC Customer Site Maintainance OTH Inverted Structure Chart WW USF Work with Customer Sites EDTFIL Legend OTH SCMMENLU Customer System Main Menu The image and the description of the Inverted Structure Chart Legend are as follows Update This depicts the program that updates a file Display This depicts the program that uses a Display file Print This depicts the program that uses a Print file Input This depicts the program that uses an Input file Output This depicts the program that writes to a file Command This simply depicts a Command Others This refers to the Programs where they are referring Update Display Print Input Output Internal Routine This refers to the Synon specific routines X Analysis User Manual 11 0 2015 Fresche Legacy Inc Update
246. esche Legacy Inc Page 413 JHJ LEGACY Appendix G Troubleshooting ERROR IN GENERATING PROGRAM DOCUMENTATION There may be instances while generating program documentation when you may encounter the following error Information window showing error in MS Word initialization Export to MS Word OOOO OOOO M Error in initializing Microsoft Word Please ensure that it is installed correctly To resolve this error check the preference setting for documentation Go to Window gt Preferences gt X Analysis gt Advanced tab You will see a specific setting Use MS Word OLE Automation under Document Generation Check the box to activate the OLE automation for various documenting and exporting tasks Advanced Preferences window Document Generation type filter tert General nt Data Management Help Install Update Plug in Development Remote Systema Run Debug Server Senace Policies Tasks Tear Usage Data Collector Validation Vek 2 Anabysis Adwanced Folders Genaral X Data Test X Redo XDoclet ARAL X Analysis User Manual 11 0 Advanced Advance betting Preferences Work with Objects Default File 4ttribute Default Program Attribute Subset Data Include OQvemers Include All Dependents Replicate TiggersConstraints Data Option Search Settings Occurrence UML Diegram Show object name in Class diagram Use Open Office Draw for 64 Bit lt Synon Data Flow Diagram C Use ol
247. esescnsssaonaseseacssacesaeancuaraousueninensseneaonanmaee 299 EX DORE LO Microsoft EXC Gls sanveacantanacasdnnteracccouanat east aasendanasssdentoraeaneyaantensiaarsebaaoendeetsies 299 EXPO OF OW CEN AN Daret EE E E E EE 300 Printinge Om AOA GIY SIS crean E EE EEEE NA 302 Export as DDL from X AnalysisS scisiscasasscacancussacscvasandonvesvedetscasavanduevacseuevandoavenaweoaecnnadas 302 TAY OU DD O S OE e EEE EA E E E E E E E EE 305 Generate Database Service Programs cccccsssecccssececescecceseceeeeeceseusceeseaeceseeeceeees 311 DOCUMENT NONIE E P o E 315 Marking the individual objects complete list ccccssssessessseeeeeccecessseeeeeeeeeeeeeees 315 DOCUMENTING an Application Area csecccsssecccessccccsccccesececeuececauseeseeaecessuecesseaees 328 Documenting an ENUre APDlICAtION sicscciiriccscerccscacswreascesensescseindievenuneasasaersancueonsesesale 353 DOCUMENT Changed ODI CUS isseesccvsssasacecaseseadersede lt vasncsseweusssacseamsaesesdieteauadaeseiwessaseeseas 353 Viewing the Generated Document cssscccsssececesececeeseeceeeceeeeececeuseeeseaesesseecessees 353 Limitations of X Analysis System DOCUMENTED cccccceesecccessecceeececeesecesseeceeaeaess 356 X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 6 Contents STAN SVS PO O ragse sates E toe atena A E EAE EN 356 Appendix A X Analysis Off ine ccscsscsceccccecsceccccscsceccccecnceccccecsceccececscesescess 358
248. et The converted DDS source members can be flagged in columns 1 to 5 This flag is specified in the XSQLCVELG data area If the data area is blank or missing then columns 1 to 5 are not changed Display Data Area System DBSSZ55 Darta area o gt o o o o o XSQLCVFLG LEDET E a XAN4CDXA EVO e R Oe Os Sc a R ORTAR rereile ae alley e rrr we unre 3 Kexen a E a a a a XDDSTOSQL Source Flag Value Offset Wawel yey tee DS OVE Certain run time values used in the generation of the DDL source are stored in data area XSQLCVPMS Data Area XSQLCVPMS Display Data Area System DBSOZOB Darca area o 5 o o o o o XSQLCVPMS EDC is are ee XAN4CDXA VOC Sie es ep eee ee ee es OTAR iE aie 9 etl alee a EE E a 100 Text ee ae ee E XDDSTOSQL Run Parameters Value Offset E A N E E E E E E a E A eee E E E A E AE ane een 0 w ASLO SO JOB JOB AIS OKTOB os 2 la LOUD MESA ERE RIDA 50 UNE NCES The following values are currently stored The shipped value is shown first Positions 1 to 6 Standards Option AS400 DB2 ISO Positions 7 to 10 Naming Option SQL SYS Positions 11 to 14 Date Format JOB ISO EUR JIS USA MDY DMY YMD JUL X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 307 Exporting amp Printing Positions 15 to 21 Date Separator JOB SLASH PERIOD COMMA DASH BLANK Positions 11 to 14 Time Format ISO EUR JIS USA HMS
249. etch_ Repository Mame Location Note that in the above window besides the DB2 Connection information group all the other information will remain the same as specified for Linking IBM i Repositories AS 400 Repositories The DB2 Connection information group is described as follows Host Name Host Name is the name or IP address of the machine with which the DB2 connection is required DB2 User Specify the DB2 user that uniquely identifies the DB2 user of the system and allows access to DB2 tools services Password Specify the password that is used for DB2 authentication to prove identity or gain access to a DB2 resource X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 239 HJA Inter Repository Options DB2 Port Specify the port number for the default DB2 instance where DB2 services must be running Default DB2 port is 50000 Fetch After the DB2 information is supplied click Fetch to populate the Repository Combo Once this action is performed you can select the repository to add X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 240 ths Audit Options Audit Options These options simplify the auditing processes for you by providing effective means to measure monitor and manage changes and complexity to applications Audit Options are available on the context menu over the cross reference library and application areas The following options constitute Audit Options Metrics Analy
250. ew library and SQL table name Run RUNSQLSTM over the DDL source members to create the tables Create a copy of original PFs as LFs pointing to the new SQL table Generate DDL source members for the LFs CREATE INDEX Run RUNSQLSTM over the DDL source members to create the indexes Create a copy of original LFs as LFs pointing to the new SQL table but using the format of the PF These will use the access paths of the indexes Copy data from the original PFs to the new SQL tables Working of XDDSTOSQL command With the help of the XDDSTOSQL command one can run all original application software immediately on the new database with no level check problems The DDL source for the SQL tables and indexes are stored in QDDLSRC in the X Analysis library The DDS source for the new LFs is stored in QDDSSRC in the X Analysis library The new SQL tables are named using the maximum number of first characters from original PF name which together with the specified suffix are not more than ten characters The new SQL indexes are named in the same way This suffix is specified in the data area XSQLCVSFX X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 306 Exporting amp Printing f I eN F Display Data Area ae System DBS 5258 a Dieu sis Oa Sis ae ae eee e XSQOQLCVSFX Ei Borea 4 By 4 ye AINAIC DEON PYOST CHAR 18 Tats yyte gece eto Ce a RO IES gue ereee a ce eact ee eae XDDSTOSOQL SQL Table Name Suffix Offs
251. f you select NO the Application Areas will not be updated Refresh Business Rules If you wish to refresh the Business Rules for each changed program select YES If you select NO the Business Rules will not be updated and you will need to re generate all Business Rules next time to bring them up to date VARIABLE PROGRAM CALLS FROM FILES PROGRAMS RPG language allows the use of variables in the CALL statements where the variable would contain the name of the next program to be called at run time The variable might be getting the next program name through some database file or hard coding in the program logic itself In such cases the display program references command shows the variable name instead of the actual program which would be called at run time Therefore some mechanism is required in X Analysis to identify the possible programs which are called through variables at runtime In order to achieve this Option 9 has been provided on the X4WRKAPP screen where the variable calling setup can be done X4WRKAPP command screen X Analysis 4 Work with X Analysis 4 Applications Databorough LEd XARWKAPP 1223582351 Zl dene OS Enter options press Enter 1 Authorities 2 Change 3 Copy 4 Delete 5 Display 7 X A Log 8 Libraries 9 Variable Calls 10 App areas 11 Reports 12 Initialise 13 Build data model 14 Refresh 15 Gen Business Rules 16 Exclusions 17 Objects 18 Pgm Stds Mee hil Tert Company division XAN4CDXA XAN4CDEM Tutorial System
252. files used on all statements in the subroutine N1 the total number of op codes used in the subroutine some may be used multiple times N2 the total number of all instances of variables in the subroutines From these four numbers different measurements are calculated Module length N1 N2 Module vocabulary n1 n2 Halstead Volume N log 2 n Difficulty n1 2 N2 n2 Effort Volume Difficulty X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 244 Audit Options Maintainability Index This is a formula based on some years of experience of Hewlett Packard engineers The lower the number the less maintainable the code will be This is also at the subroutine level It uses four numbers as input HV Halstead volume from above CC Cyclomatic Complexity from above LOC Lines of actual code in the subroutine COM Lines of non blank comments in the subroutine beginning after the previous ENDSR MI 5 2 naturallog HV 0 23 CC 16 2naturallog LOC 50 0 sin square root 2 46 COM Metrics Toolbar The Metrics toolbar comprises various options which are discussed below Toolbar available on Metrics Window E Summary Metrics pa gt Metrics Analysis for XAN4CD A Double Click to Yiew History F Po Ae Metrics Preferences You can set the Metrics Preferences as per your requirements General Metrics Preferences icon on Metrics Window Toolbar e Object
253. g X Analysis No Presentable Class Diagram for MVCPROCESS Either Class Diagram has not LD yet been generated or Class Diagram could not be generated In order to view the class diagram for the application area you must execute the Re generate UML option X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 115 LEGACY Application Area App Area Class diagram for the application area MVCPROCESS i a Object List VCAROCESS deere umie a e pass Pi D amm wss i ns rrr r mie oe s p sato 0s ae bad re iaa nao Pres ws seven a e Drd ri te d owe a Ks ene P ____ me be ah See if liners amp e e opan r meari emaer pm mue w s aes rems e f n Th et hg a Sai n wus by uw oe wre FS ina meag don wea in by bd i ae e mama yA wera n aa s oa i wi we _ gt Ar gt amp ww ta ta weet eet hy DTE w ewm A lt be or pene se rer ay hs a ae 7 ne ee ee 4 map a i l v be aa et ow i woee bs i oe w mrp ope Be A J ewes o9 os wet ww i n ba aqra w Jim ae s pe A i ASY Pi aan M mrw unin eg Ea a tos wtes A u eo we Ace res Os ws e an are eee he ff po gt mnra i a _ ow E or eee PY n HH tip pihi SJ HO ti yt A DDL MODERNIZATION NODE ON AN APP
254. ge History window for XAN4CDXA Change History E3 Change History for 34N4CD 4 ChangedDate Mame USSR SELF CUSGRSELR CUSPFSELR CUSPFSELR 2015 03 14 ARATE EURO WESECFG wk LSP wk LUSGEF WE USOE wWkCUSF SECI Library AAMA Di KAMA DA KAMAL DA KAMAL DA AON DEM AON 4 DEM ANF DEM SAN DEM SAN 4 DEM SAN DEM SAN 4 DEM Attribute RFPGLE RFGLE RFPGLE RFGLE RPts RPG RPts RFG RFG RFG RFG E a e IAr Description Customer group Selection Customer group Selection Customer Site Selection Customer Site Selection Euro Conversion Calculation Generate CPU Letter Customer Enquiry Letter Find Fax Mumber Customer Release Letter Summary Customer Report Security Code Report Select a row from the window and opt for the context menu to call up a suitable source compare window The following screen displays the context menu against a selected row Se Object List Change History for XAN4CDXA ChangedDate Mane USSR SELR CUSGRSELR CUSFSELR CUSFSELR 2013 03 14 RATE EURO WwESECFE wk CUSGP WwECLUSGEF WwECUSGE wkECUSP SEC 1 Library SON COG KAMA OG SON tC Dea SON tC OG sAN DEM AAMA DEM AAMA DEM AAMA DEM AAMA DEM AAMA DEM AAMA DEM Type Attribute FEM RPISleE PGM RPGLE PGM RPGLE FEM RPGLE epg ppg Fiz Compare with Previous Fiz Compare with Next Context Menu displaying Source Compare Options E Change History 5 E Av A Description Custo
255. ge the value of the Data Area Main Project Change Value of Data Areas Main Project X Analysis Change Data Area Value Databorougi ECA XARWKDARAS Tee Oe 2013 01 21 Main Project Library Name Program Object Exclusion Library This X 2E feature allows the user to exclude the programs from reengineering them when the program objects are in the specified library This feature is directly controlled by XS2EPXLIB data area If the user wants to exclude the programs from a particular library then that library name can be specified in the XS2EPXLIB data area The default value is blank To display edit the Program Object Exclusion Library Data Area use Option 5 against it The following similar window appears Work with Data Areas Program Object Exclusion Library X Analysis Work with Data Area Values Dakavorougm Lid XARWKDARAS Tae 2 AO Me Sr 0 eo Ik Enter options press Enter 2 Change value Description Current Value Program Op Ce Ex lucon Lbr X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 378 Appendix D XREDOAPP Command e Use Option 2 to change the value of the Data Area Program Object Exclusion Library Change Value of Data Areas Program Object Exclusion Library X Analysis Change Data Area Value Baur coon ot oa Ibyzicl XARWKDARAS e Oa AWS k Ik Progmanim Ob Cer Exec lone L nrar Option 3 Copy Option 3 copies the X REDO Application Control settings to a new l
256. h Statement Account 7 22 Both Related Account z 22 Both Tax Reg g 22 Bath Banks 10 2 Both Bank ajc 0 il 22 Bath ki III gt Click this option to invoke the following dialog You can make the necessary modifications in this Properties dialog CUSTS XWBCCD Properties Basic Data Type a t Advanced Properties Label Field Type u Decimal Position Length Row Column ColorId Label Okhers Row Attribute Currency Symbols Code Field Field Processing Total Field X Analysis User Manual 11 0 Mo Default Default Column ColorId BLE yt Display Length EditCode Date Format Blank Mot Allowed d Yes Mo Field Check Blank Entries d Cancel 2015 Fresche Legacy Inc Page 210 Options on Screen Components PREVIEW DESIGNER The Preview Designer option is the outline of the Page Designer Use the options in the Preview Designer window to make changes such as adding constants or modifying page layout After the changes are applied they subsequently show up on the Page Designer window Preview Designer option ee NIG amp Moka E amp SkSaA oO Screen Components For Application Library 4N4Coe4 Gall Program Function Type SegWo DSPF Format Physical File Title CUSTMAT1 I US TMNTIOID EAE B Screen Source Code 13 CUSTMAT O20 2eFTOe ompanenks lt i CUSTMNT1_0 sig Function Editor CUSTMNT1_001D CUSTMAT 1 O02D FTO1
257. h job is over select the Problem Analysis option from the Audit Options under the context menu on XAN4CDXA to display the Problem Analysis data X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 262 JHJ LEGACY e Object List P Problem Analysis data for XAN4CDXA Total Problems 435 Audit Options Problem Analysis for Cross Reference Alert Category Obyect 4 Source Object Alerts p TO YO OVYO yY O O FO O O FO O yO O yO O O y O O O FO O F Source member changed after devicefile created No file found for existing source member No source member for file No program object found for source member No source member for program module Source member changed after file created No device file found for existing source member No source member for device file Referenced data area does not exist Referenced database file does not exist Referenced other file does not exist Referenced program object does not exist No source member for copy book aka Total Description 14 2 8 6 31 Expand the available Problem Category section to view name of the files having problems There is an option to allow Customized Export to Excel for the Problem Analysis data Customized Export to Excel option Alert Category Object 4 Source Object Alerts 4 Source member changed after devicefile created Clicking on this icon will invoke the following dialog CONO01DF CUSFMAINTD No file found for existing source me
258. he Complexity figures The screenshot underneath shows the More Info dashboard for the object CNTCMAINT X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 147 JHJ LEGACY More Info window for a Program CNTCMAINT a Object List 2h k Object List of ALLUSR ALL ALL ALL ALL ALL Total Objects 362 a7 a fl Library XAN4CDEM XAN4CDEM CLXAN4CDEM RE KANACDEM XAN4CDEM CLXAN4CDEM CLXAN4CDEM XAN4CDEM PF XAN4CDEM Re XAN4CDEM XAN4CDEM LFXAN4CDEM LF XAN4CDEM LFXAN4CDEM LF XAN4CDEM PF XANACDEM LF XAN4CDEM LF XAN4CDEM LF XAN4CDEM PF XAN4CDEM Nt waktacnre Name BALANCESTO CBCUSTSD CBC110 CB906R CB906RD CLET CLETN CLO3 CNTACS CNTCMAINT CNTCMAINTD CNTLF1 CNTLF2 CNTLF3 CNTLF4 CONDET CONDETL1 CONDETL2 CONDETL3 CONDETNW eB EE Pe Se Object List HL Type OMFORM FILE PGM PGM FILE PGM PGM PGM FILE Attribute Description QUERY Balance by Store DSPF Work with Customers CLP Order Entry System RPG Back out account DSPF Order Entry display file CLP Build Customer Letter Print Customer Letter for read source file Contacts Contacts Maintenance Contacts Maintenance Global Contacts by Salesman Global Contacts by Name Global Contacts by Status Global Contacts by Prod amp Status Contract Detail by Store Contract Product by Store Contract Product by Product Contract Contract Detail new CBL Ver wr p at o OO i g
259. he Delete option a window appears which asks the user s confirmation before deleting a specific category Similarly you can select the Edit and or Delete options for the displayed sub categories By selecting the Add option the user can add a new category under a pre defined main category Note that you must make a few changes on the server side for editing the problem categories on the client side If you have to add new problem category TRIGGERS with description like FILE HAS TRIGGERS follow the steps given below to add problem category in the XPRBCATS file X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 272 Audit Options File Edit View Communication Actions Window Help 8 Dh aS BS a ade D ae Hast Warkstahie nit Destornnect Columns DO S Browse ORPGLESRC SEU gt XRADDTRGRS FMT 0059 0060 3 uae pricat AaS setllle prbcat xprbcats if not a maine Category group number catgrpn 2 Category sequence number catsegn 40 if Category description catdes File has triggers Write the records write te rprbcats eee a i esh F Retrie Fid Cursor Fil Toggle Fi2 Cancel HA Al 04 018 i ipl Session succesciully started You will get CATGRPN and CATSEQN fields value from XA while adding new problem category To write the entry in the XPRBOBJS file for the above category you have to write your own logic as di
260. he key field is referred to in the calling program This is the field which has values moved into it to determine which programs should be called Variable Program Calls from Programs This case is for the generic programs which are called by the other program to either return the names of the programs to call or call further programs directly The purpose of this setup is to bypass the intermediate generic program and directly display the actual second level program Press F6 to add a Generic Program The following data should be maintained Program name The name of the program which is called to call further programs Key Type This field indicates the method used by the generic program to determine which programs to call Choose from ALL All program references for the generic program are shown as references for the calling program FILE The generic program uses a generic file to determine which programs to call The references as defined through Work with Generic Files will be shown as references for the calling program File name This field only applies when the key type above is specified as FILE The file name is validated against the files maintained through the Work with Generic Files screen X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 22 Configure Cross Reference Library Demo case The example illustrated below displays the generic program using the generic file to determin
261. he object and based on COOL 2E definitions Work with Objects dialog displaying Function Type Function Attributes Component Status Function Type PF Mame Program Type The Function Attributes apply to program type objects only The available Function Types are defined here ALL Displays all objects no function filter is applied DSPDEV Defines a program which includes the Display file s DSPFIL Display File Defines a program which displays the records from a specified file many at atime using a sub file DSPOTH Display Other Defines a program which displays records from Display File s and does not have any file s in update write read mode Also the program does not have any Printer File s DSPRCD Display Record Defines a program which displays a single record from a specified database file DSPRCD2 Display Record 2 panels Defines a program that is identical to the DSPRCD function except that it allows the database record details to extend to two separate display device pages DSPRCD3 Display Record 3 panels Defines a program that is identical to the DSPRCD function except that it allows the database record details to extend to three separate display device pages 2015 Fresche Legacy Inc Page 80 Application Library DSPTRN Display Transaction Defines a program which displays the records from a specified pair of database files The pair must be connected by an Owned b
262. he sequence of the repositories Repository It lists all the X Analysis repositories on the machine besides the one working with Select a repository to link with the base repository To link a repository select the desired repository from Repository drop down and click Add This adds the selected repository to the linked repository list To delete the repository from linked repository list select the repository and click Delete This removes the selected repository from the linked repository list The base repository shown in blue cannot be removed from the list Use the arrow buttons to change the sequence of the linked repositories Old Linked Repository Object When the old users of X Analysis select the Manage Linked Repositories option they see the following information message Message informing about an old version of Server Object X Analysis i The Linked Repository object should be updated before continuing In case you receive this message then request Fresche Legacy for the updated Server Component s X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 238 Inter Repository Options Linking Non IBM i PC Repositories Click on the PC Repositories tab to invoke the following window Manage Linked Repositories PC Repositories Manage Linked Repositories 45 400 Repositories PL Repositories DB Connection information Host Name DBZ User DEZ Password DBZ Port fo _F
263. he toolbar associated with the OSC X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 190 Anos Se Object List Program Logic Documentation Detailed OSC a Overview Structure Chart 3 CBC110 OTHFIL UPD Order Entry System Program Order Entry System A principal function of this program is to call __Jcertain programs The following programs are called to carry out subsidiary functions CB906R CB907R Parameters are passed to the program when itis called Input CBACPF Update CBTRPF CBS06R EDTFIL UPD Back out account Program Back out account A principal function of this program is the online maintenance of SECF the Security Codes file through a subfile display The following programs are called to carry out subsidiary functions X GSCD Parameters are passed to the program when itis called The program is called Update SECF Security Codes Rollup Groups CBC 110 QTHFIL Order Eniry System Program Order Entry System A principal function of this program is to call certain programs The following programs are called to carry out subsidiary functions CB906R CB907R Parameters are passed to the program when itis called EH Detailed Overview Structure ALL ALL Totalobjects 406 G A gt e OM TA Li Ei lt The Rollup group describes the cumulative component function of the program and its dependents The following types of Rollup groups are available X A
264. hey can be built for an individual Source Member at the time they are viewed through the X Analysis browser Select one of the following e CHG Only update current indexes It will find newly added source members and remove deleted members It will also index any source member that has changed since the last initialisation e NO Do not build the indexes e ALL It is similar to CHG when it comes to finding new members and removed members It will index all source members without checking the change date e UPG Upgrade the X Analysis database and rebuild all data including all indexes replacing current ones Build Data Model If you take the option to build the data model for your application then you can view it through X Analysis Select one of the following e YES Build the data model e NO Do not build the data model Should have the X Analysis Professional set for this to work Generate Business Rules If you take the option to generate the business rules for your application then you can view it through X Analysis Select one of the following e YES Generate Business Rules e NO Do not generate Business Rules Should have the X Rules set for this to work X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 18 HJA Configure Cross Reference Library Feature Brief Description Initialize X Resize If you take the option to generate the X Resize Project for your application then you c
265. hile the batch job is running click on the hyperlink ACTIVE to view the Job Log The Job Log view is shown below Job Log view Reengineer Programs Command AREENGINER PROGRAM ALL AALIB AANACDAA Library List XAN4CDKA XAOBJ OGPL OTEMP Job Log Mon Dec 01 17 46 57 IST 2014 Job 660452 SRHAN AREENGINER started on 01 12 14 at 12 17 48 in subsystem QBASE in OSY Job entered system on 01 12 14 at 12 17 48 Mon Dec 01 17 46 57 IST 2014 Job 668 452 SKHAN AREENGINER submitted Mon Dec 01 17 46 57 IST 2014 AREENGINER PROGRAM ALL AALIB AAN4ACDAA Mon Dec 01 17 46 57 IST 2014 Library AAN4CDAA already exists in library list Mon Dec 01 17 46 57 IST 2014 Member ASALIBL file AAALIBL in DBUK opened Mon Dec 01 17 46 57 IST 2014 Open options ignored for shared open of member The Task Completed message is displayed once the process is complete Now double click on the Screen Components node available under the cross reference node in the navigation pane It displays the Screen Components for the application This option is also available for application areas X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 71 Application Library Screen Components i Screen Components 2 BE i mB a l 7 0 All screen Components for Application Library SANA DKA Program Function Type Segho OSPF Format Physical File Title W CECONDETNW G E CBCONDETNWOLG G oF STKM
266. his depicts a special kind of Refers to which is seen in Synon applications 2015 Fresche Legacy Inc Page 202 Data Model Diagram GENERATING DMD To generate the DMD expand the Application Library and double click on the Data Model Diagram node This invokes the Data Model Diagram dialog as shown below Data Model Diagram dialog Application Area Name Description NONE All Members Selected Object Object Text DMD Data Options Display External Relationships Show unrelated files It prompts the user to 1 Select the Application Area name if available else leave it as NONE 2 The Object Name on the Object group can be o ALL for all Objects o Object Name maximum 10 characters long 3 DMD Data Options to Display External Relationships for Application Area only and Show unrelated files 4 Click OK The Data Model Diagram node is present under the cross reference library node and the Application Area nodes X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 203 Data Model Diagram DMD FOR AN APPLICATION AREA The DMD can also be generated for an application area It can be opted either by expanding the application area under the cross reference library node or by selecting the specific application area name on the Data Model Diagram dialog The DMD for an application area is restricted to that application area representing the relationships among the related objects
267. iagram looks for our example From the tutorial application XAN4CDXA select the CUSTMNT1 program and opt for the context menu on it then select the Activity Diagram option This invokes the Activity Diagram as displayed below X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 276 UML Diagramming Activity Diagram for CUSTMNT1 thJs0 LEGACY CUSTMAIT 1 Customer Detail Maintenance FfFTO1 Customer Detail Maintenance FFF T02 Customer Detail Maintenance rh rh WCLIS TPR Print Customer Detail rh Function Logic The Function Logic is available as context menu on Activity Diagram The following screen displays the Function Logic options on an Activity Diagram X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 277 UML Diagramming Function Logic options on Activity Diagram for CUSTMNT1 CUSTMNT1 activity umlact 2 3 A lt CUSTMNT 1iCustomer Detail Maintenance a iD Add Note f FIU1 Eile F Customer Detail Maintenance Ith Edit a w Format d Filters D E Show Properties view Apply Stereotype Screen Source Code Class Diagram Data Content Screen Actions Screen Report Design Migrated Logic Business Rules More Info Component Documenter Annotate The Function Logic options work correctly when the X Analysis application library is selected in the X Analysis Perspective CLASS DIAGRAM
268. iate Type for the added library from the drop down it could be an object a source or a model library After selecting the appropriate type for library click Add to add the library to the existing library list Re initialize the cross reference library to see the change Affinity Comparison The Affinity Comparison option is allowed on the X ref library as well as an application area The Affinity Comparison option at the X Ref library displays all the objects belonging to one or more application areas along with the affinity comparison of those objects In the following window the rows display the objects which exist on one or more application area whereas the columns display the names of all the application areas belonging to the X Ref library 2015 Fresche Legacy Inc Page 61 Application Library Affinity Comparison window for XAN4CDXA ry Affinity Comparison x m Affinity Comparison for XANACDXA Faz Programs ACCOUNTS ACHEADO BCHEADO COBOL CONHDR CONUPD CUSFMAINT CUSTOMERS CB906R 10 0 0 0 0 0 0 0 CNTCMAINT 10 0 0 0 0 0 oc Ct RINMSGTEXT 10 0 0 0 TO o 10 10 X GSCD 10 0 0 0 Ty o w o CONUPDO 0 0 0 0 0 0 0 0 CONUPD1 0 0 0 0 0 0 0 0 CONUPD2 0 0 0 0 0 0 0 0 CONO01 0 0 0 0 0 0 0 0 CUSCPY 0 0 0 0 0 0 0 0 CUSFMAINT 10 0 0 0 48 0 4g 20 CUSFMOLD 10 0 0 0 20 0 20 EN CUSFSEL 0 0 0 0 20 0 20 20 CUSGRSEL 0 0 0 0 20 0 wD 2a CUSLETSO 0 0 0 0 14 0 14 0 lt
269. ibrary The following screen displays the Copy window Screen displaying Copy option X Analysis 4 X Redo Applireariom Control Dazaborough Ltd XARREDOAPP 1Ls51211 21 Jan 2013 x ref Library E T e E es ne E X 2E Hospital Demo Company division Index sre files ee Process var amp bound calls Include obsolete source Build data model Data model match value TCPIP address User iD if Sl LIC F12 Cancel Option 6 Date Attributes Option 6 can be used to change the SYNON shipped date types The following screen displays the Date Attributes window Change Date Attributes WORK WITH DATA IN A FILE a ee CHANGE RHoOrmen a a Se ke ee XSZEDTATRE ee ee XSZEDIATR PZ DTATR FP3ISEXLE F5 Refresh F6 Select format X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 379 Appendix D XREDOAPP Command F9 Insert F10 Entry Fli Change rori Option 8 Libraries Option 8 can be used to set up library list for the X REDO application The following screen displays the Libraries window Libraries screen X Analysis 4 Work with X Analysis 4 Application Libraries Databorough hed XARWKLIB 11 51311 Al dang AO Selected x ref Library gt AA2EDEMO Enter options press Enter 2 Change 4 Delete 5 Display Type Sequence Library HOO X2EGEN 500 X2EGEN 560 X2EMDL FI EXLE Fil2 Cancel F16 Print The F6 function key can be used to add new library as shown below Add New Librari
270. ich prompts for a list of fields defined by a specified access path The validated values can be passed to any other function PRTDSP Print Display Defines a program which Display Print records from input files and does not have any files in update write mode PRTFIL Print File Defines a program which prints records from a specified access path SELRCD Select Record Defines a program which displays the records from a specified file many at a time using a sub file The program allows you to select one of the records The selected record is returned to the calling program This function is called from a function that requested a selection list UPDFIL Update File Defines a program which updates specified files and does not have any Printer File s or Display File s X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 81 Application Library UPDOTH Update Other Defines a program which updates data areas and has Display File s The program neither has a Printer File s nor files in update write read mode UPDPRT Update Print Defines a program which prints a report with update s from the specified printer files It does not have display files MEMBER LIST The Member List option displays the list of source members for a specified source file of the selected library The Member List contains the members available in the selected library and the source file based on the selected criteria Cli
271. ich provides the auto generated narration for the program as shown below X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 179 HJA Program Logic Documentation Narratives pop up box e Object List ch OEMENU 2i E Hierarchical Structure C EMENU Total Objects 14 F y H gar i E OEMENU OEMENU Program Order Entry Menu A principal function of this program is to present a menu te call certain programs L OE001 Order Entry Referred Files Order Enquiry Referred Files Product Enquiry Referred Files O OE004 OE006 Customer Enquiry Mainte Print Invoices Referred Files H Referred Files Referred Files The Hierarchical Structure Chart has a feature which displays the referred files inline An expandable icon called Referred Files is available in each box Click on the icon preceding Referred Files X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 180 Referred Files Program Logic Documentation E002 Order Enquiry Referred Files o OE004 OE006 D Customer Enquiry Mainte Referred Files le Object List OEMENU 7 Hierarchical Structure C EMENU Total Objects 14 A 0 O OEMENU Order Entry Menu Referred Files Product Enquiry Referred Files Print Invoices Referred Files OE001 Order Entry Referred Files The box will expand to display the files referred to by OE001 The color code
272. ics window Ind Summary Metrics aN F Metrics Analysis for XAN4CDXA Double click to view History A B lt Complexity Level Uni Source Type Source Lines ORGMNT Organisation Mainte 33 Average CNTCMAINT Contacts Maintenance RPGLE Average OED01 Order Entry RPG Average CUSTMNT1 Customer Detail Mai RPGLE Average WWCONDET Work with Order Det RPGLE Average WWCONHDR Work with Orders RPGLE Average WWCUSTS Work with Customers RPGLE Average CONO001 Contract Entry RPG Metrics History The Metrics History displays all previous instances of the generated metrics data The Metrics History data will be available only when the Metrics data is generated more than once The Metrics History can be generated for all individual levels High Average amp Low Totals for Batch Programs or Interactive Programs and for the Grand Total also Invoking Metrics History if Summary Metrics i4 i 7 Metrics Analysis for XAN4CDXA Double Click to iew History A A High Total Average Total E Low Total Select High Total Average Total Batch Source Members Low Total and double click to High Total invoke the History window Average Total 3 408 Low Total 76 One can also invoke the History 123 5 095 window for Grand Total or Batch Program or Interactive Program Select Low Total row from the Metrics Window and perform double click action to invoke the Metrics History window as shown
273. id Customer Detail Maintenance Customer Detail Maintenance eae account account o CUSFL9 gt Attributes gt Attributes gt Attributes gt Attributes Sites by Fax No b Attributes Oo E p CUSTMNNT _0 m CUSTMNT 1 Cust i e e a Customer Detail Maintenance Customer Detail Maintenance amer vnc Le gt Attributes gt Attributes b Attributes b Attributes v lt Lilt gt al The DFD is also a graphic 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 You will see how the dynamic and interactive diagram facilitates access to 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 ahead Hide Show Objects To have better understanding of object interrelationships you may want to hide show all objects pertaining to 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 User Manual 11 0 2015 Fresche Legacy Inc Page 162 l be Files ahh Object Where Used Hide Option for Objects CUSTMINT E cur i Object Centered Data Flow Diagram for CUSF Total Ob
274. ie wale oO Development Screens List of NONEs 4LL ASL Function Physical File Title ASTATLUS Status File RACNTACS eg Function Editor CNTACS Contacts AoC ON DET at Preview Designer CONDET Contract Detail 4A COMDET HY IP Page Designer CONDETHM Contract Detail new CBL ver with Long Fields 4A OMHDR LORD Contract Header ALACUSF Of Data Content CUSF Sites AACUSGRP BE Screen Actions CUSGRP Customer Sroups AACUSTS a Claes Diagram CUSTS Purchases AADELTY DELIA Delivery Areas AADISTS Business Rules DISTS Distributors AGEYFEYENT rr EYFEVENT File EVFEVENT lt jiii All these options available on Development Screens are already discussed under the Screen Components section X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 222 X Analysis User Manual 11 0 Business Rules Analysis Business Rules Analysis Fresche Legacy s Business Rules Extraction software X Rules can be used to highlight the business rules within a source member using X Analysis Using X Rules the business logic may be identified and narrated from individual programs or parts of the entire system This business logic thus extracted is analyzed and documented using the various related features of X Analysis The Business Rules of an application are what makes the application function uniquely While X Analysis can expose the Business Rules implicit in the data and process models of an application this does not entirely account for the va
275. ied by its serial number Click on the Send Server Information button to send this information to the support team at Fresche prompting them to begin reviewing and processing the license request A mail will be automatically generated as is shown below MESSAGE i amp Cut ER Copy Paste Y Format Painter Clipboard Sample of the automatically generated Outlook mail X Analysis Licensing information Message HTML INSERT OPTIONS Calibri h2 J R i Basic Text From E FORMAT TEXT y 2 BIU Y A ZEE E REVIEW SE Address Check Attach Attach Signature Book Names File Item Names Include P Follow Up Q oom High Importance Y Low Importance Tags f amp Zoom Subject X Analysis Licensing information Installed licenses X Sanitize X RPG Migrate X Rev X Archive X Documenter X DB Modernize X Control X Datatest X Analysis Lite X Audit X Rules X 2E Migrate X 2E Analysis X Subset XA Open X Verify X Field Resize SH a a aop tities sinke Security Code information Active Modules lt L gt Perm lt c gt Perm lt C gt Perm lt M gt Perm lt B gt Perm lt N gt Perm lt J gt Perm lt E gt Perm lt A gt Perm lt H gt Perm lt D gt Perm lt b gt Perm lt a gt Perm lt K gt Perm lt F gt Perm lt d gt Perm lt l gt Perm Click Send erties S Alternatively you ca
276. ield Details Object Where Used Data Flow Diagram Normal with Annotation Structure Chart Normal with Annotation Program Structure Chart Screen Flow Diagram Normal Letter 8 5 x 11 Ad Size 8 27 x 11 69 Paper Size Contention Resolution System Documentation creates documents in Application Folder lf the Application Folder ts 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 From the above screen the user can re sequence the options selected for System Documentation After re sequencing click Next to reach the final step of documentation wizard Here the user can see all selections that he has made and can also define various options related to document formatting like Paper Size Contention Resolution etc X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 338 Document Manager Select Paper Size and Resolution X Analysis l Bx System Documentation Finish Define the Page Size and Contention Resolution Option Selected Sequence Level Settings Application Area OSC Normal Soplication Area OSC Level 8 Application Area DMO Mormal Structure Chart Level 8 Object List Source Level 1 Data Model Diagram Normal Source
277. iew these relationships by selecting the Relationships option from the Data Dictionary menu This file records the relationships between all the Physical Files that form the Data Model __ Data Dictionary Relationships Data View for XRELSL5S J Owning PF Dep PF Dep LF Dep 5eq R Type Owning PFT Reln ID is CNTACS CNTLFS i000 Status file 00102 E ASTATUS CONDET CONDET CONHDR CONHDR CONHDR CUSF CUSF CUSF CUSGRP CUSGRP X Analysis User Manual 11 0 CUSF PROJECT TRNHST CONDET PROJECT TRNHST CNTACS CUSTS SECF CUSTS TRAST HT CUSFL2 2 0 PROJECL5SA 1 0 TRNHSTL6 CONDET 2 0 1 0 PROJECL5A 2 0 TRNHSTL6 CNTACS CUSTSL3 CUSTSL1 TRNHSTLI 3 0 1 0 2 0 4 0 1 0 2 0 Status file Contract Detail Contract Detail Contract Hea Contract Hed Contract Hea sites altes sites Customer Gro Customer Gro There are three types of relationships that can be identified 2015 Fresche Legacy Inc 00115 00125 00142 00104 00126 00143 00101 00117 00146 00115 00134 Page 284 Anda Data Management Features Owns PID to PID relationship Accesses Access Path to Access Path relationship Refers to Foreign key to PID relationship Relationship Details Relationship Details is the last option on the Data Dictionary menu The detailed composition of every File to File relationship is available through this option This fi
278. ily available for use by other applications The main Override Data Dictionary submenu options are X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 285 thJst LEGACY Data Management Features Override Data Dictionary Menu aS i om Me Qe fe l E Override PIDs a Override Relationships ay Override Relationship Details Sy Override Program References Override PIDS The first submenu option is Override PIDs On clicking this option the XOVRPIDS file which contains all the override entries for the XPIDS file is displayed Field Field Size Description Name Physical File Name OVRPF 10A PID File Name OVRPID 10A Access Path for file to be used as the PID Relationship OVRPTY 1A Only 1 2 amp 3 signify 1 is the highest this value is used when Priority determining which owner file is to supply the descriptor for screen layouts Reference Only OVRRFO 1A If this relationship is reference only enter y The subsequent screenshot displays the Override PIDs fields Override Data Dictionary Override PIDS LS Data View for XOVRPIDS amp PF Name PID File Name Reln Priority Reference Only Override Relationships Override Relationships is the next option on the Override Data Dictionary menu Selecting this option displays the XOVRRELS file which holds the override entries for XRELS X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 286 Data Management Features
279. ina iii 392 PET OW DIET I e N E E EA E N E E AT 395 BUSHES S RUR Cussen eE EN O 396 Miera e d TORC arna E A E E T E N N 397 Reengineered Action Diagram cssccccsssccsssecccsssseccsssccucneseneusseceessccneesensussecsensss 398 INTERNAL ROUTINES ODIOCES vicasscccasanavssacenseanasensinacgnaseccesasavsgacsveiiatteenitacdeaeacssuenasies 399 Business Process Logic Metrics cccccscccscccsccesccesccasccescssccesccesecesscesetacesseeeseceses 400 Generating Java applicatio Macici iE EEE REA 402 Appendix G Troubleshooting sesessesessesessecessesessscesssoecesoesesoesesoesesoesessecsessesecee 405 X Analysis Perspective not visible working after upgrading X Analysis Client 405 X Analysis menu on the main menu bar disappears from X Analysis Perspective 406 Error in running X Analysis installed on Windows Vista for the first time 406 PIT eHZ ALIN repor S ase seseccassenccasrecorsantdonncsasensaetesocssineaessace N N 407 System documentation failed FilENOtFOUNCGEXCEPTION ceecccesseceeeeeeeeeeeeeeeees 408 SWTException on Windows 2000 MaCHINES cccccssseccceseceeeeeeeceesececeaecesseeeeeeees 408 Screen Report Design feature fails with Server Job Error ccccccccceeceeseseseeeeeeeens 409 X Analysis Diagnostics UtIIty ccccccsscccessecccesececesececeeseceeeeecessesceeseaeeeseeecesseeeeseees 409 Error Message appears ON Signon tO X ANALYSIS cecccesecccessceceeseeeee
280. indow GENERATE screen Re engineer Programs XREGENP Type choices press Enter Program Name AREA Name AREA ALL X Analysis Library Gc eee 2 SAZE DEMO Name New Pgm Suffix Restructure Interactiv e Pgms R YE Compile the Re engineered Pgms SYES F3 Exit F24 More keys Option 17 Failures F4 Prompt F5 Refresh F12 Cancel Character value enor IC SCS NO Bottom F13 How to use this display Option 17 can be used to list program failure from the Generate Option 16 job The following screen displays the Failures window Position to line Line OOOO 000002 000003 000004 000005 000006 000007 000008 000009 000010 Oral Ik 000012 OOOO Ls 000014 000015 OOE ES En e e a X2RDAT 2 ONSON ZONES ZO NO 208 ZO MO 2 8 AOI 0 28 ZOO 22 ONS AOE 2 On OSN ZOTE TS ZOSO N O I 2 8 AOI S028 AOI Oy S28 ZOU SO a2 2 AOI O07 228 X2RTIM Oe Lae Oa O98 214 Corey Ge ba Oma a Cera Oe LAR Oa Oe be OO OAT Oe a 09 14 OOTA Oon A Fi2 Cancel X Analysis User Manual 11 0 oee Failures Report Display Report a E ZAROBI A1002498 A1002498 A1002499 A1002499 A1002500 A1002 300 A1002503 A1002503 A1002504 A1002504 A1002505 A1002505 A1002527 ATOO So A1002528 A1002528 F19 Left Report width Shire tO COLUMN E T E E STE XZRERR File Y2CFGTLO 15s missing Failed to Compile Pile yY FCOCTLO Iis missing Failed to
281. ion Screen Report Layout Normal Business Rules Summary Source Source Flow Chart Program Structure Chart Business Process Logic Screen Flow Diagram Normal Move Up Move Down Cancel From the above screen the user can re sequence the options selected for System Documentation After re sequencing click Next to reach the final step of documentation wizard Here the user can see all selections that he has made and can also define various options related to document formatting like Paper Size Contention Resolution etc X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 334 Document Manager Select Paper Size and Resolution oystem Documentation Finish Define the Page Size and Contention Resolution Option Selected Sequence Level Settings Application Area OSC Normal Application Area OSC Level 2 Application Area DMD Normal Structure Chart Level 5 Object List Source Level 1 Data Model Diagram Normal Source Flow Chart Level 1 LF Access Path details Business Process Logic Level 4 File Field Details Screen Flow Diagram Level 1 Object Where Used Data Flow Diagram Normal with Annotatio Structure Chart Normal with Annotation Screen Report Layout Normal E Business Rules Summary _ Letter 8 5 x 11 Source Pan E ee ee AA Size 8 27 x 11 69 Source Flow Chart BS Paper Size Contention Resolution System Documentation creates documents in Application Folder
282. ion to access further relevant details of a particular file The option is available for all Screen Components and Development Screens Right click on a Screen Component for the context menu and select the Data Content option as shown below X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 215 Options on Screen Components Data Content option Te Screen Components i gt pem ae FM of E E Els amp 2 bs amp Fl Screen Components for Application Library YAN4 cCOx CAID Programmi Function ype Seg No OSPF Format Physical File Title CUSTMNT1 CUSTMNT 1010 EEO 5 Source Cade CUSTMANT 1020 ffFTO02 CUSTMNT1_0 sig Function Editor ffFTdl 7 Ie Preview Designer ffFTU2 CUSTMNT1_O01D CUSTMNT1 0020 CUSTMNT1 1 Page Designer R I R R I CUSTMNT1_i0iD R ZZFTO1 Data Content CUSTMNT1_1020 R Z7FTO2 B Screen Actions CUSTMNT1_2 I pris Class Diagram CUSTMNT1 201D R R I R CUSTMAT1 020 22F 701 e Business Rules CUSTMNTIR Component Documenter CUSTMATIROID f FTO1 EJ ii E nnotate The Data Content Diagram generated for a screen uses the model information to depict the primary file in use by that screen shown in blue The sub node is the secondary file in green with which the primary file joins to pull the additional information to show on the screen The sub node splits into two parts The first part displays Joins lists the field s from the secondary file facilitating th
283. ions screen Work with Ese lUs Ons Databoreugqm Led oO a 2L Jan 2015 Dress BNCE Description Work Work Work Work Work Fl Help F3 Exit with with with with with Diagram Exclusions SOuneceur mle Exe lie tome Business Rule Call Exclusions Hierarchy Exclusions UML Exclusions F10 Cmd line F12 Cancel F14 WRKSBMJOB F24 More keys The exclusions screen provides a menu for object exclusion The options are XARWKSCE Work with Diagram Exclusions XARWKSFE Work with Source File Exclusions XARWKBRC Work with Business Rule Call Exclusions XARWKHRE Work with Hierarchy Exclusions XARWKUMLE Work with UML Exclusions XARWKSCE Work with Diagram Exclusions The objects which are excluded using this option will not appear in the following Structure Chart Diagrams Data Flow Diagrams Object Where Used data Application Areas X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 16 Configure Cross Reference Library Note The excluded programs will appear in the Program Structure Charts You should specify an object name and any required descriptive text The object name can be generic If an individual object name is specified then it is validated against all objects currently loaded into X Analysis If a file name is specified then it must be a physical file name All logical views built over an excluded physical file are also excl
284. iry Letter PRIFIL Legend The SCD Legend describes the type of object displayed M Update Update This depicts the program that updates a file F Display Display This depicts the program that uses a Display file BR Prin Input Print This depicts the program that uses a Print file Output Input This depicts the program that uses an Input file C Command i l l Others Output This depicts the program that writes to a file Internal Routine Command This simply depicts a Command Indeterminate Others This refers to the Programs where it is referring to gy Trigger a file which is not Update Display Print Input Output F Module E internal Routine This refers to the Synon specific routines X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 171 Program Logic Documentation Indeterminate This depicts the programs where the usage cannot be programmatically determined Trigger This depicts the program which is a Trigger Module This depicts the program which is a Module Rollup Group The Rollup group describes the cumulative component function of the program and its dependents The following types of Rollup groups are available UPD At least one program updates a file PRT Program and dependent programs create a printed report DSP Program and dependent programs use input files and display files OTH
285. is Canada T5AJE1R 00011 Address Post Zip TS4CREP IF WREKE Alpha 6 ME OTL Hospital Address F TS5AJE1R o0016 Gddress Post fip TS4CREP IF OTHERWISE lt ti This also opens an additional Business Rules summary window listing all the business rules for the program MIGRATED LOGIC The Migrated Logic is the reorganized restructured view of what is shown in the Business Rules view It is also a precursor of what the generated java code will look like For this the program should be reengineered first 2015 Fresche Legacy Inc Page 397 Appendix F X2E Specific Features Select the Migrated Logic option from the Source Options drop down icon on the Action Diagram toolbar as shown below Action Diagram with Migrated Logic option be Programs El TSAJEIR 53 E Action Diagram for ER Edit Hospital Edit recordi 1 screen TSAJE1R Er Ha mP U SBa s f amp o Original Source Code Action Diagram Business Rules ction s Migrated Logic mie logic for ER Edit Hospital Edit record 1 sere il gt On selecting the Migrated Logic option the following window is displayed Migrated Logic window e Programs Fl TSAJEIR 23 E Migrated Logic for TSAJEIR Afi H eaw fa O r Migrated Logic Entry Parameters for ER Edit Hospital Edit record 1 screen Data Section for TSAJELR Program logic for ER Edit Hospital Edit record 1 screen USER Initialize detail screen new record H E U
286. is User Manual 11 0 2015 Fresche Legacy Inc Page 186 X Analysis User Manual 11 0 Program Logic Documentation Overview Structure Chart dialog Overview Structure Chart Application 4rea Mame Description All Members Selected Library s Object Library Program OSC Data Option Re Use cached OSC data if exists Re generate OSC data Cancel The Overview Structure Chart dialog prompts you to 1 Select the Application Area name if available else leave it as NONE 2 Pick the Object Library from the drop down list 3 The Program Name will be set as ALL 4 Select OSC Data Option to re use cached data or re generate data Click OK to display the Objects OSC based on the selection criterion 2015 Fresche Legacy Inc Page 187 Pa Overview Structure Chark 4 Program Logic Documentation Overview Structure Chart window oe E Overview Structure Chart for XAN4CD 4 ALL ALL Total Objects 1005 i F ie x ooo 4 z FHECEC110 Order Entry System OTHFIL CHICBSO6R Back out account EDTFIL P N G5CD Generate Code OTH CUSLETSQ Update Letter Sequence UPDFIL WKCUSBEF Find Fax Number OTHFIL Legend The description of the OSC Legend is as follows Update This depicts the program that updates a file Display This depicts the program that uses a Display file Print This depicts the program that uses a Print file Input This depicts the program that us
287. is is the LF for the File on which the Data Flow Diagram has been opted Called This is to represent programs called by the main program 2015 Fresche Legacy Inc Page 168 Program Logic Documentation Calling This denotes the programs calling the main program Input For a program centered DFD this denotes an input file For a file centered DFD this denotes a program taking input from the file internal Routines These are Synon specific routines being called from a 2E program Output For a program centered DFD this denotes an output file For a file centered DFD this denotes a program giving output to the file Update For a program centered DFD this denotes an update file For a file centered DFD this denotes a program updating the file DFD Restricted to an Application Area X Analysis provides an additional feature related to DFDs You can restrict the DFDs to the selected application area by clicking on the Restrict To Application Area icon On clicking the icon only those child objects are displayed which belong to the selected application area The following screen displays the DFD on CUSF Notice that the Restrict To Application Area icon is disabled This is so because this option gets enabled when any application area is selected DFD on CUSF with disabled Restrict To Application Area icon fe Object List SU CUSF i3 E Object Centered Data Flow Diagram for CUSF
288. isting projects A new project named My Project will be created Account settings Need help Privacy amp terms v Ihave read and agree to the Google APIs Terms of Service v Ihave read and agree to the Drive API Terms of Service V I have read and agree to all Terms of Service for the Google Cloud Platform products Agree and continue Activities 1 Create Project My Project See all activity Click Agree and continue A project will be created with the default name My Project 4 Under My Project gt APIs amp auth click on APIs Check that the Drive API is ON as displayed in the following image X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 438 JHJ LEGACY Google Developers Conse Appendix M Export to Google Drive APIs window x VY Apps For quick access place your bookmarks here on the bookmarks bar Import bookmarks now Google Projects My Project APIs amp auth APIs Credentials Consent screen Push Monitoring Source Code Compute Networking Storage Big Data Support Need help Privacy amp terms Sign up for a free trial Enabled APIs gmail com Some APIs are enabled automatically You can disable them if you re not using their services NAME QUOTA BigQuery API Debuglet Controller API Drive API Google Cloud SQL Google Cloud Storage Google Cloud Storage JSON API x Browse APIs NAME QUOTA STATUS o o o o
289. ited to objects with RPG RPGLE CBL CLP CLLE attribute X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 200 TTA _ a C7 P rT i Data Model Diagram Data Model Diagram The Data Model Diagram displays file relationships for a File within the cross reference library or an application area The related members are displayed distinctly in yellow while the external Objects applicable only in the application area are displayed in blue att Data Model Diagram 2 5 DMD for XAN4CDXA Demo Application Data Model Diagram for ALL Total Objects 50 ES a ih at DMD Details 23 DMD Relations For 4LL Total Relations 53 RelNo Dependent File l CNTACS CNTACS CNTACS CNTACS CNTACS CONDET CONDET CONDET Relation Type REFERS TO REFERS TO REFERS TO OWNED By REFERS TO OWNED BY REFERS TO REFERS TO Project Tracking ae ee h Tt XU SS a S SS oF Parent File AS5TATUS CUSF NAMESIDN PTYPES SLMEN CONHDR STEBAL STEBAL Il Dependent Fields STATUS CUSNO USERNM PRPtDE SIMIT WOR DN WOR DA Ava ACS ED Aw AACS E naM EN Farent Fields STATUS CUSNO TANAME PRPCDE PERSON AWORDN OECD A AACS ABO Ay AACS The File Connection details are displayed in the DMD Details view Salespersons Product Master LIL Store Master w a Al of TH Dep LF CNTLFS CNTACS CNTLF4 CONDET CONDETL
290. iteria dialog X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 296 ths Data Management Features Archive amp Purge Data dialog Archive amp Purge data Filter Criteria Physical Files Field Marne Operator Field Value Boolean Query Viewer Archive Purge data Filter Criterion Description Field Name Column Field Name This column lists the fields of the Physical File picked Pick the field on RUS _ which the criterion is to be created US Wo Company Distributor SES Last Cnt Date Operator Column Operator E aes Pick the operator to apply Choose operator Field value Field value Supply the field value against which the field is to be compared Boolean Column Boolean IF AML w The default value is AND The other option is OR OR X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 297 ths Exporting amp Printing Exporting amp Printing Modern software design tools frequently offer the facility to re engineer a data model or entity relationship diagram from an existing database This is usually done over an Open Database Connectivity ODBC connection and relies on the metadata held within a database to describe the relationships between tables These tools are often unable to re engineer an accurate data model from an existing DB2 database because it predates the database features that the tool relies on You can use the X An
291. ith Related Objects Omit From Application rea This option invokes the following dialog X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 99 Application Area Add to Application Area with Related Objects Add CONO01 to Application Area with Related Objects Application 4rea COMNHDR CUSFMAINT CUSTOMERS DATATEST DECI MYCPROLCESS OIE OEOO1 ORDERS Description conhdr New Sub Opp Area Customer 4op 4rea Data Test Demo Test area Re Engineering Order Entry Application 4rea CEOO1 orders Options For Related Objects Do not include files r ferenced updated by this program t Do not include called programs WF Do not include files referenced updated by any included program Perform the steps given below 1 Select the application area in which you want to add the object 2 Choose the required options from the three drop down menus 3 Click OK This adds the objects to the application area fulfilling the criterions REMOVING OBJECT FROM AN APPLICATION AREA Opt for the Object List Select the object to be removed from the application area Then opt for the context menu on that object and select the Omit from Application Area option as displayed below Omit from Application Area option Application 4rea Options Add to Application Area Add to Application Area with Related Objects Omit from Application Area The following dialog will be displayed X Analysis User Manual
292. ith the Following information to supporb databorough com See Error log for more detail Reason org eclipse swt SWTException Unable to load graphics library GDI is required java lang NoClassDefFoundError Details gt gt This can be corrected as follows This is the SWTException that is reported on the Windows 2000 machines The cause for this exception is the absence of GDI library gdiplus dll on Windows 2000 On Windows XP and Vista it is available by default The user needs to download the required DLL gdiplus dll from Microsoft site http www microsoft com downloads details aspx FamilyID 6a63ab9c df12 4d41 933c be590feaa05a amp DisplayLang en X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 408 SSS aa yng X Analysis User Manual 11 0 Appendix G Troubleshooting Download and copy the GDIPLUS DLL to the default installation directory e g C PROGRAM FILES DATABOROUGH ECLIPSE JRE BIN Restart X Analysis and the diagrams should show up now SCREEN REPORT DESIGN FEATURE FAILS WITH SERVER JOB ERROR If the Screen Report Design feature was working fine earlier and is now giving error then look at the Server Job associated with X Analysis 1 Identify the QZDASOINIT job associated with the XA session and look for the USER NAME QPRTJOB messages For example Message A duplicate job named 103581 MARK QPRTJOB was found Message A duplicate job named 161482 MARK QPRTJOB
293. ive Source Members Low Tota sid 2 0 elia Time in Days Similarly the user can generate charts for all the other parameters 0 5 0 0 Users can check Metrics History for all the Interactive Programs Batch Programs and Grand Total from the Metrics window Source code tracking The Metrics History provides a facility to see changes in the source code Expand the Metrics History and select a program as shown below X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 249 Audit Options Invoking source code tracking if Summary Metrics if Metrics History 25 aes Metrics History Chart Metrics History for XAN4CDRA Aled Complexity Level Change Date Source Lines Cyc Complex Halstead Maint Index Low Total 32 Current State aed Yio 40 211 finite Total 20 months back 2011 08 19 2 205 fot 40 206 eon Total 23 months back 2011 06 04 1 904 F135 39 027 2599 E Total 34 months back 2010 07 02 1 910 703 39 302 3057 forms cca zoroos oserzsaon OO O O OO OOO QEO02 CHG 2010 08 27 21 27 39 Total 39 months back 2010 02 08 2 465 Fol 45 971 p74 Total 4z months back 2009 11 14 2 618 oe 47 340 tt lt il The Source Compare editor is invoked when a user double clicks on the listed program as shown below Source Compare editor displaying the code differences Text Compare WKCUIS8E Changed on 2011 08 05 WKCUSEP of 2010 03 12 I C Moy A C MOVE 1 C REA C READ QL c INLE DOW C
294. ize C Letter 8 5 x 11 Ad Size 8 27 x 11 69 Contention Resolution System Documentation creates documents in Application Folder If the Application Folder ts 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 C Do not overwrite Overwrite if exists but if in use then Create document by similar name O Exit Skip document creation Click Finish to generate the document The progress status is displayed on screen while generating the system document The generated document will be available in the specified saved location System Documents using previous values X Analysis provides a unique feature of recalling previous options opted by the user in the System Documentation process With the help of this feature the user can generate a X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 326 ths Document Manager System Document without selecting the same options again for the System Documentation process The Generate System Documents using previous values option can be used by the user when he wants to generate the System Document using the previous options selected for the System Documentation This option gets disabled if the user switched to generate the System Document for Application Area from System Documentation for Object s or vice versa Start the Documenter either b
295. jects 94 Program Logic Documentation TE ea M R Ar Pa CUSF B z CUSFLA J CUSFLE Sites Sites by Product renamed from Sites by Orig List custa For testing b Access Paths 13 Objects H er P Attributes W Attributes P Input Programs 59 Objects b Input Services 1 Object H ide Objects a P Inout Tri Obiect B CUSFLC CUSFLO npa ees Jec Sites by Salesperson Sites by Validator P InputfOutput Programs 2 Objects H P Attributes P Attributes v a The following screenshot shows how another click displays all the objects within Show Option for Objects e Files Sj Object Where Used CUSTMNTL CUS ES H Object Centered Data Flow Diagram For CUSF Total Objects 94 a A amp ae Po aa A USF b Access Paths P Input Programs b Input Services P Input Triggers B 1 Object FJbhow Objects 1 Object H P InputfOutput Programs 2 Objects H P Update Programs b Update Output Programs 4 Objects H i 14 Objects H Expand Collapse Referenced Objects Ld CUSCPY Customer Copy P Attributes SECFO Reorganize Codes File b Attributes r Ea The DFD takes another dynamic form when you expand the referenced object s on selecting a particular category from the main object s box The following screenshot displays the action to be performed X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 163 Program Logic Documentation Expand Referenced Objects be Files jy Object Where U
296. k with Order Details CBCONDETNW FPN Work with Order Details Long fields used Move Down CBCUSFMNT rey Customer Site Maintenance CBCUSTMNT 2 ela Customer Detail Maintenance Long fields usec CBCUSTS FRM Work with customer Cobol vers CBC110 ela Order Entry System CBTRNHST ela work with transaction history CBS06R BM Back ouk account CLET BM Build Customer Letter CLETN ie Print Customer Letter Delete All CATLMAINT BM Contacts Maintenance CONDO ela Contract Entry CFOM el List Correspondence lt Tl Generate Document Save amp Exit Invert Selection Change Application Folder The default Application Folder for a specific application can be changed by selecting the Change Application Folder option from the X Analysis menu X Analysis gt Change Application Folder The following dialog appears on selecting this option X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 40 Using X Analysis Client Change Application Folder Select Application Folder P Application Folder for XAN4CDXA is w Do you want to change Application Folder for XAN4CDXA To select new Application Folder click Yes in the dialog box The following dialog appears prompting to specify location for the new Application Folder Select New Application Folder Browse For Folder Select Application Folder EJ Desktop My Documents 4 My Computer E3 a My Network Places Folder My Documents Make New Folder Open Log
297. l 11 0 2015 Fresche Legacy Inc Page 336 JHJ LEGACY Document Manager Detailed Object Documentation Document Features 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 In Visio Annotation LF Access Path details _ Detailed File Field Details _ Field Annotation Object Where Used Data Flow Diagram Normal Detailed Annotation Structure Chart Normal _ Expanded Detailed Depth Annotation Screen Flow Diagram Normal C Expanded Program Structure Chart Annotation Screen Report Layout Normal C Detailed Business Rules _ Export to MS Excel Summary C Detailed Include Internal Rtn s Source Source level i _ Pseudo Code _ Flowchart Level Business Process Logic Level Choose the options which you want to document from the above dialog Click Next to proceed further X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 337 Document Manager Detailed Object Documentation Specify Sequence oystem Documentation Finish Define the Page Size and Contention Resolution Option Selected Sequence Level Settings Application Area OSC Normal Application Area OSC bevel 8 Application Area DMD Normal Structure Chart Level 5 Object List Screen Flow Diagram Level 1 Data Model Diagram Normal LF Access Path details File F
298. l Contract Header Product Master Transactior s lt i a ACCESS PATH DIAGRAM The Access Path Diagram is the diagrammatic representation of LFs Access Paths lists The LFs Access Paths displays all the access paths for a selected physical file Opt for the context menu on that PF to generate the Access Path Diagram for a PF and then select the Access Path Diagram option The following diagram displays the Access Path Diagram for CUSF X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 198 qhJS03 Program Logic Documentation Access Path Diagram for CUSF h Object List Cu N 7 i em Access Path Diagram for CUSF Total Objects 14 i CUSF B Sites CUSFLA CUSFLB CUSFLC CUSFLD Sites by Product renamed From Sites by Orig List Sites by Salesperson Sites by Validator cusfla or testing LSLCDE Orig List Code SINIT Salesperson VINIT Verified By PRPCDE Product Code CNAME Company CNAME Company CNAME Company CNAME Company CUSFLE CUSFL1 CUSFL2 CUSFL3 Sites by Organisation Sites by Name Sites by Status Sites by Number ORG Organisation CNAME Company STATUS Status CUSE Cus Mo CNAME Company CNAME Company CUSFL5 CUSFL6 CUSFL CUSFL8 Sites by Dist amp Status Sites By Dist amp Mame Sites by Last Cnt Date Sites by Next Cnt Date DSD_DE Distributor DSDCDE Distributor LCTDAT Last Contact Date APDATE Next Contact Date STATUS Status CNAME Company STATUS Status CNAME Company CNAME Company CNAME Company CUSFL9 Sites by Fax
299. l System XAN4CDXA from the X Analysis Client 2 Opt for the context menu on XAN4CDXA and then select the Export as DDL option from the Export Options submenu Export as DDL option aj XAN4CDXA XAN4CDEM Tutorial System Ey id z E B New Application Area Add Alternate Data Library List Reset Library List Application Library List Affinity Comparison Refresh Options Derive Business Rules Import Options a i Export Options Export as DDL N Document Entire Application Document Changed Objects Reengineer Programs Generate Programs Generate Web Services d Export as Web Query Metadata Export as Web Query Application Export Business Rules as XML Convert DDS to SQL X Analysis then invokes Generate DDL dialog as displayed below X Analysis User Manual 11 0 Generate DDL dialog Generate DDL Select the model objects that you want to include in the DOL script Tables Primary Key Constraint Foreign Key Constraint Indexes F VIEWS _ Use Long Name for Tables and Fields _ Include Default value For Column Ignore Files starting with 2015 Fresche Legacy Inc Page 303 y Exporting amp Printing nn ct 4 E gt cr Make choices from the Generate DDL dialog and click OK to start the process 1 X Analysis displays the following confirmation dialog to get confirmation from the user and start the pr
300. lable on the navigation pane of the tutorial application as shown below Regenerated Programs option 192 168 170 10 El wh ZANACORA XAN4CDEM Tutorial System in Application Area Diagram at Data Model Diagram Es Overview Structure Chart e All Objects E Programs B Files Source Files Business Rules Consolidated Rules HE Screen Components Ch Change History OA amp Sanitize j Resize fal Procedures Double click the node to invoke the following window X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 90 Application Library Regenerated Programs window oH Regenerated Programs 2 5 E Regenerated Programs list for XAN4CDXA Total Objects 29 ES D7 amp F fo E io M Access Path Legacy Program MTT 1 MTT CUSFSEL CUSFSEL CUSGRS5EL CUSGRS5EL CUSTMNT 1 CUSTS5EL CUSTS5EL DISTSSEL DISTSSEL QORDSTSEL SOURCE SCAN Reengineered Member Name MTT 1 MTT CUSFSELR CUSFSELR CUSGRSELR CUSGRSELR CUSTMNTIR CUSTS5ELR CUSTS5ELR DISTSSELR DISTSSELR QORDSTSELR Physical File CUSTS CUSTS The Source Scan node helps you scan particular text also comments used in a prescribed source member or in general all across the application application area The node is available on the navigation pane as shown below Double click the node to invoke the Work with Members Source Scan dialog X Analysis User Manual 11 0 E Ez Source Scan node W 1
301. laying the Batch Job status Generate Problem Analysis Command APRBANLDODL ARFLIB AANACD AA Library List AAN4CDAA XAOBJ OGPL OTEMP Job Log Mon Dec 01 19 10 49 IST 2014 APRBANLDDL ARFLIB AANACD AA Problem Analysis When you double click on the Problem Analysis option the following window is presented The window contains specific information related to DDL conversion issues The image underneath presents the conversion issues like PFs with non unique key for the application area ACCOUNTS Problem Analysis window Total Description Source Detal Object Lirary Source Date Object Source Date Referenced By Sube Proc DOL Conversion Issues 2 TEA a a ee ee ee ee a ee Contacts XANICDEM QODSSRC CNTACS XANACDEM 2006 02 24714 56 2006 2 24714 56 HAMESIDY Names Index XANSCDEM QDCSSRCINAMESIDX XANICDEM AD0S 09 01T10 21 2005 09 D1T10 21 SIMEN Salespersons XANACDEM QDDSSRC SLMEN XANACDEM 2005 08 01T09 59 2000 09 04T10 08 E No Matching Parent Key in derived constraint 1 CNTACS DDL conversion Setup The DDL conversion Setup option allows you to formulate a new DDL conversion set up Double click this option to invoke the DDL conversion Setup dialog X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 119 Application Area DDL conversion Setup dialog DDL conversion Setup Provide the Name and Description adding Description is optional The following image shows the name of the
302. le One account All of Google Sign in to continue to Google Developers Console n Stay sigped in Hesg Heep Creal an acopunt One Google Account for everything Google AaM onwrt Bg a Enalsh United Statasi ial X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 436 Appendix M Export to Google Drive Sign in with your google email id and password 2 After sign in is complete the following registration window will appear Google Developers Console P https console developers google com flows enableapi apiid d Q Search Welcome to Google Cloud Platform Use the same infrastructure that powers Google s own applications v have read and agree to all Terms of Service for the Google Cloud Platform products Leam more Check the box on the pop up and click Continue 3 The following window will appear Confirm the registration process by checking all the boxes X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 437 Appendix M Export to Google Drive Google Developers Console x amp i https console developers google com flows enableapi apiid drive A Search r B a Google Sign up for a free trial gmail com thJs0 LEGACY Projects Register your application for Drive API in Google Developers Console Google Developers Console allows you to manage your application and monitor API usage Billing You have no ex
303. le Rule CONOO1 00007 XWORDN CONDET Contract gt 300000 CONO01 00002 XWORDN CONHDR Contract not found on Contract_Header CONO01 00003 XWECCD CONHDR Debtor not found on Purchases CONO01 00004 XWORDN CONHDR Contract found on Contract_Header CONO001 00005 XWABCD CONDET Product lt gt 0 CONO01 00006 XWABCD CONDET Product found on Contract_Detail CONOO1 00007 AWABCD CONDET Product lt gt 0 CONO01 00008 AWABCD CONDET Product not found on Product_Master CONO001 00009 AWABCD CONDET Product not found on Stock Balances CONO01 00010 AWAACS CONDET Store not found on Store_Master CONO01 00011 XWABCD CONDET Product not found on Transaction_Histo Consolidated Rules Select the Consolidated Rules option to display the file field based business logic for the selected source member The consolidated rules for CONO01 are displayed below X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 139 ths Quick Reference to an Object Consolidated Rules e Object List Ee cONod E3 ff T Consolidated Rules for CONOO1 E 4e E ABENA amp fR Frogran CONOO1 mg ROOOUL Contract gt ROE Contract not Lound on Contract Header ROOOS Debtor not Cound on Purchases ROOO4 Contract found on Contract Header ROOOS Product found on Contract Detail ROOOG Product lt gt U Business Process Logic Select the Business Process Logic option to access the process logic for the selected source member The Business Process
304. le Where Used for ALLICUSNO Lines 184 view Level Levell Seq No CBCUSTSD i 2CUAN0 F B 19 22REFFLD COSNO A amp N4CDEM COSTS e CBCUSTSD 0383 00 2CUaN0 F 0 19 2e2REFFLD COSNO AaN4CDEN COSTS CLET a004 00 DCL VAR sCUSN0 TYPE DEC LEN S 0 CLET 0009 00 CHGVAR CUSNO COANE CLET 0010 00 CALL LETNI sCUSH0 PREFIX LETSQ CLETW 0001 00 FGM PARM amp CUSNO PREFIX amp LLETag CLETW 0003 00 DCL VAR amp CUSNO TYPE DEC LENIS 0 CLETW 0010 00 CALL LETNI iCUSNO PREFIX LLETSQ CNTACS 0003 00 CUSHO SP D TEXT Cus No CNTACS 0021 00 E COSNO CNTCMAINT 0101 00 eval zcusno cusna 4 Legend Dark Red depicts the Definition Statements Black depicts the File Operations Magenta depicts the Parameters Dark Brown depicts the Program Structure Operation Dark Blue depicts the Field Operation X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 152 m gt TOSH Quick Reference to an Object Legend for Variable Where Used Sak Variable Where Used 53 im A H R E ko O ariable Where Used For 4LLICUSNO Lines 184 View Level Levell W Definition Statements 5 Name Sey No fo are Paine T Aeara 2 TAUA n E File Operations u 6 oe CBCUSTSD oz70 00 4 FCUSNO R CDEM CUM CBECUSTSD 0383 00 A ACUSNU F E Parameters CLEM CU CLET OO04 00 DCL VAR amp CUSNO TYPE E Program Structure Operation CLET OO09 00 CHGVAR amp CUSNO CUSNC CLET 0010 00 CALL LETN amp CUSN0 PREFIX 4E Field Ope
305. le is the counterpart to XRELS and every File to File relationship is recorded in XRELS XSHKEYS describes each of the Field to Field relationships that make up these XRELS relationships The user can choose the Relationship Details option by clicking on the Data Dictionary icon The following screenshot displays the Relationship Details Data Dictionary Relationship Details Data View for XSHKEYLS 23 F 3 T Ok Data View for XSHKEYLS es ee 2 Own PF Dep PF Dep PF Fld Own PFFld Key Seq Constant Reln ID ASTATUS CNTACS TATUS ATUS a l I0 02 ASTATUS CONDET CONDET CONDET CONDET CONHDR CONHDR CONHDR CUSF CUSF PROJECT PROJECT TRNHST TRNHST CONDET PROJECT TRAST CNTACS STATUS XWORDN XWABCD XWORDN XWABCD XWORDN XWORDN XWORDN CUSNO STATUS 1 0 00113 AWORDM AVVABCD XWORDN XWABCO XWORDN KWORDN AWORDM CUSBNO 00125 00125 00142 00142 00104 00126 00143 00101 OVERRIDE DATA DICTIONARY The elaborate Data Modelling process demands the presence of several details The drop down icon for this option is present alongside the Data Dictionary icon on the X Analysis toolbar When the user clicks on this icon he can access detailed information for every field in each file in the application database Much of this data is the standard metadata extracted for each file and stored on the XDD file for instance field and column names field size and field type Thus record metadata is read
306. llowing similar screen Work with Job screen Work with Job System DBS PW6 JOD QPADEV0021 User US Number 087868 celect one of the following Display job status attributes Display Job definition areribures Display Job run attribut o If active Work with spooled files 10 Display Job log LE active on Job queue Or pending TD lay wealiicnack ar eaGm ive 12 Work with locks if active Is Display library list 1f active 14 Display open files if active 15 Display file overrides if active le Display commitment control status 1f active Selection or command F3 Exit F4 Prompt F9 Retrieve F12 Cancel Then use Option 4 to work with associated spool files Job specific Spool Files Work with Job Spooled Files Jop XAXREF User US Number 087868 Type options press Enter 1 Send 2 Change 5 He lid 4 Delete 5 Display 6 Release 7 Messages 8 Attributes Weel Woliglh jovcliqi sline Sieceieuls Device or Total Current Opt File Queue User Data Status Pages Page Copies XREPORT OPRINT XARPTRLOG RIDM 1 XREPORT QPRINT XARPTRLOG RDY ii XREPORT QPRINT XARPTRLOG RDY 1 QPJOBLOG QEZJOBLOG XAXREF EIB il Then use Option 5 against spool files to view the report X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 421 THUS Appendix X Analysis Indexes Job Scheduler Entries Appendix I X Analysis Indexes Job Scheduler Entries X Analysis initialization process XA4INIT command calls the XASCDE
307. llows for indentation and five levels of source listing Each level suppresses certain source lines X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 143 Quick Reference to an Object Source Level Options be Object List Ee conoo E3 Source List of CONOO1 in XAN4CDEM QRPGSRG Lines 271 Yiew Leve 5 A E E aE r p Apin aA Seq No Comments Only Screen Reads Comment sH ee 0204 00 view Level 1 Call Operation Wie Level 2 File Operation 0206 00 F view Level 3 Program Structure Operation D view Level 4 Field Operation 0208 00 y F view Level 5 Commented Out amp Excluded 1 IN35 p 020s 0 AREMI lt kS iil iw The current source level is shown on the title bar Diagram Options Choose different diagram options 1 Data Flow Diagram Generates Data Flow Diagram for the Object 2 Hierarchical Structure Chart Generates Hierarchical Structure Chart diagram for the Object 3 Structure Chart Diagram Generates Structure Chart Diagram for the Object 4 Screen Flow Diagram Generates Screen Flow Diagram for the Object 5 Program Structure Chart Generates Program Structure Chart for the Object Diagram Options e Object List Ee CONOoL 3 H Source List of CONOO1 in XAN4CDEM QRPGSRC Lines 271 Yiew Levei 5 A E H aE Ppi h SBE i A aA veg Mo t a d EE Data Flow Diagram a a S A r Me 0204 00 ch Hierarchical Structure Chart Structure Chart Diagram 0206 00 t E
308. log invokes when the user selects the option Generate Database Service Programs dialog Generate Database Service Progr Eg Template Source Member ZUTEMPLATE Click OK to execute the batch command Opt for the context menu on the application area ORDERS and select the Generate Database Service Programs option from the Export Options submenu The following dialog invokes when the user selects this option Generate Database Service Programs dialog for application area ORDERS Generate Database Service Progr Eg Ref Library Application Area Template Source Member fUTEMPLATE The XWRTDBSP command will generate Service programs for the specified database files The generated source will be placed in QRPGLESRC of the specified cross reference library The type of service program generated will depend on the template specified The command requires Template Source Member name as input parameters X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 311 HJA Exporting amp Printing The pre defined templates are located in XAOBJ QRPGLESRC The following are the available pre defined templates ZUTEMPLATE file update delete program template ZSTEMPLATE this will generate an SQL CRUD service program ZXTEMPLATE this will generate an SQL extended READ service program ZRTEMPLATE this will generate an RPGLE CRUD service program Generated Service Program The servic
309. lowchart generated using Microsoft Visio isin 7000 Source List nf ANFANI in XON4TDFM_ORPGS ef File Edit View Insert Format Tools Shape Window D Ae Hayle Fluw Moral Cuurier Miew r fay E T 3 4 lalla EEN Tako cl oral neler a an ROOT kama CDEM QPPGSRC cance AMATO MA ee OAS B view Source Duplicate VIEW Lines OOSY 00 to OO Format ESF Shape a Help Lines O000 00 te OO Propertles cee 8 Source Code generated in HTML on Program Files Databorough X Analysis Temp 314154114 Soure 0 x Fie Edit View Favorites Tools Help O Back 3 x ar Ti Search s Favorites GA Media Address B E Program Files Databoroughi Analysis Temp13141541140015 00 EJ Go a a a a a a e a aH C RECEIVE PARAMETERS CC UNTIL F3 C IMITIALISE SCREEN RETRIEVE LAST ORDER NUMBER b CALL CUSLET GET ORDER NO amp CUSTOMER NG SO LONG AS EXIT NOT REQUESTED 1 RETRIEVE CUSTOMER DETAILS EZSR RVCUS 4 My Computer X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 301 Exporting amp Printing The right click menu option Jump to subroutine on EXSR Execute Subroutine boxes opens the flowchart for the selected subroutine This option is available at all levels Jump to Subroutine Lines 0046 00 to O055_00 gt 2 View Source ESE kump to subroutine R WLU Lines 0057 00 to gog CUE EXER Copy Subroutine View of SRVCUS isio 27000 Source List of GEOO L i
310. lusion Spool Mame Spool Description Recognition value Recognition Start Postion Recognition Length Exclusion Add Spool File Spool Name Provide the Spool Name and the Spool Description in the above dialog Clicking OK to add the Spool File to the Spool File Exclusion window In the following screenshot the added Spool File is displayed Spool File Exclusion window displaying the added Spool File Spool File Exclusion 3 z H Test Result Spool File Exclusion eR fs fa Spool Name Spool Description Recognition Value Recognition Start Postion Recognition Length QRDERSPL Eliminate date time differences _ ee ee ae The next step will be to add exclusion criteria to the spool file For this select the spool file and right click on it for the context menu The menu contains a single option called Add Criteria _Add Criteria option Spool File context menu P spool File Exclusion 3 F Test Result Spool File Exclusion ee fF fa g Spool Name Spool Description Recognition Value Recognition Start Postion Recognition Length Exclusion ORDERSPL Eliminate date time differences gama m e oes k Add Criteria gt Click the Add Criteria option to invoke the following dialog X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 113 THUS Application Area Add Criteria dialog Add Criteria Recognition Value Recognition Start Postion Po Exclusion Stark Position Po 510 Type Sd
311. lysis Source List of CONO01 in XAN4CDEM ORPGSRC Lines 271 View Level 5 Sel fx File Edt Navigate Search Project Analvsis Tomcat Run Window Help Cie OEE amp h B a BAAN BY E x Analysis A i O Tears Bookmarks 51 o G p Java When the icon is clicked the following window is invoked X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 159 Quick Reference to an Object Object Source Description Ref Library Location COMO T INOS DOUEQ I SAMACA line 27 USF u CNAME 34A TESTE Company XAM4CDKA line 2 You also have the option to share the bookmarks When shared the bookmarks become visible to others using the same cross reference The following window displays the Share option X Analysis Bookmarks context menu showing the Share option Object Source Description Ref Library Location Le INOS DOUEC 1 elk ee 344 TEXTE Company XAM4CD A line 2 Delete rn X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 160 ths Program Logic Documentation DATA FLOW DIAGRAM Program Logic Documentation A Data Flow Diagram or DFD is a diagrammatic representation of the data flow A particular application contains many files and programs and a DFD depicts all possible interrelationships among these multiple files and programs contained within a particular application A color coded DFD simultaneously plays the dual role of presenting the data flow a
312. lysis User Manual 11 0 2015 Fresche Legacy Inc Page 86 Application Library Development Screens A Development Screen is a set of data that describes how information is to be displayed on a screen and governs the user interactivity with that information For instance validation information may be held for a field or details of a program to be called when the record is updated In short a Development Screen is a set of metadata relating to a screen display Select Screen Components and double click on it to display the Work with Screen Components dialog Then check the Development Screens box which expands the dialog for the Development Screens option as shown below Work with Development Screens dialog Work with Screen Components Ed Application Area Mame MONE ka Description All Members Selected File Mame Function Type Show Screen Components also Cancel Click OK to generate a list of all Development Screens for the cross reference library Development Screens List FA Development Screens it d E E E hme ale O Development Screens List of NOME ALLY ALL Function Fhysical File AAASTATUS ASTATUS Status file AACHTACS CHTACS Contacts AACONDET CONDET Contract Detail AACONDET A yy CONDETH w Contract Detail new CBL Yer with Long Fields AACOMNHOR COMNHOR Contract Header GA USF CUSF Sites GAC USGRP CLUStsRP Customer Groups AACUSTS CUSTS Purchases GADELTY A DELTVA Delivery Areas AADISTS DISTS
313. mand The XWRKDTAARA command assists the user to maintain various values for data areas used in XDDSTOSQL command The command is available in the library XAOBJ which must be included in the library list before executing the command The command accepts the following two parameters XWRKDTAARA XRFLIB XAN4CDXA SYSTEM XDDSTOSQL XRFLIB Cross Reference library SYSTEM The name of the command for which related data areas have to be listed X Analysis XARWKDARAS Work with Data Areas Dakaborougm ted ees 2019 02 21 Enter options press Enter 5 Work with values Data Area XDDSTOSOL XDDSTOSOL XDDSTOSOL XDDSTOSOL XDDSTOSOL Source Flag Run Parameters Replacement Characters From Replacement Characters To SQL Table Name Suffix X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 310 Exporting amp Printing The above screen displays the command screen for XWRKDTAARA Data areas related to the XDDSTOSQL command are listed here The user can use Option 5 against any of them to view modify their value GENERATE DATABASE SERVICE PROGRAMS The Generate Database Service Programs option calls the IBM i command XWRTDBSP and submits the job in batch This option is available on cross reference library application areas and physical files PF Opt for the context menu on the tutorial application and select the Generate Database Service Programs option from the Export Options submenu The following dia
314. mber No source member for file No program object found for source member No source member for program module Source member changed after file created Order Entry Display Customer Site Maintenance X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 263 Audit Options Select Alert Category dialog Select the Alert Category to export Export All Source Object Alerts gt Database Alerts gt _ Program Code Alerts gt Migration Alerts gt DDL Conversion Issues Others Cancel The user can individually select Categories to be exported to Excel By default the Export All box is checked OBJECT ALLOCATION The Object Allocation option displays the information about all objects along with the application area names to which they belong The following screen displays the Object Allocation window Object Allocation for XAN4CDXA Specialized Analysis Mame ASIMPLTEST ASTATUS BALAM EFRO BALAM EFRO BALAMCESTO BALAMNCESTO CBCUSTSD CBCUSTSDO CBC110 CBS06R CBS06RD CBS06RD L1 CBS06RR Description Status File Balance by Product Balance by Product Balance by Store Balance by Store Work with Customers Work with Customers Order Entry System Back ouk account Order Entry display File Back ouk account Problem Analysis Type FILE FILE FMR Y OMFORM OMORY OMFORM FILE FILE BGM FGM FILE FILE FGM Attribute PF PF SQL
315. mer group Selection Customer group Selection Customer Site Selection Customer Site Selection uro Conversion Calculation es CPU Letter Customer Enquiry Letter Fiz Compare with Current Find Fax Number eel id SS acim Release Letter FP GM RPts FP GM RPts Summary Customer Report Security Code Report You can also view the Change History data in the program sequence For this click on the Order by Program option available on the toolbar Order by Program option Ta Change History 25 Change History for XAN4CDZA e Object List ChangedDate Mame Library Type Attribute 2013 03 20 Description k Source change date Order by Program The following screen will invoke X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 89 HS e Object List Change History for XAN4CD A4 ChangedDate Name E CBSO6R 2013 03 14 CBC110 2013 03 14 2011 09 13 CLET 2013 03 14 2011 09 21 CLETN 2013 03 14 CNTCMAINT 2013 03 14 Library Oh OEM Oh DEM AON 4C OEM AON 4C DEM SON 4C DEM Soh 4C DEM AAMA DEM Application Library Change History Order by Program window Ta Change History O Back out account Order Entry System Order Entry System Build Customer Letter Build Customer Letter Print Customer Letter Contacts Maintenance REGENERATED PROGRAMS You can view the list of programs which have been regenerated through the Regenerated Programs node The node is avai
316. mit the batch job X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 235 Ths Inter Repository Options Compare Base to PTF dialog PTF Repository Base Repository bates mes 5 The final step is to display the PTF Analysis data Opt for the context menu on new X Analysis application XAN4CDXP and then select the PTF Analysis option from the Inter Repository Options submenu The following screen should appear a PTF Analysis 23 PTF Analysis for XAN4CDXP Total Objects 45 Class APPLY APPLY APPLY APPLY APPLY APPLY APPLY MODIFIED MODIFIED MODIFIED MODIFIED MODIFIED MODIFIED MODIFIED MODIFIED MONTETEM lt PTF Analysis for XAN4CDXP Name CUSFMAINTO Customer Site Maintenance ORGS ORGSL1 CUSGRSEL CUSTSSEL DISTSSEL DSPPTYPES CNTCMAIN CONDET CONDETL1 CONDETL 2 CONDETLS CUSFSELD CUSTMNT 1 CUSTS CUSTS 4 Lu PTF Change Date 19 03 10 Description Organisations Organisations by Name Customer group Selection Customer Selection Distributor Selection Display Product Contacts Maintenance Contract Detail by Store Contract Product by Store Contract Product by Product Contract Customer Site Selection Customer Detail Maintena Purchases hy Mietrihi itor AT ietamer 19 03 10 19 03 10 19 03 10 19 03 10 19 03 10 19 03 10 19 03 10 19 03 10 19 03 10 19 03 10 19 03 10 19 03 10 19 03 10 19 03 10 ain3in 28 09 09 28 09 09 28 09 09 08 03 10 03 03
317. mmand F6 screen To add issue picked for a program Databorough Ltd Zien Ours Program Name TEXT o alee OTE SSA Sra 41 sae ERRET Date and Time Of event o r 2 ses Onl 2 EO A Sal Issue Cacegory Category Description Assigned TO gt a amp amp Programmer Narrativ Option 4 Delete Use this option to delete the reported issue Option 5 Display Use this option to display the reported issue Option 7 Notes Use this option to provide notes related to the issue Option 8 Comp Errors Displays Compilation Errors for the program Option 9 Missing Files Displays Missing Files required by the program F20 Summary Displays Project Summaries The user can see various project summaries by opting for F15 F21 Project Notes Displays Project Notes F22 File Errors Reports the File in Errors 2015 Fresche Legacy Inc Page 387 X2E RPG XARWKDBERR HARR Appendix D XREDOAPP Command F22 screen Files in Error Work with X2E File Errors Project AA2EDEMO Ref d Project RF2EDEMO Databorough Ltd ASe el Zaca Oe File Description FFD0001 EDAAPI Pole EDAAPT nen an OR ECT Bottom Fl Help F3 Exit F1l12 Cancel X Analysis User Manual 11 0 X 2E DATA AREAS The user can customize the X 2E settings to meet the project specific needs These can be controlled by the data areas available in the X Analysis cross reference library The purpose of each data area ha
318. mponents Application Area Mame Description All Members Selected d Development Screens Click OK to generate the list of all Screen Components Screen Components List E Screen Components s Ey Ee fe a Screen Components for Application Library 24h4cDe4 Call Programmi Function Type SeqMo OSPF Format Physical File Title CE906R CBI06RO1D CBI06RO02D CBS06R03D CBSU6RO4D CBS06R 1 Date SHOO01 ACCOUNT ENTRY ST 100 ACCOUNT ENTRY SC Tio ACCOUNT ENTRY CBS06RO6D SPLAT 1 SECF ACCOUNT ENTRY CATCMAINT CHTCMAINTOID 2 FTO1 CHTACS Contacts Maintenance CONDO1 E CONOO1O1D OESFL a CONTRACT ENTRY t jili gt I R C R R CBS06R05D R SCT1O2 ACCOUNT ENTRY R I R I R The following table displays the details of the generated reengineered components Component Type Description TSAJE1R PGM Executable reengineered program TSAJELRB SRVPGM Created using TSAJE1RA and TSAJE1RB modules TSAJE1R MODULE Ul module for the Reengineered program TSAJE1RA MODULE Re engineered Action Diagram aka Programmed Module TSAJE1RB MODULE Re engineered Controller aka Generated Code Module TSAJE1RB FILE Program Variables structure aka Program Data Object TSAJE1RD FILE Display file used by the reengineered program TSAJELRG FILE Grid Data Object To display the list of the Screen Components for a specific program opt for the context menu on that program and select the Screen Components option X Ana
319. n Click Finish to generate the document The Progress status is displayed on screen while generating the system document The document will be located in the specified save location After the documentation process is over the following screen is displayed by X Analysis to open the generated document X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 370 Appendix C Component Documenter X Analysis dialog prompting to open the generated document X Analysis System Documentation process completed The POF document has been sawed as D Program Files Databoroughis Analysis192 168 170 10 PCF_ 4N4Coe4 System Document For Soh4COe4 pdf Do you want to open this Viewing the Generated Document The following screens display the generated document Table of Contents system Document for XAN4CDXA pdf Adobe Acrobat Professional led File Edit View Document Comments Forms Tools Advanced Window Help x oF mg Ela Le amp SYSTEM DOCUMENT FOR XAN4CDXA TABLE OF CONTENTS CUSTMNT1I01D Customer Detail Mainbenance _ 2 ecceresecceseecetsaceeessceereaceeeesseeesanenesecceneaneeesseeneneass Header Information for 22FTO1 CUS TMNT 101D ne eeeeceeceeseeeeneceeeeeeeneeeseceessnnssccereneersceeeeceeaees Parameter List for 27FT01 CUSTMINT 1010 2 nn een nnn neee ee eeeecesenneenceesnceen ceeeeneeeenseeecneeenenees Data Content Diagram for 27FTO CUSTMNTIOID WW We seen
320. n You can modify the following Advanced Preferences for the X Analysis Client Work with Objects o Default File Attribute Specify attribute for Object List of Files The default value is PF o Default Program Attribute Specify attribute for Object List of PGM The default value is ALL X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 46 Using X Analysis Client Subset Data o Include Owners The default value is YES o Include All Dependents The default value is NO o Replicate Triggers Constraints The default value is NO o Data Option The default value is REPLACE Search Settings o Occurrence Select the appropriate search setting from the drop down box You will view the streamlined content based on this selection If no selection is made then the default search setting will apply UML Diagram Check the Show object name in Class diagram box to see the object name in the Class Diagram Document Generation The Use MS Word OLE Automation box is unchecked by default Checking the box activates OLE Automation allowing greater flexibility in handling data during the document generation process Diagram Export The Use Open Office Draw for 64 Bit box is unchecked by default Check the box to use Open Office Draw for exporting diagrams more efficiently in 64 bit machines If the box is left unchecked the diagrams will be exported in the default format Synon Data Flow Diagram
321. n Legend icon The Legend icon on the toolbar displays details of the color scheme used by the DFD Click the icon shown below Legend icon fe Files Spy Object Where Used CUSTMNT1 Ea cuSr E3 E Object Centered Data Flow Diagram for CUSF Total Objects 94 fF a Bly amp Os de Legend z S USF Oo CUSFLA Sites Sites by Product renamed From l cusfla For testing Access Paths 13 Objects H No attributes P Input Programs 59 Objects H s lt gt The color scheme helps you understand the reference and association of specific objects like how each object is referred to or used by the main object on which the DFD was opted The expanded view of the Legend is given underneath Legend Expanded e Files ZA Object Where Used CUSTMNITI el usr E3 0 Object Centered Data Flow Diagram For CUSF Total Objects 94 Po g im A amp i e m Access path ha E Called 5 CUSFLA J Sites by Product renamed From F Calling cusfla For testing b Access Path No Attributes F Input Progr E Input b Input Servic D Internal routine F CUSFLE F Input Trigge Output Sites by Salesperson b Input Outpe i No Attributes E Update P Update Prog _ b Updatefoukpukt Programs 4 Objects H z CUSFLE b lt ill gt Each object box has a colored square or disk on the top left corner A disk denotes that the object is a file whereas a square denotes a program The description of the DFD Legend is as follows Access Path Th
322. n Keys Cancel The user can set the criteria for High Average using the above dialog Expand All Screen Metrics Data Click Expanded Screen Metrics icon which will expand all the data Expanded Screen Metrics button on the Screen Metrics Toolbar Screen Metrics E3 H Screen Metrics for XAN4CDXA do im fal Complexity Level Units Files Database Fi Work Fi Outgoing In ll Expanded Screen Metrics ou E Grand Total 88 i131 664 324d Print Screen Metrics To print the Screen Metrics information click the Print icon available on the toolbar X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 252 Audit Options Print button on the Screen Metrics Toolbar Screen Metrics 23 H Screen Metrics for XAN4CDKA i a Complexity Level Units Files Database Fields Work Fields Outgoing Calls E Grand Total 88 isi 66d 324 ui Export Screen Metrics Select the PDF or MS Excel option as required under the Export Options icon Export Options on the Screen Metrics Toolbar Screen Metrics E3 E Screen Metrics for YAN4CDXA r t fal x E Grand Total ga fuse Fig Export to MS Excel High Complexity Level Units Files Database Fields Work Fields es Export to POF m FILE METRICS The File Metrics option displays various metrics on all the files The file metrics information is displayed for the complete application and for all the application areas The File Metrics
323. n XAl File Edit View Insert Format Tools D gE Hean b SEEE TN BOT jp AN4CD EM QRPCSRC OEOOL 4 ACUS lt Lines 0104 00 to 0107 00 PRINTING FROM X ANALYSIS X Analysis allows printing of various List Diagrams Source members The Print icon is available on the toolbar of various list diagrams source members Note that the Printer should be already configured EXPORT AS DDL FROM X ANALYSIS The option Export as DDL exports data model information as Data Definition Language DDL to the application folder This information may be used by any database management system e g Oracle or SQL Server to create a similar data model The Data Definition Language DDL is a sequence of Structured Query Language SQL commands that defines the structure of a database X Analysis can export the structure of an application or application areas as DDL The DDL can be used to recreate a database on any SQL database system If your modelling tool does not support XML then you can use the Export as DDL option This option recreates your database as SQL tables with complete metadata information required for a tool to re engineer the new database over ODBC Some third party modelling tools allow importing SQL scripts or DDL files directly X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 302 HIS Exporting amp Printing To export the DDL for the example Tutorial System XAN4CDXA data model 1 Open the Tutoria
324. n areas are displayed on the tool tip of those objects not belonging to the selected application area OSC on selected application area MVCPROCESS be Object List Ss Overview Structure Chart 2 3 Overview Structure Chart for MYCPROCESS ALL ALL Total Objects 15 amp Bl amp a o CUSLETSO Update Letter Sequence PLAN LIPDFIL CUSFSEL Customer Site Selection CUSGRSEL Customer group Selection NONE DSPFIL DISTSSEL Distributor Selection RINMSGTEXT Return message text NONE OTHCAL SCREEN REPORT DESIGN The Screen Report Design option works on Display and Printer Files It displays the actual layout for the Display Printer file This option also works on program objects RPG RPGLE and MENU and displays the layout of the associated Display Printer files X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 193 Screen Report Design view e object List H Device Design 2 Screen Design for CNTCMAINTD ZZFTO1 oO r p ES Screen Fields 4 Field details For CNTCMAINTOID Total Objects 12 Program Logic Documentation am SE Mm a alc Ob ME Geo O Label Line Column Databorough Ltd z 6g Customer Mo co Product Code Fit contact Name 20 Telephone Mo 28 Email Address 20 Last Contact Date 20 Next Contact Date 20 Salesperson 28 SAPS 7A Field AEP GM EDATE CUSNO PRP_DE
325. n case it does not match your setup then change the XAZEPROLIB data area to suit your environment As an example Y1SY is another base product library X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 389 HSA Appendix E Overriding Data Tables Appendix E Overriding Data Tables SYNON FUNCTION KEY OPTION DEFAULTS The XS2EFODFT table identifies default function keys and options their texts and action type Applications may re assign the PREVIOUS key from F12 to F24 and use A for DELETE and Z for DETAIL Table Structure for XS2EFODT A R XS2EFODFTF A S20DTYP 1A TEXT Function Key Option A S2Q0DVAL 2A _ TEXT Value A S20DOVL 2A _ TEXT Override Value A S2ODTXT 50A TEXT Text A S20DACT 20A _ TEXT Action A K S2ODTYP A K S2ODVAL S2ODTYP Default Values of the Table XS2EFODT F F OJOJO S2ODTYP F F X Analysis User Manual 11 0 S20DVAL S2ODOVL S2ODTXT S2ODACT 03 Exit EXIT 09 Add Change ADD CHANGE 11 Delete DELETE 12 Cancel PREVIOUS 01 Select SELECT 04 Delete DELETE 05 Display DETAIL Example Modified Values for the Table XS2EFODT S20DVAL S2ODOVL S2ODTXT S2ODACT 03 Rinucia EXIT 09 Modo lt lnser gt Modo ADD CHANGE lt Modif gt 11 Annullamento DELETE 12 24 Ritorna PREVIOUS 2015 Fresche Legacy Inc Page 390 Appendix E Overriding Data Tables S2ODTYP S20DVAL S2ODOVL S2ODTXT S2ODACT O A Cancellazione SELECT O Z
326. n click on the Copy to Clipboard button X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 32 thJst LEGACY Using X Analysis Client 1 Enter the login informations and Connect to retrieve the server informations HoaName EE v usema Wave Paved oaeee Coe UseSSL L 2 Send the Server Information to Fresche Legacy to receive your License file Server Info sete BMWS pti SS e Copy to Cipow The information gets copied and is displayed as follows X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 33 JHJ LEGACY Using X Analysis Client Information displayed on clicking the Copy to Clipboard button Host information has been copied to clipboard Company Customer name lt PleaseUpdateThisField gt lt PleaseUpdateThisField gt Telephone lt PleaseUpdateThisField gt IP a Serial number EE Partition ID Security Code modules Installed licenses A Sanitize lt L gt Perm A RPG Migrate lt C gt Perm Rew lt C gt Perm X Archive lt Mi Ferm Documenter lt B gt Perm DB Modernize lt hl gt Perm X Control lt gt Perm X Datatest E gt Perm Analysis Lite lt A gt Perm X Audit M Rules lt H gt Perm lt D gt Perm A 2E Migrate lt b gt Perm A 2E Analysis lt a gt Perm A Subset AA Open A Verity lt K gt Perm lt F gt Perm lt d gt Perm Field Resize lt gt Perm Manually copy the displayed information and mail it
327. n the flowchart will be generated using Microsoft Visio and its link is placed in the System Document Flowchart generated using Microsoft Visio isio 2000 Flowchart for OF001 MAIN Eee E mon fee romet pot Supe ete Lines O051 00 to 0053 00 gt if JT Reteieve Gustomer Details 9B Jump to subroutine RYOUS dy Cut Gi copy OF paste tLines O044 00 to 0054 00 gt E Duplicate Set up blank mbile ft Perform F 0ELNS Perform FRO Format Shape tLines 0057 00 co 00 a Help i z X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 355 Document Manager LIMITATIONS OF X ANALYSIS SYSTEM DOCUMENTER Editing another Word Document X Analysis uses OLE Automation to send data to Microsoft Word This depends on Automation objects provided by Microsoft Word Automation objects by Microsoft Word have the limitation that when Automation is used on a Word document then editing of another Word document may get affected or may interfere with the automation process of the system document The following problems may be noticed in the document being edited The cursor will frequently change to hourglass Text once selected may not be unselected After clicking a menu it may disappear by itself Opening a dialog may end block the documentation process abruptly USING THE ANNOTATOR Annotate option The Annotate option is available on the context menu of an object or field name Selecting the A
328. nalysis Client 2 Provide the username and the password of a valid IBM i profile 3 Check the box for Use SSL feature for additional security For details refer to Appendix K 4 Click Login After successful sign on X Analysis lists the application libraries which were initialized using the X4WRKAPP command on the IBM i SESSION INFORMATION The X Analysis Client displays detailed session information about the connection in the associated Session Information view Session Information Session Information Session Items Description POPPI T Pitt irri it iii t itr iii iret iiiiiiiieliiiiiiiitielititiiiiiiilitiiiiiiiiiiiiiiiiiiiiiiiiiiitiiiiitisiitii itil Host Name 192 168 170 10 Onalysis Username MARK e Onalysis Library eee Bey Job Details 2435943020 4501NIT IOUSER Database Library Application Area Data Model Info Available Library List Aon O44 ASN4 DEM QOF The Session Information details are as follows Host Name Displays the IP or the web link of the connected IBM i X Analysis Username Displays the user name which is connected to the IBM i X Analysis Library Name of the cross reference library the user has currently selected Job Details Displays job details in format Job Number Job Name Job User Database Library The Subset Library which is being used to get the data from where the Data View options are selected This displays a value only when a subset libr
329. nalysis User Manual 11 0 2015 Fresche Legacy Inc Page 191 Program Logic Documentation UPD At least one program updates a file PRT Program and dependent programs create a printed report DSP Program and dependent programs use input files and display files OTH No cumulative component function can be determined Function Type Function Type describes the function of the object and is based on COOL 2E definitions OSC with Files The Normal Overview Structure Chart displays a snapshot of an application using programs only Click the Show Files icon available on the OSC toolbar to display the available files along with the programs 2 Object List a Overview Structure Chart 25 Overview Structure Chart with I O Files Expanded Overview Structure Ch ALL ALL Total Objects 483 A BE T PACO worni orders coore TL E C CONHOR f_CONHDRLI gt K CUsFL3 4 f__CUSTS 4 f__ORDSTS gt GoiractHeades _by Debtor Stesbynumber Purchases J Order status P cc ana arei Cara e Store Gem Gita Recs sn S IWWCONDET Work with Order Details EDTFIL _SLMEN gt X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 192 ths Program Logic Documentation Application Area OSC When you select the OSC option on an application area Application Area node should be selected then objects not belonging to the selected application area are highlighted in blue The names of applicatio
330. nalysis User Manual 11 0 2015 Fresche Legacy Inc Page 331 Document Manager Single System Document Exclude Objects X Analysis System Documentation Exclude Objects Exclude objects From documentation optional Mame Type Description 3 Delete Objects SELNG FCT AAPL Last Skeleton Letter CNTCMAINTD FILE Contacts Maintenance CONDET FILE Contract Detail Delete by Type CONDETLI1 FILE by Skoret Contract Prod CONDETLZ FILE by StorefContract Prodi CONDETLS FILE by Produckitontrack Select by Type CONHDR FILE Contract Header CONHDRL1 FILE by Debtor Contract COMHORLI amp FILE by Debbor Cusk Ref The a hanes CONHDRL FILE by RepfContract CLOPRADRLS FILE by Debtor Date CONHDRL4 FILE by Debbor Date Rep LORADRLS FILE by Date USF FILE Sites CUSFLI1 FILE Sites by Mame CUSFLZ FILE Sites by Status CUSFL3 FILE Sites by Number CUSFLS FILE Sites by Disk amp Status CUSFLG FILE Sites By Dist amp Mame CUSFL FILE Sites by Last Cnt Date CUSFL amp FILE Sites by Next Cnt Date CUSFL9 FILE Sites by Fax Mo CUSFLA FILE Sites by Product renan z 0I ISRIE ETI E Dikar has iwin ick 4 gt Cancel The dialog offers removal of objects from the system documentation process based on the name type of objects The selected name type can be removed using the Delete buttons X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page
331. nerate Java to use with Other Databases Suppress try catch Statements in Logic Classes Restore Defaults Apply Cancel Right click on a Screen Component for the context menu and select the Page Designer option as displayed underneath robe Designer option Context menu Program Function CUSTMNT1 Po US TINT LO CUSTMAT 1020 CUSTMAT1 O CUSTMAT1 OO10 CUSTMAT1 0020 CUSTMMNT1 1 CUSTMAT1 1010 CUSTMANT1 1020 CUSTMATI 2 CUSTMAT1 2010 CUSTMAT1 2020 CUSTMNTIR CUSTMNTIROLD E iiil DER d M E E k Alaan Type Seg o OSPF Format Physical File Title I za TOI Screen Source Code 13 2 2FT0e big Function Editor at Preview Designer lil Page Designer R I R 2 FTO1 R I R FFF TO ne Daka Content R I R R I R FTZ ZZFTO2 WBE Screen Actions H Class Diagram TUUS Business Rules eFTOe Component Documenter 2 FTO1 3 Annotate The following screenshot displays the Page Designer window in the Eclipse mode 2015 Fresche Legacy Inc Page 214 Options on Screen Components Page Designer window Customer Detail Maintenance Customers Customer Detail Maintenance Databorough Ltd Customer No Customer Name Statement Account Related Account Tax Reg Bank Bank A c CusGrp Rep Distributor Credit Limit Stl Dsc Cr Guarantee B O Lang Date Loaded Chg Date Last Sale DATA CONTENT Select the Data Content opt
332. new DDL set up DDL conversion Setup dialog with Name DDL conversion Setup Name NEWODODL1 NEWDDL1 node Havigation Metrics Dashboard Regenerated Programs Esl Source Scan S E DDL Modernization Run DOL Conversion Analysis Problem Analysis ia DOL conversion Setup File Analysis Se BNEWDDL ia Modify Conversion Parameters Derived Constraints Ey Run ODL conversion DOL conversion error log al Tables HY Indexes Ey VIEWS B Schema Diagram AE ACHEADOL GOS BCHEADOL kd lt ii gt gt You can delete the NEWDDL1 node by right clicking and selecting the Remove Schema option The option is shown in the following image X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 120 HSA Application Area Remove Schema option Business Rules Consolidated Rules Screen Components Regenerated Programs Esl Source Scan a Ey DDL Modernization Run DDL Conversion Analysis Problem Analysis ia DDL conversion Setup File Analysis A confirmation dialog will appear asking you to confirm the deletion The action removes the node from the Client Ul and the table although the schema library will continue to exist in the database and you must manually remove it The sub nodes are discussed below Modify Conversion Parameters When you double click the Modify Conversion Parameters option the following window is invoked X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 121 Applica
333. nformation for every field in each file in the application database Much of this data is the standard metadata extracted for each file and stored on the XDD file for instance field and column names field size and field type Thus record metadata is readily available for use by other applications The user can invoke the Data Dictionary menu by clicking on the Data Dictionary icon available on the X Analysis toolbar This will show up the Data Dictionary submenu options These options are Data Dictionary menu options oy os da amp EB Entities EA Access Paths 16 Fields Ta Relationships Ton Relationship Details Entities Under the Data Dictionary the first submenu option is Entities On selecting this option the Primary Identifiers view will be displayed This is also the default view when the Data Dictionary is invoked from X Analysis The identification of the correct primary identifier is crucial to the building of an accurate data model The primary identifier is determined by an examination of all the access paths for the file and is verified against the data in the file All the primary identifiers are written to the XPIDS file Data View for XPIDS Data view for XPIDS 2 i Data View for XPIDS d ThE I PF Name PID File Keyi Key Key3 Key4 Key5 Key Key Key8 ASTATUS ASTATUS STATUS tt CNTACS CNILF4 PRECDE STATUS CUSNO CONDET CONDET XWORDN XWABCD CONHDR CONHDR XWORDN CU
334. ng available on the context menu of the entire cross reference an application area or a program The report can be filtered to view only one of the types Changed Removed Matched and also exported to Word PDF Excel The following image shows Business Rule Matching view of application area HORIZON BR Matching window JBR Matching T a o Business Rule Matching Exclusion List for HORIZON in FISGLOXC Show All Category Member Library Old Rul Show Changed Only Changed Show Matched Only Removed Show Removed Only B Matched ODAFO0LE FISGLOKA SIRTPRMIO PRTCODE Promotional_Rate_Code fc ODAFO0LE FISGLOXA DDR TPACT PRTACCT Account found on DD_Pror DDAFO0LE FISGLOXA DDAACTT ATCO ACCT_TYPE_CODE not foL ODAS4O0LE FISGLOXA DDAACTT ATDS ACCT_TYPE_DESC lt gt bla J AmA A ea ETAS AN AmA a ATT Pin i aT aa 4 4 Leat mome Aree es hin il E X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 432 Appendix L Setting Status for Business Rules BUSINESS RULES STATUS CATEGORY The Business Rules Status Category option is present on the context menu of the X Ref library as is seen in the image ahead Business Rules Status Category option X Ref context menu New Application Area Add Alternate Data Library List Reset Library List Application Library List Affinity Comparison Refresh Options Derre Business Rules Import Options Export Options Document Entire Application Document Changed Objects Ree
335. ng Framework X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 411 thst LEGACY Appendix G Troubleshooting Available Software window Installed Software 4vailable Software ype filter text Install Name b 4 bttp download eclipse org technology epp updates 1 0 t _ a http download eclipse org tools mylyn update e3 4 b O a http download eclipse org webtools updates Properties Manage Sites Show only the latest versions of available software Include items that have already been installed Open the Automatic Updates preference page to set up an automatic update schedule If the installed GEF software is below 3 3 its upgraded version will be shown in the list of available software Click the relevant box to install the latest version If the latest version of the software is not displayed click on Add Site The following window will be displayed Add Site dialog Local Location 3 Provide the name of the given site in the Location field http archive eclipse org tools gef downloads drops R 3 3 200706281000 4 Click OK 5 Close the Software Updates and Add ons window and re start the WDSc to view the DFDs X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 412 Appendix G Troubleshooting Note Verify the current location of the installed X Analysis If it is installed on the XA Runtime Environment you must uninstall the X Analysis client a
336. ng libraries Source XAN4CDEMPT Object XAN4CDEMPT 2 Initialize the new application XAN4CDXP 3 To generate the PTF Analysis the first step is to identify libraries as the customised libraries Select the X Analysis application KXAN4CDXC and then select the Customized Libraries option from the Inter Repository Options submenu on the context menu This invokes the following dialog Customized Libraries dialog Library Name Customized Customized Apply Changes Cancel Type in XAN4CDEMCU to the Library text box and check the Customized box Then click Add This adds the XAN4CDEMCU library as the customized library X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 234 Inter Repository Options Customized Libraries dialog Library Name Customized AANACDEMCU W Customized Apply Changes Cancel Now add the XAN4CDEM library as non customized library Type in XAN4CDEM to the Library text box and un check the Customized box Then click Add This adds the XAN4CDEM library as a non customized library Customized Libraries dialog Library Name Customized XAN4CDEMCU W XAN4CDEM x Customized Add Apply Changes Cancel 4 The next step is to select the Generate PTF Analysis option Opt for the context menu on the X Analysis application XAN4CDXP and select the Generate PTF Analysis option from the Inter Repository Options submenu Enter XAN4CDXC in the Base Repository Click OK to sub
337. ngineer Programs Generate Programs Generate Web Services Generate Data Application Data Migration Inter Repository Options Audit Options All the pre set categories of Business Rules Status are displayed on clicking this option The following window shows all the categories X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 433 Appendix L Setting Status for Business Rules Business Rules Status Categories Business Rules Status Category LEGACY Categroy Description i Generated By X Analysis Not Yerified Unit Tested Production QA Wating In Process Covered by Metadata Not Verified Not applicable Assigned Awaiting feature QA Done Complete Applicable Not able to be generated Not assigned shJs x U T Q P Mi L G F D Cc A The existing categories can be edited or deleted by using the right click context menu ona specific category The following image shows the context menu opted on a category Right click context menu opted on a category Description Not Applicable for Endeavor Generated By A Analysis Not Verified Unit Tested z ction EC ae Delete Covered by Metadata Not Verified Not applicable Assigned On selecting the Edit option the following dialog box is invoked X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 434 Appendix L Setting Status for Business Rules Work With Status Category dialog JHJ LEGACY Category T cane In
338. nnotate option invokes a dialog box Provide the required text and click Save The annotation is stored in a table available in the cross reference library Annotation dialog for a program object Annotation for CUSTMNT1 Additional Notes Cancel X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 356 SSS aa yng Object type based Annotation Document Manager The annotations based on the Object type are saved in a table available in the cross reference library Select the All Objects option from the navigation pane and opt for the context menu Then select the Annotation Template option This invokes a dialog box as shown here Annotation Template Object Type Headings Annotation Template From the Object Type drop down select the required object type After that provide appropriate headings for the object type and click Save When you now annotate the specified object type you can see the prescribed heading X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 357 Appendix A X Analysis Offline Appendix A X Analysis Offline The X Analysis Client can also be used to run in offline mode The offline mode of X Analysis is based on the IBM DB2 database X Analysis offline can be used in the following scenario Analysis of PC based application which uses the IBM i Java VB VB Net and PowerBuilder by using XA Open of Fresche Legacy For details on XA O
339. nnotation Structure Chart Normal with Annotation creen Report Layout Normal Source Source Flow Chart Screen Flow Diagram Normal From the above screen the user can re sequence the options selected for System Documentation After re sequencing click Next to reach the final step of documentation wizard Here the user can see all selections that he has made and can also define various options related to document formatting like Paper Size Contention Resolution etc X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 348 Document Manager Select Paper Size and Resolution X Analysis System Documentation Finish Define the Page Size and Contention Resolution Option Selected Sequence Level Settings Application Area OSC Normal Application Area OSC Level 2 Application Area DMD Normal Structure Chart Level 8 LFA4ccess Path details Source Level 5 File Field Details Source Flow Chart Level 5 Object Where Used Data Flow Diagram Normal with Annotation Structure Chart Normal with Annotation Screen Report Layout Mormal SOuUrce Source Flow Chart Paper Size Letter 8 5 x 11 CO A4 Size 8 27 x 11 69 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 ma
340. notation Object Where Used Data Flow Diagram Normal C Detailed Annotation Structure Chart Normal C Expanded C Detailed Depth 5 w Annotation Screen Flow Diagram Normal _ Expanded Program Structure Chart _ Annotation Screen Report Layout Normal Detailed _ Business Rules Export to M5 Excel Summary Detailed a Include Internal Rtn s Source Source level Pseudo Code Flowchart Level _ Business Process Logic Level Cancel The Object List option is disabled in this dialog Choose the options which you want to document from the above dialog If a user selects the Business Rules for documentation then he has the option to get the business rules documented in MS Excel This can be done by checking the Export to MS Excel option If the user selects the Business Rules for documentation with the Summary X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 324 Document Manager option then the basic rule information will be documented if he selects the Detailed option then the logic behind the rule will also be documented If a user selects the Screen Report Layout for documentation with the Normal option then the System Documentation process will print the Screen and the Fields list of individual formats one after the other for all the screen formats If the Detailed option is selected then it will also print the Header information
341. nual 11 0 2015 Fresche Legacy Inc Page 260 qhJS03 Audit Options Refresh Metrics The Refresh Metrics icon performs the refresh function Refresh Metrics icon on Specialized Analysis Toolbar J Specialized Analysis 3 Analysis Metrics for 44640044 Category iReport y un M Date Type Status E RPG Metrics Reports Refresh Metrics Create New Report The user can create a customised report For this the Create New Report icon is available on the toolbar Create New Report icon on Specialized Analysis Toolbar Specialized Analysis 25 Analysis Metrics for XAN4CDXA Category iReport E RPG Metrics Reports Create New Report The following report definition dialog is invoked when the user clicks the Create New Report icon Create New Report dialog X Analysis Metrics Report Specification and Submission Report Name Report Title Report category RPGMET wt Edit categories Application Area All Members Selected Object Name Select Report Columns and Options Metrics YarMame Subr Object and Source ID Data Object Library OBILIE Object Mame OBINAM Object Type OBITYP Object Attribute OBIATR Object creation date OBICRTDAT Object last used date OBILSUDAT Source File OBISRUCFIL Source Library OBISRCLIB Source file change date OBISRCFCHD Zai wnn Cade Adak Show report data at subroutine level Save and Submit Report Save Definition Only X Analysis User Manual 11 0 2015 Fre
342. nverted from language specific syntax into a general format e g MOVE MOVEL ADD SUB etc statements get converted into ASSIGN with proper conversion In case of interactive program the source code gets restructured to extract each logical screen as an equivalent function and related processing logic Thereby each logical screen is recovered as an equivalent function to be converted into JSF Java XAML Silverlight The batch programs are simply converted without any restructuring The restructured code is stored in the X Ref library Service module generation Having restructured the code the process creates procedure based module and service programs with all subroutines procedures converted into procedures For interactive programs the exportable procedures are created for the functions which could be used either from the controller Javabean or from RPG screen controller module Refactoring In this process all the special characters i e or which are not allowed in java literals are replaced with allowed characters to make a valid Java C literal If a special character is used on a PF LF a new LF is created by renaming the fields with the java acceptable names The original file is then replaced in the program with the new file along X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 392 X Analysis User Manual 11 0 Appendix F X2E Specific Features with the new fields throughout the program In case a pr
343. o BE MVCPROCESS Re Engineering E3 Be OE Order Entry B OEDOL Application Area GEDO1 TE ORDERS Order entry System E3 T PLAN Planning System ak PRINT Printed documentation BE SALES Sales System BS TEST X Datatest Example X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 56 HJA Application Library APPLICATION LIBRARY MENU OPTIONS Select the cross reference library and opt for the context menu which displays the following pop up menu Context menu for the X Ref New Application Area Add Alternate Data Library List Reset Library List Application Library List Affinity Comparison Refresh Options Derive Business Rules Import Options Export Options Document Entire Application Document Changed Objects Reengineer Programs Generate Programs Generate Web Services Generate Data Application Data Migration Inter Repository Options Audit Options NEW APPLICATION AREA X Analysis creates an application area from part of one or multiple systems It is possible to programmatically subdivide an application into logical modules or areas For more details refer to the Application Area section ADD ALTERNATE DATA LIBRARY LIST The library list changes accordingly when you select a cross reference library This library list contains cross reference library data library QGPL QTEMP and XAOBJ When you select the View Data option on a PF or LF then data is displayed from the data librar
344. ocel s s o o o o x NO x NO Generave Busimess RUS 2 xNO NO ioe elke OK SIRS aS o o o o o o x NO x NO Include obsolete source object SINC Ne X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 17 HIS Configure Cross Reference Library Bottom F3 Exit F4 Prompt F5 Refresh F12 Cancel F13 How to use this display F24 More keys You can change the default job queue QBATCH by changing the job description for XAOBJ XAN4 Use the following command to change the job description WRKJOBD JOBD XAOBJ XAN4 You should also change XAOBJ XDMJOBD as this is used by Option 13 Build Data Model on X4WRKAPP for XA4MODEL command Press ENTER to submit a batch job which executes the initialization steps Feature Brief Description X Analysis Library The X Analysis cross reference library name Object Libraries Special value SPECIFIED is selected by default It means that X Analysis will retrieve all object libraries you have previously specified using Option 8 Source Libraries Special value SPECIFIED is selected by default It means that X Analysis will retrieve all source libraries you have previously specified using Option 8 Index Source Files Specify whether or not to create indexes over the source files These indexes will allow the immediate display of where used data They may be required for the generation of the data model depending on which options are taken If the indexes are not built now t
345. ocess DDL Export confirmation dialog BOL export might take a while YY Do you want to proceed After the process is over X Analysis displays a successful message dialog l DDL Export completion dialog X Analysis yo Data Model Diagram successfully exported to DDL File JJ sAM4CEAALLALLALLE ddl in Application Folder R To view exported DDL statements select menu X Analysis gt Open Application Folder The generated DDL file is listed in this folder Application Folder displaying DDL File PCF _XAN4CDXA File Edit View Favorites Tools Help ae e Back p la Search gt Folders aes x ic HEE Address D Program Files Databorough Analysis 192 168 170 10 PCF X4N4coKG ha 0 AOM4COX4ORDERSALLALLE ddl DDL File 33 KB DDL is plain text and human readable so you can view the file in any text such as Notepad The snippet of the DDL statement generated is displayed below X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 304 Sa yng Exporting amp Printing DDL File in Notepad E XAN4CDXAALLALLALLE ddl Notepad File Edit Format View Help H Date Description Language for Generated using z DDL Format i Date of Generation CREATE TABLE ASTATUS STATUS char 1 NOT NULL SISIXI char 30 ji FALTER TABLE ASTATUS BANS CORA Analysis Version 9 1 28 Generic Jan 4 2011 11 13 54 ADD CONSTRAINT ASTATUS keys PRIMARY REY STATUS 5 CREATE TABLE CNTACS
346. ocument Header Information Annotation This includes Parameters and Windows information iF any Data Content Screen Actions Screen Design Normal Detailed Residual Logic Level Business Rules Summary Detailed Export to M5 Excel Cancel The user can select various options as per requirement from the Wizard Screen ll The options available are Header Information This prints the function header information from the screen design It also prints the parameters and windows information for the selected screen component Data Content This prints the data content diagram for the selected screen component X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 368 Appendix C Component Documenter Screen Actions This prints the screen action diagram for the selected screen component Screen Design Re engineered Screen This prints the screen design re engineered screen for the selected screen component It has got two sub options Normal and Detailed The default option is Normal When the Detailed option is selected then the Field Details for the associated screen formats are also printed Residual Logic This prints the business process logic for the re engineered screen Business Rules This prints the business rules for the selected screen After making the appropriate selections click Next which displays the following screen Com
347. ogram contains a Display Printer File and that file contains special characters in field names a new file with the same name is created in X Ref library The newly created file contains java compatible field names and the necessary changes due to renaming of fields and record formats are reflected in RPG program The data structures except PSDS INFDS and Externally described DS the Java generation takes care of it suitably too are converted to standalone fields and the additional code to reflect the operation on DS subfields on all its individual converted standalone fields gets added in the generated procedure based module The assignment of compile time data to the corresponding arrays is also done from the initialise procedure The conversion on the keyed data structures and Eval Corr operations is also done in Java acceptable format In the case of EXCUSRSRC no refactoring and service module generation takes place However in order to handle special characters the process replaces the special characters in the field names source code of the specific program as stored in one of the cross reference files Reengineer 2E programs The X2E reengineering process refers the 2E model files to extract various details about the functions fields files access paths conditions etc This information is then held in the various cross reference files created for the purpose Once the basic information is extracted the action diagrams of
348. olumns option E dt ntT an 0 E Business Rules For CUSFMAINT Number of Lines 10 E Configure Col Source Member Rule Number Field File Rule CUSFMAINT 00004 CUSNG CUSF Z Source Member CUSFMAINT o0002 CNAME CUSF d Rule Number must enter CUSFMAINT 00003 TELNO CUSF Field CUSFMAINT 00004 FAX CUSF File CUSFMAINT 00005 DSOCDE CUSF Rule CUSFMAINT 00006 DSOCDE CUSF Message ID CUSFMAINT 00007 STATUS CUSF Sts lt gt blank f Rule Status CUSFMAINT 00008 USERNM CUSF Contact blar Rule Status Comment CUSFMAINT oo000 SALUT CUSF Salutation lt gt f Annotation CUSFMAINT 00010 CUSNO CUSF Customer 0 Width of selected column 100 There are various buttons for filtering the display of business rules The rules are filtered based on whether they are Exportable Rules Update Rules or Excluded Rules These three filters have toggle behaviour Business Rules window Filter oe EA Business Rules 2 5 ie T of Business Rules For CUSFMAINT Number of Lines 10 Source Member Rule Number Field File Rule CUSFMAINT OOU01 CUSMO CUSF Cus Mo not Found on Sites CUSFMAINT Oo002 CALGME USF Company blank An additional option Filter by Rule Status has also been provided to filter the rules on the basis of their status Make the selection from the list of Rule Status in a drop down menu 2015 Fresche Legacy Inc Page 430 Joa Bue w Show All Alo Status Le Complete O4 Done Assigned Mot applicable fee eg E E E
349. om the Application Area Diagram AAD details for selected Application Area rea Diagram i ZAN4CDXA E s J am Brash iM Wn Go ie MOREL H TiS Se Ah VES PRS bape eae G K marak De Sina a PA ETAN _ Te aie Set TE AAD Details 2 an Application Area Diagram details For SAM4COWA Application Area Rel Application Area Type Object Count ACCOUNTS COMHOF Referred File ACCOUNTS LONLUPD Referred File ACCOUNTS CUSFMAINT Referred File ACCOUNTS CUSTOMERS Referred File ACCOUNTS DATATEST Referred File ACCOUNTS DEC16 Referred File ACCOUNTS MYCFPROCESS Referred File ACCOUNTS OE Referred File me ote Po ote E 2015 Fresche Legacy Inc Page 130 Application Area Diagramming AREA FLOW DIAGRAM The Area Flow Diagram AFD can be generated for an individual application area Select the Area Flow Diagram option to display programs and files in an application area along with the relations among them The default selection is on the file having the most referring programs The following screen displays the AFD for the application area MVCPROCESS Area Flow Diagram for MVCPROCESS io Application Area Diagram fr Area Flow Diagram lt m Area Flow Diagram for M CPROCESS Total Objects 30 m i e WEKCUSL SLMENSEL STOMASEL CUSTSSEL C WWCONDET Customer Letter Salespersons Store Waster Customer Selection Work with Order Selection Selection Details WKCUSLY lt
350. on offline IP address i e 127 0 0 1 or localhost The default DB2 port is 50000 User Interface Specify language for the X Analysis user interface The default language is English Begin with Outline Specify appropriate settings for the Outline Pane View Pane The default option is unchecked which means that the Outline Pane will not be 2015 Fresche Legacy Inc Page 44 Using X Analysis Client displayed automatically The outline or any other view will be displayed only when asked for Detailed DFD by default Check this option to invoke detailed data flow diagram as default Show Re engineered Screen for Screen Report layout Check this option to view the re engineered screen for Screen Report layout When not selected the Screen Report layout shows the green screen display This is the default setting Ignore Linked Repositories if any Check this feature to ignore linked repositories The default option is unchecked Open Called Procedure Program source in same tab Uncheck this option for not opening Called Procedure or program source in the same tab The default option is checked Open Data Flow Diagram in same tab The default option is checked Uncheck this box to force any DFD selected from within another Data Flow Diagram to open in a new editor Currently such DFDs are drawn on the same editor Use Business Rules Overlay mode as default Check this option to set the Business Rules Overlay mode as default U
351. onsolidated Rules from Window gt Preferences gt X Analysis for full activation of these features The user can set comment and or change the rule status for any rule Select the right click option Change Rule Status to for directly changing the rule status A list of such possible status is already provided and is shown in the image below Business Rules window List of Rule Status Fad Business Rules 3 AE TET eaaAa H B a Business Rules for CUSFMAINT Number of Lines 10 Source Member Rule Number Field File Message ID CUSFMAINT o0001 PCUSMO CUSF ie heat CUSFMAINT odz CNAME USF Annotate CUSFMAINT odda TELMO USF Rule Status Manager COSI jo Status Change Rule Status to CUSI CUSI A cus complete Variable Where Used CUS G4 Done CUS Awaiting Feature CUS Applicable Mot able to be generated Not assigned Matched Rules Convert to Exportable Accionse Show Hierarchy Mok applicable Covered by Metadata Mot verified Mot Applicable For Endeavor In Process gA Waiting Production Unit Tested Generated By X Analysis Mot Verified The user can view the history of how the rule status has changed through the Rule Status Manager option available on right click on a rule The following image shows the Rule Status Manager dialog X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 428 Ths Appendix L Setting Status for Business Rules Rule Status Manager dialog Rule Status Manager x
352. operties ae persistence xr E IRE System Library eclipse E Referenced Libraries E conf H META INF 4 WebContent fab build properties 2 build xml You can also generate the Silverlight C project Here the recovered screens are generated using Silverlight and the code behind business logic is in C INTER REPOSITORY OPTIONS X Analysis provides an option to compare database files across two cross reference libraries The options available are as under Generate Difference Analysis Generate PTF Analysis Display Difference Analysis PTF Analysis Customized Libraries Manage Linked Repositories For detailed description refer to the Inter Repository Options section X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 73 HJA AUDIT OPTIONS X Analysis provides the following Audit Options For detailed description refer to the Audit Options section WorK WITH MULTIPLE LIST OPTIONS Metrics Analysis Screen Metrics File Metrics Business Process Logic Metrics Specialized Analysis Problem Analysis Object Allocation Database Summary Summary Report Initialize Source Archiving Generate Metrics Analysis Edit Problem Categories Generate Problem Analysis Application Library X Analysis facilitates the users in working flexibly and methodically by generating multiple lists Under an application library double click on these nodes Files Programs or All Objects to invoke the Work with Obje
353. option Also then all exports will be in MS Word document Paper Size o A4 The A4 option is checked by default It implies that the print paper size will be A4 o Letter Choose Letter as paper size for printing Google Drive Export o Allow Export to Google Drive as DOCX Check this option to allow Google Drive export in the DOCX format o Allow Export to Google Drive as XLSX Check this option to allow Google Drive export in the XLSX format Program Structure Chart o Default View Level Program Structure Chart can be displayed up to 20 levels Select appropriate level The default level is 13 Variable Where Used X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 50 Using X Analysis Client o Default View Level Variable Where Used can be displayed up to 6 levels Select appropriate level The default level is 1 Object Where Used o Entry Level References The Entry Level References need to gather information about calling program and then in turn calling program of calling program This setting specifies the number of maximum recursions made while querying for the calling program The default level is 7 Default Source Editor o LPEX LPEX editor is checked by default for IBM Rational products having RSE plugin It implies that the source member will be displayed in LPEX editor for editing purpose o 5250 Emulator 5250 Emulator is the default option for non RSE plugin It implies that the source
354. or the dropins folder or create one if it does not exist Copy the file as in 3 above to this dropins folder 5 Copy a shortcut to RDP to desktop Right click the shortcut and select Properties At the end of the Target text box append clean 6 Start RDP using the new shortcut X Analysis should be visible as one of the perspectives The UML plugin cannot be installed from within Rational 8 5 as the underlying Eclipse Modelling Framework required for these plugins does not match those which Rational has inbuilt The new version of EMF no longer supports the UML2Tools plugins that are supplied with our UML Support msi X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 424 Appendix K Use SSL feature Appendix K Use SSL feature The X Analysis Sign on dialog is equipped with the Use SSL feature The feature has been introduced as a means to transfer data in a secure manner The box is unchecked by default Check the box to enable the feature while working with X Analysis The following screenshot shows the dialog X Analysis Sign on dialog Host Name 192 168 721 102 Username SKHAN Before using this feature you must follow the given steps to establish the SSL connection 1 Choose the X Analysis drop down menu from the X Analysis toolbar and click on the Install SSL CA certificate feature The selection is shown below X Analysis drop down menu Install SSL CA certificate feature
355. ors and operands used X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 243 Audit Options 8 Maintainability Index The maintainability index is calculated with certain formulae from lines of code measures Cyclomatic Complexity and Halstead complexity measures 9 Files Total number of Files used by the source member 10 Device Files Total number of Display and Printer Files used by the source member 11 Called Programs Total number of called programs from the source member 12 Calling Programs Total number of calling programs from the source member Note The Cyclomatic Complexity Halstead and Maintainability Index columns in the Metrics window display the average count This can be seen in both the Group Total and the Grand Total The conventions that are used for processing Cyclomatic Complexity Halstead and Maintainability Index are given below Cyclomatic Complexity This is simply a count of the number of decision points and exit points in a module In RPG this would be a count for each subroutine or procedure plus mainline of how many statements have these operation codes FXX ELSEIF DOW DOU CABxx WHxx CASxx FOR Halstead measures These are five different measurements based on formulas applied to four different values obtained from the code again for each subroutine n1 the number of different op codes in the subroutine n2 the number of different variables or
356. ote Systems Run Debug Server Service Policies Tasks Team Usage Data Collector Using X Analysis Client X Analysis Preferences Analysis General X Analysis Preferences IP Address User _ Case sensitive or greater than 10 character Password Offline Mode Specify the DB2 port number in order to access offline A Analysis cross reference DB Port 30000 i _ Begin with Outline _ Detailed DFD by default _ Show Re engineered Screen for Screen Report layout J Ignore Linked Repositories if any Open Called Procedure Program source in same tab Validation Open Data Flow Diagram in same tab dane _ Use Business Rules Overlay mode as default Web Service y _ Use Source buffering Analysis XDoclet _ Allow editing in Consolidated Rules ML Show only Objects in Metrics Restore Defaults Apply Here is a detailed look at the X Analysis Preferences for the X Analysis Plugin X Analysis User Manual 11 0 IP Address Specify the IP address of the IBM i on which the X Analysis server components are installed User Specify the username to sign on to X Analysis Case sensitive Password If the IBM i server is configured for case sensitive passwords i e QPWDLVL is 2 or 3 and then check this option For QPWDLVL on the IBM i as 0 or 1 leave it unchecked The default option is checked DB2 Port Specify the port number for the DB2 instance where DB2 services must be running DB2 Port will be enabled
357. ove and also SAVSYS special authority For the Source and the Object libraries specified during setup The profile used requires object operational OBJOPR authority to all programs and files in these libraries The profile also requires execute EXECUTE authority on all of these libraries For the X Analysis cross reference library The profile used must have full rights to this library If you do not use the QPGMR profile you must make sure the profile used has ALL rights to all objects in the supplied X Analysis libraries For details refer to Initializing X Analysis doc X Analysis release 10 x onwards is digitally signed 2015 Fresche Legacy Inc Page 12 THUS Configure Cross Reference Library Configure Cross Reference Library Before the X Analysis Client can be used the cross reference library i e the application repository has to be built The initialization process takes care of the setting up of the cross reference database This chapter presents the steps specific command screens and the command keys for building a cross reference library WORK WITH X ANALYSIS FOR APPLICATIONS On the IBM i type the X4AWRKAPP command and press ENTER X4WRKAPP command screen X Analysis 4 Work with X Analysis 4 Applications Databorough Ltd XARWKAPP 12 58 51 E ZC Enter options press Enter 1 Authorities 2 Change 3 Copy 4 Delete 5 Display 7 X A Log 8 Libraries 9 Variable Calls 10 App are
358. owser provides a number of additional features It allows you to browse another source and also continue with another zoom on reaching there Further you can traverse to the previous screen from where the zoom was issued Source Browser View Se Object List Es CONDO E3 E Source List of CONOO1 in XAN4CDEM QRPGSRC Lines 271 Yiew Leve 5 A E B aAA P E p AEiG Seq No ane Sen ee oo a ec ie eel 0019 00 I 244 253 Uma o020 00 I nine oO Larrea eee eee eee TTT TTT TTT AAA OOe2 00 C Receive Parameters 0023 00 T ENTRY PLIST 0024 00 i PARM HERTH 1 0026 00 G Until Fa O027 00 i INOS oUt 1 0025 1 i t ti ao X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 135 SSS aa yng X Analysis User Manual 11 0 Quick Reference to an Object Note the following on this view When the Source Browser invokes then the cursor is positioned to the beginning of C specifications for RPG RPGLE programs and Procedure Division for COBOL programs Double click on the line performs Member cross reference or Object Where Used depending on whether Object Variable is available on that line Preference is given to the Member cross reference option in case it is a Program On Physical Logical Files Global Where Used is performed for the field on that line for that file Use of Templates by the Source Browser The source browser uses the extension of any PGM file to determine its type for e g the attrib
359. pe The Derive Business Rules option on an individual program calls the XBIZRULES command This command uses the X Analysis databases to re engineer all relevant functionality from a legacy program The extracted code comprises the following Validations Batch Program Calls Secondary File Updates Non owner File reads X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 224 Business Rules Analysis The Derive Business Rules option on an individual PGM object invokes the following dialog Derive Business Rules dialog Derive Bus Rule Source Member Source File Source Library Source Type s Rev Library Analysis Lib The process involves identifying certain key components of the program including message statements return codes and validation flags Then the significant update files are identified After the process is over the program is scanned for statements which represent any of the above logic types These statements are written to the file XEXTRGLINS the Trigger Lines file which is then used to produce the required output The Derive Business Rules option for the entire application or a single application area calls the XGENBRULES command Derive Business Rules dialog on an Application Area Derive Business Rules Eg This command will identify the business rules logic in each program in the application over which the specified cross reference database has been built A source membe
360. pen refer to the XA Open User Manual X ANALYSIS OFFLINE PREREQUISITES Ensure that your environment meets the following requirements IBM DB2 Express C must be installed Set X Analysis Preferences o Before connecting the offline X Analysis you need to specify the DB2 port number in the X Analysis Preferences settings in case different from the default port number 50000 XAN4CDXA Configurator can be optionally run to setup the demo application XAN4CDXA X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 358 JHJ LEGACY type filter text General Ant Data Management Help Install Update Java JavaScript JPA Plug in Development Remote Systems Run Debug Server Service Policies Tasks Team Usage Data Collector Validation Web Web Services A Analysis ADoclet AML Appendix A X Analysis Offline X Analysis Preferences Analysis General A Analysis Preferences IP Address 192 168 170 10 User l _ Case sensitive or greater than 10 character Password Offline Mode Specify the DB2 port number in order to access offline A Analysis cross reference DB2 Port v Begin with Outline Detailed DFD by default _ Show Re engineered Screen for Screen Report layout Ignore Linked Repositories if any Open Called Procedure Program source in same tab Open Data Flow Diagram in same tab Use
361. play Product Display Product Sites by Organisation Sites by Name Input Field Input 1 Fel No Attributes No Attributes 0 PRPCDE Product Code PRPCDE Product Code BE WF BE NUR vies Pains i Sites by Stat Sites by Numb CAIDPTIPER AUDIT Work with Customer Sites Work with Customer Sites na a Audit PTYPES file Audit LISTS File No Attributes No Attributes Y UpdOut 47 Fields Upd0ut 47 Fields Input Fields Input 2 Fields m i a ADDI A l ADDI A l a CNAME Company 0 CHAME Company 190 Ad rie ano Ad Fl CUSNO Cus No LSLCDE Orig List Code a j S F 0 ADDG Address 3 0 ADDS Address 3 Sites by Dist 8 Status Sites By Dist 8 Name 0 PRPCDE Product Code 0 ADD4 Address 4 0 ADD4 Address 4 No Attributes No Attributes 0 ALTTEL Alt Tel No 1 0 ALTTEL Alt Tel No 1 i 0 ALTTL2 Alt Tel No 2 0 ALTTL2 Al Tel No 2 ZAUDORGS CUSREAD a Audit ORGS Fl Test Sequential Read options APDATE Next Contact fe APDATE Next Contact UFU FLG i Date Date Sites by Last Crt Date Sites by Next Cnt Date Input 2 Fields Input 1 Field rer chi o Attributes o Attributes S CNAME Company CLSNO Cus No a CMMNTI eae Ne 3 CMMNTI una ORG Organisation a CMMNT Comment Line 8 CMMNTZ Comment Line 2 CHMNTS Comment Line 3 ii a 1 v CMMNTS Comment Line 3 X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 167 X Analysis User Manual 11 0 Program Logic Documentatio
362. ponent Documentation Wizard Screen Ill X Analysis System Documentation Specify Sequence what sequence would vou like to have For the System Document Screen Components Header Information Data Content Screen Actions Screen Design Residual Logic Business Rules Summary Click Next which displays the following screen X Analysis User Manual 11 0 2015 Fresche Legacy Inc Cancel Page 369 Appendix C Component Documenter Component Documentation Wizard Screen lV X Analysis System Documentation Finish Define the Page Size and Contention Resolution Option Selected Sequence Level Settings Screen Components Residual Lagic Level 4 Header Information Data Content Screen Actions Screen Design Residual Logic Business Rules Summary Paper Size Letter 8 5 x 11 A4 Size 8 27 x 11 69 Contention Resolution System Documentation creates documents in Application Folder IF the Application Folder is shared and documents are createdfopened while the documentation is in progress then this may lead to contention Please select appropriate options bo enable resolution Do not overwrite Overwrite if exists but if in use then Create document by similar name O Exit Skip document creation Here you can see all selections that he has made and can also define various options related to document formatting like Paper Size and Contention Resolutio
363. pped value is NO Synon Field Mapping Fix The X 2E reengineering process maintains the field mapping data in X 2E databases The value in the XS2EFIEFIX data area will be set to YES if the reengineering process manages to fix both external and internal Synon field mappings successfully By default the XS2EFIEFIX data area is set to NO Synon EXCUSRSRC Function The residual logic is a high level view of a Synon program The X 2E feature allows the user to merge the user source invoked by EXCUSRSRC function into the Synon program to present a complete view of the residual logic By default this functionality is always available and the XSZ2EMRGEUS data area is set to YES If it is changed to NO then the X 2E process will not merge the user source into the Synon program Synon Debug Data This X 2E feature allows the user to maintain the Synon debug data in the XS2EDEBUG file in the cross reference library To enable this feature the user needs to change the value of the XSZERUNDBG data area to YES By default the data area XS2ERUNDBG is set to NO Synon Consolidated RTVCND Values The X 2E reengineering process creates the RTVCND values in the XS2EYYCNDX table This is a special feature which works only when the user sets the value of the XSZEYYRUN data area to YES By default it is set to NO Synon Prototype Library By default the Synon base product library is set to Y2SY for the various X 2E functionalities I
364. ption License Manager New DB 400 Connection New DBZ Connection Mark all for Docurnenter Change Application Folder Open Log Folder Open Application Folder Report an Issue Install SSL CA certificate The Authentication URL using the Client ID and Secret will be automatically generated 11 The Google Authorization window will appear Sign in with your gmail id and password Google Authorization Sign in window htt ps accounts goog le co m o oauth2 a uth access _ty pe on li ne amp approva E prompt a utoBc lie nt id 0077935 57 Googl s Sign in with your Google Account Authorize and copy code Mamail com Paste code from Web Browser E 12 After sign in the following window will appear X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 446 Appendix M Export to Google Drive Google Authorization window https accounts google com o oauth2 auth access_type online amp approval_prompt auto amp iclient_id 1007793397 CS XA Project would like to 3 View and manage the files and documents in your Google Authorize and copy code Drive By clicking Accept you allow this app and Google to use your information in accordance with their respective terms of service and privacy policies You can change this and other Account Permissions at any time Paste code from Web Browser Click Acc
365. quiry Product Enquiry Referred Files Referred Files The following image shows the expanded view of the Legend X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 182 Ths Program Logic Documentation Legend expanded e Object List rh OEMENU 2 o Hierarchical Structure C EMENU Total Objects 14 F H aa M Update yy o OEMENU Display Order Entry Menu Print Referred Files E input Output Command Others oO OE002 B OE003 Internal Routine Order Enquiry Product Enquiry Bo ee Referred Files Referred Files 1 E Trigger IO koe T O oow_ Module t The description of the HSC Legend is as follows Update This depicts the program that updates a file Display This depicts the program that uses a Display file Print This depicts the program that uses a Print file Input This depicts the program that uses an Input file Output This depicts the program that writes to a file Command This simply depicts a Command Others This refers to the Programs where they are referring to a file which is not Update Display Print Input Output Internal Routine This refers to the Synon specific routines Indeterminate This depicts the programs where the usage cannot be programmatically determined Trigger This depicts the program which is a Trigger Module This depicts the program which is a Module X Analysis User Manual 11 0 2015 Fr
366. r De Prototypes D iRead Diz conden D zreadparms D tUpdate D zcondetu D zupdateparms D tWrite D zcondetw D zwriteparms D t Delete D zcondetd D zdeleteparms Exporting amp Printing like zrecord like zrecordcpy likeds zsdata likeds zsdata likeds zsdata likeds zsdata likeds zsdata likeds zsdata likeds zsdata likeds zsdata Note the various sub procedures defined for Read Update Write and Delete in the service program are displayed above The user should call the appropriate sub procedure to READ UPDATE WRITE DELETE the record There is one parameter a data structure which includes a before and after image of the database record plus the fields in the copybook member ZSHEADER Keys are passed in the before image ZOLDRECORD and data is returned in the after image ZNEWRECORD Currently only one field is used from ZSHEADER ACTION The copy book member ZSHEADER inuser indate intime action entrypoint rtamsgtp rtnmsg rence uds ia ieiglie leks rtnupdbuf rtnnewfun OOS zworkfids zwfnames zwftypes Supt lds comb d s Clr d gt D D D D D D D D D D D D D D D D D D X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 313 enace hes selact SUOacrs calltype X Analysis User Manual 11 0 2015 Fresche Legacy Inc Exporting amp Printing Page 314 Document Manager Document Manag
367. r all objects marked for documentation in the Application Area 2 Generate individual documents for all object marked for documentation in the Application Area 3 Generate System Document using previous values for the Application Area X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 329 Document Manager Document Application Area Single System Document Select the Generate Single System Document option as displayed below Single System Document Type and Location X Analysis l Bx 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 For each object marked For documentation System Documentation type O Generate Single System Document Generate Individual System Documents Document Details Document Title System Document For SAN4CDNA 4oplication Area MYCPROCESS Mame System Document for sAM4CDsA Application Area MYCPROCESS pdf C Documents and SettingsialakhiMy Documentsis Analysis Application Data19 168 170 10 PCF 4ah4Cor 4a system Document For ANATOA Application Area MVCPROCESS pdf Cancel To change the default document name and path click Browse to specify new document name and path The default location is lt Application
368. r containing the business rules logic and narrative describing each rule is generated for each program This is achieved by invoking the XBIZRULES X Model command for each program in the application X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 225 Business Rules Analysis VIEW BUSINESS RULES X Analysis can display Business Rules automatically using the generated index X Analysis allows the display of the source member for any program in the application When the source member is displayed click the Source Options drop down menu and select Business Rules to see the business rules logic highlighted within the member You can immediately see the business logic within the context of the program as a whole Source Code of CUSFMAINT e Object List Be CUSFMAINT 23 H Source List of CUSFMAINT in XAN4CDEM QRPGLESRC Lines 330 Yiew Level 5 A E BHBE F W B OG ia amp amp w Normal Source Code eee ee ee oe ee ne ee ere Indented Source Code HARADA EATER ETAT ETT PTAA TAPP Business Rules Overlay Mainline Code P EE Cai a a a a ee ee a a ee ee ee r r Consolidated Rules Retrieve record Business Process Logic cusno chainlel rcus 005s 00 i 1E not found cusft1l3 0060 00 ii eval inlr on b lt ti gt The following window is invoked X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 226 JHJ LEGACY Business Rules Analysis Business Rules for CUSFMAINT te Programs CUSFMAINT amp E
369. rProxysettings Less Details java lang UnsatistiedLinkError getbrowserProxysettings at sun plugin net prose iw VWiExplorerProayC ontig qetbrowserProxys at sun plugin net proxy WExplorerProgontig gethrowserProwiny at sun plugin net proxy PluginProayvhanagerreseti Unknown Sour at sun plugin AppletiewerinitEnvironmenti Unknown Source at sun plugin AppletiewerinitEnvironmenti Unknown Source 1 Go to the Control Panel Double click the Java Plugin This opens the Java Plug in Control Panel Go to Proxies Panel The Proxies panel looks like this Java Plug in Control Panel amp Javai T Flug inm Control Panel w Use Browser Settings Uncheck the Use Browser Settings checkbox Click Apply and close the Java Plug in Control Panel 2 Start XA again X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 410 ths Appendix G Troubleshooting DATA FLOW DIAGRAMS ARE UNAVAILABLE Sometimes the available version of the Graphical Editor Framework may not be compatible with what is required for the new feature Perform the following steps to begin viewing the Data Flow Diagrams 1 Onthe WDSc go to Help and select Software Updates This will display the list of the installed plugins as shown below Look for the Graphical Editor Framework and cross check the version number The following image shows the Software Updates and Add ons window List of installed plugins Installed Software Av
370. rams Modules and Service Programs Boxes other than the subroutine boxes are of the size of program element as on the Structure Chart X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 185 Program Logic Documentation Program Structure Chart e Object List E oeoo i E Program Structure Chart for OEOO1 Total Objects 6 i Al 4 7 OE001 Order Entry CUSLET Customer Letter Stage 1 ERYCUS ORLNS VALID CRORD The menu options and context menu options on the PSC work the same way as on the SCD except for the Zoom Source option If there is no Main Procedure and only sub procedures exist then the PSC displays each sub procedure s PSC independently one after the other If no sub procedures exist then the PSC only displays the program Legend Legend M Subroutines Procedures There are two colors in the PSC Legend White depicts the calling Programs or Modules Gray depicts the calling Subroutines or Procedures OVERVIEW STRUCTURE CHART OSC The OSC gives a snapshot of an application displaying all entry points to the application The details of all the mainline entry level programs are displayed which give an idea of the modules and sub modules present in an application The Overview Structure Chart node is available under the cross reference library node and application area s node Double click the Overview Structure Chart node to display the following dialog X Analys
371. rary On selecting Reset Library List the Library List is modified by removing the Alternate Data Library ies from the user part of the Library List and restoring the original Data Library ies to the user part of the Library List The Reset Library List option gets enabled only when the Select Alternate Data Library List option is selected from the right click menu of the Alternate Data Library List Application Library List The Application Library List is used to view update the list of object and source libraries for the selected cross reference The facility is provided to allow you to add or remove any library or even change the sequence number However you need to re initialize to see the effect after changing the application library list To view change the application libraries opt for the context menu on the application library and select the Application Library List option The following dialog is displayed X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 60 X Analysis User Manual 11 0 Application Library Application Library List dialog Application Library List x Text Object Libraryis Source Libraryis XAN4COEM SAMIC DEM Library Mame Type The Application Library List dialog displays the list of libraries for the selected cross reference library You can add new libraries to the existing cross reference library list Provide a valid library name in the Library Name text box Then choose the appropr
372. rary List menu options 192 168 170 10 ih XANACDXA XANACDEM Tutorial System H TEST 1 Alternate Data Library in Applica Work with Alternate Data Library List xt Datal Select Alternate Data Library List im Overvi Remove Alternate Data Library List e All Objec X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 58 Application Library Add Data Library ies to the Alternate Data Library List To add data library ies select the Work with Alternate Data Library List option from the right click menu of the Alternate Data Library List The Work with Alternate Data Library List invokes the following dialog Work with Alternate Data Library List dialog Add Alternate Data Library List TEST1 Fill in the name of the data library as desired and click Add To List This will add the data library in the Library section of the dialog You can add more data libraries in the similar manner The Work with Alternate Data Library List dialog provides the following options for the libraries added Move Up moves the specific library name to a higher position in the list Move Down moves the specific library name to a lower position in the list Delete removes the library name from the list OK proceeds to the further process and closes the dialog box Cancel closes the dialog box Select the Alternate Data Library List The Select Alternate Data Library List option is use
373. ration CLETN OOO1L OU FGM PARM lt amp CUSNO amp PREF DS ELCLETSI CLETN OO03 00 DCL VAR i CUMO TYPE DEC LEN S QO CLETN 0010 00 CALL LETNI amp CUSNO PREFIX amp LLETaQ ka lt it gt View Levels The Variable Where Used view allows up to six view levels The Default View Level icon is located on the X Analysis toolbar and the menu allows access to six levels of Variable Where Used information Expanded View Level Menu iA variable Where Used cs t fal x eg Ei k 7H Variable Where Used for ALLICUSNG Lines 184 view Level Levell w Levell Name SC a eer Level eae CBCUSTSD 0270 00 4 Ee bevels XANACDEM CU CBCUSTSD 0383 00 A ZCUSNO E Lv4 Parameters MANACDEM CT CLET 0004 00 DCL VAR sCUSNO TYPE L 5 Cascading Parameters CLET 0009 00 CHGVAR CUSNO sCUSNC Maximum Tracking CLET 0010 00 CALL LETN1 sCUSNO PREFIX LETSu CLETN 0001 00 PGM PARM amp CUSNO PREFIX sLLETSQ KA i it gt Higher Variable Where Used levels can be requested using VWU Levels The Variable Where Used levels display the following information Level 1 Direct references to the field Variable Where Used Level 1 View SA ariable Where Used 3 im Al Ra Ei 7H ariable where Used for ALL CLISNO Dnes taa tien ere eeN CBCUSTSD 2CSNo R CBCUSTSD ZCU NO R 0 19 22REFFLD CUSNO MANACDEM CUSTS CLET i VAR amp CUSNO TYPE DEC LEN 5 O CLET CHGVAR amp CUSNO CUSNC CLET CALL LETN sCUSN0
374. rce Editor Loex 5250 Emulator Others Number of records to display 1000 Restore Defaults 9 Click the Preferences gt Advanced tab The following window will be displayed Provide the saved Google Client ID and the Google Client Secret in the specified fields X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 444 Appendix M Export to Google Drive Advanced Preferences window JHJ type filter text Advanced LEGACY General Advance Setting Preferences Ant Data Management i Help t Work with Objects Install Update t Subset Data a gt Search Settings JavaScript eau oe JPA Plug in Development t Document Generation Remote Systems Diagram Export Run Debug t Synon Data Flow Diagram Server n EEE Database Lanquage Translation No Translation requiret w Service Policies Tasks Google Client ID Team Usage Data Collector Validation Web Web Services A Analysis Advanced Folders Google Client Secret General X Data Test X Redo ADoclet a i a YML Restore Defaults 10 Click Authorize Google Drive from the X Analysis drop down menu X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 445 Appendix M Export to Google Drive X Analysis menu Authorize Google Drive o
375. reference application are then grouped based on complexity and then on type of function 2 Units Shows the number of functions in the group 3 Files Total number of Files used by screen function 4 Database Fields Total number of screen fields which are read from database fields 5 Work Fields Total number of work fields in the group 6 Outgoing Calls Number of functions called by this function 7 Incoming Calls Number of functions calling this function 8 Function Keys Total number of Function key based actions called by functions in this group 9 Conditioning Fields Number of fields on which there is a conditioning logic X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 251 Audit Options Screen Metrics toolbar The Screen Metrics toolbar comprises various options which are discussed below Toolbar available on Screen Metrics window J Screen Metrics E3 E Screen Metrics for XAN4CD A E M a A Screen Metrics Settings The user can set the Screen Metrics settings as per the requirements Screen Metrics Settings button on the Screen Metrics Toolbar IE Screen Metrics 3 E Screen Metrics for XAN4CDXA Ha A Complexity Level Units Files Database Fields Work Fields Outgoing Calls E Grand Total 88 131 664 324 Click Screen Metrics Settings to invoke the associated dialog Screen Metrics Preferences dialog Screen Metrics Preference Setting Files Database Fields Work Fields Ink Calls Fu
376. remains the same Structure Chart Diagram for WWCCONSC when Application Area is selected e Object List WWCCONSC 3 Structure Chart for WWCCONSC Total Objects 5 amp Al 3 h W 7 WWCCONSC Work with Customer Contacts QUSTSYS Objects not belonging to the selected Application Area Note that the SCD can be limited by level as well as volume This is applicable to the interactive mode of SCDs You must set the Preferred Volume Limit in the X Analysis General Preferences dialog HIERARCHICAL STRUCTURE CHART DIAGRAM The Hierarchical Structure Chart Diagram offers a different layout for viewing the SCD This illustration offers a well defined view of all the programs by representing their control flow and call structure Neat color coded bus routing block diagrams depict the movement of control programs Select the Hierarchical Structure Chart option for any object from the context menu In the following screenshot OEMENU is selected X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 177 Program Logic Documentation Hierarchical Structure Chart option Se Object List S OEMENU 23 Structure Chart for OEMENU Total Objects 14 4 OEMENL Order Entry Menu 001 Orde 7 OE001 Order Entry aa CUSLET Customer Leti CUSLET 1 Cust Be Screen Report Design Screen Report Source Consolidated Rules a A E RB A T i o omm Moml Zoom Source Data Flow Diagrarn Object Where Used
377. ress Enter gt AA2EDEMO Name Character value ALL x Analysis X Ref Library X Analysis Application Area ALL X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 384 Appendix D XREDOAPP Command Bottom F3 Exit F4 Prompt F5 Refresh F12 Cancel F13 How to use this display F24 More keys Option 24 Prb Anl Option 24 can be used to display problems associated with the application The following screen is displayed when Option 24 is selected Problem Analysis screen Analyse Application Problems XPRBANL Type choices press Enter Z Analar inllonc sie wy gt AACA2EDEMO Bottom EOE E F4 Prompt F5 Refresh F12 Cancel Plo How to se thus display F24 More keys Press ENTER to submit a batch job which will execute the XPRBANL command in batch mode Option CT Prj Ctl Option CT can be used to work with X2E RPG Project Control The following screen is displayed when you select Option CT Problem Control screen Work wich X2E REG Proj ct Control Project AA EDEMO Ref d Project RF2EDEMO X2E RPG XARWKPRJL Databorough Ltd VE oal 2 Jeng 2701S Type options press Enter 2 Change 4 Delete 5 Display 7 Notes 8 Comp Errors 9 Missing Files Se I SUS oE Eeo een Type Category Program Description Ms is Iho Cl TO TSAGEFR TSAWEFR TSAXELR TSAZETR Fl Help F3 Exit F21 Project Notes X Analysis User Manual 11 0 EALE DOCCOL Edit Medication EDTRCDTEdI C Diagnos lS T
378. rstbaecestearszocsteaactads 17 Gener auine Tie Data MOda T E ANANA 19 Refresh the Cross Reference Library cccssccccsssccceesecccesececeeececeeeceseeneeeseeeessneeesees 20 Variable Program Calls from Files Programs ccccccccccseeeeeeeeesssesseceeeeeeeceseseeeeeeeeaaeeas 21 Using X Analysis Client sesessesessesessssecessesescecessecessecesssoecesoecsscesesoesesoesessesessececee 25 IP ON DIOR Tan E E E E A E EEA E E EAA 25 SEOTI ONON aea E E E E 27 De PAG SS I SM n gc aprenden 28 X Analysis PROTON INC OS nasdininabnas ianiai s DT 43 Adyanced Preller nC 5 ueerea aiiiar E E E 45 Folders PONG CINCO S sireng a enmnsunaiacssuawesdoesGuutegsaneainesssuataassuawedeestenssessweenecanae 48 General FORCING CS oar sccanvesteserasescaeseansnnesdesbeaneesutecersbeeaartenuiaasadenteateesalseiavasiaantennitouees 49 X Data Test Pi CREM CIC CS spatrcccas vas cactsavarayacawticaosatuccuananeienotsevatauenaeaentecuganseerenoeawemaecene 51 XARedo PrelcereNCE S eee ee en een E ee 53 X Redo Advanced Preferences ccccsssccsssscccoseseccnsseccseccccnssencusecceseccneusseneussecsensss 54 Application Library sessesessesessesescesescesescesescscesossesoscesoscesescesescesessesessesessesesseseseese 56 Work with Application LIDraries ccccccssccccssececesececeesececeececsesceseeseceeeecesseecesseaees 56 Application Library Menu Options scccccsseccsssesccesssccesesecesseceeseccsenssenenssecseness 57 New Application Areg
379. rt Specify Sequence What sequence Would you like to have For the Audit report Metrics Analysis Problem Analysis Difference Analysis X Analysis User Manual 11 0 2015 Fresche Legacy Inc Audit Options Cancel Page 267 Audit Options Specify the sequence of contents for the Summary Report and click Next Summary Report Finish X Analysis Audit Report Finish Define the Page Size and Contention Resolution Option Selected Sequence Paper Size Metrics Analysis f Problem Analysis Letter 8 5 x 11 Difference Analysis C A4 Size 8 27 x 11 69 Contention Resolution Audit report 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 desired settings for the Audit Report and click Finish to generate the report When the generation is over the following dialog appears which asks to open the generated document X Analysis dialog to open the generated report X Analysis Audit Report Documentation process completed The documents has been saved in D Program Files Databoroughis Analysisi 192 168 170 10PCF_sAN4 DSA Audit R
380. s Metrics information for XAN4CDXA Saar LEGACY 7 551 1 191 Average WKCUS8E Customer Release Average WKSECF6 Generate CPU Letter b Low Total 117 Application Area Breakdown 4 ACCOUNTS SA S B O 5 R BB EARE O E Be Average Total 1 240 b Low Total 1 144 aOR 8 2T B ID BR A 1289 a ee ee b Average Total 26 b Low Total j a g a 14 gt a CUSTOMERS AS MR B DB AR B M M a FS SN EC a e b Average Total 3 772 b Low Total E i ee ee es Se ee eee The Metrics information displayed above has the following columns 1 Complexity Level For each attribute 1 6 you will allocate weights e g each file usage 1 each Copybooks usage 4 etc The sum total of these per program will be calculated and the Complexity level for the program worked out E g Points lt 10 LOW 10 20 AVERAGE gt 20 HIGH You can allocate weights in the General Metrics Preferences dialog 2 Units When collapsed it displays the total number of programs When expanded it displays the names of the programs 3 Text Displays the description of the object 4 Source Type Informs about the type of source 5 Source Lines Total number of Source Lines in a source member 6 Cyclomatic Complexity Measures amount of decision logic in a program Shows total number of conditional statements used 7 Halstead Displays program s complexity directly from source code based upon the operat
381. s XREGEN XREGEN MANOJUK MANOJK MANOJUK MANOJUK MANOJK STUART STUART STUART STUART STUART THS LHR SS OS TS US AEA END OF DATA Se US IS US US US Bottom F3 Exit F12 Cancel F19 Left F20 Right F24 More keys Option 21 File Check Option 21 submits the XCMPDB2MDL command to batch This option identifies all the programs and identifies any missing display files printer files physical files and access paths files It also identifies field errors It can be run over the entire application or application areas The file results can be found in X2EDBERR and all associated programs can be found in X2EDBEPG File Check Report Compare Database to Model XCMPDB2MDL Type choices press Enter K Analysis X Ref Library gt AA2EDEMO Name xX Analysis Appl ication Avea a ALL Character value ALL Bottom Po EIL F4 Prompt F12 Cancel Pis How to use thus duspllay F24 More keys F5 Refresh Option 22 Compile Check Option 22 submits XGENORGOBJ command to batch This option compiles all the original programs in QTEMP It can be run over the entire application or application areas All failures are logged in X2ZEGCMLOG and the associated error records are logged in X2ECPLLOGO In addition any original programs which fail to compile are written to the exclusion file XZERGNEXS The programs listed in the exclusion file are not generated as part of Option 16 XREGENP Generate Original Objects XGENORGOBJ Type choices p
382. s e ALL It is similar to CHG when it comes to finding new members and removed members It will index all source members without checking the change date e UPG Upgrade the X Analysis database and rebuild all data including all indexes replacing current ones Build Data Model If you take the option to build the data model for your application then you can view it through X Analysis Select one of the following e YES Build the data model e NO Do not build the data model You should have the X Analysis Professional Module Modeling set for this to X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 419 m gt HIS Appendix H Refresh X Analysis Feature Brief Description work Generate Business Rules If you take the option to generate the business rules for your application then you can view it through X Analysis Select one of the following e YES Generate Business Rules e NO Do not generate Business Rules You should have the X Rules Module Design Recovery set for this to work If choosing YES Modeling should have been already performed or Build Data Model should be YES Initialize X Resize If you take the option to generate the X Resize Project for your application then you can view it through X Analysis Select one of the following e VES Initialise X Resize Project e NO Do not initialise X Resize Project You should have the X Field Resize Module for this to work
383. s been detailed below Synon Date Fields This data area indicates that the Date Fields have already been processed If the process is successful in processing the date fields it sets the XS2EDTSRUN data area to YES The default value is NO Synon Entry Parameters The entry parameters processing for a Synon application is governed by the reengineering process and the details are maintained in a XS2ELDLOG log file The XSZEEPVFD data area is set to YES to indicate that the entry parameters have been processed successfully The default value is NO Synon Product Library for the Edit Code Definitions The X 2E reengineering process is capable of obtaining the edit codes definitions stored in YEDTCDERFP file The XS2ZEEWLIB data area has a value Y2SY by default which helps in locating the base product library for the PRD Edit code definitions file You can change the data area value to suit your environment As an example Y1SY is another base product library 2015 Fresche Legacy Inc Page 388 Appendix D XREDOAPP Command Synon Edit Code Definitions Processed X 2E has the requisite capability to integrate the Synon edit code definitions into the X Analysis edit code definitions table XEDITC This in turn will be accessed by the reengineering process when required The process sets the XSZEEWRUN data area to VES if the Synon edit code definitions are successfully processed else it will remain unchanged The shi
384. s well as the XA Runtime Re install X Analysis to resume its working on the WDSc SETTING THE PASSWORD FIELD To set the password field for more than 10 characters please perform the given steps 1 Go to Window gt Preferences gt X Analysis 2 Check the Case sensitive or greater than 10 character Password setting and click OK The setting is shown below X Analysis Preferences Modifying the password setting type filter text Analysis General General X Analysis Preferences Ant Data Management IP Address 192 168 21 102 Help Install Update Java JavaScript Offline Mode JPA Specify the DB2 port number in order to access offline A Analysis cross reference Plug in Development DB Port 50000 Remote Systems Run Debug Server L Begin with Outline Detailed DFD by default Service Policies _ Detaile by defau Tasks _ Show Re engineered Screen for Screen Report layout Team Ignore Linked Repositories if any Usage Data Collector Open Called Procedure Program source in same tab Validation Open Data Flow Diagram in same tab en Use Business Rules Overlay mode as default Web Service a _ Use Source buffering Doclet _ Allow editing in Consolidated Rules XML Show only Objects in Metrics Restore Defaults Apply OK Cancel 3 Login again You will be able to input more than ten characters for the password X Analysis User Manual 11 0 2015 Fr
385. sage of all the objects Detail DFD icon e Files ZA Object Where Used CUSTMNTI aa ysr i m Object Centered Data Flow Diagram for CUSF Total Objects 94 o g A g i RA A Detail DFD a CUSF m CUSFLA Sites by Product renamed Fromm cusfla For testing b Access Paths 13 Objects H Sore F 2 When you click on the Detail DFD icon on the toolbar the Attributes section of all the objects gets expanded displaying referred fields from all objects The following screenshot displays the detailed DFD screen Detailed DFD view a Fies dh Object where led Bacus use K og Object Centered Data Flow Diagram for CUSF Total Objects 94 a A A Ow r A E EAUDCUSF 0 ZBPRNCUSF CLUSF CUSFLA B CUSFLE Audit CUSF File Print Customer Details Sites Sites by Product renamed from Sites by Orig List Input Fields w Input 5 Fields cut for testing No Attributes P Access Paths 13 Objects H Input Programs 54 Objects H Input Services 1 Object H 0 ADDS Address 4 No Attributes a CNAME Company CNAME Company a CUSNG Cus No DSOCOE Distributor CEC a LSELD PRPCDE Product Code Tnpk Triggers Object E Sites by Salesperson Sites by Validator USERNM Contact Input Gutput Programs 2 Objects H No Attributes Mo Attributes b Update Programs 14 Objects H i l E ppp Eo conn Update Cutput Programs 4 Objects H oe a ail Dis
386. sche Legacy Inc Page 261 THUS Audit Options View Log The user can view log related to Metrics processing The View Log icon is available on the toolbar as shown below View Log icon on Specialized Analysis Toolbar 1 Specialized Analysis 52 X Analysis Metrics for ZAN4CDRA Category Report Type Status RPG Metrics Reports Click the View Log icon to check the log View Log window view Log i O Log Report Mumber of Lines 3738 Log Time Report name Log text 013 06 06 11 56 05 480000 COMPLESS SOLSTT 01567 SOLERM 2013 06 06 11 56 05 337000 COMPLEXS Create table X4N4COe4 eMCOMPLEXS runrptnam varcha 2013 06 06 11 56 05 335000 COMPLE Execution started for run number 1 U13 06 06 11 56 04 570000 COMPLEXP SOLSTT 01567 SOLERM 2013 06 06 11 56 04 746000 COMPLESP Create table s4N4COe4 eMCOMPLEXP runrptnan varcha 2013 06 06 11 56 04 699000 COMPLEXP Execution started for run number 1 2013 06 06 11 56 04 435000 IMMETGEN DLTHST NO j New metrics data not generated because 2013 06 06 08 58 58 070765 COMPLEXS Data report submitted for run number 1 with Job details 7013 06 06 08 34 29 7835832 COMPLEXP Data report submitted for run number 1 with Job details 2013 06 04 17 45 34 573000 IMREFRESH 24 programs logged with metrics andor source changes 2013 06 03 12 55 36 852000 IMREFRESH 0 programs logged with metrics andfor source changes PROBLEM ANALYSIS After the Generate Problem Analysis batc
387. se Source buffering Check this option to enable source buffering Allow editing in Consolidated Rules Check this option to make changes in the Consolidated Rules Show only Objects in Metrics window While listing metrics when the relevant box is selected then the metrics is shown for all items which actually have an object in the user s library ies When the box is left unselected it also includes the source members which do not have any objects associated with it ADVANCED PREFERENCES Expand the X Analysis node to view modify the Advanced Preferences X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 45 Using X Analysis Client Advanced Preferences Advanced General Ant Data Management R Help Work with Objects Install Update Default File Attribute Java JavaScript JPA Plug in Dewelopment Include Owners Remote Systems Run Debug Server Replicate Triggers Constraints Service Policies i Tasks Data Option REPLACE Team Search Settings Usage Data Collector Occurrence Validation Web Web Services Advance Setting Preferences Default Program Attribute Subset Data Include All Dependents UML Diagram _ Show object name in Class diagram X Analysis eee ag Aai Use MS Word OLE Automation Folders Diagram Export General Use Open Office Draw for 64 Bit A Data Test Synon Data Flow Diagram A Redo _ Use old logic for Synon DFD ADoclet Database Language Translation AML no
388. sed Ba CUSTMNTL Ga CUE 8 i Object Centered Data Flow Diagram for CUSF Total Objects 94 A w i we Oo Ei 7 A J CUSFLA CUSFLE Sites by Product renamed from Sites by Orig List custla for testing P Attributes P Attributes CLSF sites b Access Paths 13 Objects H P Input Programs 54 Objects A P Input Services 1 Object H P Input Triggers 1 Object A P InputfOutput Programs 2 Objects A i peee Programs 14 Objects H pdate Output Programs 4 Objects H fa A CLISFLE 0 CUSFL1 i a J CUSFLE CUSFLE Sites by Salesperson Sites by Validator P Attributes P Attributes A single click on the arrow icon adjacent to Update Programs reveals all the ten objects updating CUSF The following screenshot displays the expanded view of the referenced objects list Expanded view of Update Programs fe Files Object Where Used CUSTMNT CUS 83 O Object Centered Data Flow Diagram for CUSF Total Objects 94 ae Ay e fag 3 A CLSF B z CUSFLA z CUSFLE Sites Sites by Product renamed From Sites by Orig List cusfla For testing P attrib b ributes Access Paths 13 Objects H P Attributes F Input Programs 59 Objects H P Input Services 1 Object H F P Input Triggers 1 bject H a ries per tie Sites by Salesperson Sites by validator P InputfOutput Programs 2 Objects H b Attributes P Attributes 7 Update Programs 14 Objects H CEJ06R Back out account 1 CUSFLE 5 CLUSFL1 CB906RR Back out account Si
389. sions F TSTRES2 Level 2 some changes Found E3 F TSTRESS Level 3 more changes Found Create Test Result Definition We create the Test Result Definition in order to save the test process results The tutorial application is pre configured to have a Test Result Definition BASRES The following screen displays the test result definition Test Result node S MTEST amp Test Demonstration F Test Process rs Soh COCKER Checkpoint For 4 Test Demo p BASRES Base run results F TSTRESI Unchanged results at level 1 E3 F TSTRES1 2 Results Level 1 with spool exclusions F TSTRES2 Level 2 some changes Found TSTRESS Level 3 more changes Found Test Result Field Exclusion This option lists all the files PFs under the application area so that you can select any field for exclusion purpose The following screen displays the field exclusion window X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 109 Application Area Test Result Field Exclusion File Field CORBET LORIFDR CUSTS STRBAL STEM AS STORM AS HAA BY Test Result Field Exclusion Field Type Length Description Cromithed Expand a file to display the fields of that file Test Result Field Exclusion Expanded Test Result Field Exclusion File Field EB CONDET a wWwORDE oe ABCO oe AS ae TST awRICD ae SCT AW AZO AW PRI
390. sis Screen Metrics File Metrics Business Process Logic Metrics Specialized Analysis Problem Analysis Object Allocation Database Summary Summary Report Initialize Source Archiving Generate Metrics Analysis Edit Problem Categories Generate Problem Analysis METRICS ANALYSIS Metrics Analysis is the first option under Audit Options The Metrics Analysis option provides low medium and high complexity classification of each program based on the following attributes of the program Source Type Source Lines Cyclomatic Complexity X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 241 ths Audit Options Halstead Maintainability Index Files Device files comprising Display Files and Printer Files Called Programs Calling Programs The Metrics information is displayed under the following headings Batch Programs Interactive Programs These two highest levels are then further sub categorised as High Average and Low The user specified values determine where a program fits into these sub categories By default these Preferences are blank so all programs are listed under Low complexity until values have been set using the Metrics Preferences discussed below The following screen displays the Metrics information for the cross reference library XAN4CDXA X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 242 Audit Option
391. spective Show view Customize Perspective Save Perspective s Reset Perspective Close Perspective Close All Perspectives Navigation Open Perspective cvs Repository Exploring Le Database Debug Le Database Development Debug g Java d Java Browsing g Java EE default fel Java Type Hierarchy JavaScript He JPA ae Planning eth Plug in Development ER Remote System Explorer Py Resource fla SW Repository Exploring eo Tear Synchronizing web ane 2015 Fresche Legacy Inc Page 25 Using X Analysis Client Click OK to start the X Analysis Perspective X Analysis Perspective X Analysis Eclipse Platform File Edit Mawigate Search Project X Analysis Tomcat Run Window Help ri TOPE hD D Bt OAS ae eh a Fmi YY F ra y E 3 F Co F Navigation Metrics Dashboard fa New Connection Host Name 127 0 0 1 Username Password UseSSL Login Cancel Session Information Si Session Items Description Host Name A Analysis Usern A Analysis Library Job Details T Expand the New Connection node to bring up the Sign on dialog X Analysis Sign on dialog Host Name 192 168 170 110 Username MARK Use SSL Enter the following information to the Sign on dialog 1 Enter the TCP IP address Computer Name of the IBM i to be accessed X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 26 SSS aa yng Using X A
392. splayed below File Edit Yew Communication Actions Window Help 5 D0 AR BS a t ed O10 Host Port Workstation ID Disconnect Columns T 1 71 Browse QRPGLESRC SEU gt XRADDTRGRS Fan E E T RT 8 age r A N Wi aes e 0085 00 read e xtriggers 0086 00 dow not eof xtriggers and not error 0087 00 if trfile lt gt blanks and trtrig lt gt blanks 0088 00 0089 00 Ensure the file object exists 0090 00 chainle trfile FILE xobjectt1 0091 00 if found xobjectt1 and not error 0092 00 0093 00 Retrieve the source file and source library details 0094 00 chainle trfile trfatr xmember11 0095 00 if found xmemberl1 and not error 0096 00 0097 00 Source library 0098 00 orbsrclib x lib 0099 00 0100 00 Source filey 0101 prbsrcfil xsrcf F9 Retrieve Fi0 Cursor T Er T 04 018 J 1902 Session successfully started X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 273 File Edit Yew Communication Acton Window Help 8 DA AR BS a ht 2 ee Host File Edt Yew Carmmunication Part Columns SEU FMT 0102 0103 0104 0105 0106 0107 0108 0109 0110 0111 0112 0113 0114 0115 0116 0117 Acton Window Help Disconnect Workstation ID QRPGLESRC XRADDTRGRS Write the record in XPRBOBJS file exsr zurtprbobjs endif endif endif read e xtriggers endda endsr fi XEXKEXERKERKERERKRERKERER
393. ss Logic Audit Report for XAN4CD A hi Name Total Lines CBS06R 141 CHT CMAINT 196 CAT CMAINTR eval COMO Eris CORNOOLR 441 CUSCPY l CUSFMAINT 254 Excluded Lines Controller Lines Residual Logic 135 li 187 els ere l eda CUSFMAINTR 326 CUSFMOLD 299 SPECIALIZED ANALYSIS m E m A mn A an BA m SE a oo A an 239 240 The Specialized Analysis option allows users to design their own reports using the full metrics database in the defined system repository the summary metrics described in the previous section uses a subset of this database This reporting provides a valuable way to measure and manage the quality and complexity of a code base either as a one off or on an ongoing basis The Specialized report can be viewed in two ways Static reports E Difference reports that show the changes in those values over a period of time X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 254 Audit Options Opt for the Specialized Analysis option from the Audit Options submenu The following screen displays the Specialized Analysis for the application library XAN4CDXA Specialized Analysis window Specialized Analysis 24 A X Analysis Metrics for XAN4CDXA amar i Te Category iReport Run Mumber Date Type Status RPG Metrics Reports COMPLEXP General cross language complexity by program COMPLEXS General cross language complexity by SUBROUTINE DATACPY Program data
394. ssressrresseresseressrrssrrsssrreseeresss 186 Screen Report Deg 9 eee eee EE 193 Srcem HOW Daer aN enient aE 195 PRE COS S PRO DE I aE E N E E E E 198 Sereen Activity aS FAW areais caner raees eE AEE EEEN E aa 199 Data Model Diagram sesessesessesessecessecesoeceseecessscecesoecescecssoesesoeossoscesoeceseeceseeoesee 201 Gan tatna DND orror a E E E E ieveictaseats 203 DMD for an Application Area esseessseerensereessrresseresrerssreossrresseresrerssrrosseresseresreessreens 204 Understanding Data Model Database ccccccssscccsssececesececeesceseeseeesesecesseceseueeees 206 Options on Screen COmMponentS sssessescesceeceescescecceccoeccecceecoescesceeceeccescesceesceccee 207 E SOUE COE ri E E A Ei 207 FUNC ON EAO I cerere E E 208 Preview CS CU aparrs cecnenegeeastensvenean ures ecetts ocsuesaneuncaaua i e R E O Sa 211 PaPe DESNE E A A E eoanonneasrosaesnetenanaans 212 DTCOMMENT E EEE E erty ret 215 EEA ON oee E E E E E 216 ESS DIET eaaa E E EE EN 218 PUSE S RUE a TE EE O ATE E E ee 218 COMPONENT DOCUMICIN CD cscixcceccsedstssvancnconsantadeisemadeanesisigaiunncaancsestadetianancecodesecseomtades 219 PVE AG erren toaster onesies E E A Wea acer esenaiea E uanuans 220 Development Si IS racecars sree eee ass tees a a 221 Business Rules Analysis sesessesessesessesessecesescessscecsescecesoecsesoesessecsesoscesceceseeceseecesee 223 BSNS SS E A E E AE E AEE OEA EEO OENE 223 Derive Business RUGS ccaceeratcacaecsaccedontennce
395. st amount of business logic that is buried inside the source code of the programs X Rules is capable of identifying and narrating this logic automatically from individual programs or parts of the entire system The business rules logic can then be analyzed and documented with the powerful and interactive source browser integrated with X Analysis BUSINESS RULES The program source is grouped into discrete blocks of logic so that each block represents a particular execution of a business rule This block of code is then converted into Pseudo Code that describes the execution of the logic Literals and constants are liberally used in the narration wherever possible giving very accurate descriptions of the logic Each rule has an exclusive identifier that makes system wide analysis and documentation of business rules possible in X Analysis The entire process is achieved by invoking a single command on X Analysis The business rules generation process identifies the various components of the business rules and writes them to either 1 Anew source member or 2 An index over the original source member X Analysis can display business rules automatically using the generated index X Rules not only identifies the Business Rules Logic but also generates a prototype application for a part of the original application X Rules uses the X Analysis cross reference database and the original application program source code to provide shadow progr
396. t Mame Description Library Type Attribute Function Status Creation Date Creation Time Last Used Days Used Physical File Business Rule BR Count Annot Count Complexity Source Lines Cyc Complex Halstead MaintIndex Files Device Files Called Programs Calling Programs More Info window for a File CONDET Object List of ALLUSR ALL ALL ALL ALL ALL Total Objects 362 ay a ly Library PF XAN4CDEM RE XAN4CDEM XAN4CDEM LF XAN4CDEM LF XAN4CDEM LF XAN4CDEM LF XAN4CDEM PF XAN4CDEM LF XAN4CDEM LF XAN4CDEM LF XAN4CDEM PF XAN4CDEM PF XAN4CDEM LF XAN4CDEM LF XAN4CDEM LF XANACNEM lt Name CNTACS CNTCMAINT CNTCMAINTD CNTLF1 CNTLF2 CNTLF3 CNTLF4 CONDETL1 CONDETL2 CONDETL3 CONDETNW CONHDR CONHDRL1 CONHDRL1A CONHNRI Type FILE POM FILE FILE FILE FILE FILE Attribute Description PF Contacts RPGLE Contacts Maintenance DSPF Contacts Maintenance LF LF LF LF Global Contacts by Salesman Global Contacts by Name Global Contacts by Status Global Contacts by Prod amp Status Contract Detail by Store Contract Product by Store Contract Product by Product Contract Contract Detail new CBL Ver wr Contract Header by Debtor Contract by Debtor Cust Ref hy Ren Contract Wore Into Vashboard More Info for CONDET General Name Description Library Type Attribute Function Status Creation Date Creation Time Last Used D
397. t Folder Browse For Folder E3 i My Documents E3 F My Computer a My Network Places Folder My Documents Document Manager After selecting the desired location for documentation and providing the file name the System Documentation wizard processes further as shown below X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 344 Document Manager Select Application Area Features X Analysis System Documentation Application Area Options Select Application Area Features bo be included in the System Document Diagram Options Overview Structure Chart Normal C Expanded Detailed Data Model Diagram Normal In PDF as Image Detailed In visio Show Al Application Area Diagram Annotation F Application 4rea Annotation Coverage of System Document Detailed Object Documentation in Alphabetical Order No Detailed Object Documentation Cancel The Overview Structure Chart and the Data Model Diagram options mentioned in the above dialog box are only for the selected application area The wizard dialog displayed above has a section called Coverage of System Document This section has two options depending on which the System Document differs in its approach Let us see how these two options work X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 345 Document Manager Detailed Object Documentation in Alphabetical Order mn If the Detail
398. t Manager individual formats one after the other for all the screen formats If the Detailed option is selected then it will also print the Header information the Data Content Diagram and the Screen Action Diagram for each screen apart from the Screens and the Fields List for all the screen formats Select the options to be included in the document and click Next to proceed further Single System Document Specify Sequencing oystem Documentation specify Sequence What sequence would you like to have for the System Data Model Diagram Normal Move Up 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 Move Down Cancel From the above screen the user can re sequence the options selected for the System Documentation After re sequencing click Next to reach the final step of documentation wizard Here the user can see all the selections that he has made and can also define various options related to document formatting like Paper Size Contention Resolution etc X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 320 Document Manager Single System Document Finish System Documentation Finish Define the Page Size and Contention Resolution Option Selec
399. t high object level in addition to providing contextual details regarding specific variables and parameters passed between objects The Bus Routing DFD offers two benefits One it gives a precise idea of where and how the data that is input affects the output desired two it helps to visualize how an object within an application correlates with the other objects The diagrams showing the data flow in neat blocks let even non technical users get a clear picture of the object s interrelationships Select the Data Flow Diagram option from the context menu over an object as shown below Data Flow Diagram option CUSTMNT1 e Files E3 Object List of ALLUSR ALL YFILE PF YALL YALL Total Objects 50 A ae 3A Object Where Used Library Mame Type Attribute Description PFXAN4CDEM CPYBKSRE FILE PF HIXAN4CDEM ee PFYAN4CDEM CUSGR PFxAN4CDEM CUSTS PFRAN4CDEM DELIVA PFXAN4CDEM DISTS PFRAN4CDEM EYFEVENT PFYAN4CDEM GENTAB Er s Data Model Diagram Cobol copybooks p zoom Source er Groups gt Data Flow Diagram Object where Used h j Variable Where Used ic Table File This brings up the DFD for the object CUSF X Analysis User Manual 11 0 2015 Fresche Legacy Inc Statu D m E g B A D D x Page 161 Program Logic Documentation Data Flow Diagram ths o Files S Object Where Used EQ CUSTMNTI iE CUSF 23 ye Object Centered Dat
400. t of CONOO1 in XAN4CDEM QRPGSRC Lines 271 Yiew Levek5 GA E E i H P e e AEiG seq Na ere easteby ii Sayaka te chee ri 0 2 00 eun Haia s keceiwe FParametera Select the Show Split Panel option to display the following window X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 141 Quick Reference to an Object Normal Source Code and Business Process Logic code te objectust Ba CONOR i Source List of CONOO1 in XAN4CDEM QRPGSRC Lines 271 View Level 5 aE P E H ABON aw Woco 1 os sTo ao 2 coeVens 3 eceWVece 4 Pt Business Process Logic Ct Get Contract Details if existing DSORDN CHAINCONHDRR IN40 IFEQ 1 MOVEL BLANKS MOVEL BLANKS MOVEL BLANKS MOVEL BLANKS ENDIF C Get Customer Details C DSCSNO CHAINCUSTS C INS2 IFEQ 1 Get Contract Details Read data CONHDRR using IN40 Not Found Tf Not In40 InN40 SERROR End If In4o0 XWADD1 BLANKS XWADD2 BLANKS XWADD3 BLANKS XWPCDE BLANKS End When you double click on a particular line in the Normal Original Source code its corresponding source line on the Business Process Logic code gets highlighted Pseudo Code Pseudo Code is also a toggle option for viewing the Pseudo Code for the Normal Source Code Pseudo Code toggle button Source List of CONOO1 in X4N4CDEM QRPGSRC Lines 771 iew Level 5 3 DAQE F k h BMB i as fe SECT Mo x 1 es ae 2 aaa Te 3
401. t screen PRODUCT NAME Push XA Project Monitoring Project Name would like to Source Code HOMEPAGE URL Know your basic profile info and list of people in your cle Compute Networkin 9 PRODUCT LOGO Storage Make your listen app and comment activity available Rg via Google visible to Big Data Your circles This is how your logo will look to end users Support Max size 120x120 px Need help Privacy amp terms PRIVACY POLICY URL TERMS OF SERVICE URL GOOGLE PAGE plus google com Page ID Activities Idle Create Project My Project Cancel See all activity Click Save 6 Now click Credentials under My Project gt APIs amp auth The following window will appear X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 441 thJs0 LEGACY bas Appendix M Export to Google Drive Credentials window Google Developers Console X P https console developers google com project fluted bit 803 apiui credential Q Search Google Develop lt Projects My Project APIs amp auth APIs Credentials Consent screen Push Monitoring Source Code Compute Networking Storage Big Data Support Need help Privacy amp terms 7 lt lt gt Console Sign up for a free trial OAuth OAuth 2 0 allows users to share specific data with you for example contact lists while keeping their usernames passwords and other information private
402. t value is 127 0 0 1 You may change the Tomcat port to use X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 53 p y Using X Analysis Client T O Grid Display These configure the grid presentation e l TA o Show 5250 Grid Labels Checkbox The default value is checked o No of rows to display in the Grid Drop down This is used to set the default number of rows to display in a grid The default value is DEFAULT The user can override the default rows to show by setting the number of rows to show on each grid Site Date Format This is used to set the default date format settings for the generated web pages The user may select the required date format to use on the generated web pages to show and receive the dates Numeric Precision o Higher Numeric Precision Selecting this option would use the BigDecimal data type instead of Double data type Package Naming options Radio button o Project Name Name of the project as specified on the Generate Programs dialog by default This is used as the first part on the package names created in the project o Application Area Name If selected the application area name is used as the first part on the package names created in the project o Package Prefix Only Selecting this option would only use the value in Package Prefix as the prefix for the package name without appending Project Application Area Name Function Level
403. tation 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 For each object marked For documentation System Documentation type O Generate Single System Document Generate Individual System Documents Document Details Folder lt Select Browse to set location gt lt Select Browse to set location gt Cancel After selecting the Generate Individual System Documents option click Browse Select the desired location to save the document X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 322 ths Document Manager Document Folder Browse For Folder f Desktop E My Documents 4 My Computer a My Network Places Q Online Help New Images Folder My Documents Make New Folder For the Generate Individual System Documents option the following dialog is displayed after the user clicks Next on the System Document Wizard X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 323 thJsst LEGACY Document Manager Individual System Documents Features oystem Documentation Specify Contents Select features to be included in the System Document Object List Data Model Diagram Normal In Word as Image Detailed In Visio Annotation _ LF Access Path details Detailed _ File Field Details Field An
404. ted The following screen displays the Linking window LINKING option Work with Data Areas X Analysis Work with Data Areas Dabavworcoughe lied XARWKDARAS a FAO I S10 2 Ab Enter options press Enter 5 Work with values Data Area XSZb KP Tinked Fro ect CS EMNPRJ Main Eves eer SOMOS Progr amn ODI t Elu cron ibrary F3 Exit F12 Cancel Linked Project To display edit the Linked Project Data Area use Option 5 against it The following similar window appears Work with Data Areas Linked Project X Analysis Work with Data Area Values Databorough Lia XARWKDARAS ee eae PAOS Ora 2Zi Enter options Press Enter 2 Change value Description Current Value Linked Project Library Name Use Option 2 to change the value of the Data Area Linked Project Change value of Data Areas Linked Project X Analysis Change Data Area Value DielieelorocteuG la bec XARWKDARAS IBIS ee ALO Se 0 Ih Linked Project Library Name X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 377 Appendix D XREDOAPP Command Main Project To display edit the Main Project Data Area use Option 5 against it The following similar window appears Work with Data Areas Main Project X Analysis Work with Data Area Values Dartdaboroughi Eed XARWKDARAS ING O Mls AO G0 i Enter options press Enter 2 Change value Description Current Value Main Project Library Name Use Option 2 to chan
405. ted 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 Normal with Annotation Screen Report Layout Normal Business Rules Summary Source Source Flow Chart C Letter 8 5 x 11 Business Process Logic e AA Size 8 PF as x 1 69 Screen Flow Diagram Normal j Contention Resolution System Documentation creates documents in Application Folder If the Application Folder ts 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 C Do not overwrite Overwrite if exists but if in use then Create document by similar name _ Exit Skip document creation Back Click Finish to generate the document The progress status is displayed on the screen while generating the System document The document will be located in the specified save location Generate Individual System Documents Select the Generate Individual System Documents option from the following dialog X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 321 Document Manager gt Individual System Documents Type and Location X Analysis Se Ed System Documen
406. tes by Organisation Sites by Mame CUSFMAINT Customer Site F Attributes b Attributes Maintenance CUSFMOLD Customer Site Al Fl Maintenance CLUSFL CUSFL3 Sites by Status Sites by Number P Attributes P Attributes CUSLETSQ Update Letter Sequence URG Reorganize Customer File 5 CLISFLS m CLISFLG lt Awe IE View Annotation The View Annotation option allows user to see annotation for a specific object There is a red icon denoting Annotated text on the right side of the Object see the following screenshot X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 164 Program Logic Documentation View Annotation option be Files Zh Object Where Used CUSTMNT1 faa CUSF E3 H A gt a E CUSFLA F Sites by Product renamed From cusfla For testing Object Centered Data Flow Diagram for CUSF Total Objects 94 m A e E b Access Paths 13 Objects F Input Programs 59 Objects F Attributes P Input Services 1 Object a CUSFLL Sites by Salesperson F Attributes m CLISFLE w lt i gt F Input Triggers 1 Object P InpukfOutput Programs 2 Objects P Update Programs 14 Objects F Update Output Programs 4 Objects Double click on the View Annotation icon to invoke the Annotation dialog box displaying the notes that had been written earlier You can further add modify notes in the Annotation dialog box and click Save These notes will be viewable later using the s
407. thJsst Field Field Size Description Name Owning PF OVROPF 10A LEGACY Dependent PF OVRDPF 10A Dependent LF OVRDLF 1A Reference Type OVRRFO 1A The following screen displays the Override Relationships window Override Data Dictionary Override Relationships Data View for XOVRRELS B a 13 S y T A l gt Owning PF Dependent PF Dependent LF R TypefO DE CUSF SECF CUSF SECF CUSF SECF SECF CUSF SECF CUSF SECF CUSF SECF CUSF OVERRIDE RELATIONSHIP DETAILS The XOVRSHKS file which contains the override entries for the XSHKEYS file is displayed when the user clicks on the Override Relationship Details submenu option available on the Override Data Dictionary menu Field Field Size Description Name File OVRFIL 10A Match File OVRMFIL 10A Key Seq OVRSEQ 5P 2 Field OVRFLD 10A Match Field OVRMFLD 10A Constant OVRCON 20A Relationship ID OVRRLID 5P 0 X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 287 Data Management Features Override Data Dictionary Override Relationship Details Data iew for XOVRSHKS les x ThE OOo Oo Gn PF Dep PF Dep LF Key Seq Own PF Fld Dep PF Fld Constant CONHDR CONDET CONDET WORDM MWORDE 1 0 11111 1 0 CUSNO 1 0 CUSNO 1 0 CUSNO 1 0 CUSNO 2 0 DSDCDE 2 0 DSDCDE Override Program References For updating program references a
408. the System Document Application Area OSC Normal Application Area DMO Mormal Move Up Move Down Cancel From the above screen the user can re sequence the options selected for System Documentation After re sequencing click Next to reach the final step of documentation wizard Here the user can see all the selections that he has made and can also define various options related to document formatting like Paper Size Contention Resolution etc X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 351 Document Manager No Detailed Object Documentation Finish X Analysis System Documentation Finish Define the Page Size and Contention Resolution Option Selected Sequence Level Settings Application Area OSC Normal Application 4rea OSC Level 2 Application Area DMD Normal Paper Size Letter 8 5 x 11 CO 44 Size 6 27 x 11 69 Contention Resolution System Documentation creates documents in Application Folder IF the Application Folder is shared and documents are createdlopened 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 O Exit Skip document creation Click Finish to generate the document System Document using previous values We have already discussed this topic under the
409. the data content diagram Screen Actions This includes the screen action diagram X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 219 Options on Screen Components Screen Design This includes the Screen Design for all formats Residual Logic This includes the business process logic for the selected screen component Business Rules This includes the business rules for the selected screen component Component Documenter option E Screen Components 2 7 a Foo me amp Eley amp BoewW O Screen Components For Application Library YAM4CDXA CAIN Program Function Type SeqNo OSPF Format Physical File Title CUSTMNTI I E peer Source Code CUSTMNT 1020 la eF TUZ CUSTMNT1_0 sig Function Editor CUSTMNT1_O01D a Preview Designer CUSTMNT1 0020 2F 101 ZZFTO2 CUSTMATI 1 I Page Designer CUSTMAT1 1020 eF T Z BE Screen Actions H Class Diagram Business Rules CUSTMANT1 2 CUSTMAT1 2010 CUSTMAT1 2020 FTO1 ZEF TOZ CUSTMNTIR T Component Documenter R I R R I CUSTMNT1_1010 R gt 7Fqp1 Gf Data Content R I R R I R CUSTMAT IROL feFTOl lt q fll B Annotate For more details refer to Appendix C ANNOTATE The Annotate option is available to provide annotates to a specific function Right click on a Screen Component for the context menu and select the Annotate option as displayed underneath X Analysis User Manual 1
410. the third option present on the Data Dictionary menu The user can click on this option to view information for every field in each file in the application database All the field information extracted during the Data Modelling process is contained in the Data Dictionary file Each field from each Physical File in XPIDS is listed The metadata extracted can be interpreted and utilized by applications to read write and format the fields correctly On selecting the Fields option the file fields details are displayed as shown in the image below X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 283 Data Management Features Data Dictionary File Fields thJsst Data View for XDD LEGACY ee ee Field Name PF Name Grid Seg Red Seg Type Fld Heading Fld Class Edit cod cusF iao Jaso Addressd JL E ADD CUSF 15 0 16 0 Address 2 ADDS CUSF 16 0 17 0 Address 3 ADD4 CUSF 17 0 18 0 Address 4 ALTTEL CUSF 37 0 37 0 Alt Tel Mo 1 ALTTL2 CUSF 38 0 33 0 Alt Tel No Z AFDATE CNTACS 3 0 9 0 Next Cnt Date APDATE CUSF 7 0 8 0 Next Cnt Date CMMNT 1 CUSF 21 0 21 0 Comment Line 1 CMMNT 2 CUSF 22 0 22 0 Comment Line 2 CMMNT 3 CUSF 2o 0 23 0 Comment Line 3 CNAME CUSF 1 0 2 0 Company ka Relationships The files contained in an application could be inter related For executing the data modelling procedure it is imperative for a user to have information of all these relationships The user can v
411. this dialog the user may modify the description of the default category as required On clicking Add Status Category icon on the Status Category toolbar the same dialog as presented above is invoked This time the user is able to assign a letter for the Category besides the Description The icon is indicated in the following image Add Status Category icon a Add Status Category Description a Not Applicable for Endeavor Generated By X Analysis Not Verified Unit Tested Production QA Waiting X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 435 HOSA Appendix M Export to Google Drive Appendix M Export to Google Drive You can now export DOCX and XLSX type to Google Drive The use of Google Drive export requires Authorization setup As the initial step you will need to authorize the Google Drive and then select the related options from X Analysis Preferences The link provided below helps you with all the information related to the Google Drive Web APIs https developers google com drive web quickstart quickstart java The steps to be followed are given as below 1 Generate a Client ID Client Secret for your google account Click on the link https console developers google com start api id drive amp credential client ke The following window will appear Sign in window Google Developers Console H Goege Developers Coral N k hii to googlecom i ii FN xci cea tA Goog
412. tion However Fresche Legacy Inc makes no warranty 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 2015 Fresche Legacy Inc Page 2 X Analysis User Manual 11 0 Contents Contents Publication Informati n a5 ccscareccepcstesvcescase sermons vonnaceeseindees veenbaeesen eevee suepsacesuiedeeseuepeaees 2 COMES cercarono E AE EE 3 PETI O O tedsbuossecnwsees 9 OVEIVIEW oraa N E A OA O EAE A E AOT E OENE 11 Acronyms used in the Manual ssesssesseessreresreessrresseresreresreossrresseeesseresreesseresseresseresss 11 Introduction to K ANAIVSIS essesessesesssoesessecescecessecessecesssoecosoecesoesesoesesoesesoesessecesee 12 Profile Authority Requirements ccccsssccccssececesececeesceceesececseecessuceeseecesseecesseneeees 12 Configure Cross Reference Library sessssesessesessecescscesoecessecoecsececsscecsscecssoesesoeseeseo 13 Work with X Analysis for Applications cc ccscccsssecccesececesccccesececeescesseseeeseeeeaeaees 13 ESO ANG aaa ents acest wand Gates ee E E E E A E E E 14 EXCUS eee eee E E E en nee ee eee eee 16 ICI ANZA CIO No easan soaneadios mnsenatbosaiebdnanbonatbesateatissnnsendbaactatianabe
413. tion Area Window displaying DDL Conversion Setup dialog DDL Conversion Setup For NEWDODL1 Copy data to new tables Name of new SCHEMA Maming option PAL ka Date format 50 Date separator IOB Time Format TSO Time separator OB Decimal separator PERIOD Modify the conversion parameters as per requirements After modifying the parameters click Apply to implement the changes Derived Constraints Derived constraints are optionally generated during DDL modernization These constraints are derived from the Data model The validity of the constraints is determined during problem analysis the entries which are invalid are reported as usual in the DDL Modernization gt Problem Analysis node Run DDL conversion When you double click on the Run DDL conversion option the following dialog shows up X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 122 Application Area Run DDL conversion dialog Run DDL conversion Eg Cross Reference Library wANCDRA Mame of new SCHEMA NEWDDL1 e Compilation Type TMLINE Re Application 4rea Choose the Compilation Type from the drop down menu The default option is INLINE Click OK DDL conversion error log The DDL conversion error log lists the record of errors which occurred during the DDL conversion process Tables Double click the Tables sub node to invoke the following window It presents the names of all the Tables for NEWDDLI1 Each table
414. tion Library XAN4CDXA All SSeS Program Function Type SeqNo DSPF Formal Physical File Title CUSTMNT1 I P CUSTMINTIOID l 2 ZZFTO1 B Screen Source Code CUSTMNT 1020 F U CUSTMNT1_0 Man Function Editor CUSTMNT1 001D Z2FTOl CUSTMNT1 0020 eeFTO2 i Preview Designer CUSTMNT1_1 M Page Designer CUSTMNT1_1010 7zF TO Of Data Content CUSTMNT1_102D cF TU E screen Actions CUSTMNT1 2 He Class Diagram CUSTMNT1_2010 ZZFTOI CUSTMNT1_202D R ZZFTO2 Feil Business Rules CUSTMNTIR Vie Component Documenter CUSTMATIROID fer IO B Annotate UI FUNCTION EDITOR The Function Editor option allows you to modify a given function Right click over a selected Screen Component for the context menu as shown below X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 208 JHJ LEGACY Options on Screen Components Function Editor option Screen Components i k La sie a ES CS Ek Ee Ta E iB i fal E Screen Components For Application Library AN4A Gall Program Function Type Seqgho OSPF Format Physical File Title CUSTMAT1I I el PY UST MINT OLD CLUSTMAT 1020 5 F7FTO Screen Source Code CUSTMNTI_R or Function Editor ffFTO1 at Preview Designer Z 2F 102 CUSTMAT1 ROD CUSTMATL RO2D Page Designer R I R R CUSTMNT1_O I CUSTMNT1 OO1D R 77FTO1 Of2 Data Content R I R R I R CUSTMNT1_0020 ZZFTO2 we Screen Actions TE H Class Diagram FFFTO
415. to sort out the bug error which is being reported and generates a zip file X Analysis then invokes the mail client installed on the user s system and attaches the zip file with this mail X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 42 Using X Analysis Client Install SSL CA certificate The Install SSL CA certificate is meant for the user to allow him to transfer data in a convenient and secure manner For more details refer to Appendix K X ANALYSIS PREFERENCES The X Analysis Preferences provides the facility to modify product preferences The X Analysis Plugin comes with default preferences settings You can change default preferences settings as required To change preferences settings open IBM s Rational product 7 5 and above or Eclipse 3 4 and above From the menu bar select Window gt Preferences to invoke the Preferences dialog Preferences option iM ALL ALL ALL Total O window Mew Window Mew Editor Open Perspective Show View Customize Perspective Save Perspective 4s Reset Perspective Close Perspective Close All Perspectives Navigation To view modify various X Analysis Preferences select the X Analysis node When you select the X Analysis node the following window is displayed X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 43 type filter text General Ant Data Management Help Install Update Java JavaScript JPA Plug in Development Rem
416. ual 11 0 2015 Fresche Legacy Inc Page 450 ar yng Index New DB2 Connection 37 38 359 New DB400 Connection 36 37 Object Allocation 74 264 Object Library 187 Object List 46 74 75 76 77 78 79 98 100 147 150 155 195 324 346 400 Object Where Used 16 24 51 133 134 136 150 151 152 162 185 422 OLE Automation 47 356 414 415 Open Database Connectivity 298 Open Office Draw 47 Overridden Files 174 175 Overview Structure Chart 11 17 186 187 188 190 192 193 331 335 339 345 349 Page Designer 55 207 211 212 213 214 215 221 Preferences 43 44 45 46 48 49 51 52 53 54 55 146 147 177 212 213 214 242 243 245 252 358 359 413 414 428 Preview Designer 207 211 212 221 Problem Analysis 74 118 119 122 241 262 263 275 385 program logic 20 21 170 218 Program Structure Chart 11 50 134 144 185 186 pseudo code 84 PTF Analysis 73 230 233 234 235 236 Purge Data 108 295 296 297 RDi 411 Referred Files 180 181 Re generate Programs 403 Relationship Details 285 287 288 Reset Perspective 406 RPG environment 420 Rule Status Manager 428 429 Runtime Environment 413 415 424 Screen Action Diagram 217 320 325 366 373 Screen Components 9 71 72 75 85 86 87 145 146 207 215 217 218 219 222 366 Screen Flow Diagram 144 195 196 197 198 Screen Metrics 74 241 250 251 252 253 Screen So
417. ubroutine Copy Report Definition SourcefObjeck Reports Delete Report Definitio HARDCODE Programs with hardcoded libraries MISSING Source or objects missing SRCOBIDT Source change date after object created E Database Reports DATAERR Database file and member errors and alerts DSGHALRT Database design alerts Delete Report Definition The user can delete an existing report definition using the Delete Report Definition option Delete Report Definition option i Specialized Analysis 2 5 m X Analysis Metrics for XAN4CDXA zme g Category Report Runt Dake Type Status RPG Metrics Reports COMPLEXP General cross language complexity by program COMPLEXS General cross language complexity by SUBROLITINE Siam a DATACRS Program data complexity Modify Report Definition LOGICP Program logic complexity L R t Definiti LOGICS Program logic complexity by subroutine a aele alt Delete Report Definition B Source Objeckt Reports HARDCODE Programs with hardcoded libraries MISSING Source or objects missing SRCOBIDT Source change date after object created Database Reports DATAERR Database File and member errors and alerts DSGNALRT Database design alerts Specialized Analysis Toolbar The Specialized Analysis toolbar comprises various options which are discussed below Specialized Analysis Toolbar Ta Specialized Analysis 2 5 E X Analysis Metrics for XAN4CDXA smal s amp X Analysis User Ma
418. uded XARWKSFE Work with Source File Exclusions Use this option to exclude source files Excluded source files will not be loaded into X Analysis Specify a particular or generic file name You can specify a particular library name or ALL or leave the name blank A blank library name is equivalent to ALL XARWKBRC Work with Business Rule Call Exclusions Use this option to set up Business Rule call exclusions Specify program name which you wish to exclude XARWKHRE Work with Hierarchy Exclusions The Hierarchy Exclusion option is used to prevent all the programs called by the excluded programs to be shown in the Structure Chart Diagram and the Overview Structure Chart The excluded programs in SCD or OSC are highlighted by a green arrow next to it XARWKUMLE Work with UML Exclusions Use this option to exclude objects for UML diagram Specify the object name which you wish to exclude from the UML diagram INITIALIZATION The initialization can now be executed From the master command XK4WRKAPP screen select Option 12 against the cross reference library for initialization Initialise X Analysis 4 XAXREF Type choices press Enter An laea a Oicaiay a ea ee ae XAN4CDXAT Ob 7 Ser seman aie mes ye an eco ee ee eee OPECIF ITED OPECIFIED for more values Source Libraries s o o o o o o amp SAC IIE IG 0 SP he le LED NONE for more values Tade Source fi hese o o o o o CIC ANOTE ATA VEEG Build Darta M
419. ul then the job gets submitted and the job details are displayed On completion a Verification node gets added under the application area Verification node under Application Area ER MYC PROCESS Re Engineering G MYCPROCESI verification sa Application 4rea Diagram xt Data Model Diagram SH Area Flow Diagram Overview Structure Chart e All Objects I Programs i Files Business Rules Consolidated Rules Screen Components Regenerated Programs Verification Process The Verify Data Relationships option submits the XVERIFY command in batch The XVERIFY command uses the data model constructed by re engineering to automatically verify that all application data satisfies the relationships deduced by the data model The product examines each data record in turn to see if its referential integrity relationships are satisfied Each integrity relationship that is breached is separately reported on in a comprehensive audit print produced by the product This command is used to verify the data model against the data in the database X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 289 Data Management Features Parameters The parameters passed internally to the XVERIFY command are Re engineering Function Library It is the library which contains the data model and application specific files created by the command XA4MODEL This is the name of the library that was entered as the Function Library on the XA4MOD
420. urce Code 207 208 Screen Report Design 146 193 194 195 409 Signon 25 26 360 410 425 427 Source archiving 269 Specialized Analysis 74 241 254 255 256 257 260 261 262 Spool File 112 113 114 420 Structure Chart Diagram 11 17 134 144 170 171 173 174 175 176 177 Structured Query Language 302 Subset Data 47 108 293 294 Summary Report 74 241 265 266 267 268 Synon 12 15 20 47 169 171 183 184 188 202 388 389 390 391 SYNON 379 420 Test Process 108 109 UML Options 114 276 280 X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 451 Update Rules 430 Use SSL 27 425 427 V2 28 Variable Program Calls 21 22 Variable Where Used 50 51 133 134 151 152 153 154 155 422 Verification 289 290 291 X 2E 2 376 378 379 388 389 XALicenseManagerTool 28 29 Index X Analysis 1 2 9 10 11 12 13 14 15 16 17 18 19 20 21 23 24 25 26 27 28 36 37 38 40 41 42 43 44 45 46 47 48 49 53 55 56 57 58 67 73 74 75 84 88 97 107 116 133 135 146 147 149 153 159 160 169 177 206 212 213 221 223 224 226 231 232 234 235 236 238 248 268 275 276 278 281 282 285 290 293 298 299 300 302 303 304 306 309 310 315 317 326 353 356 358 359 360 361 366 367 370 371 376 377 378 379 380 381 382 383 384 385 388 389 395 399 405 406 407 408 409 410 413 414 415 41
421. user can select the last of the Override options which is Override Program References On choosing this option the user can add or remove program references for a specific object VERIFY DATA RELATIONSHIPS The Verify Data Relationships option is a submenu option of the Data Management Options which is available on the context menu of a selected application area Clicking the Verify Data Relationships option brings up a dialog showing the selected cross reference library and application area Verify Data Relationships T A ODA Eee Dee sae Application Area Options Derive Business Rules Export Options Annotate Document Application Area verify Data Relationships Subsetl Archive Filter Test M t Opti 6st Management Ptons Subset Data Reengineer Programs Archive Data Generate Programs Purge Data Generate Web Services Archive amp Purge Data Generate Data Application Data Migration Audit Options UML Options X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 288 Data Management Features This presents a dialog showing the selected cross reference library and the application area Verify Data Relationships dialog Verify Data Relationships Ref Library Maximum Error Allowed It prompts for maximum records in error to be reported showing the primary keys and the foreign keys of each record that breaches a given relationship This can range from 1 to 999 If the request is successf
422. utes which are equivalent to CBL are CBLLE CBLnn CBL36 amp CBL38 CICSCBL CICSSQLCBL SQLCBL SQLCBLLE and undefined attributes if it is a COBOL Source File Information about an object can be displayed by selecting highlighting the object and performing any of these Opt for the context menu to select an option Double click to bring up a designated view depending on the current view Zoom Source toolbar Zoom Source toolbar comprises various options which are discussed below Toolbar available on Source Browser Source List of CONOO1 in XAN4CDEM OQRPGSRC Lines 271 View Level 5 O r E BAEK P k p AEiG Source Options Source Options is the drop down menu presenting the different source mode view that are available 2015 Fresche Legacy Inc Page 136 ths Quick Reference to an Object Source Options he Object List Ba congor E3 E Source List of CONOO1 in XAN4CDEM QRPGSRC Lines 271 Yiew Leve 5 Hr ERE H E El g E h BB i a 3 Normal Source Code eo tee eee ee ee ee oe S Indented Source Code 244 253 Gio Business Rules Overlay Business Rules TET TPE ETP PPP PPP Pa a ao Consolidated Rules Receive Parameters Business Process Logic EN TRY PLIST OO24 00 T FARM GARETH 1 O026 00 Ce Until F3 a t nm gt Normal Source Code The Normal Source Code is the default source view for RPG COBOL programs Indented Source Code On selecting the Indented Source Code from the Source Options menu th
423. ved using the Delete buttons Click Next to proceed further X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 346 thJsst LEGACY Document Manager Features to Document oystem Documentation Specify Contents Select features to be included in the System Document Object List Data Model Diagram Normal In Word as Image Detailed In Visio _ Annotation LF Access Path details Detailed File Field Details _ Field Annotation Object Where Used Data Flow Diagram Normal C Detailed Annotation Structure Chart Normal _ Expanded C Detailed Depth Annotation Screen Flow Diagram Normal _ Expanded Program Structure Chart _ Annotation Screen Report Layout Normal Detailed Business Rules A _ Export to MS Excel Summary l Detailed Include Internal Rtn s Source Source level Pseudo Code Flowchart Level _ Business Process Logic Level Choose the options which you want to document from the above dialog Click Next which will present the following screen X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 347 Document Manager Sequencing of the Features oystem Documentation Specity Sequence What sequence would you like to have for the System Document Application Area OSC Normal Application Area DMD Normal LF Access Path details File Field Details Object Where Used Data Flow Diagram Normal with A
424. vert Selection the selected object gets un selected and all other un selected objects get selected After ordering of the objects click Generate Document This invokes the Documenter Wizard as shown below System Documenter Wizard 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 For each object marked for documentation System Documentation type O Generate Single System Document Generate Individual System Documents Generate System Documents using previous values Document Details Document Tithe System Document For sAM4 OSA Name System Document For H4h4COX4 pdf C Documents and Settings alakhilly Documents 4nalvsis Application Datall 92 168 170 10 PCF_ 4nN4COe4 System Document For H4N4C0 4 pdf Cancel Note that the Documenter option can also be alternatively accessed from the Export Options drop down on the Source Browser toolbar of a selected object X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 316 Document Manager Document Wizard Sections System Documentation Type Various options are available for the System Documentation type By default the Generate Single System Document option is checked Document Details Document Title The user c
425. was found 2 Run the following command on the session WRKSPLF SELECT ALL JOB 103581 MARK QPRTJOB and WRKSPLF SELECT ALL JOB 161482 MARK QPRTJOB Take Option 4 against the spool files to delete them 3 Opt for the Screen Report Design feature again This should be working now X ANALYSIS DIAGNOSTICS UTILITY The X Analysis Diagnostics utility is invoked automatically when an exception occurs on X Analysis it opens the log folder which has the XADiagnostics log along with other log files This utility will log entries under CLSID value for bean databorough lib folder structure and information about IBM s Rational product 7 5 and above or Eclipse 3 4 and above This utility can also be invoked standalone to provide directory and registry structure related to the X Analysis installation to a log file To run this utility select the X Analysis Diagnostics under the X Analysis program group X Analysis Diagnostics utility dialog XA Diagnostics Wher you press Start button this will scan pour 4nalysis folder and dump the Directory and Registry structure to AD agnostics log file 2015 Fresche Legacy Inc Page 409 Appendix G Troubleshooting ERROR MESSAGE APPEARS ON SIGNON TO X ANALYSIS While signing on to X Analysis if the following error message is displayed then please perform the following troubleshooting steps Error dialog Error Jaya f gt java land UnsatistiedLinkError getbrowse
426. y List type the XREDOAPP command and press ENTER The following screen similar should appear X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 375 Ahd Appendix D XREDOAPP Command XREDOAPP Command screen X Analysis 4 2 Redo Applicarionm Control Dataporough Ltd XARREDOAPP 11 49325 2 aen e Enter options press Enter 2 Linking 3 Copy 6 Date Attributes 8 Libraries 12 Initialise 15 Business Rules 16 Generate 17 Failures 18 Errors 19 Load Log 20 X A Log 21 File Check 22 23 Compile Chk 24 Prb Anl CT Prj Ctl X ror Ils Text Company division AA2EDEMO X 2E Hospital Demo XAN4CDXA XAN4CDEM Tutorial System F1l Help F3 Exit F10 Cmd Line Fl2 Cancel F24 More Keys OPTIONS AVAILABLE ON THE XREDOAPP COMMAND INTERFACE The following options are available on the XREDOAPP command interface Option 2 Linking Option 3 Copy Option 6 Date Attributes Option 8 Libraries Option 12 Initialise Option 15 Business Rules Option 16 Generate Option 17 Failures Option 18 Errors Option 19 Load Log Option 20 X A Log Option 21 File Check Option 22 Compile Check Option 24 Prb Anl Option CT Prj Ctl X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 376 Appendix D XREDOAPP Command Option 2 Linking Option 2 can be used to link multiple applications To use the Linking option some Data Areas need to be upda
427. y 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 O Exit Skip document creation Click Finish to generate the document No Detailed Object Documentation If the No Detailed Object Documentation option is selected then only the Overview Structure Chart and or the Data Model Diagram as specified in the Application Area Options dialog is created X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 349 Document Manager No Detailed Object Documentation Features X Analysis E mfx System Documentation Application Area Options Select Application Area Features to be included in the System Document Diagram Options Overview Structure Chart Normal Expanded Detailed Data Model Diagram Normal In PDF as Image Detailed In visio Show Al Application Area Diagram Annotation F Application 4rea Annotation Coverage of System Document Detailed Object Documentation in Alphabetical Order Detailed Object Documentation in Call Sequence Order No Detailed Object Documentation Click Next to proceed further X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 350 Document Manager No Detailed Object Documentation Specify Sequence X Analysis System Documentation Specify Sequence what sequence would you like to have For
428. y marking individual Objects for Documentation or selecting the Documenter option on Application Area Select the Generate System Documents using previous values option from the documentation wizard as shown below Generate System Documents using previous values Type and Location X Analysis System Documentation Type and Location Select the type of documentation and ts location System Documentation can generate Single document with documentation of af the objects marked for documentation OR Generate mutiple documents for each object marked for documentation System Documentation type Generate Single System Document Generate Individual System Documents Generate System Documents using previous values Document Details Name System Document for XAN4COXA pdf Path D Program Files Databorough X Analysis 192 168 170 10 PCF_XAN4CDXA System Document for XAN4COXA pdf After selecting the Generate System Documents using previous values option click Browse to invoke the Save As dialog Select the desired location to save the document and enter a new file name if required X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 327 Ths Document Manager Document Folder T System Document for sAN4COsA Application Area MVCPROCESS pdf System Document for X4N4COX4 pdf My Recent Documents Desktop My Documents My Computer T t File name SANADA Application 4rea MYCPROCE
429. y mentioned in the library list If you want to use a data library other than the ones X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 57 THUS Application Library mentioned in the library list then X Analysis provides a feature called Alternate Data Library List The Add Alternate Data Library List option is available on the right click menu of a cross reference library It provides a method of inserting a library or a group of libraries into the data portion of the library list This gives a name to a group of libraries that can be maintained by the Work with Alternate Data Library List option which is discussed below On selecting the Add Alternate Data Library List option the following dialog appears Add Alternate Data Library dialog Add Alternate Data Library List Ed Mame TEST1 Description Alternate Data Library Provide a name and description for the alternate library group in the above dialog box Click OK to add the alternate data library group name under the cross reference library node as shown below Alternate Library List added to the cross reference library W 192 168 170 10 S A MAN4CDXA XAN4CDEM Tutorial System a l Application Area Diagram xt Data Model Diagram im Overview Structure Chart e All Objects Expand the cross reference node and select the Alternate Data Library node Then opt for the context menu as displayed below Alternate Lib
430. y or Refers to relation EDTFIL Edit File Defines a program which maintains records on a specified file many at a time using a sub file EDTRCD Edit Record Defines a program which maintains add change and delete records on a specified file one at a time EDTTRN Edit Transaction Defines a program which maintains the records on a specified pair of header and detail files The pair must be connected by an Owned by or Refers to relation EDTRCD2 Edit Record 2 panels Is identical to the Edit Record function except that it allows the record details to extend to two separate display pages EDTRCD3 Edit Record 3 panels Is identical to the Edit Record function except that it allows the record details to extend to three separate display pages EXCUSRPGM Execute User Program Defines a program which allows a user to describe the interface to a user written HLL program so that it can be referenced by functions OTH Other Defines a program which calls a program and does not have any files in update write read mode Also the program does not have any Display File s or Printer File s OTHCAL Other Call It is identical to the OTH function except that it allows call with parameters OTHFIL Other File Defines a program which accepts files in input mode and does not have Printer File s Display File s or any other files in update write mode PMTRCD Prompt Record Defines a program wh
431. y the object Input This depicts the input file if program is selected and a program receiving input if file is selected Output This depicts the output file if a program is selected and a program writing output if file is selected Update This depicts the Update file Called Program This depicts the program called by other programs Calling Program This depicts the program calling other programs The generated AFD can be exported to two formats by selecting the Export to MS Visio Image option from Export Options Area Flow Diagram with Export Options H Area Flow Diagram 3 ia Area Flow Diagram for MYCPROCESS Total Objects 30 X Analysis User Manual 11 0 RE la port to MS visio WWCUSTS Work with Customers F Pa Export to Image Customer Groups TRNHST Transaction History M CUSTMNTI Customer Detail higintenance CUSFSEL TRATYP Transaction type descnption Customer Site Selection 2015 Fresche Legacy Inc Page 132 ANUS Quick Reference to an Object Quick Reference to an Object X Analysis is loaded with various options that provide more information regarding the various objects members These options not only offer you the opportunity to refer to any given object in quick time but also provide relevant information and or diagrammatic presentations as needed Feature Brief Description Jump to Displ
432. ys a list of all the business rules and their narrations for the selected cross reference library The Business Rules node is available under the cross reference node Business Rules for XAN4CDXA Eid Business Rules 3 GETS A O R O Business Rules for ALL Number of Lines 412 Source Member Rule Number Field File Rule CB906R 00 SSRLNE SECF Srl_no blank CB90BR OO SSRLNB SECF Sr_no blank CB9DBR 10003 SSRLNB SECF Srl_no blank CNTCMAINT CUSNO CNTA Cus No not found on Contacts CNTCMAINT IANAME MAME Name found on Names Index CNTCMAINT 00003 USERNM CNTA Contact blank CNTCMAINT TELNO CNTA Phone lt gt blank CNTCMAINT 0000 FAXNO CNTA Fax_No lt gt blank CNTCMAINT 000 SINIT CNTA Sales Person lt gt blank CNTCMAINT SINIT CNTA Exact match not found for Sales Person on Contacts lt CONSOLIDATED RULES X Analysis provides an important feature related to file fields and business rules Through this feature you can view all the business rules related to a file field Double click the Consolidated Rules node to invoke the following window X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 84 Application Library Consolidated Rules for XAN4CDXA Member Message ID Description CUSNO Cus No Cus No 0 WWCCONS 2 247 Cus No found on Contacts WWCCONS 1 160 Cus No not found on Contacts CNTCMAINT 1 44 FAXNO Fax No Fax No lt gt blank CNTCMAINT 5 184 QEMO015 The fax
433. ysis Folder Specify path for the X Analysis folder Logs and Temporary files folder Oo Specify Folder Specify location to change the default location for the X Analysis logs and temporary files If this is left blank then default location is set X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 48 Using X Analysis Client Open Office Installation Path Oo Specify Folder Specify location to change the default Open Office Installation path If this is left blank then default location is set GENERAL PREFERENCES Expand the X Analysis node to view modify the General Preferences type filter te gt General gt Ant gt Data Management gt Help gt Install Update Java gt JavaScript JPA b Plug in Development b Remote Systems gt Run Debug gt Server Service Policies gt Tasks Team gt Usage Data Collector Validation t Web b Web Services A Analysis Advanced Folders X Data Test t X Redo gt XDoclet gt XML X Analysis User Manual 11 0 General Preferences General Setting Preferences Structure Chart Maximum Diagram Depth Maximum Unexpanded Depth Maximum Files to show ina row in Show Files mode 3 Preferred Volume Limit 1000 System Document amp View Export as Paper Size PDF MS Word document A4 Letter Google Drive Export Allow Export to Google Drive as DOCX Allow Export to Google Drive as XLSX Program Structur
434. ysis User Manual 11 0 2015 Fresche Legacy Inc Page 196 Program Logic Documentation gt Screen Flow Diagram with the repeated node be Object List Pe WihWCONHDR i E Screen Flow Diagram for WWCONHDR Total Objects 7 a Bly amp f fs a EA ZZFTOL Work with Order Details WW ONDE TOZO i I wg Repeated Node WWLONDETOLG Z CNF1 Confirm Wy Ff SFO Work with Order Details The Show Files icon is provided to show the files used by the function Show Files icon be Object List E WIWCONHDR E3 E Screen Flow Diagram for WWCONHDR Total Objects 7 a fly e f E ZZ5F01 Work with Orders VAN CONHDR Se les When you click on the icon all the files related to the selected object are displayed as shown below X Analysis User Manual 11 0 2015 Fresche Legacy Inc Page 197 Program Logic Documentation Screen Flow Diagram for WWCONHDR with Files fe Object List WWCONHDR 3 E Screen Flow Diagram for WWCONHDR Total Objects 26 a A EM OoOo g gt A HA F25F01 Work with Orders uy ORJADRO i Contract Header LHAZZFTOL Work with Orders Ww ORADROZD Contract Header Order status L LHAzzsF01 work with Order Details wW ONDE TOL Contract Detail Product Master LHA ZZFTOL Work with Order Details wet ONDE TOZO E Contract Detail Contract Header Product Master Transaction type HJ ZZCNF1 Confirm WW ONCE T 4C Z _IRNTY Contract Detai

Download Pdf Manuals

image

Related Search

Related Contents

CAAPE User`s Manual  Melissa 646-067 User's Manual  BOLETIN TECNICO YODOFORO SELLADOR.docx  LabTrack 2.3 manual  Barkan Mounting Systems 51B  Advanced Cable Technology AK3795  CFM TEK250H-V2 User's Manual  - Cambridge Technology  Jet Tools 719T WMH User's Manual  

Copyright © All rights reserved.
Failed to retrieve file