c (programming language z/os) the it information system horizont software for datacenters garmischer...

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: aryanna-thyne

Post on 01-Apr-2015

216 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: 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 -

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) The IT Information System HORIZONT Software for Datacenters Garmischer Str. 8 D- 80339 München Tel ++49(0)89 / 540 162 -

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) The IT Information System HORIZONT Software for Datacenters Garmischer Str. 8 D- 80339 München Tel ++49(0)89 / 540 162 -

HORIZONT 3 XINFO®

C - Displays

The displays for C

Page 4: 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 -

HORIZONT 4 XINFO®

C - General Info

Selection panel “General Info”

..scroll up/down for more selection fields…

Page 5: 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 -

HORIZONT 5 XINFO®

C - General Info

resulting “General Info”

Page 6: 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 -

HORIZONT 6 XINFO®

C - Includes

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

Page 7: 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 -

HORIZONT 7 XINFO®

C - IncludesThese programs are using “assert.h”

Direct read access to several sources

Page 8: 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 -

HORIZONT 8 XINFO®

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

Page 9: 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 -

HORIZONT 9 XINFO®

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

Page 10: 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 -

HORIZONT 10 XINFO®

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

Page 11: 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 -

HORIZONT 11 XINFO®

C - Functions

The function is defined in member “INFBLOCK”

Page 12: 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 -

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) The IT Information System HORIZONT Software for Datacenters Garmischer Str. 8 D- 80339 München Tel ++49(0)89 / 540 162 -

HORIZONT 13 XINFO®

C – Function Call

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

Page 14: 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 -

HORIZONT 14 XINFO®

C - Files

Which programs are writing to the console (stdout)?

Page 15: 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 -

HORIZONT 15 XINFO®

C - Files

These programs are writing to the console

Page 16: 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 -

HORIZONT 16 XINFO®

C - Files

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

Page 17: 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 -

HORIZONT 17 XINFO®

C - Files

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

Page 18: 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 -

HORIZONT 18 XINFO®

C – DB2 Access

Which programs are updating table “VCONA”?

Page 19: 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 -

HORIZONT 19 XINFO®

C – DB2 Access

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

Page 20: 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 -

HORIZONT 20 XINFO®

C - Variables

Which variables are declared, but not used?

Page 21: 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 -

HORIZONT 21 XINFO®

C - Variables

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

Page 22: 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 -

HORIZONT 22 XINFO®

C - Types

Which programs are using streams?

Page 23: 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 -

HORIZONT 23 XINFO®

C - Types

Here are all lines where streams are used…

Page 24: 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 -

HORIZONT 24 XINFO®

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

Page 25: 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 -

HORIZONT 25 XINFO®

C - Types

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

Page 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 -

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