home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / database / icf186.zip / ICF186.DOC < prev    next >
Text File  |  1988-07-09  |  9KB  |  184 lines

  1.  
  2.                          Indexed Card Filer
  3.  
  4.                             By M. Arnow
  5.  
  6.                             ICF186.EXE
  7.  
  8.                               7/10/88
  9.  
  10.      First things first: ICF186.EXE is NOT a Public Domain Program.
  11.      It is Shareware, that means that if you find this program useful
  12.      please remit $25.00 to:
  13.  
  14.                            M. Arnow
  15.                            P.O. Box 3136
  16.                            Merchandise Mart Station
  17.                            Chicago Il.
  18.                            60654
  19.  
  20.    In return for your $25 you will recieve the latest version of ICF, 
  21. documentation, and the C source listings.
  22.  
  23.   You may freely distribute this program, but this document and ALL files 
  24. contained in ICF184.ARC MUST accompany it .
  25.  
  26.   ICF was written in the "C" language and compiled with the Borland 
  27. Turbo C compiler (ver. 1.5) (tm).
  28.  
  29.   The program is self explanatory, it is designed to be a Card Filer 
  30. that is Indexed.
  31.  
  32.    Before doing anything, be sure that the CONFIG.SYS file contains 
  33. FILES=20.  The program may abort if you don't have the latter statement 
  34. in CONFIG.SYS.
  35.  
  36.    To get a feel of the program, copy the contents of this ARCed file 
  37. into a new directory named ICF. Now type ICF186. You will be prompted 
  38. for a file name.  Either type SAMPLE or hit the return key and select 
  39. SAMPLE from the directory listing.  At this point take notice of the 
  40. command prompts at the screen bottom.  Each time it says F1=Help it 
  41. means that pressing F1 will bring up a help screen.  Please refer to 
  42. these screens often until you get familiar with ICF.
  43.  
  44.    Page through the file and notice how name files are alphabetized.  
  45. You should enter the editor by typing "E" and alter the contents of one 
  46. of the cards.  The editor uses a modified form of WordStar(tm) commands 
  47. (all the editor functions are listed on the help screen).
  48.  
  49.    Leave the editor by pressing Esc. By the way, all command and 
  50. functions can be quickly exited by pressing Esc.  Now try searching for 
  51. a string.  Either press "S" or F5 and enter the character string you 
  52. want to locate.  At this point it is advisable to look at the help 
  53. screen to learn what options are available in the search.  A search may 
  54. be repeated by pressing Control-L which is identical to the 
  55. WordStar(tm) function.  The tagging option tags the card that contains 
  56. the search string.  The use of tags is convenient for outputting 
  57. (exporting) data to three different file formats or to a printer. 
  58.  
  59.    Since this document is meant to serve only as a brief introduction 
  60. to ICF, I will let you continue on your own in examining its features.  
  61. Don't worry, the ICF functions are simple to use and help is only a 
  62. finger tip away.
  63.  
  64.    Finally, you can create your own template for ICF "cards".  Press F3 
  65. and enter the name of the new card file.  You will be asked if you wish to 
  66. create a new card, answer yes.  You will now be asked if you want name 
  67. alphabetization, subject alphabetization, or etc.  Press F1 for a brief 
  68. description of each option.  For demonstration puposes, it is suggested that 
  69. you choose either "N" or "S". At this point you can fill out the template for 
  70. the new card.  Line dividers be be inserted or removed by using F3 and F4 
  71. respectively.  Please note that the divider lines cannot be adjacent to each 
  72. other  or the top and bottom borders (refer to the help  screen).  
  73. When you are satisfied with the template format you can save it by
  74. pressing F2 or you can discard it by pressing Esc.
  75.  
  76.   You  may now enter data by going into the editor or import  the 
  77. data from an ASCII file or another ICF file.
  78.  
  79.   To import ASCII data from lets say Q & A (tm) or Rbase (tm), the data 
  80. has to be exported into a file with a fixed ASCII field format.  ICF imports 
  81. ASCII data by putting each line in the file into a line in an index 
  82. card.  Since a fixed field format places each record onto a single 
  83. line, this would lead to index cards having only one line.  A solution 
  84. to this problem is to convert each field into a separate line.  A 
  85. utility called CONVERT.EXE is included which will convert a fixed field 
  86. format file into a file suitable for import into ICF.  CONVERT has the 
  87. option of putting the first 2 or 3 fields onto the first line.  This is 
  88. useful if the database file has the first, middle and last names placed 
  89. in separate fields.  By combining the latter fields the whole name will 
  90. be the first line in an index card.  CONVERT requires that you supply 
  91. the number fields in a record and the number of characters in each of 
  92. the fields.  The ICF import function requires that you supply the 
  93. number of lines in a record.  So if you converted a file with 5 fields 
  94. per record and combined the first 2 fields in one line, the number of 
  95. lines per record is 4.
  96.  
  97.     The following is an example of how to import a file from Rbase:
  98.  
  99.    First create a template. When the program is executed, you will 
  100. be prompted for a file name  Ignore this prompt for the time being.
  101.   
  102.    Press F1 for Help or the ESC key and then F3 to create an ICF file.
  103. Enter the name of the file you wish to create. An example would be 
  104.  
  105.                                   PEOPLE
  106.            
  107.    You will be prompted for file type, choose "N" or "S".  Now edit the file 
  108. format (press F1 for help).  When finished press F2 to save this template.  
  109. At this point you should copy the template to another file name with the output 
  110. function F5.  The copy may be necessary because an error in importing data
  111. will destroy the file template.
  112. Errors generally occur if the wrong number of records per line is supplied. 
  113. This can put a blank in the first line of a card.
  114. No card can be saved with out an entry on the first line.
  115.  
  116.    Ok now to the importation of data.  Go into Rbase, as an example, 
  117. select the data base, export it in ASCII fixed field.  At this point 
  118. take note of the field structure.
  119.  
  120.              First name uses 16 character spaces (example)
  121.              Last name uses 20 character spaces  (example)
  122.              etc.
  123.              etc.
  124.  
  125.    Jot down the number of spaces for each field and how many fields 
  126. your going to export.  Lets say 7 fields.  Export the file with the 
  127. name PEOPLE.TXT or some name you like, to your ICF directory, where 
  128. CONVERT.EXE and ICF186.EXE reside.  Run CONVERT.EXE.  You will be 
  129. prompted for a input file name, in this case PEOPLE.TXT.  Then a prompt 
  130. for the output file name, how about PEOPLE (convert will supply the 
  131. .PRN extension).  That is followed by  "How many fields" we said 7 earlier.
  132. Now your asked if you want  to combine any of the first 3 fields.  Lets 
  133. stop for a minute and say yes.  If you had a First name field and a Last 
  134. name field, you can put them together on one line in ICF by answering 
  135. yes and following the prompt in this portion of the CONVERT.EXE 
  136. program.  Just continue on and enter the field structure spaces as 
  137. prompted.  The program will stop after 7 fields.
  138.  
  139.     You now have a PRN file that is formatted for ICF.  Return to ICF
  140. and when prompted for file name, press enter to get a directory  of ICF 
  141. files.  There should appear PEOPLE and any other .ICF files in that 
  142. directory.  Select the PEOPLE file with the cursor keys, give it a 
  143. "return" and the screen will change to the selected template.
  144.  
  145.     Now press F1 for HELP or F4 to import the converted file, in this
  146. case PEOPLE.PRN.  When you are prompted for the number of lines, which 
  147. equals fields, be careful, if you started out with 7 fields but 
  148. combined 2 of them in the CONVERT.EXE program, your response should be 6. You 
  149. will now be asked if you wish to re-order the lines coming from the input
  150. file.  
  151. Press "N", because we're assuming the lines are already properly ordered. At 
  152. this point the program will do it's thing.  It will take a couple of minutes
  153. if you've done everything the way these instructions stated.
  154. Card 1 of the imported data should now be displayed on the screen. 
  155.  
  156.      Other Stuff: Creating a ICF card file for Sonka's Metro BBS list.
  157.  
  158.      Here are the files that would be needed:
  159.  
  160.      BBS.C is the source code for BBS.EXE, that filters the data of the 
  161.      BBS list.
  162.  
  163.      BBS.EXE is the compiled version of BBS.C that actually does 
  164.      the filtering.
  165.  
  166.      Run it and look at the output file. The file types and baud rates 
  167. are expanded from the symbols in the list.
  168.  
  169.      The BBS List is available on this BBS. It is a list of Bulletin 
  170. Boards in the metro Chicago area. And is called BBSDIR???.ARC.  It is 
  171. used solely as an example of the capabilities of ICF.EXE to import an 
  172. ASCII file and convert it to an ICF file and be used by the program.
  173.  
  174. The file used from BBSDIR???.ARC is MBBSDIR.TXT when constructing 
  175. the data for BBS.ICF.
  176.  
  177.      Keep in mind that YOU must create your own filter program for 
  178. whatever other ASCII data you decide to import to a given ICF file.
  179. And YOU must create the ICF file and format.
  180.  
  181.  
  182.  
  183.  
  184. ICF186.ARC  Θ@%≈┌ Z