Running the IBM Product Recommendations data extraction utility

Run the data extraction utility for from a command-line interface. The command generates both the EPCMF file and ECDF file at the same time.

Procedure

  1. Run the data extraction utility:
    OptionDescription
    Development environment
    1. Open a command line to the WCDE_installdir/bin directory.
    2. Call dataextract.bat path_to_config_file
    Runtime environment
    1. Open the Utility server Docker container.
    2. Go to the cd /opt/WebSphere/CommerceServer90/bin directory.
    3. Call bin/dataextract.sh path_to_config_file

    Where:

    path_to_config_file
    The path to the wc-dataextract.xml file to use. For example, /samples/DataExtract/Catalog/wc-dataextract.xml

    Alternatively, you can use the relative path to the configuration file for the path value. If the path contains spaces, enclose the path in quotation marks.

  2. View the EPCMF and ECDF files that the utility creates.
    The two files are output to the directory configured in the <_config:DataOutputLocation> element in the corresponding business object configuration file (wc-dataextract-catalog-entry.xml and wc-dataextract-catalog-group.xml). The files are named according to the following syntax:
    Coremetrics_client_ID.epcmf.csv
    Coremetrics_client_ID.ecdf.csv
    For example:
    99999999.epcmf.csv
    99999999.ecdf.csv
  3. To check the results of the data extract, view the log file at the following path: /logs/dataextract.log