CatMorph

The CatMorph verb changes the type of the specified category.

Note: Category object names differ between MDL and the user interface. MDL uses the category code as the object name. For more information, see Locating objects uniquely. There is no user interface equivalent.

CatMorph exists so that MDL is a complete representation of a Cognos® Transformer model when a category is changed. For example, when a leaf category acquires a child it changes (or "morphs") into a parent. This is an internal operation and when the model is saved as an .mdl file, the CatMorph statement does not appear in the file.

The syntax is as follows:

CatMorph objCat [Dimension objDim] CatType type

Argument

Description

CatMorph objCat

Specifies the category objCat that is to be changed. objCat can be the object name, object identifier, or both.

Dimension objDim

Is specified, if necessary, to uniquely identify the category. objDim can be the object name, object identifier, or both.

CatType type

Specifies the category type. The type can be Leaf, Special, Parent, Drill, or Root. The type is mandatory.