ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzatv_5.4.0.1/rzatvexodbc.htm

80 lines
4.4 KiB
HTML
Raw Normal View History

2024-04-02 14:02:31 +00:00
<?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="ODBC examples" />
<meta name="abstract" content="Find examples of using ODBC with iSeries Access for Linux." />
<meta name="description" content="Find examples of using ODBC with iSeries Access for Linux." />
<meta name="DC.Relation" scheme="URI" content="rzatvodbc.htm" />
<meta name="copyright" content="(C) Copyright IBM Corporation 2004, 2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2004, 2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="exodbc" />
<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>ODBC examples</title>
</head>
<body id="exodbc"><a name="exodbc"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">ODBC examples</h1>
<div><p>Find examples of using ODBC with iSeries™ Access for Linux<sup>®</sup>.</p>
<div class="section"><p>IBM<sup>®</sup> grants
you a nonexclusive copyright license to use all programming code examples
from which you can generate similar function tailored to your own specific
needs.</p>
<p>SUBJECT TO ANY STATUTORY WARRANTIES WHICH CANNOT BE EXCLUDED, IBM,
ITS PROGRAM DEVELOPERS AND SUPPLIERS MAKE NO WARRANTIES OR CONDITIONS EITHER
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OR
CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT,
REGARDING THE PROGRAM OR TECHNICAL SUPPORT, IF ANY. </p>
<p>UNDER NO CIRCUMSTANCES
IS IBM,
ITS PROGRAM DEVELOPERS OR SUPPLIERS LIABLE FOR ANY OF THE FOLLOWING, EVEN
IF INFORMED OF THEIR POSSIBILITY: </p>
<ol><li>LOSS OF, OR DAMAGE TO, DATA;</li>
<li>DIRECT, SPECIAL, INCIDENTAL, OR INDIRECT DAMAGES, OR FOR ANY ECONOMIC
CONSEQUENTIAL DAMAGES; OR </li>
<li>LOST PROFITS, BUSINESS, REVENUE, GOODWILL, OR ANTICIPATED SAVINGS.</li>
</ol>
<p>SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR LIMITATION OF DIRECT,
INCIDENTAL, OR CONSEQUENTIAL DAMAGES, SO SOME OR ALL OF THE ABOVE LIMITATIONS
OR EXCLUSIONS MAY NOT APPLY TO YOU.</p>
</div>
<div class="section"><h4 class="sectiontitle">Example: PHP and the ODBC driver</h4><p>See how the Apache
Software Foundation's web server, PHP, and the ODBC Driver in iSeries Access
for Linux can
work together to access database data on an iSeries server. </p>
</div>
<div class="section"><p>Instructions for setting up PHP and Apache are in the Redpiece Linux Integration
with OS/400<sup>®</sup> on
the IBM eServer™ iSeries Server,
(SG24-6551). Read section 2.6 Three-tier application setup using PHP and
Apache. Additional instructions are in index.html or index.php in the download
file. </p>
</div>
<div class="section"><p>Requirements: a Linux machine running PHP under the Apache
web server, the unixODBC driver manager, and the ODBC Driver in iSeries Access
for Linux.
PHP must have unixODBC driver manager support compiled in. </p>
</div>
<div class="section"><p><a href="http://www.ibm.com/servers/eserver/iseries/linux/odbc/guide/phpdemo.tar" target="_blank">http://www.ibm.com/servers/eserver/iseries/linux/odbc/guide/phpdemo.tar</a>.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzatvodbc.htm" title="For information on using Open Database Connectivity (ODBC) with iSeries Access for Linux, see the following topics.">Open Database Connectivity</a></div>
</div>
</div>
</body>
</html>