Previous Topic: CREATE CommandNext Topic: GET Command


DELETE Command

The DELETE command deletes the specified object.

This command has the following format:

ADDRESS TNG 'DELETE OBJECT(class.object) [VAR(varlist.)]'
OBJECT

WorldView commands require the OBJECT parameter. The argument to the OBJECT parameter consists of the following two parts:

class

The 1- to 31- character name of the CA NSM class to which the created object belongs.

object

The 1- to 31-character name of the object. The object name can contain alphanumeric characters and any of these special characters: ! @ # $ _

Periods (.) should not be used in object names.

After you delete a new object, you also usually create an Inclusion object to include your new object under another object on the WorldView 2D map. The OBJECT parameter that you specify for a new inclusion object is

Inclusion. <Class of the child object> . <name of the child object>

Because an pbject may be included under multiple parents, you also typically use the VAR parameter to specify the UUIDs for the child object and its parent object as attributes of the inclusion object to be deleted.

VAR

(Optional) Specifies the name of a REXX stem variable (varlist) that contains PROPERTY/VALUE pairs of data to limit the matching objects. For example, suppose the command contains the following:

... VAR(pairlist.)

The ADDRESS TNG environment examines the value of the variable pairlist.0 to determine the number of entries to process. Each of the variables pairlist.1 to pairlist.value of pairlist.0 should contain a quoted string consisting of a property followed by at least one blank space followed by the value to be set for the property. For example:

pairlist.1 = "name  FRED"
	pairlist.2 = "label South Dakota"