Command Line Options

Transformer supports the following command line options. Detailed explanations are provided in the subsections that follow.

Command line options are case-insensitive.

  • -c; use with -i, -m, or -p to generate categories and creates cubes.
  • -d; overrides the specified user preference settings
  • -e; updates the model structure but not the data
  • -f; specifies the user-defined preference file. Can be used to publish PowerCubes in batch mode and include prompts in an XML command file using the XML schema for preference files.
  • -g; copies newer versions of cubes to deployment locations and activates the newer versions.

    The command pcactivate enables you to activate PowerCubes that are updated in the production environment.

  • -i; opens the specified .py? model and restarts a failed process from the beginning. Cannot be used with -s.
  • -j; publishes a single PowerCube or all enabled PowerCubes in a cube group
  • -h; displays help for the command line
  • -k; specifies database signon information for IBM® Cognos® Series 7
  • -l; specifies user authentication information for IBM Cognos Analytics environment
  • -m; opens the specified .mdl file or accepts Model Definition Language (MDL) statements
  • -o; turns off various model and cube creation actions
  • -p; opens the specified binary model file, .py?, where the question mark (?) is replaced by the character that is used in your version of Transformer. Not valid with an MDL file.
  • -r; specifies the level of detail for error-logging reports. Valid levels are 0, 1, 2, 3, and 4.
  • -s; saves the model. Cannot be used with -i or -p.
  • -t; sets the current period
  • -u; gets the partition status for previously generated cubes. Cannot use this option with secured cubes.
  • -v; use with -c, -m, or -p to specify the number of records for the test cube
  • -x; updates the column and measure scales based on the data source
  • -y; specifies how IBM Cognos Series 7 user-class security conversion is performed.
    • Use -y1 to preserve both the IBM Cognos Series 7 user classes and custom views associated with the IBM Cognos Series 7 model.
    • Use -y2 to preserve only the custom view associated with the IBM Cognos Series 7 model.
    • Use -y3 to discard the IBM Cognos Series 7 user classes and custom views associated with the IBM Cognos Series 7 model.