Solutions Guide
Total Page:16
File Type:pdf, Size:1020Kb
Open Data Analytics for z/OS Version 1 Release 1 Solutions Guide IBM SC27-9036-00 Note Before using this information and the product it supports, read the information in “Notices” on page 149. This edition applies to Version 1 Release 1 of IBM® Open Data Analytics for z/OS® (5655-OD1) and to all subsequent releases and modifications until otherwise indicated in new editions. Last updated: 2019-02-18 © Copyright International Business Machines Corporation 2016, 2019. US Government Users Restricted Rights – Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. © Rocket Software, Inc. 2016, 2019. Contents List of Figures........................................................................................................ v List of Tables........................................................................................................vii About this information.......................................................................................... ix How to send your comments to IBM.......................................................................xi If you have a technical problem..................................................................................................................xi Summary of changes for IBM Open Data Analytics for z/OS Solutions Guide.......... xii Chapter 1. The Data Service SQL solution............................................................... 1 Connectivity overview..................................................................................................................................1 Configuring access to data in Adabas..........................................................................................................2 Configuring the server started task JCL.................................................................................................2 Modifying the server configuration member..........................................................................................3 Configuring Adabas security.................................................................................................................. 4 Configuring access to data in relational database management systems (RDBMS)................................. 5 Configuring access to IBM DB2 for z/OS................................................................................................6 Configuring access to distributed databases...................................................................................... 20 Controlling display and access for native Db2 subsystems ............................................................... 33 Configuring access to CA IDMS data......................................................................................................... 34 Configuring the server started task JCL...............................................................................................34 Modifying the server configuration member for CA IDMS.................................................................. 34 Verifying access to CA IDMS data........................................................................................................ 35 Configuring access to data in IBM IMS databases....................................................................................36 Configuring the server started task JCL...............................................................................................37 Modifying the server configuration member for DBCTL......................................................................37 Modifying the server configuration member for IMS Direct................................................................38 Configuring access to IBM MQ...................................................................................................................42 Configuring the server started task JCL...............................................................................................42 Modifying the server configuration member for IBM MQ....................................................................43 Configuring virtual table rules for IBM MQ.......................................................................................... 43 Configuring access to sequential files.......................................................................................................44 Reading ahead tracks for sequential file access................................................................................. 45 Configuring access to native VSAM........................................................................................................... 45 Verifying access to native VSAM.......................................................................................................... 46 Modifying the data and index buffer values for VSAM files.................................................................46 Configuring access to zFS files.................................................................................................................. 48 Configuring access to SMF data for IT Operational Analytics.................................................................. 48 Configuring access to System Management Facility (SMF) files.........................................................49 Configuring access to SYSLOG files..................................................................................................... 52 Configuring access to OPERLOG files.................................................................................................. 53 Configuring access to ADDI....................................................................................................................... 53 Installing virtual tables and virtual target maps for ADDI access...................................................... 54 Modifying the configuration member for ADDI access....................................................................... 55 Configuring virtual table rules for ADDI...............................................................................................58 Configuring authentication for ADDI....................................................................................................59 Configuring access to RAA.........................................................................................................................60 Installing virtual tables and virtual target maps for RAA access........................................................ 60 Modifying the configuration member for RAA access......................................................................... 61 Configuring virtual table rules for RAA................................................................................................ 64 Configuring authentication for RAA..................................................................................................... 64 iii Using Db2 for z/OS to access multiple data source types........................................................................65 Chapter 2. Spark SQL data access: JDBC.............................................................. 69 Connecting to a data source using JDBC ..................................................................................................70 JDBC connection properties......................................................................................................................70 Error handling.............................................................................................................................................85 Debugging and tracing............................................................................................................................... 85 Connecting to a DRDA database server...............................................................................................87 JDBC performance management.............................................................................................................. 88 Buffering data.......................................................................................................................................89 Parallel IO.............................................................................................................................................90 MapReduce...........................................................................................................................................93 JDBC driver APIs........................................................................................................................................95 Chapter 3. JDBC Gateway.................................................................................. 101 Using the JDBC Gateway administrative console...................................................................................102 Configuring access to data sources using the JDBC Gateway............................................................... 103 Adding JDBC driver information for a data source............................................................................103 Creating a data source definition entry............................................................................................. 105 Configuring the Data Service server for JDBC Gateway sources......................................................106 Example: Configuring access to Oracle data.....................................................................................109 Example: Configuring