-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