home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / database / datamage.zip / DOCS.ZIP / MAIL.DOC < prev    next >
Text File  |  1991-02-09  |  9KB  |  174 lines

  1.                               SALES MAIL MANAGER:
  2.  
  3.  
  4.  
  5. The   files  POWRMAIL.BAS and MAILLIB.BAS in the \MAGE\DOCS directory  are  the
  6. BASIC   programs   that,  when  compiled  with   the   Microsoft   Basic   6.0b
  7. compiler, produced POWRMAIL.EXE. It will not  run  under your version of I.B.M.
  8. or G.W. BASIC because there are no line numbers on  some of the lines.  You can
  9. modify it to suit your needs, AND TO PRINT MOST ANY KIND OF REPORT.
  10.  
  11. The POWRMAIL program is a sales mail manager.  Many organizations are  involved
  12. in  using  the mail to market their products, and far more who  are  not  could
  13. benefit  from using a mailing campaign to let those in their markets know  that
  14. they  are  in business, and to place before  them, on a  regular  basis,  those
  15. matters which may interest them.
  16.  
  17. Having  created a datafile that contains his data, the user can  print  mailing
  18. labels  containing  the  information recorded in the datafile,  in  the  normal
  19. format  required for an address.  By inter-acting with the  DATAMAGE  programs,
  20. POWRMAIL  offers  to  the user the ability to produce labels  for  one  or  all
  21. records  in  the target datafile.  POWRMAIL can be used in conjunction  with  a
  22. program such as WORDSTAR/MAILMERGE ,or a custom printshop, to automate the task
  23. of mass mailings.
  24.  
  25. If  desired, a one character code can be chosen to represent the mailing  being
  26. done,  and  recorded into the records being mailed to.  In this  way,  you  can
  27. simply  and  easily  keep  track of what has been mailed  to  whom.   For  your
  28. convenience,  the  label also contains the record number  associated  with  the
  29. label,  and  the  code  chosen at the time of mailing,  if  any.   If  you  ask
  30. respondents to include this code with their replies, you can quickly update the
  31. records  of  the  respondents; you have their datafile record  number  and  the
  32. mailing to which they responded at hand.
  33.  
  34.  
  35. HOW DOES IT WORK?
  36.  
  37.  
  38. The  basis of the POWRMAIL program is a datafile containing all  the  necessary
  39. information  to  mail an item to a potential customer.  The  datafile  used  as
  40. target for the program must conform to a per-defined format including the first
  41. eleven  data  segments.  The remainder of the datafile can be declared  in  any
  42. manner   you  wish.   Therefore, any datafile that contains  with  the   proper
  43. eleven  data-segments  may be accessed by the POWRMAIL  program,  for  purposes
  44. related/NOT RELATED to sales.
  45.  
  46. The mandatory segments are:
  47.  
  48. ORG. NAME      STRING         35
  49. CONTACT        STRING         35
  50. TITLE          STRING         20
  51. ADDRESS        STRING         20
  52. CITY           STRING         20
  53. STATE          STRING          2
  54. ZIP CODE       STRING         10
  55. PHONE          STRING         17
  56. MAIL CODE 1    STRING         35
  57. MAIL CODE 2    STRING         35
  58. MAIL CODE 3    STRING         35
  59.  
  60. The DBSEMAKR program will allocate these fields.  You may move them around  and
  61. place  your own fields among them, indexing them any way you please.   You  may
  62. NOT  delete  these fields, or change their lengths.  If you do the  POWER  MAIL
  63. program will not access the file.
  64.  
  65. The  use  of  the  POWRMAIL program begins with  using  the  BASE  programs  to
  66. establish  a group of records, representing those individuals or concerns  with
  67. whom  you wish to communicate by mail.  Instead of learning another version  of
  68. record  entry, updating and sorting you will use the facilities available  with
  69. the DATAMAGE.
  70.  
  71. When  you  have  established a group of records that meet your  needs  write  a
  72. sorting place marker file.  POWER MAIL will read this file and print labels for
  73. only the records it contains, or print labels for all records in the datafile.
  74.  
  75. If you want your labels in order on zip, do a sort before writing the marker.
  76.  
  77. It   should  be  noted that, to increase processing  speed,  the  marker  files
  78. contain  the  INTERNAL record numbers of the target records.  This  saves  many
  79. sequences of "looking up" the user-assigned record number and relating it to an
  80. internal  number  (representing the sequential position of the  record  in  the
  81. file)  before the record can be loaded.
  82.  
  83. There is, in this case, a small price to be paid for processing speed.  Because
  84. the  relationship of user-assigned record numbers and internal numbers  can  be
  85. changed by deleting records, the sort files are invalid after the first  record
  86. is deleted.
  87.  
  88. If you re-use a sort-file, expect disaster.  Instead, record a macro sort,  and
  89. produce a fresh sortfile each time.  Not only will you avoid disaster, but  you
  90. will  also pick up any records that have been updated and are now in  agreement
  91. with the sorting parameters, and vice-versa.
  92.  
  93.  
  94. CODING STRATEGY
  95.  
  96.  
  97. If  you record a code that connotes the fact that a mailing has been done to  a
  98. record,  you  can do another sort to avoid sending the same thing to  the  same
  99. person twice.  Prepare a list, with a word processor or on paper, that  details
  100. the codes you have used and their meanings in terms of what went out.
  101.  
  102. In  any  mass mailing system, a number of problems arise due to the  fact  that
  103. some records are mailed to more than others, causing the code-bearing  segments
  104. to  fill at different rates for each record.  Eventually, the  most  frequently
  105. mailed-to  records'  code  segment will fill, and it will not  be  possible  to
  106. record another code.  What do we do then?
  107.  
  108. The  normal P.C. style keyboard has forty-seven "normal" keys.   Including  the
  109. capitals  of  all  keys, that's ninety-four  possible  characters.   Since  the
  110. program accepts only one character codes, that's all you can use.
  111.  
  112. The exception to this is the quotation mark.  DATAMAGE reserves this  character
  113. for it's own, internal use.  To understand why read your BASIC manual for  FILE
  114. DELIMITERS.   The  quote is used to mark the beginning and end of a  string  on
  115. disk.   If  you are permitted to embed the delimiters in the  data  the  system
  116. falls apart.  So, DATAMAGE refuses to accept the quote as data.
  117.  
  118. There  are  three mail code data segments.  The program will  select  the  next
  119. available  storage space within each record, and no code will appear  twice  in
  120. any  record.  Since the total storage available is 105 bytes, and  the  maximum
  121. demand for storage is 94 bytes, you will run out of codes before you run out of
  122. storage.
  123.  
  124. The program records all codes used, with a user-supplied descriptive string, in
  125. a  file  called CODESUSD.HTY and checks that there is a  code  left  unassigned
  126. during  datafile  loading.   If  all codes have  been  used,  the  operator  is
  127. informed,  and given the option to end the program.  The codes previously  used
  128. can  be printed from the coding menu, or the file can be viewed with  the  TYPE
  129. command  from  DOS,  copied directly to the printer, or loaded  into  any  word
  130. processor that will accept a pure ascii file for further formatting.
  131.  
  132.  
  133.                                 RESTART OPTIONS
  134.  
  135.  
  136. O.K., so we've gotten the warning from the program that all the codes have been
  137. used.  We've got to do some sort of restart process to empty the code segments,
  138. delete  (or re-name) the current CODESUSD.HTY file, and generally  prepare  the
  139. system to continue.
  140.  
  141. Instead  of a set process to accomplish this, you are faced with many  possible
  142. options.  You should choose, based on the anticipated frequency of your need to
  143. retrieve  historical mailing data and the size of the associated files, one  of
  144. the  proceeding secnarios, or design your own to suit your need.  The  DATAMAGE
  145. offers the flexibility to do it your way.
  146.  
  147. The  simplest  and most time-efficient way to deal with a  reset  operation  is
  148. simply  to  backup the datafile to a floppy.  Mark the old  floppy  as  mailing
  149. history  from a date to a date.  Don't copy the old CODESUSD.HTY file onto  the
  150. new  floppy  disk.  Then, load the base program and use the write  code  option
  151. (F9) Use the replace option, and, when prompted for the string to record, press
  152. return.  Repeat this process for nine, ten and eleven, and you have cleared the
  153. code segments.
  154.  
  155. Note,  in the above procedure, that the used floppy becomes the  history  disk.
  156. The  new  disk  will be used for a time, then its' data  will  be  transferred,
  157. again, to a fresh diskette.  That way, you avoid dead disks.
  158.  
  159. Of  course,  you  could opt to print off a listing of all  records  having  the
  160. record  name and the three code segments.  Place it in a folder with a copy  of
  161. the relevant code key sheet, and you have a record of the transactions.   Then,
  162. load  the base program, and follow the instructions above.  Finally, delete  or
  163. re-name the CODESUSD.HTY file.
  164.  
  165. In comparatively rare instances where it is truly beneficial to have access  to
  166. all  past  mailings in a single datafile you can use POWER COPY.   Specify  the
  167. current  datafile as both the source and target datafile, and simply  move  the
  168. data  now  in the three current code segments to other string segments  of  the
  169. same  size  that  were  included at the time of datafile  design  to  hold  the
  170. information.   Re-name  your  current CODESUSD.HTY  file  to  CODESUSD.001,  or
  171. whatever.   Mark  your code sheet as to the new location of the  code  segments
  172. relevant  to it.  Then, load the base program and remove the codes  from  nine,
  173. ten and eleven.  Your restart is complete.
  174.