DEPENDENCY

DEPENDENCY

Welcome to our Knowledge Base

Documentation | Blog | Demos | Support

< All Topics
Print

DEPENDENCY

Produces or deletes object dependency information.

Syntax

DEPENDENCY [RESET] [FOR] [object]

Parameters

RESET

Instructs the software to delete all saved dependency information for the specified object(s). If no object is named, all dependency information is deleted.

object

The name of an object for which you want to output dependency information, or whose dependency information you want to delete.

Comments

Object dependency information is captured during ERASE, CREATE, COMPILE, and PARSE commands if a SET DEPENDENCY ON command has been issued. The DEPENDENCY command either deletes this information or sends it to the current output. When dependency information is output, each dependency occupies one line and the output contains the following fields:

Flags

The first character can be
S if the dependency is for a system-defined object.
P if the dependency results from a reference by an application program.
O in all other cases (the dependency is an owner-object).
The second character can be
X if the dependent object is more recent than the time of program compilation (for a program dependency) or the time of creation of the owner-object (for an owner dependency).

ObjectName

The name of object (whose dependent objects are being displayed).

ObjectType

The object type of ObjectName

ObjectDirName

The application directory location of OwnerObjectName.

OwnerObjectName

The name of the object that owns object (i.e., if object is a field, then OwnerObjectName is the name of the EntitySet, relationship, or application document that owns that field).

OwnerObjectType

The object type of OwnerObjectName.

OwnerObjectDirName

The application directory location of OwnerObjectName.

DepObjectName

The name of an object that depends on ObjectName.

DepObjectType

The object type of DepOwnerObjName.

DepObjectDirName

The application directory location of DepObjectName.

DepOwnerObjName

The object name of  DepObjectName.

DepOwnerObjType

The object type of DepObjectName.

DepOwnerObjDirName

The application directory location of DepOwnerObjName.

Example

Consider a one-line application document called Test:

list e1

To produce dependency information for Test, enter

> set dependency on      % on by default

> parse TestProg

> dependency for TestProg

that outputs

O Test Document ZIM ZIM Directory ZIM

P Test Document ZIM ZIM Directory ZIM e1 EntitySet ZIM ZIM Directory ZIM

 

See Also

$compilestatus

COMPILE

PARSE

SET DEPENDENCY

SET OUTPUT

SET XREF

 

Was this article helpful?
0 out of 5 stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
5
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.

Deixe um comentário

O seu endereço de e-mail não será publicado. Campos obrigatórios são marcados com *

pt_BRPortuguese