dmdul v0.1.3
dmdul v0.1.3
This release improves usability and introduces a more interactive operation mode.
Changes
- Added interactive CLI / REPL support.
- Improved user operation flow.
- Added DUL-style control command handling.
- Added dictionary parsing module.
- Updated CLI behavior and related tests.
- Updated documentation for the new interaction model.
Validation
go test ./...passed.- Windows binary build passed.
Binary
dmdul_windows_amd64_v0.1.3.zip
Example
Start interactive DMDUL:
.\bin\dmdul.exeInteractive extraction example:
DMDUL> set system D:\temp\oldpro\SYSTEM.DBF;
DMDUL> set data_dir D:\temp\oldpro;
DMDUL> bootstrap;
DMDUL> list user;
DMDUL> list table HR_TEST;
DMDUL> unload table HR_TEST.EMP_INFO;
DMDUL> set data_format csv;
DMDUL> unload user HR_TEST;
DMDUL> exit;
dm.ctl remains an optional enhancement file; if not provided, it will be automatically used if dm.ctl exists in the same directory as SYSTEM.DBF.
bootstrap scans the DBF headers under data_dir and generates control.dul, which records the tablespace number, file number, tablespace name, and data file path. unload table and unload user will generate DDL SQL respectively; the data is exported as INSERT SQL by default; it can also be exported as CSV using set data_format csv;.