Properties and Structure of Job Files
- Updated2025-10-28
- 2 minute(s) read
Use job files for DataFinder and Data Preprocessor instances to process specific files and specific folders. You can use job files in a batch process while data indexing or during data preparation.
Job files for DataFinder and Data Preprocessor instances have an almost identical structure. With a DataFinder instance, you can automate systems to create job files. This creation occurs after generating a file batch and prompting the indexing process. For example, you can generate a job file in a specified location with the Create Index Job File VI in LabVIEW.
The following table displays the properties of job files.
| Property | Description |
|---|---|
| File type | Text |
| File extensions |
|
| Maximum number of lines | 100 lines |
| Maximum file size | 100 KB |
| File encoding |
|
The following table describes the structure of job files:
| Row | Syntax | Description |
|---|---|---|
| 1 | DFSEBatchIndexer/PreProcessorJobFile | This syntax identifies the file as a job file for DataFinder and Data Preprocessor instances. |
| 2 | Version 1.0 | This syntax represents the version number. The version number must be 1.0. |
| 3-n | <Command>;"<Path>";<Parameter=Value> | This syntax defines the files and folders to be indexed or processed. |
| Command | Description | Parameter | Parameter Values |
|---|---|---|---|
| IndexFile | Indexes a file. | Reindex |
|
| IndexFolder | Indexes a folder. | Reindex |
|
| IndexFolder | Indexes a folder. | IncludeSubFolder |
|
Separate several parameters with commas, for example, <param1>=<value1>,<param2>=<value2>. The order of the parameters is arbitrary. If you do not specify a parameter, the DataFinder and Data Preprocessor instances use the default value of this parameter.
The following is an example of a job file:
DFSEBatchIndexer Version 1.0 IndexFile;"\\Server\TestData1\MyFile1.tdm"; IndexFile;"\\Server\TestData1\MyFile2.tdm";Reindex=True IndexFolder;"\\Server\TestData2";Reindex=False,IncludeSubfolder=True