SET DEPENDENCY

Specifies if dependencies between objects are to be tracked.

Syntax

SET DEPENDENCY ON|OFF

Comments

The DEPENDENCY option is set ON by default.

When DEPENDENCY is ON, dependency information is stored when you CREATE, ERASE, or RENAME an object in the Object Dictionary. (For example, creating a relationship establishes dependencies between the relationship, the objects being related, and any fields belonging to the relationship.) Similarly, when you PARSE or COMPILE an application program, the dependencies of the program on objects referenced directly in the program is tracked. Dependency information is used by the system variable $compilestatus, and can also be used to document objects and programs.

You can save a small amount of disk space by switching dependency information OFF.

The SET DEPENDENCY command is not affected by the SET RESET and SET RESTORE commands.

 

Related Topics