BUSINESS SOFTWARE, INC. (BSI) CONFIDENTIAL AND PROPRIETARY INFORMATION

 

Running a Batch Test Using Command BTCTEST

The Batch Test tool allows you to use a text editor to create a file of batch commands for the various tests that you wish to run. You may also export a test that you have created to Employee What-if or Pension What-If.

Note: In order for Batch Test commands to run effectively, limit Batch Test command lines to 80 characters.

To run a Batch Test:

To run a Batch Test, the test file has to be uploaded to the server. After a successful upload, the server completes the calculations and posts the results into the output files.

Note: The upload and calculation may take several minutes depending on the size of the input batch test file.

Command Prompt

  1. Navigate to the folder containing TaxFactory executables.

  2. Ensure the related batch test has been copied to this folder.

  3. At the command prompt, enter the following text:

>btctest  –i  <input batch test file name>.tst -m <output results summary file name>.mnc  -o <output batch report file name>.out  -x <output XML translation file name>.xml -e <output batch errors file name>.err   -p -l

btctest -i c:\bsi\server\TFU10x.tst -m c:\bsi\server\TFU10x.mnc -o c:\bsi\server\TFU10x.out -e c:\bsi\server\TFU10x.err

Note: The upload and calculation may take several minutes depending on the size of the input batch test file. Once the calculation is complete, the output files requested will be inserted into the folder containing TaxFactory executables depending on which parameters you used.

 

Tip:

-i is the only required parameter used to tell TaxFactory which batch test to process.

-m is an optional parameter to create a file containing the output results summary.

-o is an optional parameter to create a file containing the output batch report.

-x is an optional parameter to create a file containing the output batch report translated into XML.

-e is an optional parameter to create a file containing the output batch errors.

-p is an optional parameter to create individual employees into the What-If Test tool.

-l is an optional parameter to create a file containing the output batch report written in the Monarch File Format.

 

iSeries Command Line

  1. FTP or Transfer the batch test file to an Integrated File System (IFS) directory on the iSeries (such as /tmp). The preferred transfer method is FTP binary mode.

  2. Input the library to use with the command line entry.

  3. Select which data set will be used with the command line entry ADDENVVAR DATASET DEFAULT (environmental variable).

    ADDENVVAR ENVVAR(TF10_DATASET) VALUE(DEFAULT)

  4. Call the batch test program using the long command line entry CALL PGM(BTCTEST) PARM (see command below), or

  5. Use CALL and enter BTCTEST on Program line and enter *LIBL on Library Line and then enter the parameters.

> CALL PGM(BTCTEST) PARM(‘-i’ ‘<file path>/<input batch test file name>.tst’ ‘-m’ ‘<file path>/<output results summary file name>.mnc’ ‘-o’ ‘<file path>/<output batch report file name>.out’ ‘-x’ ‘<file path>/<output XML translation file name>.xml’ ‘-e’ ‘<file path>/<output batch errors file name>.err’ ‘-p’ ‘-l’

CALL PGM(TF10/BTCTEST) PARM('-i' '/TMP/TFU10X.TST' '-o' '/TMP/TFU10X.OUT' '-m' '/TMP/TFU10X.MNC' '-e' '/TMP/TFU10X.ERR')

Note: The upload and calculation may take several minutes depending on the size of the input batch test file. Once the calculation is complete, the output files requested will be placed according to the file path specified with the corresponding parameter.

 

Tip:

-i is the only required parameter used to tell TaxFactory which batch test to process.

-m is an optional parameter to create a file containing the output results summary.

-o is an optional parameter to create a file containing the output batch report.

-x is an optional parameter to create a file containing the output batch report translated into XML.

-e is an optional parameter to create a file containing the output batch errors.

-p is an optional parameter to create individual employees into the what-if test tool.

-l is an optional parameter to create a file containing the output batch report written in the Monarch File Format.

 

 

©Copyright 2021 Business Software, Inc
Unpublished - Rights Reserved Under the Copyright Laws of the United States