SCOUT.EXE File Layout

The following is a sample file layout for the SCOUT.EXE  Version 1.1 program.


Program:   SCOUT.EXE
Data File: CRO.DAT (created using the Computer Readable Output program
                    with the Detail option on a Scout telphone system)
File Type: Fixed Length (Record Length = 74 bytes)


Note: The first line of the CRO.DAT file is a file header.

Header Record Layout:

Field Name           Start  Len  Used  Field Notes
-------------------  -----  ---  ----  -----------------------------------------
Identifier              1     5  No    It contians the text "SCOUT".
Software Version        6     3  No    This field is ignored.
CRO Format Version      9     3  No    This field is ignored.
Scout Serial Number    12     6  No    This field is ignored.
Customer Name          18    20  No    This field is ignored.
File Creation Date     38     6  No    This field is ignored.
From Date              44     6  Yes   This date is in MMDDYY format - the YY is
                                          used on most transactions.
To Date                50     6  Yes   This date is in MMDDYY format - the YY is
                                          used on some transactions.
Delete Flag            56     1  No    Either "Y" for delete or "N" for do not
                                          delete.
Call Flag              57     1  No    Either "Y" for all calls or "C" for
                                          client only calls.
Detail Flag            58     1  No    Either "D" for detail or "S" for summary.
Client Flag            59     1  No    If the Detail Flag is "S", either "C" for
                                          client, "E" for extension - otherwise
                                          it is blank.
Filler                 60    13  No    This field is ignored.
CR/LF                  73     2  No    Carriage Return/Line Feed


Call Detail Record Layout:

Field Name           Start  Len  Used  Field Notes
-------------------  -----  ---  ----  -----------------------------------------
Department Number       1     8  No    This field is ignored.
Extension Number        9     4  No    This field is ignored.
Call Date              13     4  Yes   This date is in MMDD format.
Call Time              17     4  No    This field is ignored.
Trunk Number           21     6  No    This field is ignored.
Dialed Digits          27    16  No    This field is ignored.
City                   43     6  No    This field is ignored.
State                  49     2  No    This field is ignored.
Duration in Minutes    51     3  No    This field is ignored.
Cost in Cents          54     5  Yes   $1.23 is stored as 00123.
Client Code            59    12  Yes   Client/matter 101.23 is stored as 10123
                                          (padded with leading spaces).
Filler                 71     2  No    This field is ignored.
CR/LF                  73     2  No    Carriage Return/Line Feed
                   
Note: The transaction date is converted from a combination of the "Call Date"
(in MMDD format) and the year from either the "From Date" or the "To Date"
located in the header line. If the month in the Call Date is "01", then the
year is converted from the To Date; otherwise, the year from the From Date is
used.


End of Text Record Layout:

Field Name           Start  Len  Used  Field Notes
-------------------  -----  ---  ----  -----------------------------------------
Identifier              1     3  Yes   It contains the text "EOF".
Number of Records       4     6  No    This field is ignored.
Total Cost of Records  10     9  No    This field is ignored.
Filler                 19    54  No    This field is ignored.
CR/LF                  73     2  No    Carriage Return/Line Feed

Note: When the "EOF" text is encountered, the program ends.


Sample CRO.DAT file:

Note: The first 3 lines are not part of the CRO.DAT file.

         1         2         3         4         5         6         7
12345678901234567890123456789012345678901234567890123456789012345678901234
--------------------------------------------------------------------------
SCOUT3.11.0100415Soft-Com Inc.       021397020297020397NYOC             
      02  2502020958    05      3057264500POMPNBFL00100049       10000  
      02  2502020959    05      3057264500POMPNBFL00200087       10100  
      02  2502021210    05      7164246006ROCHSTNY00500201       10200  
      02  2502021217    05      6123414144MINNPLMN00500201       10300  
      02  2502021321    05      7145573300SANT NCA00200095       20001  
      02  2502021534    05      3054422000MIAMI FL00700277       20002  
      02  2502021542    05      3057264500POMPNBFL00100049       20003  
      02  2502031719    05      3127741212CHCAGOIL00600070       30000  
      02  2502031916    05      3033937260DENVERCO00200026       35000  
      02  2702021113    03      7162239652FARPRTNY00100057       40000  
      02  2702021113    04      7162239652FARPRTNY00700273       40200  
      02  2702021120    03      8097840428LEVTTWPR01200467       50000  
      02  2702021140    03      7033445563RONOKEVA00800296       55000  
      02  2702021220    03      3047445340CHRLSTWV00100047       60000  
      02  2702021345    02      2015633579BONDBRNJ00100032       60001  
      02  2702021349    03      2073779911WINTHRME00100044       60002  
      02  2702031647    02      2019917400KEARNYNJ00400073       75000  
      02  2702031651    02      2019917400KEARNYNJ00500091       75100  
EOF000018000002435