home *** CD-ROM | disk | FTP | other *** search
/ ftp.wwiv.com / ftp.wwiv.com.zip / ftp.wwiv.com / pub / BBS / ASPCB404.ZIP / CK-SEND.DOC < prev    next >
Text File  |  1995-06-04  |  7KB  |  148 lines

  1.           AutoScribe PCB                                        Using CK-SEND
  2.           ───────────────────────────────────────────────────────────────────
  3.  
  4.           CK-SEND is a telecommunications program that will send your
  5.           checks from AutoScribe to the ATS collection bulletin board
  6.           automatically every day in an event or when ever you like. 
  7.           CK-SEND will be found in your default AS40 directory.
  8.  
  9.           The only other necessary piece of software required is PKZIP
  10.           which can be found on any bulletin board. PKZIP *MUST* be able
  11.           to be found within your path. If not you will receive an error
  12.           telling you that CK-SEND can not find PKZIP.
  13.  
  14.           CK-SEND will send only one database at a time so it is necessary
  15.           if you create more than one database a day to place CK-SEND in a
  16.           loop within a batch file. An example of a batch file used would
  17.           be as follows:
  18.  
  19.           CHECKIT.BAT
  20.  
  21.           @echo off
  22.           cd \pcb\doors\as40\ATS
  23.           :start
  24.           ck-send d:\aspcb 5 
  25.           if exist *.dbf goto top
  26.  
  27.           This batch file first turns echoing off, the :start is a label
  28.           that will tell the batch file where to go to if a certain
  29.           condition is met. The next line is the ck-send command line
  30.           (discussed below) and the next line tells the batch file that if
  31.           any files with the extention of .dbf exist within that directory
  32.           to then go to the start label and run until all the .dbf files
  33.           have been remove.
  34.  
  35.           CK-SEND requires on a couple of command lines to operate. The
  36.           structure of that command line is:
  37.  
  38.           CK-SEND <Path to ASPCB DIR> <# of Attempts to call> <[debug]>
  39.  
  40.                     CK-SEND is the excutable filename to be executed
  41.  
  42.                     Path to ASPCB Dir - Place the complete path to your 
  43.                     AS40 directory. CK-SEND must be able to find the 
  44.                     ASPCB.CNF file
  45.  
  46.                     # of Attempts - Enter the number of tries you want
  47.                     CK-SEND to attempt in connecting with the ATS system.
  48.                     CK-SEND will call if busy until all the number of 
  49.                     attempts has expired.
  50.  
  51.  
  52.           AutoScribe PCB                                        Using CK-SEND
  53.           ───────────────────────────────────────────────────────────────────
  54.           
  55.                     <[debug]> - This option will allow you to view what is
  56.                     going on underneath the CK-SEND program. Normally, 
  57.                     CK-SEND will only show you what is happening but if
  58.                     you need to view the exact operation of CK-SEND you 
  59.                     can place a 1 in this position and the screen will be
  60.                     split and allow you to see CK-SEND in operation and 
  61.                     also view any errors if one occurs.
  62.  
  63.           Examples:
  64.  
  65.           CK-SEND C:\PCB\DOORS\AS40 5
  66.  
  67.           (The above line will have CK-SEND call the ATS system 5 times.
  68.           The home directory for ASPCB 4.0 is in the AS40 directory)
  69.  
  70.           CK-SEND C:\PCB\DOORS\AS40 3 1
  71.  
  72.           (The above will attempt to connect 3 times before quitting. This
  73.           will also turn on the debug function so you can see what is
  74.           going on during the call.
  75.  
  76.           --------------------------
  77.           Example of CK-SEND script
  78.           --------------------------
  79.  
  80.           CK-SEND Copyright(C) 1995 CompuDoc Consulting (v1.0)
  81.           For EXCLUSIVE use with AutoScribe PCB and ATS Systems.
  82.  
  83.           (Initializing Modem) 
  84.           Dialing ATS BBS  
  85.           Connecting....
  86.           Logging in as Gary Smith xxxxx!
  87.           Joining Conference 10 (Success)
  88.           Sending Upload Command
  89.           Uploading File Description
  90.           Uploading Database (via Internal Zmodem)
  91.           
  92.           Upload of Database Successful, Logging Off...
  93.  
  94.           Moved Database file to Archive
  95.           
  96.           |--
  97.  
  98.           In the above script, CK-SEND connects with the ATS system after
  99.           initializing the modem and sending the dialing string. You will
  100.           see the "connecting..." string once carrier has been
  101.           established. Next when your name is prompted, your Name and
  102.           Password are sent to the ATS system. CK-SEND then attempts to
  103.           join the apppropriate conference you set in the ASM program,
  104.           upon success you will see the string "(Success)". This ensures
  105.           that CK-SEND is in the right conference for the upload. Next
  106.  
  107.           AutoScribe PCB                                        Using CK-SEND
  108.           ───────────────────────────────────────────────────────────────────
  109.           
  110.           CK-SEND attempts to inform the ATS system that it has a file to
  111.           upload. Once acknowledged, CK-SEND sends the description of that
  112.           file to the ATS system and then using our Internal ZMODEM will
  113.           upload your Zipped Database file to the ATS System. CK-SEND will
  114.           either return a successful upload or Unsuccessful upload.
  115.  
  116.           If the upload was successful, the Zipped database file is moved
  117.           to your archive directory and the xxxxxxx.dbf file is removed
  118.           from the system to avoid the possibility of uploading it again. 
  119.  
  120.           If the upload was Unsuccessful, the Zipped Database is removed
  121.           from the system and the xxxxxxx.dbf file is left intact and
  122.           ready for the next attempt.
  123.  
  124.           AutoScribe PCB                                    Accepting CHECKS
  125.           ───────────────────────────────────────────────────────────────────
  126.           
  127.           You do not have to use the ATS system to accept checks (However
  128.           we highly recommend it!). In your HELP sub-directory you will
  129.           find a sample CHECK.TXT file. This file can be used as a
  130.           template file for your check information. This will allow you to
  131.           customize a file for your check processor.
  132.  
  133.           The CHECK.TXT file can contain any of the ASPCB @ codes listed
  134.           in the appendix. 
  135.  
  136.           To use the CHECK.TXT system, you must select CHECKS in the
  137.           configuration portion of ASM (ie, Inform ASPCB that you want to
  138.           accept checks.) Under the Checking Options, ensure you select N
  139.           when asked if you will be using the ATS system. ASPCB will now
  140.           know that you want to accept checks and allow that capability
  141.           but will not build the ATS databases. Instead, in your INVOICES
  142.           directory that you defined under PATHS you will find a new file
  143.           each time a member uses a check to pay for thier selection. This
  144.           file will be in the format of (INVOICENO.CHK), the current invoice
  145.           number and the suffix of .chk. You can then take this text file
  146.           that was created from your CHECK.TXT template and send it to
  147.           your own check provider.
  148.