home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.wwiv.com
/
ftp.wwiv.com.zip
/
ftp.wwiv.com
/
pub
/
BBS
/
USEREP16.ZIP
/
USEREP.DOC
< prev
next >
Wrap
Text File
|
1992-05-03
|
4KB
|
88 lines
USEREP - PCBoard 14.x User File Report Generator, Version 1.6
Copyright (C) 1988 - 1992, S. David Klein
Permission is hereby granted to reproduce and disseminate USEREP.BAS and
USEREP.EXE, so long as no alterations are made and no remuneration is
received in exchange.
This program generates a report showing user name, last date on, expiration
date, security level, times on, last message read in the main message base, #
uploads, # downloads, and ratio of downloads to uploads. The output report
file can be in three formats: normal, for viewing or printing; comma-
delimited, for import into a database program; or comma-delimited quoted
strings, the standard mail-merge format.
The users file is opened shared read-only, and as a result USEREP will run in a
network environment with PCBoard nodes up and running. USEREP shells out to
SORTF [(c) by Vernon D. Buerg, used with permission] to provide sorting of
the report by any of the seven items listed. SORTF.COM need only be in the
path; it is not necessary that it be in the default directory. Sorting is
provided only for the normal report file; for the import format files, sorting
is skipped since it is assumed another program will be used to examine the
information in these files.
USEREP will look in the default directory for a file called USEREP.CFG. This
file should consist of at least 3 lines. The first line should contain the
full name, with path, of your USERS file. The second line should contain the
full name, with path, of the report file to be generated. The third line
should contain a code letter indicating the output file format desired. The
code letters are:
(N) Normal output file
(C) Comma-delimited file
(M) Mail-merge file
See the sample config file, USEREP.CFG, for an example of how to set up the
file.
If either of the import format files is selected (C,M), USEREP will generate
the output report immediately after examining the users file. For the normal
format report, once the program has examined the USERS file, it will ask on
which item(s), if any, to key the sort of the report file. The key numbers
are:
(1) Last Date On
(2) Expiration Date
(3) Security Level
(4) # Times On
(5) Last Msg. Read
(6) # Uploads
(7) # Downloads
(8) Ratio of DL/UL
If a key of (N) is given, no sort will be performed. If you desire to run
USEREP in unattended mode (e.g., from an event batch file), you can place the
primary and secondary sort keys, and sort order, on the command line and USEREP
will use those in place of your keyboard input. For example, the command line:
USEREP 8 1 D
will generate, without keyboard input, a report file sorted first by ratio and
second by last date on, in descending order. If you do not desire a secondary
key, use the letter N as the second key on the command line (e.g., USEREP 8 N
A). If you do not desire any sort at all, use the letter N as the first sort
key on the command line (e.g., USEREP N). Except in this latter case, for
unattended operation both keys and the sort order must be on the command line
or USEREP will ask for keyboard input.
The program is written and compiled with MicroSoft QuickBasic 4.5.
The author makes no warranties, either express or implied, with regard to this
program and hereby disclaims any and all implied warranties of merchantability
and fitness for a particular purpose. In no event will the author be liable
for incidental or consequential damages, including, but not limited to,
destruction of data or damage to your equipment.
Your comments on USEREP are welcome. The author may be contacted on his
PCBoard system:
Software Society South, North Brunswick, NJ - (908) 846-9664
The system supports 1200/2400/9600/19200 connects with a USR HST Dual Standard
modem.
This program archive contains the files USEREP.BAS, USEREP.CFG,
USEREP.DOC, and USEREP.EXE.