home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 8 Other / 08-Other.zip / odbcpa22.zip / IBDBF08.HLP (.txt) < prev    next >
OS/2 Help File  |  1998-04-20  |  7KB  |  147 lines

  1.  
  2. ΓòÉΓòÉΓòÉ 1. Configuring a dBASE Data Source ΓòÉΓòÉΓòÉ
  3.  
  4. Data Source Name: 
  5.           A string that identifies this dBASE data source configuration in 
  6.           ODBC.INI.  Examples include "Accounting" or "dBASE Files." 
  7.  
  8. Description: 
  9.           An optional long description of a data source name. For example, "My 
  10.           Accounting Database" or "dBASE files in C:\ACCOUNTS." 
  11.  
  12. Database Directory: 
  13.           A path specification to the directory that contains the database 
  14.           files.  If none is specified, the current working directory is used. 
  15.  
  16. The following values are optional: 
  17.  
  18. Create Type: 
  19.           The type of table or index to be created on a Create Table or Create 
  20.           Index statement.  Select dBASE III, dBASE IV, dBASE V, Clipper, 
  21.           FoxBASE, FoxPro1, or FoxPro25.  The default is dBASE V.  dBASE II is 
  22.           not supported for OS/2. 
  23.  
  24. Lock Compatibility: 
  25.           The locking scheme the driver uses when locking records. Select 
  26.           dBASE, Q+E, Q+EVirtual, Clipper, or Fox.  The default is dBASE. These 
  27.           values determine locking support as follows: 
  28.  
  29.           ΓûádBASE specifies Borland-compatible locking. 
  30.  
  31.           ΓûáQ+E specifies that locks be placed on the actual bytes occupied by 
  32.           the record.  Only applications that use the dBASE driver can read and 
  33.           write to the database.  Other applications are locked out of the 
  34.           table completely (they cannot even read other records).  This locking 
  35.           is compatible with earlier versions of Q+E products. 
  36.  
  37.           ΓûáQ+EVirtual specifies that locks be placed on bytes beyond the 
  38.           physical end-of-file.  Q+EVirtual is the same as Q+E except that 
  39.           other applications can open the table and read the data. 
  40.  
  41.           The advantage of using a Q+E locking scheme over dBASE locking is 
  42.           that, on Inserts and Updates, Q+E locks only individual index tags, 
  43.           while dBASE locks the entire index. 
  44.  
  45.           ΓûáClipper specifies Clipper-compatible locking. 
  46.  
  47.           ΓûáFox specifies FoxPro- and FoxBASE-compatible locking. 
  48.  
  49.           If you are accessing a table with an application that uses the dBASE 
  50.           driver, your locking scheme does not have to match the Create Type. 
  51.           However, if you are accessing a table with two applications, and only 
  52.           one uses the dBASE driver, set your locking scheme to match the other 
  53.           application.  For example, you do not have to set this value to Fox 
  54.           to work with a FoxPro table.  But if you are using a FoxPro 
  55.           application simultaneously with an application using the dBASE driver 
  56.           on the same set of tables, set this value to Fox to ensure that your 
  57.           data does not get corrupted. 
  58.  
  59. Locking: 
  60.           The level of locking for the database file (FILE, RECORD, or NONE). 
  61.           FILE locks all of the records in the table.  RECORD (the default) 
  62.           locks only the records affected by the statement.  NONE offers the 
  63.           best performance but is intended only for single-user environments. 
  64.  
  65. File Open Cache:
  66.           A numeric value to specify the maximum number of unused file opens to 
  67.           cache.  For example, the value 4 specifies that when a user opens and 
  68.           closes four tables, the tables are not actually closed.  The driver 
  69.           keeps them open so that if another query uses one of these tables, 
  70.           the driver does not have to perform another open, which is expensive. 
  71.           The advantage of file open caching is increased performance.  The 
  72.           disadvantage is that a user who specifies file locking on open may 
  73.           get a locking conflict even though no one appears to have the file 
  74.           open.  The default is 0, which means no file open caching. 
  75.  
  76. Cache Size: 
  77.           The amount of memory, in 64K blocks, that the driver uses to cache 
  78.           database records.  The higher the number, the better the performance. 
  79.           The maximum number you can set depends on the system memory 
  80.           available.  This value must be a multiple of 64.  The default is 
  81.           256K.  If the cache size is greater than 0, when browsing backwards, 
  82.           you will not be able to see updates made by other users until you 
  83.           reexecute the Select statement. 
  84.  
  85. International Sort: 
  86.           A setting to indicate the order in which records are retrieved when 
  87.           you issue a Select statement with an Order By clause.  Select this 
  88.           check box to use the international sort order as defined by your 
  89.           operating system.  International sort order is case-insensitive (a 
  90.           precedes B); the sorting of accented characters is also affected (see 
  91.           your operating system documentation).  Leave this box blank to use 
  92.           the ASCII sort order.  ASCII sort order is case-sensitive, where 
  93.           uppercase letters precede lowercase letters (B precedes a). 
  94.  
  95. Use Long Names: 
  96.           A setting that enables the driver to use long filenames as table 
  97.           names. If you select this check box, the maximum table name length is 
  98.           128 characters. 
  99.  
  100. Use Long Qualifiers: 
  101.           A setting that enables the driver to use long pathnames as table 
  102.           qualifiers. When you set this check box, pathnames can be up to 249 
  103.           characters. The default length for pathnames is 128 characters. 
  104.  
  105. Define 
  106.  
  107. Displays the Define File dialog box to let you select an index file, and then 
  108. displays the Define File  dialog box. 
  109.  
  110. Translate 
  111.  
  112. Displays the Select Translator dialog box to allow you to perform  a 
  113. translation of your data from one character set to another. Choose the 
  114. INTERSOLV OEM ANSI translator to translate your data from the IBM PC character 
  115. set to the ANSI character set 
  116.  
  117.  
  118. ΓòÉΓòÉΓòÉ 2. Defining Index Attributes ΓòÉΓòÉΓòÉ
  119.  
  120. To define the index files that are associated with a dBASE file: 
  121.  
  122.  1. Click Define in the dBASE setup dialog box, which you can access through 
  123.     the ODBC Administrator.  The standard file open dialog box for your system 
  124.     appears. 
  125.  
  126.  2. Select a dBASE file and click OK to define the special indexes using the 
  127.     Define Table dialog box. 
  128.  
  129.  3. The upper section of the dialog box displays the directory name and 
  130.     filename that contains the data file. Translation box. 
  131.  
  132.  4. The lower section of the dialog box displays the index information for the 
  133.     data file.  The Index File drop-down list lets you select any index file in 
  134.     the database directory.  If the index file is in a different directory, you 
  135.     must provide the full pathname. 
  136.  
  137.    Select the Maintain check box to associate this index file with your dBASE 
  138.    file. 
  139.  
  140.    To specify that an index file is unique, select the Unique check box that 
  141.    appears at the right of the index filename. 
  142.  
  143.  5. If the selected index has an .MDX or .CDX extension, you cannot mark the 
  144.     index file as unique.  Instead, you may mark the tags within the index as 
  145.     unique.  To do so, select the tag name in the Tag drop-down list and select 
  146.     the Unique check box that appears at the right of the tag name. 
  147.