133 lines
8.3 KiB
HTML
133 lines
8.3 KiB
HTML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE html
|
|
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html lang="en-us" xml:lang="en-us">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<meta name="security" content="public" />
|
|
<meta name="Robots" content="index,follow" />
|
|
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
|
|
<meta name="DC.Type" content="reference" />
|
|
<meta name="DC.Title" content="Connection string keywords - Translation properties" />
|
|
<meta name="abstract" content="Use these iSeries Access ODBC driver connection string keywords to change Translation properties of the ODBC connection." />
|
|
<meta name="description" content="Use these iSeries Access ODBC driver connection string keywords to change Translation properties of the ODBC connection." />
|
|
<meta name="DC.Relation" scheme="URI" content="connectkeywords.htm" />
|
|
<meta name="copyright" content="(C) Copyright IBM Corporation 1999, 2006" />
|
|
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 1999, 2006" />
|
|
<meta name="DC.Format" content="XHTML" />
|
|
<meta name="DC.Identifier" content="rzaikconnstrkeywordstranprop" />
|
|
<meta name="DC.Language" content="en-us" />
|
|
<!-- All rights reserved. Licensed Materials Property of IBM -->
|
|
<!-- US Government Users Restricted Rights -->
|
|
<!-- Use, duplication or disclosure restricted by -->
|
|
<!-- GSA ADP Schedule Contract with IBM Corp. -->
|
|
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
|
|
<link rel="stylesheet" type="text/css" href="./ic.css" />
|
|
<title>Connection string keywords - Translation properties</title>
|
|
</head>
|
|
<body id="rzaikconnstrkeywordstranprop"><a name="rzaikconnstrkeywordstranprop"><!-- --></a>
|
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|
<h1 class="topictitle1">Connection string keywords - Translation properties</h1>
|
|
<div><p>Use these iSeries™ Access ODBC driver connection string keywords
|
|
to change Translation properties of the ODBC connection.</p>
|
|
<div class="section"><p>The following table lists connection string keywords for Translation
|
|
properties that are recognized by the iSeries Access ODBC driver:</p>
|
|
</div>
|
|
<div class="section">
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" frame="border" border="1" rules="all"><caption>Table 1. iSeries Access ODBC connection string keywords for
|
|
Translation properties</caption><thead align="left"><tr><th align="center" valign="middle" width="21.73913043478261%" id="d0e35">Keyword</th>
|
|
<th align="center" valign="middle" width="35.177865612648226%" id="d0e37">Description</th>
|
|
<th align="center" valign="middle" width="33.59683794466403%" id="d0e39">Choices</th>
|
|
<th align="center" valign="middle" width="9.486166007905137%" id="d0e41">Default</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr><td valign="top" width="21.73913043478261%" headers="d0e35 ">ALLOWUNSCHAR or AllowUnsupportedChar </td>
|
|
<td valign="top" width="35.177865612648226%" headers="d0e37 ">Specifies whether or not to suppress error messages
|
|
which occur when characters that can not be translated (because they are unsupported)
|
|
are detected. </td>
|
|
<td valign="top" width="33.59683794466403%" headers="d0e39 "> 0 = Report error messages when characters can not be
|
|
translated <p>1 = Suppress error messages when characters can not be translated</p>
|
|
</td>
|
|
<td valign="top" width="9.486166007905137%" headers="d0e41 ">0</td>
|
|
</tr>
|
|
<tr><td valign="top" width="21.73913043478261%" headers="d0e35 ">CCSID</td>
|
|
<td valign="top" width="35.177865612648226%" headers="d0e37 ">Specifies a codepage to override the default client
|
|
codepage setting with. </td>
|
|
<td valign="top" width="33.59683794466403%" headers="d0e39 ">Client codepage setting or 0 (use default client codepage
|
|
setting)</td>
|
|
<td valign="top" width="9.486166007905137%" headers="d0e41 "> 0 </td>
|
|
</tr>
|
|
<tr><td valign="top" width="21.73913043478261%" headers="d0e35 ">GRAPHIC</td>
|
|
<td valign="top" width="35.177865612648226%" headers="d0e37 ">This property affects the handling of the graphic (DBCS)
|
|
data types of GRAPHIC, VARGRAPHIC, LONG VARGRAPHIC, and DBCLOB that have a
|
|
CCSID other than Unicode. This property affects two different behaviors: <ol><li>Whether the length of a graphic field is reported as a character count
|
|
or as a byte count by the SQLDescribeCol API.</li>
|
|
<li>Whether graphic fields are reported as a supported type in the SQLGetTypeInfo
|
|
result set </li>
|
|
</ol>
|
|
</td>
|
|
<td valign="top" width="33.59683794466403%" headers="d0e39 ">0 = Report character count, report as not supported
|
|
<p>1 = Report character count, report as supported</p>
|
|
<p> 2 = Report byte
|
|
count, report as not supported</p>
|
|
<p>3 = Report byte count, report as supported</p>
|
|
</td>
|
|
<td valign="top" width="9.486166007905137%" headers="d0e41 "> 0 </td>
|
|
</tr>
|
|
<tr><td valign="top" width="21.73913043478261%" headers="d0e35 ">HEXPARSEROPT or Hex Parser Option</td>
|
|
<td valign="top" width="35.177865612648226%" headers="d0e37 ">Specifies how SQL hexadecimal constants will be interpreted
|
|
in SQL statements. </td>
|
|
<td valign="top" width="33.59683794466403%" headers="d0e39 ">0 = Treat hexadecimal constants as character data <p>1
|
|
= Treat hexadecimal constants as binary data</p>
|
|
</td>
|
|
<td valign="top" width="9.486166007905137%" headers="d0e41 ">0</td>
|
|
</tr>
|
|
<tr><td valign="top" width="21.73913043478261%" headers="d0e35 ">TRANSLATE or ForceTranslation</td>
|
|
<td valign="top" width="35.177865612648226%" headers="d0e37 ">Specifies whether or not to convert binary data (CCSID
|
|
65535) to text. When this property is set to 1, binary fields are treated
|
|
as character fields. <div class="note"><span class="notetitle">Note:</span> This setting has no effect when accessing tables
|
|
on V5R3 and later servers that contain the new BINARY and VARBINARY data types.</div>
|
|
</td>
|
|
<td valign="top" width="33.59683794466403%" headers="d0e39 ">0 = Do not convert binary data to text <p>1 = Convert
|
|
binary data to text</p>
|
|
</td>
|
|
<td valign="top" width="9.486166007905137%" headers="d0e41 "> 0 </td>
|
|
</tr>
|
|
<tr><td valign="top" width="21.73913043478261%" headers="d0e35 ">UNICODESQL</td>
|
|
<td valign="top" width="35.177865612648226%" headers="d0e37 ">Specifies whether or not to send Unicode SQL statements
|
|
to the server. If set to 0, the driver will send EBCDIC SQL statements to
|
|
the server. This option is only available when connecting to servers at V5R1
|
|
or later.</td>
|
|
<td valign="top" width="33.59683794466403%" headers="d0e39 ">0 = Send EBCDIC SQL statements to the server <p>1 =
|
|
Send Unicode SQL statements to the server</p>
|
|
</td>
|
|
<td valign="top" width="9.486166007905137%" headers="d0e41 ">0</td>
|
|
</tr>
|
|
<tr><td valign="top" width="21.73913043478261%" headers="d0e35 ">XLATEDLL or TranslationDLL</td>
|
|
<td valign="top" width="35.177865612648226%" headers="d0e37 ">Specifies the full path name of the DLL to be used by
|
|
the ODBC driver to translate the data that is passed between the ODBC driver
|
|
and the server. The DLL is loaded when a connection is established. </td>
|
|
<td valign="top" width="33.59683794466403%" headers="d0e39 ">Full path name of the translation DLL</td>
|
|
<td valign="top" width="9.486166007905137%" headers="d0e41 "> none </td>
|
|
</tr>
|
|
<tr><td valign="top" width="21.73913043478261%" headers="d0e35 ">XLATEOPT or TranslationOption </td>
|
|
<td valign="top" width="35.177865612648226%" headers="d0e37 ">Specifies a 32-bit integer translation option that is
|
|
passed to the translation DLL. This parameter is optional. The meaning of
|
|
this option depends on the translation DLL that is being used. Refer to the
|
|
documentation provided with the translation DLL for more information. This
|
|
option is not used unless the XLATEDLL property is set.</td>
|
|
<td valign="top" width="33.59683794466403%" headers="d0e39 ">32-bit integer translation option </td>
|
|
<td valign="top" width="9.486166007905137%" headers="d0e41 ">0 </td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="connectkeywords.htm" title="The iSeries Access ODBC driver has many connection string keywords that can be used to change the behavior of the ODBC connection.">Connection string keywords</a></div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |