You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 10 Next »

If applications are being loaded using the command line, the saved application load options in the local registry can be outputted to an XML Options File for use in the application load.
Refer to Creating and Loading Applications from the Command Line for details.

The RedCli.exe command line interface allows you to create an XML Options File running redcli.exe deployment-options generate-file [<args>]

The deployment-options command provides sub commands for exporting, importing, and generating options.

The generate-file sub-command provides options for generating an options file, it can take the following arguments:

These arguments are required for generating a file:

ArgumentDescription
--file-name <location> The name of a file to write default deployment options data into
--meta-repo-type <repo_type>The type of metadata repository to tailor the options for. Either Oracle, SqlServer, Teradata, Db2 or Postgresql.

You can also use these optional arguments:

ArgumentDescription
--meta-dsn <dsn> Logon DSN write into the XML file 
--meta-dsn-arch <architecture>Logon DSN architecture to write into the XML file
--meta-database <database_name>Logon database name to write into the XML file
--meta-user-name <username>Logon user-name to write into the XML file
--meta-password <password>Logon password to write into the XML file


Tip

Use the --help argument after a command to see more information about it, for example:
c:\redcli.exe deployment-options --help

The --help argument shows information only for the last entered option, for example:
c:\redcli.exe deployment-options generate-file --help


Example

The following example shows how to create an XML file for PostgreSQL:

  1. Open a command line window where redcli.exe is located, usually C:\Program Files\WhereScape\RED
  2. Run the following command to create a file with all the options for PostgreSQL in the c:\projects folder:
    redcli.exe deployment-options generate-file --file-name c:\Postgresql_example.xml --meta-repo-type Postgresql
  3. Go the output folder and verify the file was created properly.


  • No labels