CubeDelete

The CubeDelete verb removes the PowerCube object from the Cognos® Transformer model.

The user interface equivalent is to click Delete on the Edit menu when a cube is selected.

The CubeDelete verb only deletes the PowerCube object, not the .mdc file.

The syntax is as follows:

CubeDelete objCube

Argument

Description

CubeDelete objCube

Specifies the PowerCube to be deleted. objCube can be the object name, object identifier, or both.

Example

This example deletes the PowerCube called Great Outdoors Company Sales.

CubeDelete "Great Outdoors Company Sales"