C (Programming Language z/OS)

Post on 11-Jan-2016

35 views 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 of 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

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:

HORIZONT 3 XINFO®

C - Displays

The displays for C

HORIZONT 4 XINFO®

C - General Info

Selection panel “General Info”

..scroll up/down for more selection fields…

HORIZONT 5 XINFO®

C - General Info

resulting “General Info”

HORIZONT 6 XINFO®

C - Includes

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

HORIZONT 7 XINFO®

C - IncludesThese programs are using “assert.h”

Direct read access to several sources

HORIZONT 8 XINFO®

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

HORIZONT 9 XINFO®

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

HORIZONT 10 XINFO®

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

HORIZONT 11 XINFO®

C - Functions

The function is defined in member “INFBLOCK”

HORIZONT 12 XINFO®

C – Function Call

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

HORIZONT 13 XINFO®

C – Function Call

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

HORIZONT 14 XINFO®

C - Files

Which programs are writing to the console (stdout)?

HORIZONT 15 XINFO®

C - Files

These programs are writing to the console

HORIZONT 16 XINFO®

C - Files

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

HORIZONT 17 XINFO®

C - Files

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

HORIZONT 18 XINFO®

C – DB2 Access

Which programs are updating table “VCONA”?

HORIZONT 19 XINFO®

C – DB2 Access

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

HORIZONT 20 XINFO®

C - Variables

Which variables are declared, but not used?

HORIZONT 21 XINFO®

C - Variables

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

HORIZONT 22 XINFO®

C - Types

Which programs are using streams?

HORIZONT 23 XINFO®

C - Types

Here are all lines where streams are used…

HORIZONT 24 XINFO®

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

HORIZONT 25 XINFO®

C - Types

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

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