com.ibm.commerce.marketingcenter.events.util
Class ExportStats
java.lang.Object
com.ibm.commerce.marketingcenter.events.util.ExportStats
- public class ExportStats
- extends java.lang.Object
This class is used to connect to the database and export a table to an XML file. Next, this file can be copied to another machine. Using ImportStats, the content of the XML file can be imported into the database. This program is an utility. The required command line arguments to run this utility are:
- -D DB2 or ORACLE or DB400 or DB390
- -N databease name
- -U database user ID
- -P database password
- -T table name
- -F output file name
Of course, all these arguments appear on the same line when you run this command.
Field Summary |
static java.lang.String |
CMD_LINE_HELP
Usage of the utility. |
static java.lang.String |
COPYRIGHT
IBM copyright notice field. |
Constructor Summary |
ExportStats()
Construct the ExportStats object. |
Method Summary |
static void |
main(java.lang.String[] args)
Main method of this utility. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COPYRIGHT
public static final java.lang.String COPYRIGHT
- IBM copyright notice field.
- See Also:
- Constant Field Values
CMD_LINE_HELP
public static final java.lang.String CMD_LINE_HELP
- Usage of the utility. This message will appear if you run this command incorrectly.
- See Also:
- Constant Field Values
ExportStats
public ExportStats()
- Construct the ExportStats object.
main
public static void main(java.lang.String[] args)
- Main method of this utility. The DBXMLFileWriter object is used to create/write into the XML file.
-
- Parameters:
- args - The command line argument must follow this pattern:
- -D DB2 or ORACLE or DB400 or DB390
- -N databease name
- -U database user ID
- -P database password
- -T table name
- -F output file name
Of course, all these arguments appear on the same line when you run this command.
Feedback
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.