home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS 1992 September
/
Simtel20_Sept92.cdr
/
msdos
/
database
/
list_mgr.arc
/
LIST-MGR.DOC
< prev
next >
Wrap
Text File
|
1987-09-15
|
8KB
|
262 lines
LIST-MGR.EXE
Version 9/87
A Search and Retrieval Utility
for list management.
BIOLIT Inc., #47
131 NW 4th St.
Corvallis OR. 97339
You are invited to try LIST-MGR and to give copies to
others. Anyone who keeps the program should send $20 to the
address above to avoid copyright infringement and to
register their use of the program. If they send their
address and the name of the program being registered,
registrants will be sent free replacement disks if any
major 'bugs' are found and removed from the program before
January 1,1989 and will be offered low-cost updates if
significantly enhanced versions are developed. Suggestions
for enhancements are invited.
NOTE: Another Biolit program, BIBLIO.EXE, is similar to
LIST-MGR but is more specific in its application, being
intended for use with lists of bibliographic references.
It allows retrievals of records containing a specified
field/phrase combination, both of two field/phrase
combinations (Author-Keys, Author-textWord, Key-Key, or
Key-textWord; textWord is a combined field consisting of
the Title,Keywords, and Notes fields). BIBLIO also provides
the select-on-display, select-all-records, and reformatting
options of LIST-MGR. When you register LIST-MGR, you may
request a free copy of BIBLIO if you enclose a formatted
diskette with postage-paid mailer or enclose an additional
$1.50 for diskette and mailing costs.
WHAT LIST-MGR DOES
LIST-MGR runs on computers using the MS-DOS operating
system. It acts upon an input file containing a list of
records, each of which may include up to 5 labeled fields.
It can accomplish either or both of two functions,
REFORMATTING and RETRIEVAL.
REFORMATTING: For multi-field records, the user may change
the sequence in the output file of fields within records,
omitting some fields altogether if so desired.
RETRIEVAL: Selected records are extracted from the input
list and returned to a new disk text file. Records are
selected for retrieval according to one of the following
criteria, as selected by the user:
a) occurrence of a desired word or phrase (referred to
below as a 'phrase') in a specified field;
b) occurrence of either of two desired field/phrase
combinations;
c) occurrence of both of two desired field/phrase
combinations;
d) individual decision when the first part of each record
is displayed; or
e) retrieval of all records in the list (useful when
Reformatting).
FORMAT FOR INPUT RECORD FILE:
1. The input file must not exceed 60000 bytes.
2. Each record must be followed by an empty line.
3. Every line within a single record must contain at least
a space. (If you want a line within a record to appear to
be empty, simply put one or more spaces in it).
4. The `{` sign must not occur except as specified below.
5. Any record may include any or all of 5 labeled fields,
in any order. Each field must begin at the left margin with
a three-character label: a {, a digit (1-5), and a space.
6. The number, length, or sequence of fields need not be
the same for different records.
TECHNIQUE
On-screen directions should be adequate for your use of
LIST-MGR. However, the following pointers may be of
interest.
SEARCH PHRASES: A search 'phrase' may be a word, word
fragment, or phrase up to 18 characters in length.
HOW MANY FIELDS: There is no need for a given field to
obtain only a single category of information. The entire
record can be in a single field, simplifying file
preparation, if (a) you will not need to change the record
format for the output file or (b) retrieval is desired no
matter where within the record your search phrase occurs.
On the other hand, if you will want to drop or move part of
the record before output, or if some occurrences of the
search phrase should be ignored, an additional field will
need to be used.
Addition of more fields can sometimes be avoided by minor
modification of the text within a field. For example,
suppose that your records are single-field addresses and
you will want to retrieve on the basis of the first three
digits of the zip code (for example, 801). Because 801 may
also occur in a street number, false retrievals may occur.
This can be avoided by preceding your zip codes with a
period (.80004, for example). You can then search for .801
without needing to put zip codes in a separate field.
PUNCTUATION: Punctuation, spacing, and upper/lower case
must be the same as in the input file for a retrieval to
occur. Judicious selection of search phrases will minimize
false retrievals or false non-retrievals. Examples: if
you want retrieval whether or not the first letter of a
phrase is capitalized, omit that first letter from your
search phrase. If you do not want retrieval if a word is
part of a larger word, include the preceding space.
If a given part of your records can be in all caps, you
will eliminate uncertainty about case for that part (and
also avoid false retrievals from non-capitalized parts of
the record.)
RE-SELECTION: The number of search phrases to be matched
before a record is to be finally selected is not limited to
the two that can be entered at each pass: if field labels
are retained in the output file, that output file can then
be used (after being renamed) as the input file for
selection of a further sub-set of records. Using this
cascade technique, simultaneous occurrence of any number
of character phrases may be required before a record is
finally selected.
SAMPLE INPUT FILE
The very artificial short input file seen below is included
on the distribution diskette as LIST-MGR.REF. It suggests
some of the types of records which might be usefully
managed by LIST-MGR, including bibliographic references,
product specifications, and address lists.
Scan it now to identify possible search strategies (e.g.,
retrieve those records containing ZIP2 in field 1. Then
type LIST-MGR for a trial run of the program.
LIST-MGR.REF
{1 ADDRESSEE NAME
111 1ST STREET
CITY STATE .11111
.
.
.
{1 AUTHORS
{2 TITLE 1
{3 BIBLIOGRAPHOIC SOURCE
{4 KEYWORDS
{5 ABSTRACT
{1 AUTOMOBILE MAKE MODEL AND YEAR
LIST PRICE
WARRANTEE
ENGINE
CHASSIS
TIRES
{1 ADDRESSEE 1
STREET1
CITY1 STATE1 .ZIP1
.
.
.
{2 NOTES CONCERNING THE ADDRESSEE. This field would be
omitted from the output file when generating an address
list to be used for typing mailing labels.
{1 POTENTIAL DONOR 1
STREET2
CITY2 STATE2 ZIP2
.
.
.
{2 TELEPHONE: XXX-XXXX
BIRTHYEAR: 1900-1910
INCOME: 20000-40000
POLITICS: DEMOCRAT INACTIVE
OCCUPATION: RETIRED
{1 CUSTOMER 1
STREET3
CITY3 STATE3 ZIP3
.
.
.
{2 POTENTIAL SALES: COPIERS PERSONAL COMPUTER PRINTERS
RIBBONS OFFICE SUPPLIES OFFICE EQUIPMENT
{3 PURCHASES: KAYPRO PC 10 1987 C ITOH STARWRITER 1987
{4 PAYMENT RECORD: GOOD PERSONAL CHECKS
{1 STUDENT 1
STREET4
CITY1 STATE1 ZIP1
.
.
.
{2 NOTES: ADVISOR: JOHN JONES
MAJOR: VET MED
RESIDENCE: VAN ZILE HALL
FINANCIAL ASSISTANCE: PELL
FIRST TERM: FALL 87
ACADEMIC DEFICIENCIES: NONE
{1 SUBSCRIBER 1 8/88
STREET5
CITY2 STATE2 ZIP2
{2 RENEWALS: SINCE 8/82
{1 CLUB MEMBER 1 12/87
STREET6
CITY3 STATE3 ZIP3
.
.
.
{2 TELEPHONE HOME 123-4567 WORK 123-5678
EMPLOYER: SUNRISE BOWL
OFFICER/BOARD: YES
{1 CLIENT 1
STREET7
CITY1 STATE1 ZIP1
.
.
.
{2 NOTES
{1 SUPPLIER 1
STREET8
CITY2 STATE2 ZIP2
.
.
.
{2 PRODUCTS: CANNED VEGETABLES CANNED FRUIT GENERAL
GROCERIES
PAYMENT: 60 DAYS 90% REFUND ON RETURNS
TELEPHONE: xxx-xxx-xxxx
D VEGETABLES CANNED FRUIT GENERAL
GROCERIES
PAYMENT: 60 DAYS 90% REFUND ON RETU