
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 -p
filename.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 -d
preference_var
=
setting
-p
filename.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
Summary of Contents for Cognos
Page 1: ...IBM Cognos Transformer Version 10 1 1 User Guide ...
Page 106: ...92 IBM Cognos Transformer Version 10 1 1 User Guide ...
Page 136: ...122 IBM Cognos Transformer Version 10 1 1 User Guide ...
Page 160: ...146 IBM Cognos Transformer Version 10 1 1 User Guide ...
Page 174: ...160 IBM Cognos Transformer Version 10 1 1 User Guide ...
Page 326: ...312 IBM Cognos Transformer Version 10 1 1 User Guide ...
Page 352: ...338 IBM Cognos Transformer Version 10 1 1 User Guide ...
Page 394: ...380 IBM Cognos Transformer Version 10 1 1 User Guide ...
Page 398: ...384 IBM Cognos Transformer Version 10 1 1 User Guide ...
Page 411: ...Y year function 362 years between function 362 Index 397 ...