Load tables data from plain .d files
| Attribute | Description | Type | Requirement | Default value |
|---|---|---|---|---|
| srcDir | Source directory from where to load data | File | Required | No default value |
| Tables | Loads only the selected tables. Comma-separated list | String | Optional | No default value |
PCTLoadData inherits attributes from PCT and PCTRun. However, PCTLoadData must have one and only one PCTConnection.
Loads a specific table. If no Table nodes are used, then PCTLoadData tries to load every table in dictionary.
<PCTLoadData srcDir="data" dlcHome="${env.DLC}">
<PCTConnection dbName="test" singleUser="true" />
</PCTLoadData>
Connects in single-user mode to test.db and loads each file from data directory in it
<PCTLoadData srcDir="data" dlcHome="${env.DLC}">
<PCTConnection dbName="test" singleUser="true" />
<Table name="Table1" />
<Table name="Table2" />
</PCTLoadData>
Connects in single-user mode to test.db and tries to load only Table1.d and Table2.d from data directory. If Table3 is present in dictionary, and Table3.d is present in data directory, then this file will be skipped.