c (programming language z/os)

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

Upload: lou

Post on 11-Jan-2016

35 views

Category:

Documents


8 download

DESCRIPTION

XINFO. The IT Information System. C (Programming Language z/OS). 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 C. The XINFO C scanner delivers following information:. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: C  (Programming Language z/OS)

C (Programming Language z/OS)

The IT Information System

HORIZONTSoftware for Datacenters

Garmischer Str. 8 D- 80339 MünchenTel ++49(0)89 / 540 162 - 0www.horizont-it.com

XINFO

Page 2: C  (Programming Language z/OS)

HORIZONT 2 XINFO®

XINFO and C

• Which programs are using which includes ?

• Which programs are using which functions ?

• Which programs are using a certain type ?

• Which programs are calling external programs ?

• Which programs are using which variables ?

• Which programs are deleting rows from a DB2 table ?

• ….

The XINFO C scanner delivers following information:The XINFO C scanner delivers following information:

Page 3: C  (Programming Language z/OS)

HORIZONT 3 XINFO®

C - Displays

The displays for C

Page 4: C  (Programming Language z/OS)

HORIZONT 4 XINFO®

C - General Info

Selection panel “General Info”

..scroll up/down for more selection fields…

Page 5: C  (Programming Language z/OS)

HORIZONT 5 XINFO®

C - General Info

resulting “General Info”

Page 6: C  (Programming Language z/OS)

HORIZONT 6 XINFO®

C - Includes

Search for Includes, e.g. all programs that include “assert.h”

Page 7: C  (Programming Language z/OS)

HORIZONT 7 XINFO®

C - IncludesThese programs are using “assert.h”

Direct read access to several sources

Page 8: C  (Programming Language z/OS)

HORIZONT 8 XINFO®

C - SystemSearch for all programs that are using system calls like “system” and “spawn”

Page 9: C  (Programming Language z/OS)

HORIZONT 9 XINFO®

C - SystemIn this environment only one program uses “system”

Page 10: C  (Programming Language z/OS)

HORIZONT 10 XINFO®

C - FunctionsFunction “inflate_blocks_reset” causes problems. Where is it defined?

Page 11: C  (Programming Language z/OS)

HORIZONT 11 XINFO®

C - Functions

The function is defined in member “INFBLOCK”

Page 12: C  (Programming Language z/OS)

HORIZONT 12 XINFO®

C – Function Call

And now you want to know which programs are using this function: “Called Function” gives you the answer:

Page 13: C  (Programming Language z/OS)

HORIZONT 13 XINFO®

C – Function Call

Ok, no problem: The function is only used in two members

Page 14: C  (Programming Language z/OS)

HORIZONT 14 XINFO®

C - Files

Which programs are writing to the console (stdout)?

Page 15: C  (Programming Language z/OS)

HORIZONT 15 XINFO®

C - Files

These programs are writing to the console

Page 16: C  (Programming Language z/OS)

HORIZONT 16 XINFO®

C - Files

Use the “group” function to get the members (and not all lines)

Page 17: C  (Programming Language z/OS)

HORIZONT 17 XINFO®

C - Files

All members where stdout is used, column “count” shows you how often

Page 18: C  (Programming Language z/OS)

HORIZONT 18 XINFO®

C – DB2 Access

Which programs are updating table “VCONA”?

Page 19: C  (Programming Language z/OS)

HORIZONT 19 XINFO®

C – DB2 Access

Program DSN8CC1 is the only program that updates table “VCONA”

Page 20: C  (Programming Language z/OS)

HORIZONT 20 XINFO®

C - Variables

Which variables are declared, but not used?

Page 21: C  (Programming Language z/OS)

HORIZONT 21 XINFO®

C - Variables

The result shows all members (lines) where unused variables are declared

Page 22: C  (Programming Language z/OS)

HORIZONT 22 XINFO®

C - Types

Which programs are using streams?

Page 23: C  (Programming Language z/OS)

HORIZONT 23 XINFO®

C - Types

Here are all lines where streams are used…

Page 24: C  (Programming Language z/OS)

HORIZONT 24 XINFO®

C - Types …use the group functions to get a list of all members…

Page 25: C  (Programming Language z/OS)

HORIZONT 25 XINFO®

C - Types

…here is a list of all members where streams are used

Page 26: C  (Programming Language z/OS)

Thank you very much for your

attention!

XINFOThe IT Information System

HORIZONTSoftware for Datacenters

Garmischer Str. 8 D- 80339 MünchenTel ++49(0)89 / 540 162 - 0www.horizont-it.com