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

  1.  
  2. ΓòÉΓòÉΓòÉ 1. Configuring a Sybase System 10 Data ΓòÉΓòÉΓòÉ
  3.  
  4. Source source 
  5.  
  6. Data Source Name: 
  7.           A string that identifies this Sybase System 10 data source 
  8.           configuration in ODBC.INI.  Examples include "Accounting" or 
  9.           "Sys10-Serv1." 
  10.  
  11. Description: 
  12.           An optional long description of a data source name. For example, "My 
  13.           Accounting Database" or "System 10 on Server number 1." 
  14.  
  15. Server Name: 
  16.           The name of the server that contains the System 10 tables you want to 
  17.           access.  If not supplied, the server name in the DSQUERY environment 
  18.           variable is used. 
  19.  
  20. The following values are optional: 
  21.  
  22. Server List: 
  23.           The list of servers that appear in the logon dialog box.  Separate 
  24.           the server names with commas. 
  25.  
  26. Database Name: 
  27.           The name of the database to which you want to connect by default.  If 
  28.           you do not specify a value, the default is the database defined by 
  29.           the  system administrator for each user. 
  30.  
  31. Database List: 
  32.           The databases that appear in the logon dialog box. Separate the names 
  33.           with commas. 
  34.  
  35. Default Logon ID: 
  36.           The default logon ID used to connect to your System 10 database. 
  37.           This ID is case-sensitive.  A logon ID is required only if security 
  38.           is enabled for the database you are connecting to.  Your ODBC 
  39.           application may override this value or you may override this value in 
  40.           the logon dialog box or connection string. 
  41.  
  42. Interfaces File: 
  43.           The pathname of the interfaces file.  The default is the normal 
  44.           Sybase interfaces file. 
  45.  
  46. Password Encryption: 
  47.            A number that determines whether password encryption can be 
  48.           performed from the Open Client Library to the server 
  49.           (PasswordEncryption=1). When set to 0, the default, this cannot be 
  50.           done. 
  51.  
  52. Charset: 
  53.           The name of a character set corresponding to a subdirectory in 
  54.           $SYBASE/charsets.  The default is the setting on the System 10 
  55.           server. 
  56.  
  57. Workstation ID: 
  58.           The workstation ID used by the client. 
  59.  
  60. Language: 
  61.           The national language corresponding to a subdirectory in 
  62.           $SYBASE/locales.  The default is English. 
  63.  
  64. Application Name: 
  65.           The name used by System 10 to identify your application. 
  66.  
  67. Yield Proc: 
  68.           This attribute is not available for OS/2. A numeric value that 
  69.           determines whether you can work in other applications when Sybase 
  70.           System 10 is busy. 
  71.  
  72. Optimize Prepare: 
  73.           A value of 0, 1, or 2 that determines whether stored procedures are 
  74.           created on the server for every call to SQLPrepare. 
  75.  
  76.           When set to 0, stored procedures are created for every call to 
  77.           SQLPrepare. This setting can diminish performance. 
  78.  
  79.           When set to 1, the initial default, the driver creates stored 
  80.           procedures only if the statement contains parameters. Otherwise, the 
  81.           statement is cached and executed directly at SQLExecute time. 
  82.  
  83.           When set to 2, the driver never creates stored procedures. 
  84.  
  85. Array Size: 
  86.           The number of rows the driver retrieves from the server for each 
  87.           fetch.  This is not the number of rows given to the user. The default 
  88.           is 10 rows. 
  89.  
  90. Select Method: 
  91.           A value of 0 or 1 that determines whether database cursors are used 
  92.           for Select statements. When set to 0, the default, database cursors 
  93.           are used. When set to 1, Select statements are executed directly, 
  94.           without using database cursors. A setting of 1 limits the data source 
  95.           to one active statement and one active connection. 
  96.  
  97. Packet Size: 
  98.           A number that determines the number of bytes per network packet 
  99.           transferred from the database server to the client. The correct 
  100.           setting of this attribute can improve performance. 
  101.  
  102.           When set to 0, the initial default, the driver uses the default 
  103.           packet size as specified in the System 10 server configuration. 
  104.  
  105.           When set to -1, the driver computes the maximum allowable packet size 
  106.           on the first connect to the data source and save the value in the 
  107.           odbc.ini file. 
  108.  
  109.           When set to x, an integer from 1 to 10, which indicates a multiple of 
  110.           512 bytes (for example, Packet Size=6 means to set the packet size to 
  111.           6 * 512 = 3072 bytes). 
  112.  
  113.           For you to take advantage of this connection attribute, you must 
  114.           configure the System 10 server for a maximum network packet size 
  115.           greater than or equal to the value you specified for Packet Size. For 
  116.           example, 
  117.  
  118.                     sp_configure "maximum network packet size", 5120
  119.                     reconfigure
  120.                     Restart System 10 Server
  121.  
  122.           Note that the ODBC specification specifies a connect option, 
  123.           SQL_PACKET_SIZE, that offers this same functionality. To avoid 
  124.           conflicts  with applications that may set both the connection string 
  125.           attribute and the ODBC connect option, they have been defined as 
  126.           mutually exclusive. If PacketSize is specified, you will receive a 
  127.           message "Driver Not Capable" if you attempt to call SQL_PACKET_SIZE. 
  128.           If you do not set Packet Size, then application calls to 
  129.           SQL_PACKET_SIZE are accepted by the driver. 
  130.  
  131. Translate 
  132.  
  133. Displays the Select Translator dialog box to allow you to perform  a 
  134. translation of your data from one character set to another. Choose the 
  135. INTERSOLV OEM ANSI translator to translate your data from the IBM PC character 
  136. set to the ANSI character set. 
  137.  
  138.  
  139. ΓòÉΓòÉΓòÉ 2. Logon to Sybase System 10 ΓòÉΓòÉΓòÉ
  140.  
  141. Dialog Box Options 
  142.  
  143. Server Name: 
  144.           Type the case-sensitive name of the server containing the System 10 
  145.           database tables you want to access or select the name from the Server 
  146.           Name drop-down list, which displays the server names you specified in 
  147.           the setup dialog box. 
  148.  
  149. Login ID: 
  150.           If required, type your Login ID (case-sensitive). 
  151.  
  152. Password: 
  153.           If required, type your password for the system (case-sensitive). 
  154.