DFbatch

DFbatch — Process one or more batch edit check files

Synopsis

DFbatch [-S server] [-U username] [-C password] [-b batchnames] [-p stylesheet] [ [-o outhtml_file] | [-O outhtml_dir] ] [-e error_file] {-i control_file} {#}

Description

DFbatch is a framework for edit check execution in command-line or unattended mode. The framework specifies which data records are to be operated upon by edit checks and what is to happen when edit checks are invoked. It uses the same edit checks that are used in interactive edit checks through DFexplore and introduces no changes to the language.

Complete reference documentation for DFbatch can be found in Batch Edit checks.

Options

-S server

DFdiscover server name

-U username

DFdiscover login username

-C password

login password. Refer to Section 3.2, “User Credentials” for recommended/better solutions for safe password handling.

-b batchnames

selected batches by name from the control file, and/or re-order selected batches for processing.

-p stylesheet

style the output with the specified XSL stylesheet before generating the HTML output. By default, batchlog.xsl is applied.

-O outhtml_dir

will make a default output HTML file in your local outhtml_dir for each batch. The default output file name will be 'outhtml_dir' + 'batch_name' + '_out.html'.

-o outhtml_file

'-o outhtml' output html file name is local and must include the full path. If '-o outhtml' is specified and there are more than one batches within a control file, only the last log will be saved to the given name.

-e error_log

will write any errors to the full patch name of error_log. By default, errors are written to stderr.

-i control_file

The input file of instructions (required). These instructions control the behavior of the program including how records are selected, and what actions, if any, are applied.

study#

The study database number (required).

Exit Status

DFbatch exits with one of the following statuses:

0

The command was successful.

>0

An error has occurred. The text of the error will appear in one of the last elements of the log file.

See Also

Batch Edit checks