Unleashing AS/400 Applications on the Internet June 1997

Total Page:16

File Type:pdf, Size:1020Kb

Unleashing AS/400 Applications on the Internet June 1997 SG24-4935-00 Unleashing AS/400 Applications on the Internet June 1997 IBM International Technical Support Organization SG24-4935-00 Unleashing AS/400 Applications on the Internet June 1997 Take Note! Before using this information and the product it supports, be sure to read the general information in Appendix C, “Special Notices” on page 275. First Edition (June 1997) This edition applies to Version 3 Release 2 and Version 3 Release 7 of the Operating System/400 (5763-SS1) and (5716-SS1). Comments may be addressed to: IBM Corporation, International Technical Support Organization Dept. JLU Building 107-2 3605 Highway 52N Rochester, Minnesota 55901-7829 When you send information to IBM, you grant IBM a non-exclusive right to use or distribute the information in any way it believes appropriate without incurring any obligation to you. Copyright International Business Machines Corporation 1997. All rights reserved. Note to U.S. Government Users — Documentation related to restricted rights — Use, duplication or disclosure is subject to restrictions set forth in GSA ADP Schedule Contract with IBM Corp. Contents Figures . ix Tables . xi Preface . xiii The Team That Wrote This Redbook ........................ xiii Comments Welcome . xv Chapter 1. AS/400 System in Network Computing Environment ....... 1 1.1 What is the Internet ................................ 1 1.2 History of Internet ................................. 2 1.3 Network Computing . 3 1.4 Why Attach an AS/400 System to the Internet? ................ 4 Chapter 2. Internet Application Design Considerations .............. 5 2.1.1 Network-Centric Computing . 5 2.2 AS/400 Internet Application Scenarios ..................... 5 2.3 Different Web Models ............................... 6 2.3.1 Simple Web Model .............................. 6 2.3.2 Interactive Web Model ............................ 7 2.3.3 Distributed Web Model ............................ 8 2.3.4 Enterprise Distributed Web Model ..................... 9 2.4 AS/400 System Facilities for the Internet .................... 10 2.4.1 Database Services . 10 2.4.2 Application Access . 10 2.4.3 Content Authoring . 11 2.4.4 Content Management . 11 2.4.5 Java Development Environment ...................... 12 2.5 General Design Considerations ......................... 12 2.5.1 Transactions over the World Wide Web using the Internet ....... 12 2.5.2 Synchronization between Web Browser and Server .......... 12 2.5.3 End User Driven ................................ 13 2.5.4 End User Anonymous ............................. 13 2.5.5 Status of User Requests ........................... 14 2.5.6 National Characters, Code Pages, Date Format ............. 15 2.5.7 Internet - Intranet - Extranet Considerations ............... 16 2.5.8 Internet Application Error Recovery .................... 17 2.6 Programming Alternatives . 17 2.7 Internet Programming Models .......................... 18 2.7.1 HTTP CGI Programming Model ....................... 19 2.7.2 Java Applet Communicating to CGI .................... 21 2.7.3 Net.Data Macros . 21 2.7.4 The Internet Client/Server Programming Model ............. 21 2.7.5 Lotus Domino . 22 2.8 Supporting the AS/400 Legacy Programming Models ............ 22 2.8.1 The 5250 Workstation Gateway ....................... 22 2.8.2 ″On-the-Fly″ Translation versus the Toolkit Approach ......... 23 2.8.3 Telnet and Client Access - Personal Communication ......... 24 2.9 HTML Programming Considerations ...................... 24 2.9.1 Hypertext Markup Language (HTML) ................... 25 2.9.2 The HTML Document Structure ....................... 25 Copyright IBM Corp. 1997 iii 2.9.3 HTML Syntax . 27 2.9.4 Creating Static HTML Pages ........................ 29 2.9.5 Feedback .................................... 30 2.10 Server Side Imagemap Support ........................ 30 2.10.2 Server Side Image Maps Considerations ................ 35 2.11 Netscape, Microsoft IE, IBM Web Explorer, Spyglass .......... 35 2.12 ILE Integrated Language Environment Programming Considerations . 35 2.12.1 Overview of ILE Concepts ......................... 35 2.12.2 ILE Compile and Bind Commands .................... 38 2.12.3 OPM Compatibility Mode .......................... 39 2.12.4 Activation Groups . 39 2.12.5 Activation Group Recommendations ................... 41 2.12.6 Differences Between Default and Non-Default Activation Groups .. 41 2.12.7 Migration to ILE from the Original Programming Model ....... 42 2.13 IFS - Integrated File System Considerations ................. 43 2.13.1 Short Overview of Various File Systems in IFS ............. 43 2.13.2 Which AS/400 File System Works Best? ................. 44 2.13.3 How to Exchange Data Between the Root or QOpenSys and QSYS.LIB . 46 2.14 Java Programming Considerations ...................... 47 2.14.1 Java Scripts being Served from AS/400 System ............ 47 2.14.2 Java Applets being Served from AS/400 System ............ 48 2.14.3 Java Applications being Executed on AS/400 Java Virtual Machine 48 2.14.4 Using NetRexx to Create Java Applets .................. 49 2.14.5 Using Perl to Create Java Applets .................... 50 2.14.6 Using VisualAge for Java to Create Applets and Applications .... 52 2.15 Application Security Considerations ...................... 53 2.15.1 Related Publications ............................. 53 2.16 Internet URL References for More Information ................ 54 2.17 Road Map for Internet Application Design .................. 56 Chapter 3. Common Gateway Interface (CGI-BIN) Implementation ....... 57 3.1 HTTP CGI Programming Model ......................... 57 3.2 Considerations Before You Start ......................... 60 3.2.1 Required Configuration . 61 3.2.2 Overview of the Communication Between CGI Programs and the Server . 61 3.3 CGI-BIN Programming . 63 3.3.1 HTML Form Tags ............................... 67 3.4 GET Method . 69 3.5 POST Method . 71 3.6 AS/400 Programming Languages Supported ................. 73 3.7 Decoding the Parameters from the Remote Web Client ........... 74 3.7.1 CGI Parameter String Syntax ........................ 75 3.8 Programming CGI-BIN with ILE C/400 ...................... 76 3.8.1 Structure of C Program with POST Method ................ 77 3.8.2 CGI Parameter Parsing with ILE C/400 .................. 77 3.8.3 ILE C Sample Programs using POST and GET Methods ........ 78 3.9 Programming CGI-BIN with ILE RPG/400 and ILE COBOL/400 ....... 82 3.9.1 Structure of RPG Program Using POST Method ............. 82 3.9.2 CGI Parameter Parsing with ILE COBOL/400 or RPG/400 ....... 86 3.9.3 ILE RPG Program Using the POST and GET Methods ......... 87 3.10 Programming CGI with REXX Language ................... 93 3.10.1 Structure of REXX Program Using POST Method ............ 94 3.11 Examples for Environment Variables ..................... 99 iv Unleashing AS/400 Applications on the Internet 3.12 ITSO Company Example ............................ 102 3.12.1 Source Code RPG Program ORDAS400G ............... 103 3.12.2 Source Code RPG Program ORDAS400P ............... 107 3.12.3 Source Code C Program PARSECGIP ................. 108 Chapter 4. Net.Data Implementation . 111 4.1 An Overview of Net.Data for AS/400 System ................. 111 4.1.1 Beyond DB2WWW Connection ...................... 112 4.1.2 Features and Functions .......................... 112 4.1.3 Generalized Data Sources ......................... 113 4.1.4 Advanced Macro Language ........................ 113 4.1.5 Net.Data and Internet Security ...................... 114 4.2 Writing Net.Data Macro Files .......................... 114 4.2.1 Define Section . 117 4.2.2 Function Definition Section ........................ 118 4.2.3 HTML INPUT Section ............................ 119 4.2.4 HTML OUTPUT Section ........................... 121 4.3 Generating HTML in a Web Macro ...................... 122 4.3.1 HTML Blocks . 122 4.4 Web Macro Functions .............................. 124 4.4.1 Define Functions . 124 4.4.2 Calling Functions . 125 4.4.3 Net.Data Built-In Functions ........................ 129 4.4.4 Table Variables . 131 4.4.5 Implicitly Defined Variables ........................ 132 4.5 Report Blocks . 134 4.5.1 Message Blocks . 136 4.6 Language Environments . 139 4.6.1 REXX (DTW_REXX) Language Environment ............... 139 4.6.2 SQL (DTW_SQL or SQL) Language Environment ........... 141 4.6.3 SYSTEM (DTW_SYSTEM) Language Environment ........... 144 4.7 Net.Data Advanced Macro Language Examples .............. 145 4.7.1 Multiple HTML Sections .......................... 146 4.7.2 Using Include Files ............................. 146 4.7.3 Conditional Logic . 147 4.7.4 Maintaining State using ″HTML″ Hidden Variables .......... 147 4.7.5 Net.Data Hidden Variables ......................... 150 4.7.6 Net.Data Predefined Variables ...................... 151 4.7.7 Net.Data Environment Variables ..................... 152 4.7.8 Net.Data Default Report .......................... 153 4.8 Additional Tips . 154 4.8.1 Net.Data Error Messages ......................... 156 4.9 Getting Net.Data Up and Running ....................... 159 4.9.1 Example URL Calling Net.Data Macro .................. 165 4.10 Migrating from DB2 WWW Connection to Net.Data ............ 166 4.11 Debug HTTP Server Setup for Net.Data ................... 166 4.12 Service and Support .............................. 168 Chapter 5. HTML Gateway Implementation .................... 169 5.1 What is an HTML Gateway? .......................... 170 5.2 Using the HTML Gateway in Application Development .........
Recommended publications
  • IBM Iseries Universal Connection for Electronic Support and Services
    IBM iSeries Universal Connection for Electronic Support and Services Explains the supported functions with Universal Connection Shows how to install, tailor, and configure Universal Connection Helps you determine communications problems Masahiko Hamada Michael S Alexander Makoto Kikuchi ibm.com/redbooks International Technical Support Organization SG24-6224-00 iSeries Universal Connection for Electronic Support and Services August 2001 Take Note! Before using this information and the product it supports, be sure to read the general information in Appendix A, “Special notices” on page 209. First Edition (August 2001) This edition applies to Version 5 Release 1 of OS/400. Comments may be addressed to: IBM Corporation, International Technical Support Organization Dept. JLU Building 107-2 3605 Highway 52N Rochester, Minnesota 55901-7829 When you send information to IBM, you grant IBM a non-exclusive right to use or distribute the information in any way it believes appropriate without incurring any obligation to you. © Copyright International Business Machines Corporation 2001. All rights reserved. Note to U.S Government Users - Documentation related to restricted rights - Use, duplication or disclosure is subject to restrictions set forth in GSA ADP Schedule Contract with IBM Corp. Contents Preface . vii The team that wrote this redbook . vii Comments welcome . viii Chapter 1. Extreme Support Personalized (ESP) . .1 1.1 Introduction to ESP . .1 1.1.1 Customer Care Advantage . .1 1.1.2 ESP approach. .3 1.1.3 Benefits for customers. .4 1.2 Available applications in electronic support . .5 1.2.1 Electronic Customer Support (ECS) connection . .5 1.2.2 Service Agent . .6 1.2.3 Consolidated inventory collection using Management Central .
    [Show full text]
  • IBM AIX Version 6.1 Differences Guide
    Front cover IBM AIX Version 6.1 Differences Guide AIX - The industrial strength UNIX operating system AIX Version 6.1 enhancements explained An expert’s guide to the new release Roman Aleksic Ismael "Numi" Castillo Rosa Fernandez Armin Röll Nobuhiko Watanabe ibm.com/redbooks International Technical Support Organization IBM AIX Version 6.1 Differences Guide March 2008 SG24-7559-00 Note: Before using this information and the product it supports, read the information in “Notices” on page xvii. First Edition (March 2008) This edition applies to AIX Version 6.1, program number 5765-G62. © Copyright International Business Machines Corporation 2007, 2008. All rights reserved. Note to U.S. Government Users Restricted Rights -- Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. Contents Figures . xi Tables . xiii Notices . xvii Trademarks . xviii Preface . xix The team that wrote this book . xix Become a published author . xxi Comments welcome. xxi Chapter 1. Application development and system debug. 1 1.1 Transport independent RPC library. 2 1.2 AIX tracing facilities review . 3 1.3 POSIX threads tracing. 5 1.3.1 POSIX tracing overview . 6 1.3.2 Trace event definition . 8 1.3.3 Trace stream definition . 13 1.3.4 AIX implementation overview . 20 1.4 ProbeVue . 21 1.4.1 ProbeVue terminology. 23 1.4.2 Vue programming language . 24 1.4.3 The probevue command . 25 1.4.4 The probevctrl command . 25 1.4.5 Vue: an overview. 25 1.4.6 ProbeVue dynamic tracing example . 31 Chapter 2. File systems and storage. 35 2.1 Disabling JFS2 logging .
    [Show full text]
  • HTML, XHTML, and CSS: Comprehensive
    HTML 5 Creating an Image Map Objectives You will have mastered the material in this chapter when you can: • Defi ne terms relating to image • Create a home page mapping • Create a table, insert an image • List the differences between into a table, and use the usemap server-side and client-side image maps attribute to defi ne an image map • Name the two components of an • Insert special characters into image map and describe the steps to a Web page implement an image map • Use the <map> </map> tags to start • Distinguish between appropriate and and end a map inappropriate images for mapping • Use the <area> tag to indicate the • Sketch hotspots on an image shape, coordinates, and URL for a mapped area • Describe how the x- and y-coordinates relate to vertical and • Create an external style sheet for horizontal alignment styles used across the Web site • Open an image in Paint and use Paint to locate the image map coordinates Copyright 2010 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s). Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it. HTML 5 Creating an Image Map Introduction Many of the Web pages in Chapters 2 through 4 used the <img> tag to add images. In Chapter 3, an image also was used as a link back to the home page, by using the <a> </a> tags to defi ne the image as the clickable element for the link.
    [Show full text]
  • IBM Powervp Introduction and Technical Overview
    Front cover IBM PowerVP Introduction and Technical Overview Liviu Rosca Stefan Stefanov Redpaper International Technical Support Organization IBM PowerVP: Introduction and Technical Overview August 2015 REDP-5112-01 Note: Before using this information and the product it supports, read the information in “Notices” on page v. Second Edition (August 2015) This edition applies to Version 1, Release 1, Modification 3 of PowerVP Standard Edition (product number 5765-SLE). This document was created or updated on August 14, 2015. © Copyright International Business Machines Corporation 2014, 2015. All rights reserved. Note to U.S. Government Users Restricted Rights -- Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. Contents Notices . .v Trademarks . vi IBM Redbooks promotions . vii Preface . ix Authors. ix Now you can become a published author, too! . .x Comments welcome. xi Stay connected to IBM Redbooks . xi Chapter 1. Introduction. 1 1.1 PowerVP overview . 2 1.2 PowerVP features and benefits. 2 1.3 PowerVP architecture . 4 Chapter 2. Planning and installation . 9 2.1 Planning for PowerVP . 10 2.1.1 PowerVP security considerations . 12 2.2 PowerVP installation . 12 2.2.1 PowerVP installation overview . 13 2.2.2 PowerVP installer on Microsoft Windows systems . 13 2.2.3 Installing PowerVP GUI on AIX or Linux. 27 2.2.4 Installing PowerVP agent manually on IBM i . 30 2.2.5 Installing PowerVP agent on AIX and the VIOS . 31 2.2.6 Installing PowerVP agent on Linux . 34 2.3 Starting and stopping PowerVP . 39 2.4 Upgrading PowerVP agents . 40 2.5 PowerVP SSL configuration .
    [Show full text]
  • Programming the Cell Broadband Engine Examples and Best Practices
    Front cover Draft Document for Review February 15, 2008 4:59 pm SG24-7575-00 Programming the Cell Broadband Engine Examples and Best Practices Practical code development and porting examples included Make the most of SDK 3.0 debug and performance tools Understand and apply different programming models and strategies Abraham Arevalo Ricardo M. Matinata Maharaja Pandian Eitan Peri Kurtis Ruby Francois Thomas Chris Almond ibm.com/redbooks Draft Document for Review February 15, 2008 4:59 pm 7575edno.fm International Technical Support Organization Programming the Cell Broadband Engine: Examples and Best Practices December 2007 SG24-7575-00 7575edno.fm Draft Document for Review February 15, 2008 4:59 pm Note: Before using this information and the product it supports, read the information in “Notices” on page xvii. First Edition (December 2007) This edition applies to Version 3.0 of the IBM Cell Broadband Engine SDK, and the IBM BladeCenter QS-21 platform. © Copyright International Business Machines Corporation 2007. All rights reserved. Note to U.S. Government Users Restricted Rights -- Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. Draft Document for Review February 15, 2008 4:59 pm 7575TOC.fm Contents Preface . xi The team that wrote this book . xi Acknowledgements . xiii Become a published author . xiv Comments welcome. xv Notices . xvii Trademarks . xviii Part 1. Introduction to the Cell Broadband Engine . 1 Chapter 1. Cell Broadband Engine Overview . 3 1.1 Motivation . 4 1.2 Scaling the three performance-limiting walls. 6 1.2.1 Scaling the power-limitation wall . 6 1.2.2 Scaling the memory-limitation wall .
    [Show full text]
  • Redbooks Paper Bringing PHP to Your IBM Iseries
    David Larson Bryan Logan Redbooks Paper Tim Massaro Heiko Mueller Brian R. Smith Bringing PHP to Your IBM iSeries Server Hypertext Preprocessor (PHP) is a powerful server-side scripting language for the Apache Web server. PHP is popular for its ability to process database information and create dynamic Web pages. Server-side refers to the fact that PHP language statements, which are included directly in your HTML, are processed by the Web server. Scripting language means that PHP is not compiled. Since the results of processing PHP language statements is standard HTML, PHP-generated Web pages are quick to display and are compatible with most all Web browsers and platforms. PHP is for the open source Apache community as Net.Data® is for the IBM® community. To “run” PHP scripts with your HTTP Server (powered by Apache), a PHP engine is required on your IBM ^™ iSeries™ server. The PHP engine is an open source product, so this IBM Redpaper demonstrates the process to download, compile, install, and then configure PHP on your iSeries. It explains how to install versions 4.3.0 and the older version 4.2.2 of PHP. The PHP engine is available both as an Apache module and a CGI-BIN. Support for PHP as a module is not yet available for OS/400®. The step-by-step implementation discussed in this Redpaper involves the CGI version of PHP running in OS/400 Portable Application Solutions Environment (PASE). This allows you to run AIX® binaries directly on an iSeries. It includes the necessary patches for the minor modifications needed to the PHP source code.
    [Show full text]
  • Hypertext and Hypermedia Digital Multimedia, 2Nd Edition Nigel Chapman & Jenny Chapman Chapter 12
    Hypertext and Hypermedia Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 12 This presentation © 2004, MacAvon Media Productions 12 384 Hypertext • Text augmented with links • Link: pointer to another piece of text in same or different document • Navigational metaphor • User follows a link from its source to its destination, usually by clicking on source with the mouse • Use browser to view and navigate hypertext © 2004, MacAvon Media Productions 12 385–386 Cursory History • Memex – V Bush, 1945 • Concept of linked documents; photo- mechanical realization never implemented • Xanadu – Ted Nelson, late 1960s/early 1970s • Intended as global system • Hypercard – Apple, 1987 • Shipped with every Mac; popularized concept • World Wide Web – 1992 © 2004, MacAvon Media Productions 12 386–388 Non-linearity • Hypertext not usually read linearly (from start to finish) • Links encourage branching off • History and back button permit backtracking • Not an innovation, but the immediacy of following links by clicking creates a different experience from traditional non-linearity (e.g. cross-references in encyclopedia) © 2004, MacAvon Media Productions 12 389 Links • Simple unidirectional links • Connect single point on one page with a point on another page (e.g. WWW) • Extended links • Regional links (ends may be regions within a page) • Bidirectional links (may be followed in both directions) • Multilinks (may have more than two ends) © 2004, MacAvon Media Productions 12 390–391 Browsing & Searching • Browsing – retrieve information
    [Show full text]
  • Market-Driven Quality: IBM, Rochester, MN
    --------------1_------------ Midwestern Region Market-Driven Quality: IBM, Rochester, MN Rao J. Tatikonda Building on basic beliefs - respect for the other recommendations during the annual Event Reports individual, the best customer service, and update of five-year strategic plans. Market Driven Quality: 25 excellence in all pursuits - IBM's Baldrige­ 2. Improve the requirements definition pro­ IBM, Rochester, MN winning facility in Rochester, MN embarked on cess. a transformation to market-driven quality Self·Directed Work Teams: 28 3. Implement Six Sigma defect level quality starting in the early 1960s. Now Rochester Basics and Success Factors strategy. IBM Rochester's goal is Six Sigma employees are driving toward defect-free per­ Global Supply Management: 30 by 1994. That means no more than 3.4 formance by 1994, as part of the corporate­ You Can't Be Excellent defects per million units or opportunities. All By Yourself wide effort to qualify the entire company for Specific steps include eliminating manual the national quality award. Multifin Workshop, May 14-15, 32 operations in interpreting specifications, Change, Choice, and Continuous Following are elements of IBM and continuously improving design tools Improvement Rochester's approach to market-driven quality, and techniques to prevent defects early in Tour America 1991: 34 shared during the recent AME workshop. Several the design cycle and to improve cycle Something Special in Wisconsin perfonnance measures are shown in Figure 1. times. Market·Driven Quality Success Factors 4. Create and deploy an Excellence in Educa­ IBM Rochester's market-driven quality tion plan. cycle integrates six critical success factors, with 5.
    [Show full text]
  • High Availability on the AS/400 System a System Manager’S Guide
    Front cover High Availability On the AS/400 System A System Manager’s Guide Tools and solutions to improve your highly available AS/400 system Components for a successful high availability system Hardware options for high availability Redpaper Susan Powers Nick Harris Ellen Dreyer Andersen Sue Baker David Mee ibm.com/redbooks International Technical Support Organization High Availability On the AS/400 System: A System Manager’s Guide June 2001 Take Note! Before using this information and the product it supports, be sure to read the general information in Appendix H, “Special notices” on page 183. First Edition (June 2001) This edition applies to Version 4, Release Number 5 of OS/400 product number 5769-SS1. Comments may be addressed to: IBM Corporation, International Technical Support Organization Dept. JLU Building 107-2 3605 Highway 52N Rochester, Minnesota 55901-7829 When you send information to IBM, you grant IBM a non-exclusive right to use or distribute the information in any way it believes appropriate without incurring any obligation to you. © Copyright International Business Machines Corporation 2001. All rights reserved. Note to U.S Government Users - Documentation related to restricted rights - Use, duplication or disclosure is subject to restrictions set forth in GSA ADP Schedule Contract with IBM Corp. Contents Preface . ix The team that wrote this Redpaper . ix Comments welcome . xi Part 1. What is high availability? . .1 Chapter 1. Background. .3 1.1 When to consider a high availability solution . .3 1.1.1 What a high availability solution is. .3 1.2 What high availability is. .5 1.2.1 Levels of availability .
    [Show full text]
  • DB2 and PHP Best Practices on IBM I.Key
    DB2 and PHP In Depth on IBM i seidengroup.com Seiden Group and Club Seiden Alan is a leader and expert in PHP on IBM i; leader, Zend’s PHP Toolkit for IBM i; and “Performance guru of PHP on IBM i” Seiden Group is a team of experts available for mentoring/troubleshooting/project advice/development. seidengroup.com, [email protected] Seiden Group 2 DB2 and PHP: Essentials Contact Alan Seiden [email protected] 201-447-2437 www.SeidenGroup.com twitter: @alanseiden Seiden Group 3 DB2 and PHP: Essentials Today’s discussion will include: • Uniqueness of DB2 for IBM i • Which DB2-enabled middleware to use with PHP • Securing your SQL with prepared queries • Connection options for speed and reliability § Persistent connections § Library lists • What’s NEW in ibm_db2 • Connecting from “off the box” • Many other tips Seiden Group 4 DB2 and PHP: Essentials Why learn DB2 best practices? • As chief database on IBM i, DB2 runs these: •Most transaction processing systems •Stored procedures •“XMLSERVICE” Toolkit • Accessible with db2 stored procedures from PHP • DB2 knowledge will help you: •Maximize speed •Reduce CPU usage •Maximize reliability • Avoid unexpected locking and other operational problems Seiden Group 5 DB2 and PHP: Essentials Heart of IBM i is DB2 • DB2 built in § Transaction processing workhorse § Database implemented below operating system level! • IBM i’s “Machine Interface (MI)” between OS and hardware § Journaling, auditing, commitment control very commonly used § Never corrupted • Doesn’t lose data even if knock out power plug
    [Show full text]
  • AS/400 HTTP Server Performance and Capacity Planning
    AS/400 HTTP Server Performance and Capacity Planning Gottfried Schimunek, Erich Noriega, Greg Paswindar, George Weaver International Technical Support Organization http://www.redbooks.ibm.com SG24-5645-00 International Technical Support Organization SG24-5645-00 AS/400 HTTP Server Performance and Capacity Planning January 2000 Take Note! Before using this information and the product it supports, be sure to read the general information in Appendix D, “Special notices” on page 195. First Edition (January 2000) This edition applies to Version 4 Release 4 of OS/400. Comments may be addressed to: IBM Corporation, International Technical Support Organization Dept. JLU Building 107-2 3605 Highway 52N Rochester, Minnesota 55901-7829 When you send information to IBM, you grant IBM a non-exclusive right to use or distribute the information in any way it believes appropriate without incurring any obligation to you. © Copyright International Business Machines Corporation 2000. All rights reserved. Note to U.S Government Users - Documentation related to restricted rights - Use, duplication or disclosure is subject to restrictions set forth in GSA ADP Schedule Contract with IBM Corp. Contents Figures ......................................................vii Tables .......................................................xi Preface ..................................................... xiii The team that wrote this redbook ......................................xiii Commentswelcome................................................xiv Chapter 1. AS/400 HTTP
    [Show full text]
  • Using DB2 Monitors to Analyze and Improve SQL & Query Performance
    IBM System i™ Session: 440101 (47MA) Using DB2 Monitors To Analyze and Improve SQL & Query Performance Gene Cobb IBM Rochester, MN 8 Copyright IBM Corporation, 2006. All Rights Reserved. i want stress-free IT. This publication may refer to products that are not currently available in your country. IBM makes no commitment to make i want control. available any products referred to herein. i want an i. IBM System i Query Optimization and Execution Feedback V5R4 delivers! Many new and exciting tools for monitoring and analyzing DB2 UDB for iSeries SQL requests and SQL performance 2 i want an i. © 2006 IBM Corporation 1 IBM System i Query Optimization and Execution Feedback V5R4 V5R4 V5R4 Visual Explain Index SQE Plan SQE Cache Advised PlanCache Snapshots Detailed DB Monitor Data SQL request Summarized DB Monitor Query Data Optimization Debug Print SQL Job Log Information Messages Messages 3 i want an i. © 2006 IBM Corporation IBM System i What are the DB2 SQL Performance Monitors? • Integrated tool set used to gather database performance related statistics for SQL-based requests running on the iSeries – i5/OS – Applicable to both batch jobs and interactive work – Only collect information on the DB2 engine processing - does not include the time that it took for the requests to get to the DB2 engine (e.g., JDBC driver processing) • Monitor data dumped into table(s) where it can be queried to help identify and tune performance problem areas – Collected data can be analyzed to look at SQL performance at a global system level, job-level or, specific SQL statement level • Monitor data most useful given a basic understand of DB2 UDB engine and query optimization techniques • Monitor data does not tell you what to do – The science and art of query performance needs to be applied 4 i want an i.
    [Show full text]