pfcognosconfig

Purpose

Configures an Oracle InForm study to work with Cognos Analytics. The PFCognosConfig utility is a command-line alternative to the Oracle InForm Reporting Configuration Wizard.

PFCognosConfig can be run multiple times to change reporting parameters. If the reporting study user password changes, PFCognosConfig.exe must be run to tell InForm about the new password.

When PFCognosConfig is run multiple times for a study, each run after the first does not need to specify all of the parameters; only the changed parameters need to be specified.

Location

<Installation_Directory>\InForm\bin folder.

Usage

pfcognosconfig ["path_to_password_file"]

Where:

Command line prompts

You are prompted for the following parameters:
  • trialname — Name of the Oracle InForm study.
  • log_file — Name of output log.
  • namespace — informcap
  • gateway_uri — External public URI that communicates with the Cognos Analytics Gateway Services from an end user's browser.
  • dispatcher_uri — Internal URI that the Oracle InForm server uses to communicate with the Cognos Analytics server.
  • root_folder — The top-level reporting folder for the company.
  • reporting_samedb — True if the study and the Reporting database are on the same server.
  • trial_web_serviceOracle InForm authentication web service URL.
  • register_db_server — Study database user registered with Cognos.
  • register_db_user — Password for the database user registered with Cognos.
  • remove — When set to true, reporting is turned off for the specified study and clears all reporting settings for the study.

Parameter file contents

The following parameters are required for the pfcognosconfig command password file:

Examples

Example command-line with a complete set of parameters to set up reporting:
pfcognosconfig "E:\scripts\pfconfigparams.txt"