Use the command line parameters described in Table: Command Line Parameters to run the Command Line Processor. For example:
gaprocessor -if batchjob.txt -ef processed.txt
To view the parameters at any time type gaprocessor --help
or gaprocessor /?.
Parameter |
Description | |
---|---|---|
-d |
configuration directory |
The directory in which to find the gaprocessor.ini configuration file. If this parameter is omitted the current directory is used. |
-i |
import specification |
The specification of the import data. If this parameter is omitted the Import section of the configuration file will be used. For more information, see The Configuration File. |
-if |
import file |
The filename from which to read data using the relevant import specification. If this parameter is omitted the standard input stream (stdin) is used. |
-e |
export specification |
The specification of the export data. Several specifications may be listed, separated by commas. If no specifications are listed, the Export section of the configuration file will be used. For more information, see The Configuration File. |
-ef |
export file |
The filename to which data will be written using the corresponding export specification. The number of filenames must match the number of export specifications. Two special values for this parameter are: default : The filename specified by the export specification will be used; - : The standard output stream (stdout) will be used. |
-p |
process specification |
The processes that will be run on the data. If no process specification name is entered, the default Process section of the configuration file will be used. For more information, see The Configuration File. |
-v |
validation rule set |
The validation rule set that will be used if a ValidateAddress or ProcessAddress process is performed. If no validation specification name is entered, the default Validation section of the configuration file will be used. If there is also no Validation section, the built-in default validation rules will be used. For more information, see The Configuration File. |
-o |
option specification |
The specification containing the options that should be set for the data being processed. If no options specification name is entered, the default Options section of the configuration file will be used. If there is also no Options section, the built-in defaults will be used. For more information, see The Configuration File. |