-j option

This option is used to publish a single PowerCube or all enabled PowerCubes in a cube group. Both the data source connection and the package are published for a particular PowerCube.

The syntax for this option is as follows:

cogtr -j cube_name or cogtr -ju cube_name

where cube_name represents the PowerCube name or the cube group name. If no name is specified, all cubes in the model are published except for the time-based partitioned cubes where only the parent cube needs to be published.

The -j form of this option publishes only new PowerCubes and keeps the previously published cubes unchanged. A data source connection for the PowerCube is published if a connection with the same name does not already exist. If the data source connection is successfully published, the associated package is also created if a package with the same name does not already exist.

The -ju form of this option updates previously published PowerCubes and cube groups in addition to publishing PowerCubes that were not previously published.

The following example shows how to publish a cube or a cube group named National. The cube is built and the categories are generated.

cogtr -j National -n2 National.mdl

The following example shows how to publish one cube named MA in the cube group named National. The cube is not generated.

cogtr -j National/MA -ox -n2 National.mdl

The following example shows how to update the data sources or packages associated with the MA and CA cubes in the cube group named National.

cogtr -ju National/MA -ju National/CA -n2 National.mdl