File Recognition Methods
Parser Activity has various configuration setting combinations, you can check the listed configuration setting combinations and the results. Each of the first four columns indicates a field value. An empty column indicates no value is specified in the corresponding field.
Recognition Method | File Prefix | File Extension | Trigger File Extension | Result |
---|---|---|---|---|
By prefix + extension | All files in the input directory are processed. This option is similar to using the *.* command. | |||
delimited | Only files in the input directory that contain delimited in the file prefix are processed. This option is similar to using a delimited.* command. For example, delimited.txt, delimited123.txt, delimited456.csv. | |||
delimited | txt | Only files in the input directory that contain delimited in the file prefix and have a .txt extension are processed. | ||
txt |
Only files in the input directory with .txt file extensions are processed. This option is similar to using a *.txt command. For example, abc.txt, 123.txt. |
|||
By Trigger | trg | This is equivalent to specifying that when a
prefix.trg trigger file is created in the input directory, the plug-in searches for a file named
prefix, since the file extension is empty.
For example, if a file named delimited.trg is created in the input directory, the plug-in only parses files for a file named delimited. If a file named payments.trg is created, the plug-in searches for a file named payments. |
||
delimited | trg | When a
delimited.trg trigger file is created, the plug-in searches for a file named
delimited. Similarly, if a
delimited2.trg file is created, the plug-in searches for a file named
delimited2.
In this example, a file named payments.trg is ignored by the plug-in. |
||
delimited | txt | trg | When a
delimited.trg trigger file is created, the plug-in searches for a file named
delimited.txt.
If a delimited2.txt file is present, it is not processed. The file is processed when delimited2.trg is created. In general, when the prefix name of the trigger file matches the prefix name of the file extension, the plug-in processes the file. |
|
txt | trg | When a
prefix.trg trigger file is created, the plug-in searches for a file named
prefix.txt.
Similarly, when a payments.trg trigger file is created, the plug-in searches for a file named payments.txt. |