G Option - IBM Cognos User Manual

Version 10.1.1
Table of Contents

Advertisement

<Parameter Name="Range-variable">
<Values>
<Value>Range-from</Value>
<Value>Range-to</Value>
</Values>
</Parameter>
A range prompt does not need to contain both Range-from and Range-to values,
but it must have one or the other, as shown below.
<Parameter Name="Range-variable">
<Values>
<Value/>
<Value>Range-to</Value>
</Values>
</Parameter>
MUN Prompt:
A MUN prompt is a type of single-value prompt. It must refer to a Member
Unique Name.
For example
<Parameter Name="[ASPV]" Value="[AMERICA].[WORLD]"/>

-g option

This option copies newer versions of cubes to deployment locations and activates
the newer versions.
The syntax for using the -g option is as follows:
cogtr -g[powercube_name]|[
powercube_group_name/child_cube_name] -p
filename.py?|-mfilename.mdl
If you want to avoid building the cubes when they are being deployed, use -g
option with -ox option.
Note: The -ox option can only be used on Windows.
The powercube_name parameter represents the name of the cube in the Cognos
Transformer model. If powercube_name specifies a cube group that is not a
time-based partitioned cube, all child cubes of the cube group are copied to the
deployment location and activated. If powercube_name specifies a time-based
partitioned cube, the cube is processed as a single cube; member cubes are not
deployed individually.
If a name conflict exists with a child cube of a cube group that has the same name
as another cube in the model, use the powercube_group_name/child_cube_name
parameters.
When you use the -g option without specifying a cube name, all cubes in the
model that have deployment locations defined and enabled, and proper status, are
copied and activated.
The following example copies and activates all cubes in Sales.pyj.
cogtr -g -pSales.pyj
Appendix A. Command Line Options
225

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents