Ox Option; P Option; R Option - IBM Cognos User Manual

Version 10.1.1
Table of Contents

Advertisement

-ox option

This Windows-only option is not a combination of -o with -x, but is similar to the
functionality of the basic -o option on UNIX and Linux, disabling both category
creation and the cube rebuild.
The syntax for using the -ox option is as follows:
cogtr -ox -pfilename.py?|-m
filename.mdl
The following example loads the file, go_sales.mdl, but disables both population of
the model and creation of cubes:
cogtr -ox -mgo_sales.mdl

-p option

This option opens the checkpoint file (.qy? on Windows) or loads a binary model
file and processes it, beginning from the last checkpoint saved in the checkpoint
file if this exists, or beginning from the start of the .py? file. All changes are saved
in the specified file on termination.
This option is not valid with an .mdl file.
Note: A checkpoint file exists if model processing was suspended. The file has a
.qy? extension, where the question mark (?) is replaced by the character that is
used in your version of Cognos Transformer.
The syntax for using the -p option is as follows:
cogtr -pfilename.py?
The following Windows example opens the checkpoint file associated with model
file, Sales.pyj, then continues to process the model in batch mode, creating all
defined cubes:
cogtr -n -pSales.pyj
The following Windows example builds the cube and saves changes in the
Model.pyj file:
cogtr -n -s Model.pyj
The following example builds the cube and saves changes in a different file, which
is Model.mdl:
cogtr -n -s Model.pyj/Model.mdl
The following UNIX example starts Cognos Transformer, processes the MDL verb
commands in the file monthly_update.mdl, obtains preference settings from the
file, trnsfrm_prd.prf, and saves the model:
cogtr -pgo_sales_jan.pyj -mmonthly_update.mdl -ftrnsfrm_prd.prf

-r option

This option sets the degree of detail for messages written to the log file.
Each level includes the errors and messages for the higher levels. No spaces may
appear between -r and its log_level argument, which is assigned a value from 0
to 4, as follows:
v 0 - the Enable Message Logging box is cleared; logging is suppressed
Appendix A. Command Line Options
231

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents