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

Compare with Current View Page History

« Previous Version 6 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.

To create an XML Options file, you can use the RedCli.exe command line interface. Follow these steps to create an XML file:


  1. Open a command line window where redcli.exe is located, usually C:\Program Files\WhereScape\RED
  2. In this example, 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:\past.xml --meta-repo-type Postgresql
  3. Go the output folder and verify the file was created properly.


The following 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 the following optional arguments:

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


Tip

Use the --help argument after a command or option to see more information about them. For example:
c:\redcli.exe deployment-options --help


  1. Open a command line window where redcli.exe is located, usually C:\Program Files\WhereScape\RED
  2. run the following command 
  3. To create the options file, click Create XML Options File in the left pane.


  4. If the load options have not yet been saved into the local registry, a message appears prompting you to select the application to be loaded and to save the load settings for that application.

    • Type in the location where you want to save the XML Options File in the XML Options File Name field.
    • Type in the details of the XML Elements that are added to the destination details of the XML Options File.


    • --meta-repo-typeThe RDBMS type of the metadata repository.
      --meta-dsnThe value to be written in the <DSN/> element of the XML Options File.
      DSN architectureThe value to be written in the <DSNArchitecture> element of the XML Options File.
      User IDThe value to be written in the <UserID/> element of the XML Options File.
      PasswordThe value to be written in the <Password/> element of the XML Options File.


  1. Click Create File, the results confirm that the XML Options File has been created.


Tip

Use the --help argument after a command or option to see more information about them. For example:
c:\redcli.exe deployment-options --help


  • No labels