1 / 39

The IT Information System

XINFO . The IT Information System. Cobol. H O RIZONT Software for Datacenters. Garmischer Str. 8 D- 80339 München Tel ++49(0)89 / 540 162 - 0 www.horizont-it.com. XINFO and Cobol. XINFO‘s Cobol interface gives you access to following information:. General program information

zion
Download Presentation

The IT Information System

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. XINFO The IT Information System Cobol HORIZONT Software for Datacenters Garmischer Str. 8 D- 80339 München Tel ++49(0)89 / 540 162 - 0www.horizont-it.com

  2. XINFO and Cobol XINFO‘s Cobol interface gives you access to following information: • General program information • Copy (which program uses which copy member) • Call (which program calls which program) • Graphics (“inter language” call graph) • Select/assign, file access, file section (file usage) • DB2 access (EXEC SQL Statements) • CICS access (EXEC CICS) • DLI access (IMS, EXEC DLI and CBLTDLI) • Variable declarations, variable usage • Unused code • Comments

  3. Cobol - General Info • Search for programs by specifying attributes, eg • - uses SQL • more than 1000 lines of code • was changed after a certain date

  4. Cobol - General Info • load module name: • source member or • program id or • external translation program names code line qty SQL, CICS, DLI etc. Y/N comments qty

  5. Cobol - Copy which programs are using this copy member?

  6. Cobol - Copy SQL include Y/N programs Nesting Level (Copy in Copy) Replacing Y/N Copy statement found

  7. Cobol - Copy right mouseclick eg shows copy member Next example: declaration of a program name

  8. Cobol - Call which programs are calling this program?

  9. Cobol - Call calling programs parameters called program variable name section within the program (not used in this example)

  10. Cobol - Call right mouseclick eg shows source member Source with dynamic call. A previous „MOVE pgmname to varname" was translated by XINFO‘s scanner.

  11. Cobol Call Question: which programs are called by “DSN8CC0”?

  12. Cobol Call Answer:DSN8CC0 calls two programs (which may contain more program calls)

  13. Programs Call Program call shows all calls over multiple levels, independently of the used program language! which programs are called by DSN8CC0?

  14. Programs Call all calls over all levels

  15. Programs Call Graph This chart shows all program calls clearly

  16. Cobol - Files • Here you can get information about • file definitions • file access (read/write) • etc

  17. Cobol – SELECT/ASSIGN FILE-CONTROL. SELECT REPOUT ASSIGN TO UT-S-REPORT. File/DD name ”assignments” and the parameters (taken from File-Control).

  18. Cobol – File Section 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). File attributes from file description, eg record length, record mode etc.

  19. Cobol – File Access „File access" shows all file operations

  20. Cobol – File Access right mouseclick eg to show JCL DD statements (XINFO’s JCL scanner is needed)

  21. JCL – DSN DSN and other JCL-parameters

  22. Cobol – DB2 Access Question:Which programs are using DB2 table "VDEPT"?

  23. Cobol – DB2 Access SQL action In case of "Type=Table" column "Object" shows the name of the table Programs

  24. Cobol – DB2 Access All used columns are shown

  25. Cobol – DB2 Access Search programs by "used columns"

  26. Cobol – DB2 Access The column "DEPTNO" is used in several tables by several programs

  27. Cobol – Variable Question:In which programs is the variable "DEPTNO" defined?

  28. Cobol – Variable In this example "DEPTNO" is defined in two programs left double mouseclick shows the complete record

  29. Cobol – Variable usage "Variable usage" shows exactly "where and how" variables are used in your programs.

  30. Cobol – CICS Access Example:Search for all "EXEC CICS" in programs "DSN8C*"

  31. 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

  32. Cobol – DLI Access search for DLI calls

  33. Cobol – DLI Access IMS actions and parameters. Search for strings in DLI statements

  34. Cobol – Unused Code Shows program lines that are never called Program From line, to line

  35. Cobol – Comments Program Comment Division Line

  36. Cobol – Comments search for strings, eg *CICS* in all comments

  37. Cobol – Comments

  38. Any questions about XINFO and Cobol? Info@Horizont-it.com

  39. XINFO The IT Information System Many thanks for your attention! HORIZONT Software for Datacenters Garmischer Str. 8 D- 80339 München Tel ++49(0)89 / 540 162 - 0www.horizont-it.com

More Related