You are here: File Descriptions > Payroll with Direct Deposit > DDTB - DD Tables File

# DDTB - DD Tables File

Each application has its own copy of the General Table file to hold the tables needed by its programs. The file is named xxTB, where xx is the two-character program prefix. (This is set by the menu program OSMENU in the variable T$.)

The sample Table file is copied into the data directory at time of installation. See the Direct Deposit User's Manual for a description of the tables used by this application.

There is one record for each table.

| Template: | DIM DDTB:"TBID:C(8*), COLS:N(1*), TBLTYP:C(1*), HEAD:C(78*), ENT:C(504*), DESCR:C(40*), WIDTH:N(2*)"
| IOLIST: | 0999 DDTB: IOLIST TB0$, TB0, TB1$, TB2$, TB3$, TB4$, TB1
| String Sizes: | DIM TB0$(8), TB1$(1), TB2$(78), TB3$(504), TB4$(40)

Key Definitions

| Key Number | Field | Description
| 0 | [1:1:8] | Table ID
|  | __________ |
|  | 1 segments |

DD Tables File

| File Name: | DDTB | Record Size: | 641(640)
| File Type: | Mkeyed - Dynamic | Number of Keys: | 1

| Field | Field Name | Variable | Description | A/N | Length | Note
| 1 | TBID | TB0$ | Table ID | A | 8 |
| 2 | COLS | TB0 | Number of Columns | N | 1 | 1.0
| 3 | TBLTYP | TB1$ | Table Type | A | 1 | A = Alphanumeric
|  |  |  |  |  |  | N = Numeric
|  |  |  |  |  |  | 3 = 3 decimals
| 4 | HEAD | TB2$ | Column Headings | A | 78 |
| 5 | ENT | TB3$ | Table Entries | A | 504 |
| 6 | DESCR | TB4$ | Description | A | 40 |
| 7 | WIDTH | TB1 | Column Width | N | 2 |