home *** CD-ROM | disk | FTP | other *** search
-
-
-
-
-
-
-
- *** PCPCHEK ***
-
- Micrological Designs
- P.O. Box 2295
- Stillwater, OK 74076
- Original program dated 3/15/88
- ============
- Data File Revised and Updated
- by
- Ben Rees
- Pebble Beach, CA
- To include PCPursuit exchanges as of
- 7/22/92
- and included in this file PCPCHEK6.ZIP
- ============
-
- This set of files was prepared in order make it easy to check a phone
- number to see if it could be accessed by PC-Pursuit. The files included
- are:
-
- PCPCHEK.EXE Program to check phone exchanges for accessibility
- via PC-Pursuit. This is the main operational program.
-
- PCPEXCH.DAT The data file which PCPCHEK needs in order to operate.
- >> This file is based on the July 22, 1992 list of phone
- >> exchanges downloaded from the Net Exchange BBS.
-
- PCPBILD.EXE Program to build a new version of PCPEXCH.DAT from new
- exchange lists as they become available. Note that it
- is necessary to edit the lists slightly and to name them
- EXCH.LST in order to make them work with this program.
- (See below)
-
- EXCH.LST This is a copy of the July 22, 1992 exchange list which
- has been edited for input to the PCPBILD program. It
- is included here for purposes of illustration.
-
- PCPCHEK.DOC The file you are now reading, which describes the programs
- and their use.
-
-
- OPERATION OF THE PROGRAM. To run PCPCHEK, all you need to do is
- have the program PCPCHEK.EXE and its data file PCPEXCH.DAT in
- your current drive/directory, then enter PCPCHEK. After the data
- file is read in you will be prompted for the Area Code pertaining
- to the exchange you want to check. Then you will be prompted for
- the exchange itself. You may test as many exchanges as you wish
- without re-entering the Area Code. Enter a null string (CR only)
- in order to move to a different Area Code. Entering a null string
- for the Area Code terminates the program. For each entry you will
- be told whether the exchange is accessible through PC-Pursuit and,
- if it is, you get dialing intructions. Response time is very rapid
- once the data file is read in, because the data are maintained in
- memory and the search method is efficient.
-
-
- TECHNICAL NOTES. The data file, PCPEXCH.DAT, is in binary format in order
- to maximize speed and compactness.
-
- To prepare a new version of the data file PCPEXCH.DAT from the latest pub-
- lished list of exchanges, you must edit the list to make it conform to
- the pattern described below, rename it to EXCH.LST, and then run the
- program PCPBILD. (Use a text editor which does not insert control codes
- into the file, but uses only ASCII characters.)
-
- Required format of EXCH.LST:
- Data are read in blocks, with each block strictly formatted. Extra stuff
- is permissible between data blocks, but not within them. Each block
- consists of the following lines:
- Line 1 - Asterisk (*) in column 1 followed by 5-letter PCP dialing
- code (extra trailing stuff in this line is ignored)
- Line 2 - Two numbers separated by a space:
- The first is the number of phone digits which must be dialed
- 7 = regular phone number (e.g., 555-1212)
- 10 = area code plus phone number (e.g., 202-555-1212_
- 11 = 1 + area code + phone number (e.g., 1-202-555-1212)
- The second is the number of exchanges included in this
- block. (Note that this number is provided at the end of the
- block of exchanges in the original list, so you only need
- to copy it into this location.)
- Line 3 - The area code located at the left margin, followed by a set
- of 15 exchange numbers separated by one or more blanks.
-
- (Note that any number of lines formatted like Line 3 may
- follow, until the specified number of exchanges is achieved.
- All lines except the last in the block must be complete.)
-
- There may be any number of extraneous lines between blocks, as long
- as the first character in the line is NOT an asterisk (*). The
- asterisk in column 1 is the signal that a new block is beginning,
- and the block must conform to the specifications given above.
-
- There may be multiple data blocks for some cities, in order to deal
- with multiple area codes. For example, there are three data blocks
- for Washington, D.C. (DCWAS), corresponding to area codes 202, 301,
- and 703; New York City (NYNYO) has area codes 212, 516, 718, and 914.
-
- The edited list of exchange data, EXCH.LST, is used as input to the
- PCPBILD.EXE program, which then produces the PCPEXCH.DAT file used
- by the main program PCPCHEK.EXE. Since the version of PCPEXCH.DAT
- provided here is based upon the most recent (July 22, 1992) list of
- exchanges, there is no need to regenerate it until a new list of ex-
- changes appears.
-
- A FINAL WORD. In order to keep the programming time down, it has been
- necessary to ignore a few very exceptional dialing circumstances.
- For example, Area Code 916 (accessible via CASAC -- Sacramento)
- dialing 8 digits (e.g. 1-555-1212).
-
- In such irregular situations it will be necessary for the PCP user
- to employ methods other than this program to check modes of
- access.
-
- Multiple modes of access, where they occur, are handled properly,
- however. (For example, if the 201 exchange is entered under the
- area code 310, both the CALAN and CAGLE access modes will be
- displayed.) In all ordinary cases the program provides a quick and
- reliable way to determine accessibility of an exchange via
- PC-Pursuit, limited only by the degree of accuracy of the exchange
- list used as a source of reference. It is offered for your
- convenience and efficiency in using PC-Pursuit.
-
-