home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Education Master 1994 (4th Edition)
/
EDUCATIONS_MASTER_4TH_EDITION.bin
/
files
/
commadio
/
qanalyst
/
sample.bat
< prev
next >
Wrap
DOS Batch File
|
1990-09-19
|
10KB
|
241 lines
echo off
rem SAMPLE.BAT demo batch file for Qanalyst v2.0 program.
rem Copyright (c) 1989 by Barn Owl Software
rem P.O. Box #74
rem O'Fallon, IL 62269
rem VOX: (618) 632-7345
rem BBS: (618) 398-5703
rem HST: (618) 398-2305
cls
echo
echo Thank you for deciding to run the demo for the Qanalyst v2.0 program!
echo Qanalyst is a Qmodem phone bill analyzer. If you want to keep track of
echo how much money you spend using Qmodem, this is the program for you.
echo Qmodem can keep track of the BBSs you call in a special "log" file.
echo Qanalyst reads Qmodem log files to determine how much you've spent on
echo Qmodem-related calls. It's that simple.
echo
echo Qanalyst is a full-blown menu driven application. This demo will touch
echo on some of its batch mode and "current call" analysis capabilities and
echo will give you a small idea of what the program can do for you.
echo
echo The SAMPLE.LG* files are actual Qmodem log files from which we'll create
echo a few reports. These log files contain different types of calls, file
echo transfers ── even some problems that are flagged in Qanalyst reports.
echo SAMPLE.PRF, a phone-rate data file, provides sample phone call costing
echo details so reports can show realistic $$$ figures.
echo
echo PLEASE make sure your printer is turned on at this time. This demo will
echo require 6 sheets of paper total. You can stop this batch file at any
echo time by pressing CTRL-C. You can also stop Qanalyst by pressing CTRL-C.
echo
echo Press CTRL-C to stop this demo, or
pause
cls
echo
echo Thanx for deciding to continue the Qanalyst demo! First, we're going
echo to go over one of Qanalyst's most powerful capabilities: "Last call"
echo analysis. We're going to find out what happened during the last call
echo we made in Qmodem.
echo
echo We're going to say "QANALYST SAMPLE.CF1 /BL" at the DOS prompt. This
echo will tell Qanalyst to automatically generate a report based on the last
echo call we made in Qmodem. (SAMPLE.CF1 is a Qanalyst configuration file.)
echo
echo This report takes 2 pages of paper.
echo The 1st page is a summary report.
echo The 2nd page is a detailed report.
echo Press CTRL-C to stop this demo, or
pause
echo
echo QANALYST SAMPLE.CF1 /BL
echo
QANALYST SAMPLE.CF1 /BL
echo
echo
pause
cls
echo
echo As you can see from the report we just printed, Qanalyst found that the
echo last call was made to "Farpoint Station", a local call. You could use
echo this function to take a quick look at the money you spent on the last
echo call you made, EVEN IF THE CALL IS STILL IN PROGRESS. You can do it
echo from within Qmodem itself if you set up a SCRipt file (we'll demonstrate
echo it a little later in this demo). All the information you need is in the
echo QANALYST.DOC file, appendix sections C.2 and C.5.
echo
echo It really didn't cost us anything to make that very last call, did it?
echo Let's look instead at the last call we made specifically to the Forbin
echo Project BBS. It wasn't the last call we made, but that doesn't matter.
echo
echo We're going to say "QANALYST SAMPLE.CF1 /BL /BS1-319-233-6157" at the
echo DOS prompt. This will tell Qanalyst to automatically generate a report
echo based on the last call we made to Qmodem's home BBS. (SAMPLE.CF1 is a
echo Qanalyst configuration file.)
echo
echo This report takes 2 pages of paper.
echo The 1st page is a summary report.
echo The 2nd page is a detailed report.
echo Press CTRL-C to stop this demo, or
pause
echo
echo QANALYST SAMPLE.CF1 /BL /BS1-319-233-6157
echo
QANALYST SAMPLE.CF1 /BL /BS1-319-233-6157
echo
echo
pause
cls
echo
echo This new report shows only on the last call we made to Forbin Project
echo BBS. This includes a report on the file we uploaded to the board. We
echo could just have easily reported on ALL calls to Forbin Project if we'd
echo dropped the /BL option from the DOS command line.
echo
echo Look carefully near the top of the first page of both reports. You'll
echo see a WARNING message just below the name of the Qmodem log file. It
echo tells us there is at least one "Manual Dial" entry in the log file, and
echo that can be bad news. You should AVOID Qmodem's manual dialing if you
echo can. Qanalyst mishandles manually dialed numbers in many cases and all
echo reports are flagged whenever they are discovered in a log file. This
echo and other Qmodem/Qanalyst incompatibilities are described in appendix
echo section D.2 of the QANALYST.DOC file.
echo
pause
cls
echo
echo Now we're going to report on the calls we made to CompuServe, a national
echo network which charges by the minute each time we call. CompuServe will
echo bill us in addition to any regular phone costs we might rack up. We're
echo going to say "QANALYST SAMPLE.CF2 /B" at the DOS prompt to get a report
echo on our CompuServe calls. (SAMPLE.CF2 is a Qanalyst configuration file.)
echo
echo This report takes 2 pages of paper.
echo The 1st page is a summary report.
echo The 2nd page is a detailed report.
echo Press CTRL-C to stop this demo, or
pause
echo
echo QANALYST SAMPLE.CF2 /B
echo
QANALYST SAMPLE.CF2 /B
echo
echo
pause
cls
echo
echo Okay, look closely at page #2 of the report. TESTER.UPL is listed as
echo the second file we uploaded. Notice how the report says CompuServe
echo suspended its service charges during the upload? We still paid 16¢ for
echo the cost of the phone call while we were uploading, but Qanalyst didn't
echo add any CompuServe charges.
echo
echo CompuServe, GEnie, and many other pay-per-use networks suspend their
echo service charges during uploads. Qanalyst v2.0 can actually compensate
echo for it, resulting in a more accurate phone bill report.
echo
pause
cls
echo
echo What we're going to do next may look a little odd to you, but you'll
echo definitely like it when you see it. Let's pretend we're inside Qmodem
echo RIGHT NOW and we're logged onto CompuServe. How much have we spent on
echo the call? Can Qanalyst "pop up" inside Qmodem in a Qmodem-like window
echo that shows us what we've spent so far?
echo
echo We're going to say "QANALYST SAMPLE.CF3 /BL" at the DOS prompt -- but
echo remember, we're PRETENDING this is Qmodem and we're calling CompuServe
echo right now. (SAMPLE.CF3 is a Qanalyst configuration file specifically
echo set up to generate a Qmodem-like "pop up" window.) We'll pretend that
echo we issued the Qmodem SCRipt command "DOS 'QANALYST SAMPLE.CF3 /BL'".
echo
echo This "current call" analysis report requires NO paper.
echo Press CTRL-C to stop this demo, or
pause
echo
echo Qmodem SCRipt command: "DOS 'QANALYST SAMPLE.CF3 /BL'"
echo
QANALYST SAMPLE.CF3 /BL
cls
echo
echo Notice how Qanalyst stayed within its special "pop up" window? That's
echo one of the nice things about the program. You don't even have to leave
echo Qmodem to learn the cost of the call in progress! That's how powerful
echo Qanalyst is.
echo
echo If you had compared the window report to your printout of the previous
echo report, you would have seen they contain much of the same information.
echo Qanalyst suspended CompuServe's charges while an upload was performed,
echo but it continued monitoring the cost of the telephone call.
echo
echo
pause
cls
echo
echo The next thing we're going to do is to "condense" the Qmodem log files
echo so they contain only vital information. Qanalyst removes unnecessary
echo entries from the log file to make it compact. Typical first-time
echo reduction is 70%% or better if you're willing to get rid of the upload/
echo download information. We're going to do just that.
echo
echo We're going to say "QANALYST SAMPLE.CF4 /B" at the DOS prompt to tell
echo Qanalyst to automatically condense our log files. We could just have
echo easily done it while we analyzed calls in the previous two examples.
echo (SAMPLE.CF3 is a Qanalyst configuration file.)
echo
echo This condensing requires NO paper.
echo Press CTRL-C to stop this demo, or
pause
echo
echo QANALYST SAMPLE.CF4 /B
echo
QANALYST SAMPLE.CF4 /B
echo
echo
pause
cls
echo
echo Notice how we achieved a 68%% reduction on the first log file and a 71%%
echo reduction on the second log file? That's a common first-time reduction
echo when you choose to remove upload/download entries. It saves disk space
echo but some people like to keep file transfer information. You can choose
echo which is best for you.
echo
echo You could also choose to "delete" entries over a specified time period.
echo Calls placed during those days would be totally removed from the log
echo file(s). This can be a useful way to reduce the size of your logs after
echo generating reports on them.
echo
echo Qanalyst is powerful enough to let you condense/delete log file entries
echo for one period and report on calls for another period. You could even
echo report/condense/delete calls over non-contiguous periods if you needed.
echo It's not hard at all when you use Qanalyst!
echo
echo
pause
cls
echo
echo We encourage you to use the sample files to generate some reports of your
echo own. If you use Qanalyst v1.0, you can start up this new version with
echo your old configuration & phone-rate files and play with those. Feel free
echo to play around with Qanalyst and get a feel of how it works!
echo
echo That concludes the minor demonstration of what Qanalyst v2.0 can do for
echo you. Some people have little need to keep an eye on their modem phone
echo bills and you may very well be one of them. Not every program is useful
echo to every person. BUT, some people need to know what they're spending on
echo Qmodem calls and some people need to keep track of files they upload &
echo download. That's where Qanalyst comes in. It is THE Qmodem phone bill
echo analyzer!