Summary: This document provides information about the analysis results you can expect from a PowerBuilder analysis.

What results can you expect?

Once the analysis/snapshot generation has completed, you can view the results in the normal manner (for example via CAST Enlighten):

Objects

PB Program/Analysis

PB Library

PB Window

PB User Object

PB DataStore

PB DataWindow

PB Structure (Global)

PB Menu

PB Application

PB Function Global

PB Control

PB Function

PB Event

PB RPC Function

PB Declare Procedure

PB Declare Cursor

PB External Function

Variable (Member, Instance, Shared, Global, Variable)

PB8 Workspace

PB Proxy Object

PB Target

PB Subset

Links

Client/Client


Link Type When is this type of link created?
Access- Read
Caller: Code object - fct, Event...

Callee: Variable (instance, shared or global)

Eg.:

if a = 2 then
...
endif


- Write
Caller: Code object - fct, Event...

Callee: Variable (instance, shared or global)

Eg.:

a = 2


- Exec
Caller: Code objetc - fct, Event...

Callee: Fct, Evt, Global Fct

Eg.:

a.f()

Please note that when a window is opened (open(w1) for example), there will be an Access Read on w1

- Member
Caller: Code object - fct, Event...

Callee: Variable (instance, shared or global)

Eg.:

a.b = 2

(member on a and write on b)

- Array
Caller: Code object - fct, Event...

Callee: Variable (instance, shared or global)

Eg.:

A[5].b = 2 

(array on a and write on b)

PrototypeWhen declaring an external function in an object and the function in a DLL that implements it.
Use

- Select

- Insert

- Delete

- Update

When the property of an object references a datawindow.
Inherit

When there is inheritance between controls, user objects, menus, and windows. In the following example, the window “w_gui_authors2” inherits from “w_gui_authors”:

Mention

During the creation of a class. The callee is always a class: (W,App,UO,M,Struct). E.g.:

a = Create UO


Rely On

This link is displayed when there is a link between a variable and a type. When the link is on a local type variable, the link will then be escalated internally. E.g.:

w1 var


Client/Server

Type of LinkWhere is this type of link created?When is this type of link created?
Use():

- Select

- Insert

- Delete

- Update

Embedded SQL-
Datawindow- Link between Datawindow and table (or view) with PB SELECT
- Link between Datawindow and table (or view) with SQL Select
Dynamic SQL- Link found by the inference engine
PrototypeRPC

Declare Procedure

Declare Cursor

- Link between the logical object corresponding to the logical name in PB and the server object.
CallDatawindow- Link between Datawindow and Procedure (or sub object in Oracle)
Dynamic SQL- Link found by the inference engine for server functions or procedures
UseDynamic SQL- in dynamic SQL character strings.