Syntax example

The following example uses the MDL verb CatMake.

You must type this verb and then the identification for a category on which it operates, but all other parameters are optional, as indicated by their enclosing square brackets.

CatMakeobjCat [Dimension
objDim] [DrillobjDrillCat][Levels
objLevel] [ParentobjLevel][
catopts] [ParentListobjLevels]EndList

The following more complex example is based on the MDL keyword AllocationAdd. Options include Dimension, which must be followed by the dimension identifier, and Drill, which must be followed by a drill category identifier.

These mandatory parameters may be followed by one or more optional arguments:

  • Levels, followed by the identification of a level
  • Category, followed by the identification of a root category
  • Category, followed by the identification of a regular category

You then type Measure followed by the identification of a measure, and Type followed by the measure type. Note that type does not have the prefix obj. This indicates that it is not a Cognos® Transformer object.

Finally, you can optionally include AllocationMeasure and the identification of a measure.


AllocationAdd [DimensionobjDim][Drill objDrillCat] 
[LevelsobjLevel|CategoryobjRootCat|CategoryobjCat]MeasureobjMeasureTypetype 
[AllocationMeasureobjMeasure]