The batch driver control file contains the data that the batch driver program processes. The batch driver program reads a batch driver control file and processes the data in it. A sample batch driver control file, batch_driver.cf is in the directory that contains the sample program source files. The sample file shows the syntax for all artifacts that can be bulk loaded using the batch driver sample program.
This single line control statement is an example from the batch_driver.cf file that adds a data artifact. It assumes that the artifacts accessor1 and accessor2 exist in the system.
data name=aDocument^path=/batchFolder^file=D:\Doc\bart.doc^browse=true^autodelete=true^desc=A test document by batchdriver^expire=2005-06-22 12:00:00^keyword=MS doc^keyword=Design doc^perm=accessor1^perm=accessor2.
Syntax for batch driver control files:
All control statement parameters must be included on one physical line. Each line in the file is read and executed one at a time.
Comments are supported and must be entered on their own lines. Comment lines begin with these symbols: number sign (#), two slashes (//), or an exclamation point ( !).
Each attribute name-value pair is separated by the caret symbol (^).
No spaces can occur between the attribute name, the equal sign (=), and the attribute value of the statement parameters.
A value can contain one or more blanks. Attribute parameters can be specified in any order after the control verb.