In addition to invoking the Distributed Exporter directly from the Data Masking or Data Subset Extraction modules themselves, Data Express also provides a batch, command-line utility, dxeexport.
The dxeexport command exports the information required so that a successful masking/subsetting execution can occur when the dxestart command is executed.
dxeexport [path/]exportparms [path/]connfile
dxeexport "C:\AA2\Export_Folder\exportparms" "C:\AA2\Export_Folder\connfile"
This command executes a batch export for the method described in exportparms.txt, using the Data Express knowledge base described in connfile.rc.
Assume that exportparms.txt contains one line as follows:
With this example, the method PM1 of group PG1 on machine PRUEBA and company PRUEBA is exported, from step 10 to step 100, with test run set to No (so real extraction), and the resulting configuration files generated by the process are placed in folder config under C:\AA2\Export_Folder.
You can now run dxestart to mask and subset your data, specifying C:\AA2\Export_folder as the -d argument.