490 likes | 673 Views
XINFO . The IT Information System. PL/1. 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 und PL1. XINFO‘s PL/1 Interface delivers information about:. General Program Information Includes CALL
E N D
XINFO The IT Information System PL/1 HORIZONT Software for Datacenters Garmischer Str. 8 D- 80339 München Tel ++49(0)89 / 540 162 - 0www.horizont-it.com
XINFO und PL1 XINFO‘s PL/1 Interface delivers information about: • General Program Information • Includes • CALL • Procedures/Functions • File Access • File Declarations • Global Variables • DB2 Access • EXEC CICS • EXEC DLI • Graphics
PL1 - Displays … and the appropriate Graphs The displays for PL/1…
PL1 - "General Info" If you need some general information about a PL/1 program... Select "General Info"
PL1 - "General Info" Selection Which programs are using DB2?
PL1 - "General Info" Result Member DB2 Access Library CICS DLI (IMS)
PL1 - "General Info" Fields The option "View - Display Legend" gives you a description of all fields
PL1 - INCLUDE If you want to know more about “INCLUDE-Members”... Select "INCLUDE"
PL1 - INCLUDE Selection Which programs are using INCLUDE member DCLISTP?
PL1 - INCLUDE Result INCLUDE Member Main Library Main INCLUDE Library
PL1 - INCLUDE Member Example Main-Pgm: The name of the member that contains the main program, that is usually the name of the load module. In our example "A“. Main-Lib: The name of the Library, where "A" was found. In our example SOURCE.LIB. INCLUDE-Member: The name of the member with the INCLUDE statement. That is not always identical to the main program, e.g. the INCLUDE statement is nested in another INCLUDE member. In our example “A” for “B” and “B” for “C”. Found: Shows if the INCLUDE member was found in one of the libraries specified during the XINFO installation. In our example “Y(es)” for “B” and “N(o)” for “C” Line: The line number of the INCLUDE statements. In our example “25” for “B” and “50” for “C” Source lib: The library where the INCLUDE member was found. In our example “SOURCE.LIB” for “B” and “INCLUDE.LIB” for “C” Member SOURCE.LIB(A): 00025 %include B; ... Member INCLUDE.LIB(B): 00050 %include C; ... Member C was not found in any library ...
PL1 - External program call PL1 programs are often calling other Programs. If you need information about the calls… ...select ”CALL”…
PL1 – „Call“ Selection Which programs are using ISPEXEC?
PL1 – „Call“ Result You want to know the program names, but not every call?
PL1 – „Call“ Result, Grouped Select “Main Program“... ..then select “Group“...
PL1 – „Call“ Result, Grouped The programs (count shows how often they are called)
PL1 - Procedures/Functions In addition to external calls the internal program structure is also analysed Select “Procedures/Functions”
PL1 - Procedures/Functions Specify selection criteria
PL1 - Procedures/Functions Result The result
PL1 - File access If you need information about File access ... …select “File Access”…
PL1 - File Access Selection Which DD names are used in addition to the standard names?
PL1 - File Access Selection The result
PL1 - File Access Result If you want to compare the DD statements that are used in programs to the DD statements from the JCL: Right mouseclick links you directly to the JCL DD statements…
PL1 - File Declaration If you need information about the “File Declarations”… …select “File Declaration”
PL1 - File Declaration Selection e.g. all declarations used in program OQSI...
PL1 - DB2 Access If you need information about DB2 Access... …select "DB2 Access”
PL1 - DB2 Access Selection Which columns from table ZZOPCOTB are used in our PL/1 programs?
PL1 - Variables If you need information about PL1 variables... Select “Global Variables” …
PL1 - Variables Selection If you want to know which programs are still using YYMMDD...
PL1 – Variables Result The result
PL1 – CICS Access Selection Please note that we do not use PL/1 Programs with CICS, but COBOL. The PL/1 scanner gives you identical results. Which programs are using „EXEC CICS SEND“?
PL1 – CICS Access Result The ”EXEC CICS SEND“ programs
PL1 – CICS Access Which CICS statements are used?
PL1 – CICS Access Grouped ...use the group function to get an overview... All CICS statements...
PL1 – CICS Access Grouped „SEND MAP“ is used mostly
PL1 – DLI Selection criteria for IMS/DLI
PL1 – DLI Excuse, but we do not have any data for PL/1 and IMS!
PL1 – Graphics Two different graphics are available for PL/1: • The Explorer • The CALL-Diagram
PL1 - Explorer The Explorer... …specify selection criteria
PL1 - Explorer Click with the left mouse onto a program symbol to get an overview about the elements... INCLUDES FILES DB2 PROCS CALLS CICS
PL1 - Explorer Click with the left mouse on “INCLUDE” to get a list with all INCLUDE members One more click gives you detailled information
PL1 - Explorer Use the right mouse to browse the source of the program
PL1 – Call Diagram If you need an overview about Sub programs: Select “Source“, then “Call Diagram” …and the nesting level… Specify the program name...
PL1 – Call Diagram Zoom… Main program Sub programs
Any questions about PL/1? Yes? info@horizont-it.com
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