C Option; D Option - IBM Cognos User Manual

Version 10.1.1
Table of Contents

Advertisement

Use this option with the -d, -f, -r, and -nologo options. Leave a space between
the -a and the data source file name.
The syntax for using the -a option is as follows:
cogtr -a data_source
The following Windows example opens the Sales data source and uses
AutoDesign to place dates in the time dimension, columns with numeric values in
the Measures list, and all remaining columns in the dimension map, using a
best-fit approach.
It then creates the Sales cube and if PowerPlay (Windows) is installed on the same
computer, displays the Sales report in the reporting application.
cogtr -a Sales_datasource

-c option

This option loads a model file, interprets MDL statements, generates categories,
and creates cubes.
Use this option with the applicable file-opening option: either -p, -m, or -i. On
Windows, use this option with -n.
The syntax for using the -c option is as follows:
cogtr -c -pfilename.py?|-m
filename.mdl
The following UNIX and Linux example uses -c and -p options together to open
the binary model file go_sales.pyj and process it as described.
cogtr -c -pgo_sales.pyj
The following UNIX/Linux example uses the -c and -m options together to open
the equivalent full model definition (the .mdl text file for go_sales), and process it
as described.
cogtr -c -mgo_sales.mdl

-d option

This option sets a new value for a Cognos Transformer user preference. The value
overrides settings from the Preferences property sheet for this instance only.
No space may appear between the -d option and its argument. The argument is
case-sensitive and must match the value specified in the cogtr.xml file.
For example, use -dLogFileName not -dlogfilename. The syntax for using the -d
option is as follows:
cogtr -dpreference_var=
setting -pfilename.py?|-m
filename.mdl
If you specify the -d option after the -f option, the -d setting overrides the setting
for -f. The reverse is also true; the last-appearing option overrides the options that
precede it.
You can set preferences in the command line, environment variables, and
cogtr.xml. The priority of settings is that the setting in the command line takes
214
IBM Cognos Transformer Version 10.1.1: User Guide

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents