IBM System I5 ITSO Technical Forum 2006
Total Page:16
File Type:pdf, Size:1020Kb
International Technical Support Organization AMP10 Access your database with iSeries Access IBM System i5 ibm.com the power of one ITSO Technical Forum 2006 Carole A Miner IBM Rochester Client Integration Development [email protected] International Technical Support Organization Simplify your IT © 2006 IBM Corporation ibm.com/redbooks International Technical Support Organization Abstract Did you know that iSeries Access provides many options for working with information in your iSeries database (DB2 UDB for iSeries)? Learn how easy it is to run database requests using the programs and GUIs in Access for Web, iSeries Access for Windows, and iSeries Access for Linux. In this session, you will learn how to access the iSeries database through: • Desktop applications that utilize the .NET, ODBC, and OLE DB drivers in iSeries Access • With no knowledge of SQL or its syntax, you can find, update, add, insert, and delete information and records in an iSeries database. • Use SQL Wizards to build SQL statements and create database tables • Upload PC data to iSeries database through easy-to-use GUIs • Run predefined requests to upload or download data • How to create dynamic queries for other end users to run • Transform Query Manager and Query/400 SQL statements into browser-based statements so they can run without requiring 5250 OLTP CPW capability. © 2006 IBM Corporation ibm.com/redbooks International Technical Support Organization Requirements? Would you like to see some other features in iSeries Access for Web? Please submit requests for enhancements via the FITS system. The url is: https://www-912.ibm.com/ /r_dir/ReqDesChange.nsf/ Request_for_Design_Change?OpenForm This really helps development get new functions into the planning process © 2006 IBM Corporation ibm.com/redbooks International Technical Support Organization Packaging & Ordering © 2006 IBM Corporation ibm.com/redbooks International Technical Support Organization iSeries Access Family Packaging V5R4 V5R3 V5R2 5722-XW1 5722-XW1 5722-XW1 iSeries Access Family iSeries Access Family iSeries Access Family • iSeries Access for Windows, • iSeries Access for Windows, • iSeries Access for Windows, 5722-XE1, V5R4 5722-XE1, V5R3 5722-XE1, V5R2 • iSeries Access for Web, • iSeries Access for Web, • iSeries Access for Web, 5722-XH2, V5R4 5722-XH2, V5R3 5722-XH2, V5R2 • iSeries Access for Linux, • iSeries Access for Linux, • iSeries Access for Linux, 5722-XL1 5722-XL1, V1.10 5722-XL1, V1.0 • iSeries Access for Wireless, • iSeries Access for Wireless, • iSeries Access for Wireless, 5722-XP1, V5R4 5722-XP1, V5R3 5722-XP1, V5R2 • HATS Limited Edition V5.0, • HATS Limited Edition V4.0, 5724-F97-01 5724-D34-01 • WebSphere Host Publisher, 5724-B81, V4.0 and V4.01 V5R3 customers not wanting to V5R2 customers not wanting to upgrade to i5/OS V5R4 but want upgrade to i5/OS V5R3 but want the new V5R4 iSeries Access the new V5R3 iSeries Access Family clients can order no- Family clients can order no- charge Feature No. 2648 of charge Feature No. 2647 of Product No 5722-XW1. Product No 5722-XW1. © 2006 IBM Corporation ibm.com/redbooks International Technical Support Organization Desktop Requirements iSeries Access for Web is iSeries Access for iSeries Access for Linux installed and runs on the Windows must be must be installed and iSeries server. It requires a installed and running on running on one of the browser to be running on end one of the following following operating user desktop operating systems systems Internet Explorer 6.0 with Microsoft Windows XP Linux on Intel processor Service Pack 1 (Windows) Professional Netscape 7.0 Microsoft Windows 2000 Linux on Power PC (Windows® and Linux) Netscape 4.7 (AIX®) Microsoft Windows 2003 i5 / iSeries Logical Server Partition Opera 7.54 SuSE SLES 9 (required (Windows® and Linux) for 64-bit version) Mozilla 1.7 Microsoft Terminal Server 3-tier environments (Windows, Linux, and AIX) Edition (MTS) on any of ▪ Virtual Network above O/Ss. It supports Computing (VNC) Citrix, thus can be used ▪ Linux Terminal Server from Thin Clients Project (LTSP) Mozilla Firefox 1.0.2 Microsoft Windows NT 4.0 (Windows and Linux) (N/A V5R4 client) © 2006 IBM Corporation ibm.com/redbooks International Technical Support Organization Server Requirements iSeries Access for Web requires HTTP and a web application server to be running on an iSeries HTTP A p p lic a tio n Server Server Servlet W eb browser Java JSPs Beans E nterprise S erver Host applications In te rn e t Database Tier 1 Tier 2 Tier 3 iSeries Access for Windows and iSeries Access for Linux have no special requirements for iSeries © 2006 IBM Corporation ibm.com/redbooks International Technical Support Organization iSeries Access for Windows 5722-XE1 V5R4 www.ibm.com/eserver/iseries/access/windows © 2006 IBM Corporation ibm.com/redbooks International Technical Support Organization Supports Microsoft operating environments... Microsoft Transaction Services (MTS) • example, an Auction House application UNIX... where may need to back out Windows transactions (ie, 2-phase commit) Network Macintosh Stations Terminal Server Edition (TSE) • iSeries Access runs on a Windows server, and enables multiple simultaneous users (such as Network IFS Windows Stations, DOS, Unix, or Macintosh) Under work with iSeries resources iSeries (iXS, iXA) Internet Information Services (IIS) • Provides a Web application infrastructure for Windows Servers. iSeries Access runs on server, and TSE fulfills requests for iSeries data (ie, ODBC, OLE DB, etc) Windows IIS server © 2006 IBM Corporation ibm.com/redbooks International Technical Support Organization iSeries Access for Windows - Middleware Middleware Where it fits Value to i5/iSeries ▪ iSeries ODBC driver ▪ Industry-standard Windows ▪ Access to DB2 UDB for iSeries database access method. ▪ Supports Microsoft V3.0 specification. ▪ iSeries OLE DB provider ▪ Microsoft's universal data access ▪ Access to DB2 UDB for iSeries (driver) standard interface for Windows ▪ Can use OS/400 Data queues, applications working with Remote Commands, Stored relational and non-relational data. Procedures, Distributed ▪ Supports OLE DB 2.5 Program Calls... ▪ Visual Basic Wizards ▪ Can use ADO 2.2 and 2.5 ▪ VB Wizards can be used with ▪ Can use VB 6.0 iSeries OLE DB provider ▪ .NET Data provider ▪ Microsoft .NET Framework is a ▪ Enables applications using called platform for building, deploying, Microsoft's .NET framework to IBM.Data.DB2.iSeries and running Web Services and access DB2 UDB for iSeries applications databases ▪ Data Queues ▪ Active X Automation Controls & ▪ Works with OS/400 Data ▪ Remote Commands Objects queues, Remote Commands, ▪ Stored Procedures ▪ iSeries programming interfaces Stored Procedures, Distributed ▪ Distributed Program Program Calls... Calls ▪ Access to DB2 UDB for iSeries ▪ SQL APIs ▪ Data Transfer APIs ▪ PC5250 enablers ▪ Includes ActiveX controls ▪ For 5250 applications ▪ Industry-standard EHLLAPI, ▪ ENPTUI for enhanced 5250 WinHLLAPI, DDE for code datastream functions conversion. © 2006 IBM Corporation ibm.com/redbooks International Technical Support Organization iSeries ODBC Driver Runs on 32-bit Most popular database and 64-bit access method from a Windows O/S Windows application Compliant with Microsoft ODBC Version 3 specification • PC applications can now take advantage of new functions included in the 3.5 Specification. © 2006 IBM Corporation ibm.com/redbooks International Technical Support Organization ODBC Enhancements – V5R4, V5R3, V5R2 V5R4 Enhancements V5R3 Enhancements V5R2 Enhancements Requires i5/OS V5R4 • Support for BINARY / • 64K SQL Statements • 128-byte column VARBINARY data • Additional names types descriptor • Maximum SQL • Support for UTF-8 / information statement lengths of UTF-16 data • MTS Support 2,097,152 bytes or • Support for increased 1,048,576 characters precision of decimal (actually shipped in • Support for IBM numbers V5R1) Enterprise Workload • Enhanced MTS Manager (eWLM) support correlator • ANSI / ISO (American • Support for lock National Standards sharing between Institute / loosely coupled International transactions Standards Organization) Core OS/400 V5R2 or later Level SQL standard • Improved support for of 1999 delimited names © 2006 IBM Corporation ibm.com/redbooks International Technical Support Organization iSeries OLE DB Provider Runs on 32-bit Microsoft-recommended and 64-bit Access for 32-bit Windows Windows O/S applications • Record level access • Data Queues • Stored Procedures • SQL • Remote Commands • ODBC plus add-ins for Visual Basic OLE DB Provider supports OLE DB 2.5 © 2006 IBM Corporation ibm.com/redbooks International Technical Support Organization Visual Basic Programming Aides • Wizards to aid in developing Visual Basic applications • Sample programs for IE, PowerBuilder, Delphi, Visual C++, Lotus 1-2-3 © 2006 IBM Corporation ibm.com/redbooks International Technical Support Organization OLE DB Enhancements – V5R4, V5R3, V5R2 V5R4 V5R3 V5R2 Enhancements Enhancements Enhancements Requires i5/OS V5R4 ▪ New SQL-only provider ▪ Custom properties added • 128 byte column names (IBMDASQL) • Force Translate (translate • Maximum SQL – SQL commitment control CCSID 65535 data) statement lengths of using IBMDASQL • Default Collection 2,097,152 bytes or – MTS support using • Catalog Library List 1,048,576 characters IBMDASQL • Convert Date Time To Char • Support for IBM ▪ New Record-Level Access- ▪ Supports ROW-ID Enterprise Workload only provider (IBMDARLA) ▪ 64K SQL Statements Manager (eWLM) – Record-level access ▪ Additional