Cognos Transformer Commands
Transformer can perform certain modeling and
cube-building tasks from the command line.
You must invoke the command line utilities from the directory where the Transformer executable resides. In Transformer version 8.x and later, this is the bin directory.
You can combine options using the space character to separate them. However, do not add spaces between an option and its argument, and enclose any intentional spaces found in an argument within double quotes.
In the following example, a Bourne Shell script is appended to the cogtr command to perform a second action (b) on successful completion of the first action (a):
#!/bin/sh if cogtr command_line_options then
#perform action a if exit status is 0 else
#perform action b fi
This document provides the syntax for the following routine tasks:
- creating or updating cubes
- updating a model with new categories created during the category generation process
- running a set of batch jobs with different preference settings or input files
- changing the current date setting so that relative time calculations in batch cube creation are based on a specific date
- supplying database signon information
- changing the degree of detail for log file messages
- opening and deleting checkpoint files
- verifying and, if necessary, updating the scales used in MDL model columns and measures to match those used in the data source
- publishing cubes in Content Manager
- copying and activating new versions of published cubes
- supporting IBM® Cognos® prompts
- opening specified .mdl files and executing MDL statements
- specifying the number of records for a test cube
- regenerating categories, and the measure scales used with them, without building the cube