Load command example

This Windows-based example shows how to use a loader file that is named data1-op-config.xml that resides in the c:\import folder to load or import data into IBM OpenPages® with Watson™.

This example uses the Super Administrator account, OpenPagesAdministrator.

Procedure

  1. Open a Command Prompt window.
  2. Navigate to the bin directory, for example:
    cd C:\OpenPages\bin 
  3. Run the following command on a single line to load the data1-op-config.xml loader file:
    ObjectManager l c OpenPagesAdministrator <password> c:\import data1

    The log file is c:\import\ObjectManager.log.

    If you are running ObjectManager on Cloud Pak for Data, use one of the following options to specify the user name and password in a command:

    • Use jwt and a Cloud Pak for Data JSON Web Token (JWT) as in the following example:
      ObjectManager l c jwt <JSON-Web-Token> c:\import data1
    • Use your Cloud Pak for Data user name and your Cloud Pak for Data API key as in the following example:
      ObjectManager l c admin <API-Key> c:\import data1

    An API Key can be generated in Cloud Pak for Data. For more information, see Generating API keys for authentication.