IBM DB2 Web Query for I: the Nuts and Bolts
Total Page:16
File Type:pdf, Size:1020Kb
Front cover IBM DB2 Web Query for i The Nuts and Bolts Hernando Bedoya Jim Bainbridge Rob Bestgen Mike Cain Doug Mack Simona Pacchiarini Kathryn Steinbrink Lin Lin Su Kevin Trisko Redbooks International Technical Support Organization IBM DB2 Web Query for i: The Nuts and Bolts April 2017 SG24-8379-00 Note: Before using this information and the product it supports, read the information in “Notices” on page vii. First Edition (April 2017) This edition applies to Version 2.2 of DB2 Web Query for i and IBM i 7.1, 7.2 and 7.3. © Copyright International Business Machines Corporation 2017. 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 . vii Trademarks . viii Preface . ix Authors. .x Now you can become a published author, too! . xii Comments welcome. xii Stay connected to IBM Redbooks . xii Chapter 1. The cycle of Business Intelligence and IBM DB2 Web Query for i . 1 1.1 The process of implementing Business Intelligence with DB2 Web Query for i . 2 1.2 Step 1: Identifying the requirements . 3 1.3 Data source analysis. 4 1.4 Designing the solution. 5 1.5 Building and deploying reports and dashboards . 7 1.6 Tuning, monitoring, and auditing. 8 1.7 Starting the cycle again. 9 Chapter 2. Working with IBM DB2 Web Query for i . 11 2.1 Videos and important websites . 12 2.2 Simple reports . 13 2.2.1 Revenue and gross summary report. 13 2.2.2 Top 10 products by margin . 14 2.2.3 Revenue summary with subtotals . 15 2.2.4 Simple revenue report group by year . 15 2.3 Date functions in reports . 16 2.3.1 Dates using DB2 Web Query for i functions . 16 2.3.2 Dates using an SQL prefix . 17 2.3.3 Dates using a date dimension table . 18 2.4 Various report features and formatting . 19 2.4.1 Table of Contents . 20 2.4.2 Accordion . 21 2.4.3 Pages on Demand . 22 2.4.4 Stack Measures . 22 2.4.5 Format choices . 23 2.5 Charting. 27 2.5.1 Bar chart: on time delivery by product type. 27 2.5.2 Vertical stacked area: orders backlog by period . 28 2.5.3 Gauge chart: on time delivery overall . 29 2.5.4 Map: revenue by state . 30 2.6 Filters . 30 2.6.1 Multiple filters in reports and charts . 31 2.6.2 InfoMini slicers . 32 2.7 Drilling down . 34 2.8 Documents and dashboards . 36 2.8.1 Documents and dashboards in InfoAssist. 36 2.8.2 Developer Workbench HTML Composer . 37 2.8.3 Spreadsheet Integration . 38 2.9 Mobile . 40 © Copyright IBM Corp. 2017. All rights reserved. iii 2.10 Scheduling and distribution of reports. 40 2.11 Build Sample Reports with Wizards . 41 2.12 Building Reports over IBM i Services . 42 2.13 IBM i Compliance and Reporting Tool . 44 Chapter 3. Installation and server operations . 47 3.1 Installation and setup . 48 3.1.1 Installing DB2 Web Query for i . 48 3.1.2 Authorizing and verifying users. 49 3.1.3 License keys . 50 3.1.4 Dynamic Language Switching. 51 3.1.5 Sample database . 52 3.2 Requirements . 52 3.2.1 IBM i requirements . 52 3.2.2 Web browser requirements. 53 3.2.3 PC requirements for Developer Workbench . 53 3.3 Administrative commands . 53 3.4 Subsystem and jobs . 54 3.5 Port usage. 55 3.6 Running at subcapacity. 55 3.7 Running QU2 and WQX concurrently . 56 Chapter 4. Defining metadata . 57 4.1 What is metadata . 58 4.1.1 Benefits of metadata . 59 4.2 Creating synonyms . ..