HORIZONT 1 XINFO ® The IT Information System Cobol HORIZONT Software for Datacenters Garmischer Str. 8 D München Tel ++49(0)89 / XINFO
HORIZONT 2 XINFO ® XINFO and Cobol General program information Copy (which program uses which copy member) Copy Call (which program calls which program) Call Graphics (“inter language” call graph) Graphics Select/assign, file access, file section (file usage) Select/assign, file access, file section DB2 access (EXEC SQL Statements) DB2 access CICS access (EXEC CICS) CICS access DLI access (IMS, EXEC DLI and CBLTDLI) DLI access Variable declarations, variable usage Unused code Comments XINFO‘s Cobol interface gives you access to following information:
HORIZONT 3 XINFO ® Cobol - General Info Search for programs by specifying attributes, eg - uses SQL - more than 1000 lines of code - was changed after a certain date
HORIZONT 4 XINFO ® Cobol - General Info Program names SQL, CICS, DLI etc. Y/N Code line qty Comments qty Load module name: source member or program id or external translation
HORIZONT 5 XINFO ® Cobol - Copy Which programs are using this copy member?
HORIZONT 6 XINFO ® Cobol - Copy Programs Copy statement found Nesting Level (Copy in Copy) Replacing Y/N SQL include Y/N
HORIZONT 7 XINFO ® Cobol - Copy Right mouse click eg shows copy member
HORIZONT 8 XINFO ® Cobol - Copy Next example: declaration of a program name
HORIZONT 9 XINFO ® Cobol - Call Select option 3 - Call
HORIZONT 10 XINFO ® Cobol - Call Which programs are calling this program?
HORIZONT 11 XINFO ® Cobol - Call Calling programs Section within the program (not used in this example) Called program Variable name Parameters
HORIZONT 12 XINFO ® Cobol - Call Right mouse click eg shows source member
HORIZONT 13 XINFO ® Cobol - Call Source with dynamic call. A previous „MOVE pgmname to varname" was translated by XINFO‘s scanner.
HORIZONT 14 XINFO ® Cobol Call Question: which programs are called by “DSN8CC0”?
HORIZONT 15 XINFO ® Cobol Call Answer: DSN8CC0 calls two programs (which may contain more program calls)
HORIZONT 16 XINFO ® Programs Call Program call shows all calls over multiple levels, independently of the used program language! Which programs are called by DSN8CC0?
HORIZONT 17 XINFO ® Programs Call All calls over all levels
HORIZONT 18 XINFO ® Programs Call Graph Click on All – GRAPH – Programs Call Diagram… … or right click on any record – GRAPH – Programs Call Diagram
HORIZONT 19 XINFO ® Programs Call Graph This chart shows all program calls clearly
HORIZONT 20 XINFO ® Cobol - Files Here you can get information about: file definitions file access (read/write) etc
HORIZONT 21 XINFO ® Cobol - Files Search for Main Program “DSN8*” and Assignment- Name “*-S-*”
HORIZONT 22 XINFO ® Cobol – SELECT/ASSIGN File/DD name ”assignments” and the parameters (taken from File-Control). FILE-CONTROL. SELECT REPOUT ASSIGN TO UT-S-REPORT.
HORIZONT 23 XINFO ® Cobol – File Section Select option 6 – File Section
HORIZONT 24 XINFO ® Cobol – File Section File attributes from file description, eg record length, record mode etc. FILE-CONTROL. SELECT REPOUT ASSIGN TO UT-S-REPORT. FILE SECTION. FD REPOUT RECORD CONTAINS 120 CHARACTERS LABEL RECORDS ARE OMITTED DATA RECORD IS REPREC. 01 REPREC PIC X(120).
HORIZONT 25 XINFO ® Cobol – File Access Search for Main Program “DSN8*” and Assignment- Name “*-S-*”
HORIZONT 26 XINFO ® Cobol – File Access „File access" shows all file operations
HORIZONT 27 XINFO ® Cobol – File Access Right mouse click eg to show JCL DD statements (XINFO’s JCL scanner is needed)
HORIZONT 28 XINFO ® JCL – DSN DSN and other JCL-parameters
HORIZONT 29 XINFO ® Cobol – DB2 Access Select option 7 – DB2 Access
HORIZONT 30 XINFO ® Cobol – DB2 Access Question: Which programs are using DB2 table "VDEPT"?
HORIZONT 31 XINFO ® Cobol – DB2 Access Programs In case of "Type=Table" column "Object" shows the name of the table SQL action
HORIZONT 32 XINFO ® Cobol – DB2 Access Search for Main Program “DSN8CC2”
HORIZONT 33 XINFO ® Cobol – DB2 Access All used columns are shown
HORIZONT 34 XINFO ® Cobol – DB2 Access Search programs by "used columns"
HORIZONT 35 XINFO ® Cobol – DB2 Access The column "DEPTNO" is used in several tables by several programs
HORIZONT 36 XINFO ® Cobol – Variable Question: In which programs is the variable "DEPTNO" defined?
HORIZONT 37 XINFO ® Cobol – Variable In this example "DEPTNO" is defined in two programs Left double mouse click shows the complete record
HORIZONT 38 XINFO ® Cobol – Variable The details of the record
HORIZONT 39 XINFO ® Cobol – Variable usage
HORIZONT 40 XINFO ® Cobol – Variable usage "Variable usage" shows exactly "where and how" variables are used in your programs.
HORIZONT 41 XINFO ® Cobol – Variable usage Right mouse click to browse the “Member with Var-Ref”
HORIZONT 42 XINFO ® Cobol – Variable usage The result
HORIZONT 43 XINFO ® Cobol – CICS Access Example: Search for all "EXEC CICS" in programs "DSN8C*"
HORIZONT 44 XINFO ® Cobol – CICS Access "CICS Access" shows all CICS actions and the parameters. LINK and XCTL is shown in the call table as well as in the call graph
HORIZONT 45 XINFO ® Cobol – DLI Access Search for DLI calls
HORIZONT 46 XINFO ® Cobol – DLI Access IMS actions and parameters. Search for strings in DLI statements
HORIZONT 47 XINFO ® Cobol – Unused Code
HORIZONT 48 XINFO ® Cobol – Unused Code Program From line, to line Shows program lines that are never called
HORIZONT 49 XINFO ® Cobol – Comments Program Line Comment Division
HORIZONT 50 XINFO ® Cobol – Comments Search for strings, eg *CICS* in all comments
HORIZONT 51 XINFO ® Cobol – Comments All comments with *CICS*
HORIZONT 52 XINFO ® Any questions about XINFO and Cobol? Yes?
HORIZONT 53 XINFO ® Many thanks for your attention! HORIZONT Software for Datacenters Garmischer Str. 8 D München Tel ++49(0)89 / The IT Information System XINFO