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
-
Run the data extraction utility:
Option Description Development environment - Open a command line to the WCDE_installdir/bin directory.
- Call dataextract.bat path_to_config_file
Runtime environment - Open the Utility server Docker container.
- Go to the
cd /opt/WebSphere/CommerceServer90/bin
directory. - 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.
-
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 andwc-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
- To check the results of the data extract, view the log file at the following path: /logs/dataextract.log