TBDEVICE Interface Program
ASCII Fixed Length Data Format
Overview
The TABS III Data Collection Device Conversion program (ASCII Fixed format) can be used to convert fee, cost, and payment transactions from an ASCII file with fixed length fields to be compatible with the Merge TABS III Remote Data program.
The TBDEVICE program must reside in the same directory as the TABS III programs in order to work properly. The ASCII data file must reside in the TABS III program directory. Details regarding the exact file layout can be found on the following page.
Installation
To install the TBDEVICE interface program on your hard disk:
Note: The TBDEVICE interface program (TBDEVICE.EXE) must be installed in the same directory where the TABS III program resides.
Configuring the Data Collection Device Type
Before you can convert any data from a data collection device, TBDEVICE must be configured to handle the necessary format.
Converting ASCII Fixed Length Data
Use the following procedure for the conversion:
Note: A TBDEVICE.LOG file is created and will contain any records that were not converted. If no errors were encountered during the conversion, then the TBDEVICE.LOG file will be a zero byte file.
Note: If you are using a full user system, the ASCII Fixed data file will automatically be deleted when the conversion is complete to avoid double posting of the data. However, when using a demo system, the data file is not deleted.
Note: You can change the Descriptions options used by the ASCII Fixed format by selecting File | Configure.
Input Field Positions
|
File Layout (record length = 128 bytes) |
||||
|
Field # |
Field |
Position |
Length |
Format |
|
1 |
Client |
1 |
12 |
up to 12 characters (with optional decimal point) |
|
2 |
Timekeeper |
13 |
3 |
up to 3 digits (ignored for costs or payments) |
|
3 |
Date |
16 |
8 |
mm/dd/yy format |
|
4 |
Tcode |
24 |
6 |
up to 5 digits preceded by a "$" for costs or payments (trans code cannot be greater than 999 in value) |
|
5 |
Hours |
30 |
6 |
hours worked in decimal format up to 320.00 maximum (i.e. 1.25 is 1 hr. 15 min.) |
|
6 |
Amount |
36 |
10 |
billable dollar amount up to 9999999.99 |
|
7 |
Rate |
46 |
6 |
hourly billing rate up to 999.99 |
|
8 |
Category |
52 |
3 |
optional TABS III billing category for fees |
|
9 |
Description |
55 |
72 |
up to 5000 characters of text |
|
10 |
Filler |
127 |
2 |
carriage return/line feed |
Notes
Sample Data File
The following is an example of a fixed length ASCII file. The sample transactions are preceded by three lines of numbers to assist you with visualizing field positions. These three lines should not be included in your file. The first line represents the starting position of each field number, the second line shows the character position by tens, and the third line shows character position by single digits.
1 2 3 4 5 6 7 8 9
1 2 3 4 5
1234567890123456789012345678901234567890123456789012345Positions 55 thru 126
101.00 202/19/99 1 1.50 90.00 60.00 10Office conference with
Karen Barrett and all of the apartment managers.
200.01 02/15/98$ 23 25.00 Court filing fee.
101.00 02/15/98$ 21 1.15 Photocopies.
101.00 202/19/98 3 1.22 73.00 0.00 10Pay County Court filing
fee in advance on behalf of client.
102.00 102/20/98 5 .50 50.00100.00 1Letter to Client’s bank
er.
Startup Options
Command line options can be used when starting TBDEVICE to bypass the User ID prompt and automatically execute the Convert and Validation programs thereby eliminating user interaction. These startup options can be quite useful when implemented as part of a batch file.
The following are examples of the available startup options:
Bypass the User ID prompt F:\STI\TBDEVICE.EXE ALICE
Convert F:\STI\TBDEVICE.EXE /CONVERT ASCII FIXED
Validation F:\STI\TBDEVICE.EXE /VALIDATION ASCII FIXED
Note: The normal "sign in" routine is used when TBDEVICE is started with the "/CONVERT" or "/VALIDATION" options. If you have not specified a User ID on the command line, you will be required to enter the User ID. If password security has been defined, you will also be required to enter the password before the Convert or Validation program will proceed.
The TBDEVICE online Help includes complete details regarding Startup Options.
2002/09