Quick Start¶
Get started with DaRT Reader in 5 minutes.
Using the GUI¶
Step 1: Launch DaRT Reader¶
Open the DaRT Reader application. You'll see the main window with a drag-and-drop zone.
Step 2: Enter license key¶
Go to File > Settings. Enter a valid license key.
Step 3: Load a Directory File¶
You can load a directory file in two ways:
Option A: Drag and Drop
Drag your directory file (.dir or similar) onto the drop zone.
Option B: File Menu
- Click File > Open directory file
- Browse to your directory file
- Click Open
Step 4: View Extract Information¶
Once loaded, you'll see:
- Extract metadata (version, date, etc.)
- Directory file path
- Payload file information
- File size validation results
Step 5: Work with Segments¶
Click the Segments button to:
- View all available segments
- Select segments to export
- See segment metadata (size, record count, etc.)
- Click on any row to see detailed information about the fields in the extract
Step 6: Export Data¶
Choose your export option:
Export to Database:
- Click Write to database
- Select database type (SQLite, PostgreSQL, etc.)
- Enter connection details.
ℹ️ Note: If you enter a connection string, leave out the protocol prefix. For example, in
jdbc:postgresql://localhost:5432/mydb, leave outjdbc:postgresql:. - Optionally enter username/password
- Click Start
Export to CSV:
- Click Write to file
- Select output directory
- Choose which segments to export
- Click Export
Using the CLI¶
Inspect an Extract¶
View information about a DaRT extract:
ℹ️ Note: Make sure to save a valid license key using the GUI.
Example output:
Client (key)..............................
Logical system..................U90CLNT400
DaRT release...........................2.7
SAP release............................740
More information ...
List Segments¶
List all segments in an extract:
Example output when the DaRT extract is in German:FTR_GDPDU_XSTR_AT02 Finanzgeschäftsvorgangstypen 372
FTR_GDPDU_XSTR_AT07 Typ von Bewegungen und Konditionen 90
FTR_GDPDU_XSTR_AT10 Finanzgeschäftsart-Bezeichnung 145
FTR_GDPDU_XSTR_AT10B Customizing Bewertung 244
FTR_GDPDU_XSTR_AT30 Formeltabelle für Finanzmathematik 3
FTR_GDPDU_XSTR_AT40 Berechnungstypen des Finanzstromrechners 60
FTR_GDPDU_XSTR_ATMA Art eines Rahmenvertrags 1
More information ...
To see details for a specific segment:
Example output when the DaRT extract is in German:1 SEGTYPE Segmenttyp der Datendatei
2 SEGDATA Datendatei: Segmentdatenschlüssel
3 COMP_CODE Buchungskreis
4 PERIOD Geschäftsmonat
More information ...
Export to Database¶
Export segments to a database:
See the Configuration File Example section for an example of what the configuration file should look like.
With password authentication:
Export to CSV¶
Export specific segments to CSV files:
Validating the checksums¶
If you have written the extract to a database with the following command:
Now validate the extract (use the same config file):
Output:
Configuration File Example¶
Create a config.json file for database exports:
{
"path-to-directory-file": "/path/to/directory.file",
"database-connection": {
"type": "bundled-driver",
"connection-string": "jdbc:postgresql://localhost:5432/mydb",
"driver": "postgres"
},
"number-connections": 4,
"chunk-size-per-connection": 5000,
"table-prefix": "peter_",
"autoCommit": true,
"robust": false
}
For SQLite (simpler):
{
"path-to-directory-file": "relative-path/directory-file",
"database-connection": {
"type": "bundled-driver",
"connection-string": "jdbc:sqlite:/path/to/database",
"driver": "sqlite"
},
"chunk-size-per-connection": 100,
"number-connections": 1,
"robust": false
}
Bring your own driver:
The following example assumes that the Firebird driver is on the classpath (see Advanced Configuration). It will only write the two segments TXW_FI_HD and TXW_FI_POS.
{
"path-to-directory-file": "relative-path/directory-file",
"selected-segments": {
"type": "include",
"segments": ["TXW_FI_HD", "TXW_FI_POS"]
},
"database-connection": {
"type": "own-driver",
"connection-string":"jdbc:firebirdsql://localhost:3050//var/lib/firebird/data/mydb.fdb",
"driver-class-name": "org.firebirdsql.jdbc.FBDriver",
"field-mapping": {
"BigDecimal": {
"type-name": "DECIMAL",
"has-length": false
},
"String": {
"type-name": "VARCHAR",
"has-length": true
},
"Int": {
"type-name": "INTEGER",
"has-length": false
},
"Date": {
"type-name": "TIMESTAMP",
"has-length": false
},
"Float": {
"type-name": "FLOAT",
"has-length": false
},
"BigInt": {
"type-name": "INT64",
"has-length": false
},
"LocalTime": {
"type-name": "TIMESTAMP",
"has-length": false
},
"YearMonth": {
"type-name": "TIMESTAMP",
"has-length": false
},
"Char": {
"type-name": "CHAR",
"has-length": true
}
}
},
"number-connections": 10,
"chunk-size-per-connection": 15000,
"autoCommit": true,
"robust": false
}
Next Steps¶
- GUI Users: Read the full GUI Guide
- CLI Users: See the complete CLI Reference
- Troubleshooting: Check Common Issues
Tips¶
Performance
For large extracts, increase numberConnections (4-8) and chunkSizePerConnection (5000-10000) for faster processing.
Security
Never store passwords in config files. Use the -p flag to enter passwords interactively.
Log Files
If something goes wrong, check the logs via Help > View Logs in the GUI or in the logging directory.