The globaltable XML element can be used to transfer meta data from the PPM SAP-2-PPM and JDBC-2-PPM process extractors to the output file as global system event attributes. Typical data for global system event attributes include the names of the configurations that were used to extract the data. The data itself is determined from the argument values specified in the command line. For arguments that are not specified in the command line, the default value is determined.
The identification of keywords is case-sensitive.
Global system event attributes apply to all system events in the current output file.
Keyword |
Value from command line argument |
---|---|
SYSTEM_CONFIG_FILE_NAME |
-systemconfig <filename> ... |
SYSTEM_CONFIG_NAME |
-systemconfig ... <configname> |
TABLE_CONFIG_FILE_NAME |
-tableconfig <filename> ... |
TABLE_CONFIG_NAME |
-tableconfig ... <configname> |
BEGIN_DATE, |
-begindate <dd.MM.yyyy> |
BEGIN_TIME |
-begintime <hh:mm:ss> |
END_DATE |
-enddate <dd.MM.yyyy> |
END_TIME |
-endtime <hh:mm:ss> |
CPD |
-cpd <int> |
OUT_FILE_NAME |
-outfile <file name> |
PIKI_DATA_MAPPING_FILE_NAME |
-pikidatamapping <filename>... |
PIKI_DATA_MAPPING_NAME |
-pikidatamapping ... <pcname> |
DIM_DATA_MAPPING_FILE_NAME |
-dimdatamapping <filename> ... |
DIM_DATA_MAPPING_NAME |
-dimdatamapping ... <dimname> |
If no value can be determined for a keyword, the keyword itself will be written to the output file. In this way you can transfer constants to the output file.
Example
The file extract below shows the configuration that is used to create global system event attributes.
<globaltable name="INFO">
<fieldtoread name="SYSTEM_CONFIG_NAME"/>
</globaltable>
The configuration name specified in the command line using -systemconfig <configname>, e.g., sapppm is written to the output file as the INFO-SYSTEM_CONFIG_NAME global system event attribute:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE eventlist SYSTEM "event.dtd">
<eventlist>
<attribute type="INFO-SYSTEM_CONFIG_NAME ">
sapppm
</attribute>
...
<event>
...
</event>
...
</eventlist>
By specifying a suitable Java class in the classtouse XML attribute, data can also be extracted from any other source system table.