EasyManuals Logo

IBM Cognos User Manual

IBM Cognos
411 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #246 background imageLoading...
Page #246 background image
v 1 - includes only severe errors
v 2 - includes error messages and level 1 messages
v 3 - includes warning messages, and level 1 and 2 messages
v 4 - includes all message levels, from informational to severe; the default setting
The syntax for using the -r option is as follows:
cogtr -rlog_level -p
filename.py?|-mfilename.mdl
The following example opens the model file Roofing.mdl, sets the degree of detail
for messages to 2, then runs the process in batch mode to create all defined cubes.
The messages are written to F:\Test\Roof.log.
cogtr -n -r2 -dLogFileName=Roof.log -dLogFileDirectory=F:\Test Roofing
-s option
This option, after successful creation of a cube, saves the model with any new
categories added during the category generation process, then closes Cognos
Transformer.
Do not use this option with -i or -p. On Windows, you must use this option in
combination with -n.
The syntax for using the -s option is as follows:
cogtr -mfilename.mdl -s
filename.py?|filename.mdl
where parameters for -s are optional.
The following Windows example opens the model file Roofing.mdl, creates its
defined cubes, saves the model file, and closes Cognos Transformer.
cogtr -n -s -mRoofing.mdl
The following UNIX example starts Cognos Transformer, parses a text model file
(.mdl), and saves the changes in a binary model file (.py?).
cogtr -mgo_sales.mdl -sgo_sales.pyj
-t option
This option sets the current period for the purpose of calibrating relative time
calculations.
It is equivalent to manually defining a current period in the user interface, after
clearing the Automatically Set Current Time Period box on the Time tab of the
Dimension property sheet.
In Windows, you must use this option in combination with -n.
No spaces may appear between -t and its argument, and if the category contains
hyphens or space characters (as in the sample date range below), you must enclose
it in double quotation marks. Also, the category_code portion of the command is
case-sensitive. This identifier must exactly match the category code in the model.
The syntax for using the -t option is as follows:
cogtr -tcategory_code -p
filename.py?|-mfilename.mdl
232 IBM Cognos Transformer Version 10.1.1: User Guide

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the IBM Cognos and is the answer not in the manual?

IBM Cognos Specifications

General IconGeneral
DeveloperIBM
Data Sourceflat files
Operating SystemMicrosoft Windows
LicenseCommercial
Input SourcesSQL databases, Excel, CSV
PlatformMicrosoft Windows