ibm data virtualization manager for z/os · configuring access to ca idms data ..... . 52...

100
IBM Data Virtualization Manager for z/OS Version 1 Release 1 Installation and Customization Guide GC27-8874-00 IBM

Upload: buidieu

Post on 07-May-2018

271 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

IBM Data Virtualization Manager for z/OSVersion 1 Release 1

Installation and Customization Guide

GC27-8874-00

IBM

Page 2: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

NoteBefore using this information and the product it supports, read the information in “Notices” on page 79.

This edition applies to Version 1 Release 1 of IBM Data Virtualization Manager for z/OS (5698-DVM) and to allsubsequent releases and modifications until otherwise indicated in new editions.

Last updated: October 17, 2017

© Copyright IBM Corporation 2017.US Government Users Restricted Rights – Use, duplication or disclosure restricted by GSA ADP Schedule Contractwith IBM Corp.

© Rocket Software, Inc. 2017

Page 3: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

Contents

Figures . . . . . . . . . . . . . . . v

Tables . . . . . . . . . . . . . . . vii

About this information . . . . . . . . ix

Abstract for IBM Data VirtualizationManager for z/OS Installation andCustomization Guide . . . . . . . . . xi

How to send your comments to IBM xiiiIf you have a technical problem . . . . . . . xiii

Chapter 1. Overview . . . . . . . . . 1System requirements. . . . . . . . . . . . 2Preparing to customize . . . . . . . . . . . 2

Chapter 2. Installing the DataVirtualization Manager server . . . . . 5Installing server maintenance . . . . . . . . . 5

Chapter 3. Customizing the DataVirtualization Manager server . . . . . 7Required naming conventions . . . . . . . . 7Creating server data sets . . . . . . . . . . 7Defining security authorizations . . . . . . . . 8Configuring Workload Manager (WLM) . . . . . 8APF-authorizing the LOAD library . . . . . . . 9Copying target libraries. . . . . . . . . . . 9Configuring support for code pages and DBCS . . . 9Customizing the server initialization member . . . 10Configuring the started task JCL . . . . . . . 11Configuring the ISPF application . . . . . . . 12Verifying the Data Virtualization Manager serverinstallation . . . . . . . . . . . . . . 12

Chapter 4. Configuring access to datasources . . . . . . . . . . . . . . 13Configuring access to data in Adabas. . . . . . 13

Configuring the server started task JCL . . . . 13Modifying the Data Virtualization Managerconfiguration member . . . . . . . . . . 13

Configuring access to data in relational databasemanagement systems (RDBMS) . . . . . . . . 15

Configuring access to IBM DB2 for z/OS . . . 16Configuring access to distributed databases. . . 25

Configuring access to data in IBM IMS databases. . 38Configuring the server started task JCL . . . . 39Modifying the Data Virtualization Managerconfiguration member for DBCTL . . . . . . 39Modifying the Data Virtualization Managerconfiguration member for IMS Direct . . . . . 41

Configuring an IMS database . . . . . . . 43Configuring access to native VSAM . . . . . . 43

Configuring the server started task JCL . . . . 43Modifying the Data Virtualization Managerconfiguration member . . . . . . . . . . 43Configuring native VSAM . . . . . . . . 43Verifying access to native VSAM . . . . . . 43

Configuring access to sequential files . . . . . . 44Configuring the server started task JCL . . . . 44Modifying the server member . . . . . . . 44Configuring sequential files . . . . . . . . 44

Configuring access to IBM CICS . . . . . . . 44Configuring the server started task JCL . . . . 44Modifying the Data Virtualization Managerconfiguration member . . . . . . . . . . 45Configuring CICS . . . . . . . . . . . 47Configuring security . . . . . . . . . . 48

Configuring access to zFS files . . . . . . . . 48Configuring the server started task JCL . . . . 48Modifying the server member . . . . . . . 48Configuring zFS files . . . . . . . . . . 48

Configuring access to SMF data for IT OperationalAnalytics . . . . . . . . . . . . . . . 49

Configuring access to System ManagementFacility (SMF) files . . . . . . . . . . . 49Configuring access to SYSLOG files . . . . . 51

Configuring access to CA IDMS data . . . . . . 52Configuring the server started task JCL . . . . 53Verifying access to CA IDMS data . . . . . . 53

Configuring access to ADDI . . . . . . . . . 55Installing virtual tables and virtual target mapsfor ADDI access . . . . . . . . . . . . 55Modifying the configuration member for ADDIaccess . . . . . . . . . . . . . . . 56Configuring virtual table rules for ADDI . . . 60Configuring authentication for ADDI . . . . . 61

Configuring access to RAA . . . . . . . . . 62Installing virtual tables and virtual target mapsfor RAA access . . . . . . . . . . . . 63Modifying the configuration member for RAAaccess . . . . . . . . . . . . . . . 63Configuring virtual table rules for RAA . . . . 66Configuring authentication for RAA . . . . . 67

Chapter 5. Installing the DataVirtualization Manager client drivers . . 69Installing the JDBC driver . . . . . . . . . 69Installing the ODBC driver . . . . . . . . . 69

Chapter 6. Installing the DataVirtualization Manager studio . . . . . 71Verifying the studio installation. . . . . . . . 72

© Copyright IBM Corp. 2017 iii

Page 4: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

Appendix. Data sets . . . . . . . . . 75

Accessibility features . . . . . . . . 77

Notices . . . . . . . . . . . . . . 79Trademarks . . . . . . . . . . . . . . 80

Index . . . . . . . . . . . . . . . 81

iv IBM Data Virtualization Manager for z/OS

Page 5: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

Figures

© Copyright IBM Corp. 2017 v

Page 6: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

vi IBM Data Virtualization Manager for z/OS

Page 7: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

Tables

1. Customization checklist . . . . . . . . . 32. Access requirements by data definition name 83. CA IDMS EMPDEMO database maps . . . . 53

4. CA IDMS network schema IDMSNTWK maps 545. Data sets created by INSTPAC . . . . . . 75

© Copyright IBM Corp. 2017 vii

Page 8: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

viii IBM Data Virtualization Manager for z/OS

Page 9: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

About this information

This information supports IBM Data Virtualization Manager for z/OS (5698-DVM)and contains information about installing and configuring Data VirtualizationManager.

Purpose of this information

This information describes how to prepare for installation, install, customize, andverify IBM Data Virtualization Manager for z/OS in your environment.

Who should read this information

This information is intended for z/OS system programmers and systemadministrators who are responsible for installing and customizing IBM DataVirtualization Manager for z/OS. The customization information is also of interestto application developers who want to understand how various customization andtuning actions might affect the performance of their applications.

© Copyright IBM Corp. 2017 ix

Page 10: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

x IBM Data Virtualization Manager for z/OS

Page 11: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

Abstract for IBM Data Virtualization Manager for z/OSInstallation and Customization Guide

This information supports IBM Data Virtualization Manager for z/OS (5698-DVM)and contains information about installing and configuring Data VirtualizationManager.

Purpose of this information

This information describes how to prepare for installation, install, customize, andverify IBM Data Virtualization Manager for z/OS in your environment.

Who should read this information

This information is intended for z/OS system programmers and systemadministrators who are responsible for installing and customizing IBM DataVirtualization Manager for z/OS. The customization information is also of interestto application developers who want to understand how various customization andtuning actions might affect the performance of their applications.

© Copyright IBM Corp. 2017 xi

Page 12: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

xii IBM Data Virtualization Manager for z/OS

Page 13: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

How to send your comments to IBM

We appreciate your input on this documentation. Please provide us with anyfeedback that you have, including comments on the clarity, accuracy, orcompleteness of the information.

Use the following method to send your comments:

Important: If your comment regards a technical problem, see instead “If you havea technical problem.”v Send an email to [email protected].

Include the following information:v Your name and addressv Your email addressv Your phone or fax numberv The publication title and order number:

IBM Data Virtualization Manager for z/OS Installation and CustomizationGuideGC27-8874-00

v The topic and page number or URL of the specific information to which yourcomment relates

v The text of your comment.

When you send comments to IBM®, you grant IBM a nonexclusive right to use ordistribute the comments in any way appropriate without incurring any obligationto you.

IBM or any other organizations use the personal information that you supply tocontact you only about the issues that you submit.

If you have a technical problemDo not use the feedback methods that are listed for sending comments. Instead,take one or more of the following actions:v Visit the IBM Support Portal (support.ibm.com).v Contact your IBM service representative.v Call IBM technical support.

© Copyright IBM Corp. 2017 xiii

Page 14: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

xiv IBM Data Virtualization Manager for z/OS

Page 15: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

Chapter 1. Overview

Data Virtualization Manager server is a mainframe-resident server that uses theIBM System z Integrated Information Processor (zIIP) for all of its computationallyintensive processing, supporting ANSI SQL-92 functions and NoSQL data sourcesusing the MongoDB query language. Data Virtualization Manager server providesseamless, real-time access to enterprise data regardless of operating system,location, or interface.

The server supports real-time data virtualization solutions for enabling mainframerelational and non-relational data to seamlessly integrate with data analytic, BigData, mobile, and web solutions. All underlying data structures are abstracted fromthe user.

Before you can use IBM Data Virtualization Manager for z/OS solutions to accessyour enterprise data, you must install and configure the Data VirtualizationManager server.

After the server is installed, you can install the Data Virtualization Manager studio.Using the studio, you can create virtualized tables to run SQL queries orvirtualized collections to run JSON queries.

Once the Data Virtualization Manager server is installed, you can configure thesolutions that you want to use. The Data Virtualization Manager server supports abroad range of data providers, including:v Mainframe relational and non-relational databases, and file structures – Adabas,

DB2, IMS, VSAM, and Physical Sequentialv Cloud based relational and non-relational datav NoSQL databases that include HADOOP data storesv Distributed databases that run on Linux, UNIX, or Windows operating systems –

DB2, Oracle, Informix, Derby, SQL Server

To ensure the highest levels of performance, Data Virtualization Manager serverincludes several query optimization features, such as parallel input/output andMapReduce. Data Virtualization Manager server employs multiple, parallel threadsto handle input request for data and output delivery of information to the client(data consumer). Once data is transformed from non-relational to a relationalformat, the powerful data virtualization engine continually streams and buffersdata to the client.

Data Virtualization Manager server has a wide range of connectivity options fordata consumers, including:v ANSI 92-SQL (JDBC/ODBC/DRDA)v NoSQL (JSON)

Data sources

Data Virtualization Manager server provides standards-based access to thefollowing types of relational and non-relational data:v IBM DB2 for Linux, UNIX, and Windows (LUW), current IBM supported

versions

© Copyright IBM Corp. 2017 1

Page 16: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

v IBM DB2 for z/OS, current IBM supported versionsv IBM IMS Database Control (DBCTL), current IBM supported versionsv Physical sequentialv Software AG Adabas, version 7 or laterv Virtual Storage Access Method (VSAM)

Data Virtualization Manager server provides access to business logic that resideswithin mainframe programs, and to legacy applications accessible through 3270screens via the following interfaces:v CA IDMS version 15 or laterv IBM CICS Transaction Server for z/OS version 3.1 or laterv IBM IMS Transaction Manager (TM) version 8.1 or laterv Software AG Natural version 4.2.3 or later

System requirementsYou need to consider the system requirements before you install DataVirtualization Manager server.

IBM hardware / software minimum requirements

IBM zEnterprise 114 (z114), IBM zEnterprise 196 (z196), or more recent IBMzEnterprise system.

IBM z/OS version 1.13 or later.

Load library

The load library for Data Virtualization Manager server version 1.1 is allocated as apartitioned data set extended (PDSE). When a PDSE is used to store load modules,it stores them in structures called program objects.

You cannot copy a PDSE to a partitioned data set (PDS). For more information, seethe IBM z/OS documentation.

Program Temporary Fixes (PTFs)

When you use VSAM data access with Data Virtualization Manager server version1.1, you need to add the following PTFs:v RLS OA44111:

– z/OS 1.13 UA75045– z/OS 2.1 UA75046

v VSAM:– z/OS 1.13 UA75272– z/OS 2.1 UA75273

Preparing to customizeBefore you start to customize IBM Data Virtualization Manager for z/OS,familiarize yourself with the customization tasks.

2 IBM Data Virtualization Manager for z/OS

Page 17: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

The following table describes each significant customization task. Use this checklistto guide you through the customization process.

Table 1. Customization checklist

Step Task description For more information

1 Create the server data sets using thehlq.SAVZCNTL members AVZDFDIV,AVZGNMP1 and AVZEXSWI.

See “Creating server data sets” on page7.

2 Set up the security application to usewith the server using one of thefollowing hlq.SAVZCNTL members:AVZRAVDB, AVZA2VDB, AVZTSVDB.

See “Defining security authorizations”on page 8.

3 Configure Workload Manager (WLM)for optimum performance of the server.

See “Configuring Workload Manager(WLM)” on page 8.

4 APF-authorize the product LOADlibrary.

See “APF-authorizing the LOADlibrary” on page 9.

5 Create a copy of the product libraries(optional).

See “Copying target libraries” on page9.

6 Configure the server to support DBCS(optional).

See “Configuring support for codepages and DBCS” on page 9.

7 Customize the server to access yourdata sources inhlq.SAVZEXEC(AVZSIN00).

See “Customizing the serverinitialization member” on page 10.Then, see Chapter 4, “Configuringaccess to data sources,” on page 13 forthe specific types of data sources theserver should access.

8 Configure the started task JCL locatedin hlq.SAVZCNTL(AVZ1PROC) beforeyou can start the server.

See “Configuring the started task JCL”on page 11.

9 Configure the CLIST that invokes theISPF panels by usinghlq.SAVZEXEC(AVZ).

See “Configuring the ISPF application”on page 12.

10 Verify the installation by creating avirtual table and accessing itsunderlying VSAM file (optional).

See “Verifying the Data VirtualizationManager server installation” on page12.

Chapter 1. Overview 3

Page 18: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

4 IBM Data Virtualization Manager for z/OS

Page 19: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

Chapter 2. Installing the Data Virtualization Manager server

Install the Data Virtualization Manager server using IBM SMP/E for z/OS.

About this task

Use the information in Program Directory for IBM Data Virtualization Manager forz/OS to install the Data Virtualization Manager server on your system.

Installing server maintenanceTo install server maintenance, use the IBM SMP/E for z/OS program. Downloadthe latest PTFs to the z/OS system where you want to apply the PTFs.

© Copyright IBM Corp. 2017 5

Page 20: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

6 IBM Data Virtualization Manager for z/OS

Page 21: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

Chapter 3. Customizing the Data Virtualization Manager server

After you install IBM Data Virtualization Manager for z/OS using SMP/E,customize the server for use.

Before you begin

You must install Data Virtualization Manager and apply all available maintenancebefore customizing the server. To apply server maintenance, you should acquireavailable PTFs and apply them to the server so you will have the most currentavailable code for your installation.

Required naming conventionsYou must follow the Data Virtualization Manager server naming conventions whenconfiguring the server subsystem ID and the server initialization member.

The server subsystem name must follow the pattern xVZy, where x is anyalphabetic character A - Z and y is any alphanumeric character A-Z or 0-9.

Depending on what you name the server subsystem, the server initializationmember must follow the same naming convention as the server subsystem name,for example, xVZyIN00.

Note: The default server naming conventions used throughout this guide areAVZS for the server subsystem name and AVZSIN00 for the server initializationmember.

Creating server data setsThe AVZDFDIV and AVZGNMP1 members of hlq.SAVZCNTL create data sets for theTrace Browse, the global variable checkpoint, and the data-mapping facility (DMF)that are used by the Data Virtualization Manager server. The AVZGNMP1 memberalso copies distributed data sets into user-modifiable data sets. The AVZEXSWImember builds the Web interface objects.

Procedure1. Customize the AVZDFDIV member in hlq.SAVZCNTL to meet your requirements.

The AVZDFDIV member contains comments that describe how to customize thevariables.

2. Submit the AVZDFDIV member.3. Customize the AVZGNMP1 member in hlq.SAVZCNTL to meet your requirements.

The AVZGNMP1 member contains comments that describe how to customize thevariables.

4. Submit the AVZGNMP1 member.

Note: The map data set created in this step should be the first concatenateddata set in the DD statement AVZMAPP located in the server started task. Seehlq.SAVZCNTL(AVZ1PROC). The server should have read and writepermissions to this data set. The system-provided data set (hlq.SAVZMAP)

© Copyright IBM Corp. 2017 7

Page 22: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

should be the last data set in the AVZMAPP concatenation. The user and servershould only have read access to the data set. The administrator will need readand write permissions.

5. Customize the AVZEXSWI member in hlq.SAVZCNTL to meet your requirements.The AVZEXSWI member contains comments that describe how to customize thevariables.

6. Submit the AVZEXSWI member.

Defining security authorizationsTo use an external security product, such as RACF, ACF2, or Top Secret, define thestarted task name to the security product and authorize the data set.

Procedure

To define the server and other required permissions for your security product,customize the appropriate security option located in the hlq.SAVZCNTL library, andsubmit the job:v AVZRAVDB is for IBM Resource Access Control Facility (RACF) security.v AVZA2VDB is for CA ACF2 (Access Control Facility) security.v AVZTSVDB is for CA Top Secret Security (TSS).

Results

The following table summarizes the access requirements by data definition name:

Table 2. Access requirements by data definition name

Datadefinitionname Access Data set name

STEPLIB READ, EXECUTE hlq.SAVZLOAD

AVZRPCLB READ, EXECUTE hlq.SAVZRPC

SYSEXEC READ hlq.SAVZEXEC

AVZTRACE READ, WRITE hlq.TRACE

AVZCHK1 READ, WRITE hlq.SYSCK1

AVZMAPP READ, WRITE hlq.SAVZMAP

Make sure that your z/OS Security Administrator reviews the security definitions.You might need to change definitions to meet requirements at your site.

Configuring Workload Manager (WLM)To get optimum performance from the server, define the server to WLM. The DataVirtualization Manager server should be prioritized slightly below the dataprovider in your WLM environment. It is not sufficient to simply add the STC to aWLM service class as the server will create independent enclaves for eachconnection.

About this task

The server should be configured to use a medium to high performing WLMvelocity goal as its default service class.

8 IBM Data Virtualization Manager for z/OS

Page 23: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

Procedure1. Create a WLM Classification rule.

a. Go to the WLM ISPF application, and select option 6 (Classification Rules).b. Select option 1 to Create.c. Set the Subsystem Type to AVZ, and provide an optional description.d. Under the Class/Service Column next to DEFAULTS, set the desired default

service class name. If a desired service class does not exist, then create oneusing option 4 (Service Classes) under the Primary WLM menu. Press enterand PF3 to save.

2. Define the Data Virtualization Manager started task AVZ1PROC to a WLM serviceclass.a. Go to the WLM ISPF application, and select option 6 (Classification Rules).b. For the STC WLM-subsystem type, select Modify.c. Add an entry for AVZ1PROC.d. Add an appropriate service class for the started task and define it relative to

existing workload resource management objectives.e. Add a unique Report class for the started task.

3. Activate the new WLM policy definition.

APF-authorizing the LOAD libraryYou must authorize the LOAD library AVZ.SAVZLOAD for APF (Authorized ProgramFacility).

About this task

The APF authorize should be done dynamically using the SETPROG APFcommand, and then made permanent for the next IPL (initial program load) byupdating the appropriate system PARMLIB member.

Copying target librariesIt is recommended that copies be made of the target libraries to preserve any priorcustomization, as applying new maintenance often replaces existing PDS members.

Configuring support for code pages and DBCSYou can configure the server to support Japanese code pages and double-bytecharacter sets (DBCS).

About this task

The server initialization member is located in hlq.SAVZEXEC(VDBSIN00) and is aREXX program that sets product parameters and defines data sources. You mustcustomize this initialization member to support different code pages anddouble-byte character sets.

Procedure

Enable the CCSID parameters by changing the phrase if DontDoThis to if DoThis.Set the SQLENGDFLTCCSID parameter in the server initialization member to a valid

Chapter 3. Customizing the Data Virtualization Manager server 9

Page 24: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

CCSID value. Set the SQLENGDBCSLTFMT parameter to the DBCS Latin charactersformat. The following example shows the section of the AVZSIN00 file in which tomake the changes:/*-------------------------------------*//* Set CCSID for non-DB2 data *//*-------------------------------------*/

if DoThis thendo

"MODIFY PARM NAME(SQLENGDFLTCCSID) VALUE(1047)""MODIFY PARM NAME(SQLENGDBCSLTFMT) VALUE(ASIS)"

The following table lists the parameters for configuring support for DRDA:

Parameter Description Valid values

SQLENGDFLTCCSID Set the SQLENGDFLTCCSIDto the CCSID to be used forSQL engine tables. All hosttables except for DB2 areassumed to be stored in thisCCSID. Where possible, thisCCSID should match theclient CCSID used whenconnecting.

CCSID value

SQLENGDBCSLTFMT Set the format for DBCSLatin characters. ASIS

FULL Fullwidth

HALF Halfwidth

Customizing the server initialization memberThe server initialization member AVZSIN00 is a REXX program that you use to setproduct parameters and define links and databases. You must customize the serverinitialization member for your installation environment.

About this task

The server initialization member is shipped in data set memberhlq.SAVZEXEC(AVZSIN00) and may have been copied to a new data set forcustomization in the step “Copying target libraries” on page 9.

As you go through the installation, you accept or set parameter values in theserver initialization member.

If you are installing the server for the first time, it is recommended that all thedefault values be accepted. You can change the values as needed later.

If you are installing a new version of the server over a previous version, theprevious server member might contain parameter values that you modified tomeet specific requirements in your environment. In this case, you should reviewthe initialization member for the previous version for any customizations that needto be made to the initialization member for the new version.

Procedure1. Find the line that contains “SHLQ1” and provide your own high-level qualifier

to define the ISPF data sets. For example: “SHLQ1=AVZ”

10 IBM Data Virtualization Manager for z/OS

Page 25: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

2. If you created copies of your target libraries to preserve customizations, findthe line that contains “SHLQ2” and provide your own high-level qualifier todefine the Event Facility (SEF) data sets. Ensure that the HLQ results in properdata set references for these features. For example: “SHLQ2=AVZ.AVZS”. If youdid not create copies of the target libraries, then "SHLQ2" should contain thesame value as "SHLQ1".

3. Review the following default values for the TCP/IP parameters and change thevalues as necessary. The following example shows the section of theinitialization member in which to make the changes:“MODIFY PARM NAME(OEPORTNUMBER) VALUE(1200)”“MODIFY PARM NAME(WSOEPORT) VALUE(1201)”“MODIFY PARM NAME(TRACEOERW) VALUE(YES)”“MODIFY PARM NAME(OEKEEPALIVETIME) VALUE(30)”"MODIFY PARM NAME(PARALLELIO) VALUE(YES)"“MODIFY PARM NAME(OEPIOPORTNUMBER) VALUE(1204)”

Configuring the started task JCLTo configure the started task JCL, modify the AVZ1PROC (subsystem default ID)member that is in the hlq.SAVZCNTL library.

About this task

The AVZ1PROC member contains the JCL procedure that is required to run the mainaddress space (started task).

Procedure1. Add the HLQ name of the libraries to the hlq parameter.

This parameter sets the server data set allocations to the correct data set names.2. Confirm that the SYSEXEC DD statement allocates the correct data set name

that contains the customized server initialization member AVZSIN00. This dataset was created in job AVZGNMP1 previously in the step “Creating server datasets” on page 7. The default name is hlq.SAVZEXEC(AVZSIN00).

3. Ensure that the DD AVZMAPP concatenation points to the hlq.AVZMAPP dataset created in the previous installation job AVZGNMP1. This data set should befirst in the concatenation and is used for storing user-defined virtual tablemaps. The hlq.AVZMAPP data set, which contains the default virtual tablemaps that are part of the product distribution, should be placed last.

4. The server runs as a z/OS started task. Under normal circumstances, the serverstarts at system startup and stops before the system shuts down. To start theserver on demand, use the following console command:S AVZS

where AVZS is the subsystem name of the server instance you defined.

Note: If you use a procedure name other than the SSID provided in theexample, then you issue the start command using that procedure name.

5. If you use an automation package to start the system, associate the STARTcommand with the VTAM initialization complete message (IST020I), theTCP/IP initialization complete message (EZB6473I), or both messages.

6. To verify that the startup is successful, look for the following entries in theserver Job Entry Subsystem (JES) log.SD74391I OE stack binding port 1200 to IP address 0.0.0.0SD74391I OE stack binding port 1201 to IP address 0.0.0.0SD74391I OE stack binding port 1202 to IP address 0.0.0.0

Chapter 3. Customizing the Data Virtualization Manager server 11

Page 26: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

What to do next

If you want to stop the server, issue the following console command:

P AVZS

If you issue a CANCEL command, all available connections terminate with an abend,and the server shuts down immediately.

Configuring the ISPF applicationConfigure and invoke the ISPF application.

Before you begin

The Data Virtualization Manager server must be started before you can invoke theISPF application.

Procedure1. Edit the hlq.SAVZEXEC(AVZ) member, and replace the data set name in the

following statement with the data set name that you chose for thehlq.SAVZLOAD library:llib=’hlq.SAVZLOAD’

2. Copy the hlq.SAVZEXEC(AVZ) member to a data set that is allocated to theSYSPROC allocation for all TSO users.Before starting the ISPF application, you must configure and start your server.See “Configuring the started task JCL” on page 11When the server starts, the ISPF data sets are dynamically allocated.

3. To invoke the ISPF application, go to the ISPF command shell and enter thefollowing command: EX ‘hlq.SAVZEXEC(AVZ)’ ‘SUB(AVZS)’ Where:v hlq is the high level qualifier.v AVZS is the subsystem name of the server instance you defined.All ISPF clients will communicate with the specified subsystem.

Verifying the Data Virtualization Manager server installationTo verify the server installation, create a sample VSAM file and a virtual table, andthen run a query that accesses the VSAM data.

Procedure1. Create the sample VSAM file on the mainframe that hosts the server. Run the

AVZGNSTF member in the hlq.SAVZCNTL data set to allocate and load thesample VSAM file. The job should complete with a condition code of 0.

2. Create the staffvs virtual table. Run the AVZIVVS1 member in thehlq.SAVZCNTL data set to perform a batch extract of the sample VSAM filelisting and create a virtual table that formats the result set that is returned fromthe VSAM file. This step runs a query against the sample VSAM file. The jobshould complete with a condition code of 0.

12 IBM Data Virtualization Manager for z/OS

Page 27: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

Chapter 4. Configuring access to data sources

Configure Data Virtualization Manager server to enable access to mainframe datasources.

Configuring access to data in AdabasTo access Adabas, you need to configure the started task JCL and the DataVirtualization Manager configuration member.

Before you begin

The server must already be installed.

About this task

The SQL interface for Adabas provides seamless, real-time controlled access toAdabas data. It allows ODBC, JDBC, and web clients to access Adabas data in arelational model using simple SQL-based queries. This interface can be used withtraditional client/server applications, desktop productivity tools that use ODBC,JDBC, and two-tier and three-tier web implementations. Using the interface,applications can use standard ODBC or JDBC facilities to make SQL requestsdirectly to Adabas. The result is a relational result set, with no host programmingrequired.

Procedure

To configure and verify access to data in Adabas, perform the following tasks.

Configuring the server started task JCLMake the ADALNKR module available.

Before you begin

All data sets that you add to the server started task JCL STEPLIB must beAPF-authorized.

About this task

Note: You can skip this task if the ADALNKR module is in the z/OS linklist.

Procedure1. Add the Adabas LOAD library to the server started task JCL. Uncomment the

ADALOAD parameter and set it to the correct Adabas load library name.ADALOAD=’ADABAS.LOAD’

2. Uncomment the reference to the LOAD library in the STEPLIB.

Modifying the Data Virtualization Manager configurationmember

Enable the Adabas parameters in the Data Virtualization Manager configurationmember.

© Copyright IBM Corp. 2017 13

Page 28: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

About this task

The Data Virtualization Manager configuration member is shipped in data setmember hlq.SAVZEXEC(AVZSIN00) and copied tohlq.AVZS.SAVZEXEC(AVZSIN00) by the job in the AVZGNMP1 member for you tomake your local modifications.

Procedure1. In the AVZSIN00 member, locate the comment “ENABLE ADABAS DATABASE

SERVER SUPPORT.”2. Enable the Adabas parameters by changing the syntax if DontDoThis to if

DoThis. Set the ADABAS parameter to YES. The following example shows thesection in the configuration member to enable:if DoThis then

do“MODIFY PARM NAME(ADABAS)VALUE(YES)”“MODIFY PARM NAME(ADABASUBINFOSIZE)VALUE(256)”“MODIFY PARM NAME(ADABASAUTOCOMMITBIND)VALUE(YES)”

“MODIFY PARM NAME(ACIMAPREDUCEADAB)VALUE(64000)”“MODIFY PARM NAME(ACIMAPREDUCEADAISN)VALUE(64000)”

end

The following table lists the parameters for configuring support for Adabasdata stores:

Parameter Description Valid values

ACIMAPREDUCEADAB Map Reduce Adabas RecordBuffer Size - Allows AdabasMulti-Fetch used to readrecords via L1 commands. Ifthe Adabas ADARUN limitsare exceeded, an Adabasresponse code 53 is issued.

Buffer size in bytes. 64000(default value)

ACIMAPREDUCEADAISN Map Reduce Adabas ISNBuffer Size - When a KeyDescriptor is used in aSearch query, an Adabas S1search is performed. Theresulting internal sequencenumber (ISN) Recordnumber list is divided upinto separate Map Reducethreads.

Buffer size in bytes. 64000(default value)

ADABAS Activates support forAdabas data stores. NO Support is not

active. (defaultvalue)

YES Activate support.

ADABASAUTOCOMMITBIND Activates support for theAUTOCOMMIT BINDoption.

YES Activate support.(default value)

NO Support is notactive.

14 IBM Data Virtualization Manager for z/OS

Page 29: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

Parameter Description Valid values

ADABASUBINFOSIZE Specifies the total amount ofspace to allocate for userinformation and reviewinformation in the Adabasuser block. Review themaximum user informationsize in the ADALNKR, andincrease the value of thisparameter to be equal to orgreater than the maximumuser information size.

256 KB (default value)

Configuring access to data in relational database managementsystems (RDBMS)

You can access data on DB2 for z/OS and distributed databases IBM Big SQL, IBMdashDB, DB2 LUW (Linux, UNIX, and Windows), Microsoft SQL Server, Oracle,and QMF DRDA.

Before you begin

The server and relational database management system (RDBMS) must already beinstalled.

About this task

The SQL interface for DB2 provides seamless, real-time controlled access toRDBMS data. It allows ODBC, JDBC, and web clients to access RDBMS data in arelational model by using simple SQL-based queries. This interface can be usedwith traditional client/server applications, desktop productivity tools that useODBC, JDBC, and two-tier and three-tier web implementations. Using theinterface, applications can use standard ODBC or JDBC facilities to make SQLrequests directly to RDBMS. The result is a relational result set, with no hostprogramming required.

To configure and verify access to data in a RDBMS, perform the following tasks.

Procedure1. Enable the RDBMS access method in the Data Virtualization Manager

configuration member. See “Modifying the Data Virtualization Managerconfiguration member for DRDA” on page 17.

2. Configure access to the database.v IBM DB2 for z/OS

Configure DB2 to use either the Distributed Relational Database Architecture(DRDA) access method or the Resource Recovery Services attachment facility(RRSAF) access method.See “Configuring access to IBM DB2 for z/OS” on page 16.

v Distributed databases, including Big SQL, dashDB, DB2 LUW, Microsoft SQLServer, Oracle, and QMF DRDA.Configure the RDBMS to use the Distributed Relational DatabaseArchitecture (DRDA) access method.See “Configuring access to distributed databases” on page 25.

Chapter 4. Configuring access to data sources 15

Page 30: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

Configuring access to IBM DB2 for z/OSConfigure DB2 to use either the Distributed Relational Database Architecture(DRDA) access method or the Resource Recovery Services attachment facility(RRSAF) access method.

About this task

Using DRDA might yield a lower total cost of ownership than RRSAF becauseDRDA allows a higher percentage of DB2 work to run in SRB mode and offloadedto a zIIP specialty engine.

If you have a zIIP specialty engine, use DRDA. If you do not have a zIIP specialtyengine, use RRSAF.

Before you issue DB2 requests, you must bind DRDA, RRSAF, or both intopackages within each DB2 subsystem. Binding both access methods isrecommended.

Procedure1. “Configuring security”2. Configure for DRDA (Distributed Relational Database Architecture) or for

RRSAF (Resource Recovery Services attachment facility) access method.v If you are using a zIIP specialty engine, enable the RDBMS access method for

DRDA:a. “Modifying the Data Virtualization Manager configuration member for

DRDA” on page 17b. “Configuring DB2 for DRDA” on page 22

v If you are not using a zIIP specialty engine, enable the RDBMS accessmethod for RRSAF:a. “Modifying the Data Virtualization Manager configuration member for

RRSAF” on page 22b. “Configuring DB2 for RRSAF” on page 24

Configuring securityConfigure security to provide user access to DB2.

About this task

If the DB2 being accessed does not have the DSNZPARM DDF option TCPALVER set toeither YES or CLIENT, then a passticket is needed for certain DB2 on z/OS DRDAoperations. These operations may include:v Refreshing in-memory metadata catalog information at server startup for DB2 on

z/OS defined virtual tables. Catalog information is refreshed at every serverstartup by the Data Virtualization Manager server connecting to each DB2 wherevirtual tables have been defined.

v Any SQL statement coming from the dsClient interface, dsSpufi or applicationAPIs using the dsClient interface. This may also include running administrativetasks in batch using dsClient that accesses DB2 on z/OS such as updatingMapReduce information using the DRDARange command.

Procedure1. This step only applies to DB2 for z/OS. To grant users access to the DB2

subsystem and to enable passticket logon processing, you must define one

16 IBM Data Virtualization Manager for z/OS

Page 31: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

RACF PTKTDATA resource for each unique DRDA APPLNAME. To defineeach PTKTDATA resource, customize and run the appropriate job.v AVZRADB2 is for IBM Resource Access Control Facility (RACF) security.v AVZA2DB2 is for CA ACF2 (Access Control Facility) security.v AVZTSDB2 is for CA Top Secret Security (TSS).

2. Assign users READ authority.v For DRDA, assign users READ authority to the ssid.DIST profile.v For RRSAF, assign users READ authority to the ssid.RRSAF profile.

Configuring the server started task JCLIf you use DB2 z/OS, add the DB2 load library to the server started task JCL.

Before you begin

All data sets that you add to the server started task JCL STEPLIB must beAPF-authorized.

About this task

This task is not applicable for DB2 UDB (Linux, UNIX, and Windows).

Note: Skip this task if the DB2 interface modules, DSNALI and DSNHLI, are inthe z/OS linklist.

Procedure

Edit the JCL in the hlq.SAVZCNTL(AVZ1PROC) member to add the name of the DB2library to the DB2LIB parameter: The following example shows the parameter tochange in the server proc:DB2LIB=’DSNX10’

The DB2LIB must contain the DB2 interface modules, such as DSNALI andDSNHLI, and must be in uppercase and enclosed in quotation marks.

Modifying the Data Virtualization Manager configuration memberfor DRDAIf you are using a zIIP specialty engine, enable the RDBMS access method forDistributed Relational Database Architecture (DRDA) in the Data VirtualizationManager configuration member.

About this task

Configure the server to use Distributed Relational Database Architecture (DRDA)when accessing a RDBMS.

Modify the Data Virtualization Manager configuration member in data sethlq.AVZS.SAVZEXEC(AVZSIN00). The Data Virtualization Manager configurationmember is shipped in data set member hlq.SAVZEXEC(AVZSIN00) and copied tohlq.AVZS.SAVZEXEC(AVZSIN00) by the job in the AVZGNMP1 member for you tomake your local modifications.

Chapter 4. Configuring access to data sources 17

Page 32: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

Procedure1. Verify that the Unicode translation of the Coded Character Set Identifier

(CCSID) used in the DEFINE DATABASE statement and the CCSID used by thetarget RDBMS are defined for your z/OS environment.a. You should identify the CCSID of the RDBMS.

For example, Oracle may use ccsid1. In your DEFINE DATABASE statement inthe configuration member for the RDBMS you have ccsid2. For this example,where Oracle is using ccsid1, you need to verify that you have ccsid1-ccsid2and ccsid2-ccsid1 defined in your Unicode translation table on z/OS usingthe command D UNI,ALL.

b. If the entry is not present, you need to add the entry to your Unicodetranslation table and refresh.Please refer to the IBM z/OS documentation on how to add the entry.

Note: As an alternative, the Unicode table can be appended within theserver by using the following statement examples in the serverconfiguration member:"DEFINE CONV SOURCE(ccsid1) TARGET(ccsid2) TECH(RE)""DEFINE CONV SOURCE(ccsid2) TARGET(ccsid1) TECH(RE)"

2. In the AVZSIN00 member, locate the section that contains the comment“ENABLE DRDA ACCESS TO RDBMS.”

3. Enable the DRDA parameters by changing the syntax if DontDoThis to ifDoThis, and then set the DRDASKIPZSERVICES parameter to YES. The followingexample shows the section in the configuration member to enable:if DoThis then

do“MODIFY PARM NAME(TRACEOEDRDARW) VALUE(YES)”“MODIFY PARM NAME(CLIENTMUSTELECTDRDA) VALUE(NO)”“MODIFY PARM NAME(DRDASKIPWLMSETUP) VALUE(NO)”“MODIFY PARM NAME(DRDAFORLOGGINGTASK) VALUE(NO)”“MODIFY PARM NAME(DRDASKIPZSERVICES) VALUE(YES)”

The following table lists the parameters for configuring support for DRDA:

Parameter Description Valid values

CLIENTMUSTELECTDRDA If set to YES, the ODBC andJDBC clients must explicitlyopt in for DRDA to be usedby setting the user parameterconnection variable to'DRDA'.Note: ODBC and JDBCclients can always opt out ofDRDA processing by settingthe user parameter to'NODRDA'.

If set to NO, DRDAprocessing is used for accessall configured RDBMSs.

YES

NO Default value.

18 IBM Data Virtualization Manager for z/OS

Page 33: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

Parameter Description Valid values

DRDASKIPWLMSETUP If set to YES, WLMinformation is not collectedand sent to DRDA duringODBC/JDBC logonprocessing. If captured, theDRDA equivalent toSET_CLIENT_ID calls isissued after logon toestablish these values on theDRDA connection. If notcaptured, the transmissionthat is used to set theseWLM-related values isbypassed.

If set to NO, the client userID, application name,workstation name, andaccounting token that weresent in the initial clientbuffer are collected and sentseparately after logonprocessing to DRDA.

YES

NO Default value.

DRDASKIPZSERVICES Prevents DRDA from beingused for z/Service DB2processing.

If set to YES, z/Servicesclient tasks do not useDRDA processing for DB2requests.

If set to NO, DRDA will beused when configured for aparticular DB2 connection.Note: Passticket supportmust be enabled for alltarget DDF servers.

YES

NO Default value.

DRDAFORLOGGINGTASK If set to YES, DRDAprocessing is used for theDB2 on z/OS loggingsubtask.

If set to NO, SAF or RRSAFconnections are used.Note: Passticket supportmust be enabled for thetarget DDF server. Ifpassticket support is notconfigured, set the parameterto NO.

YES

NO Default value.

TRACEOEDRDARW If set to YES (recommended),TCP/IP communications viaDRDA are traced.

If set to NO, DRDA receiveand send operations are nottraced.

YES

NO Default value.

Chapter 4. Configuring access to data sources 19

Page 34: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

4. Define DRDA RDBMSs by entering a definition statement. Provide your localenvironment values for all the parameters. The following example shows thesection in the configuration member to enable:"DEFINE DATABASE TYPE(type_selection)" ,

"NAME(name)" ,"LOCATION(location)" ,"DDFSTATUS(ENABLE)" ,"DOMAIN(your.domain.name)" ,"PORT(port)" ,"IPADDR(1.1.1.1)" ,"CCSID(37)" ,"APPLNAME(DSN1LU)" ,"IDLETIME(110)" ,

Where type_selection is either GROUP, MEMBER, or ZOSDRDA.The following table lists the parameters for defining DDF endpoints:

Parameter Description Valid values

APPLNAME Application name. TheAPPLNAME used by thetarget endpoint for passticketgenerations. (Optional)

A valid value is 1 - 8characters. If APPLNAME isnot specified in thedefinition statement, nodefault value is providedand passticket access isdisabled.Note: APPLNAME is notrequired when connectingfrom the ODBC/JDBCdriver.

AUTHTYPE Authentication type. This canbe either DES for DiffieHellman EncryptionStandard or AES forAdvanced EncryptionStandard.

When AUTHTYPE is notsupplied the default is DES.To force AES the option mustbe added to the DEFINEDATABASE, each server canbe different in what issupported as to AES/DES.

DES Diffie HellmanEncryptionStandard (defaultvalue)

AES AdvancedEncryptionStandard.

CCSID Specify the EBCDICsingle-byte applicationCCSID (Coded Character SetIdentifier) configured for thisRDBMS subsystem on theRDBMS installation panelDSNTIPF, option 7. (Optional)

Refer to the RDBMS vendordocumentation for a list ofvalid CCSID.

DDFSTATUS The DDF activation statuscan be altered online byusing the ISPF 4-DB2 dialogpanels. (Required)

ENABLE To make this DDFdefinition activewithin DataVirtualizationManager server.

DISABLE DDF endpoint isnot used.

20 IBM Data Virtualization Manager for z/OS

Page 35: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

Parameter Description Valid values

DOMAIN The part of a networkaddress that identifies it asbelonging to a particulardomain.

No default value.

IDLETIME If DB2 ZPARM parameterIDTHTOIN is set to anon-zero value setIDLETIME to a value slightlyless (10 secs.) thanIDTHTOIN. This will alsoallow product DRDA threadsto become inactive. (DB2 forz/OS only)

0-9999 seconds.

IPADDR Specify the dot-notation IPV4address of the DDFendpoint. (Optional)

If this parameter is notspecified, the value 127.0.0.1(local host) is the default.For group directordefinitions, use the DVIPA IPaddress of the groupdirector.

LOCATION For DB2: The DB2 locationname.

For LUW: The LUWdatabase.

For Oracle: The Oracle SSIDas defined to the OracleDatabase Provider (Gateway)(Required)

A valid value is a string 1 -16 characters.

NAME The database name as knownto the server. (Required)

A valid value consists of 1 -4 characters. Clients use thisID when they request accessto a specific DB2 subsystem.

PORT The TCP/IP port at whichthe server is listening.(Required)

If this keyword is notentered, the default DRDAport number 443 is used.

SECMEC The DRDA securitymechanism in force forstandard dashDB servicesrequires an authenticationmethod setting. Define aseither USRENCPWD, whichinforms the server to encryptthe PASSWORD orEUSRIDPWD, which informsthe server to encrypt theUSERID and PASSWORDduring the initial connectionto dashDB. (For GROUP andMEMBER types.)

USRENCPWD Encrypt passwordonly.

EUSRIDPWD Encrypt userid andpassword.

Chapter 4. Configuring access to data sources 21

Page 36: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

Parameter Description Valid values

TYPE For DB2 for z/OS:

GROUPIf this DDFendpoint is a DB2group director,specify GROUP.

MEMBERIf this DDFendpoint is a DB2instance or groupmember for z/OS,specify MEMBER.

ZOSDRDAIf this DDFendpoint is a remoteLPAR access withSEF ATH ruleprocessing, typicallyused for connectingto a DB2 on anotherLPAR that uses adifferent passwordsas the local LPARspecify ZOSDRDA.An ATH rule maybe necessary tomanage thecredentials.ZOSDRDA allowsfor ATH rulemanagement ofcredentials.

For DB2 for z/OS:

GROUP

MEMBER

ZOSDRDA

Configuring DB2 for DRDAIf you are using a zIIP specialty engine, configure DB2 to use DRDA.

About this task

Before you can successfully issue DRDA requests, you must bind IBM DataVirtualization Manager for z/OS DBRMs into packages within each target DB2subsystem.

Procedure1. Set the DEFAULTDB2SUBSYS parameter in the Data Virtualization Manager

configuration member to a valid DB2 subsystem name.2. Edit the AVZBINDD job that is supplied in the hlq.SAVZCNTL data set. Follow

the instructions that are provided in the JCL.3. Run the AVZBINDD job.

Modifying the Data Virtualization Manager configuration memberfor RRSAFIf you are not using a zIIP specialty engine, enable the RDBMS access method forResource Recovery Services attachment facility (RRSAF) in the Data VirtualizationManager configuration member.

22 IBM Data Virtualization Manager for z/OS

Page 37: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

About this task

This task is only applicable for DB2 for z/OS.

Modify the Data Virtualization Manager configuration member in data sethlq.AVZS.SAVZEXEC(AVZSIN00). The Data Virtualization Manager configurationmember is shipped in data set member hlq.SAVZEXEC(AVZSIN00) and copied tohlq.AVZS.SAVZEXEC(AVZSIN00) by the job in the AVZGNMP1 member for you tomake your local modifications.

Procedure1. Verify that the Unicode translation of the Coded Character Set Identifier

(CCSID) used in the DEFINE DATABASE statement and the CCSID used by thetarget RDBMS are defined for your z/OS environment.a. You should identify the CCSID of the RDBMS.

For example, Oracle may use ccsid1. In your DEFINE DATABASE statement inthe configuration member for the RDBMS you have ccsid2. For this example,where Oracle is using ccsid1, you need to verify that you have ccsid1-ccsid2and ccsid2-ccsid1 defined in your Unicode translation table on z/OS usingthe command D UNI,ALL.

b. If the entry is not present, you need to add the entry to your Unicodetranslation table and refresh.Please refer to the IBM z/OS documentation on how to add the entry.

Note: As an alternative, the Unicode table can be appended within theserver by using the following statement examples in the serverconfiguration member:"DEFINE CONV SOURCE(ccsid1) TARGET(ccsid2) TECH(RE)""DEFINE CONV SOURCE(ccsid2) TARGET(ccsid1) TECH(RE)"

2. Set the DEFAULTDB2SUBSYS parameter in the Data Virtualization Managerconfiguration member AVZSIN00 to a valid DB2 subsystem name.

3. In the AVZSIN00 member, locate the comment “ENABLE DB2 RRSAFSUPPORT” section.

4. Enable the RRSAF parameters by changing the syntax if DontDoThis to ifDoThis. The following example shows the section in the configuration memberto enable:if DoThis then

do“MODIFY PARM NAME(RRS) VALUE(YES)”“MODIFY PARM NAME(DB2ATTACHFACILIT) VALUE(RRS)”“MODIFY PARM NAME(TRACERSSDATA) VALUE(NO)”“MODIFY PARM NAME(TRACERSSEVENTS) VALUE(YES)”“MODIFY PARM NAME(TRACERSSAF) VALUE(YES)”

end

The following table lists the parameters for configuring support for RRSAF:

Chapter 4. Configuring access to data sources 23

Page 38: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

Parameter Description Valid values

DB2ATTACHFACILITY Specifies the DB2 attachfacility.

The Resource Services AttachFacility (RRSAF) uses theDSNRLI interface moduleand allows for 2–phasecommit actions. The CallAttach Facility (CAF) usesthe DSNALI interfacemodule.

The default value is RRS.Valid values are RRS andCAF.

RRS Activates RRS support. Thisparameter must be set toYES to activate RRS.

YES Default value.

NO

TRACERSSDATA Specifies whether to traceRRS data. YES Default value.

NO

TRACERSSEVENTS Specifies whether to traceRRS events. YES Default value.

NO

TRACERSSAF Creates an entry in theserver trace for each call toDSNRLI for RRSAF requests.

YES Default value.

NO

Configuring DB2 for RRSAFIf you are not using a zIIP specialty engine, configure RRSAF for access to localDB2.

About this task

This task only applies to DB2 for z/OS.

Procedure1. Run the AVZBINDC member of the hlq.SAVZCNTL data set to bind the

following server product plans:v SDBC1010 is bound using cursor stability.v SDBR1010 is bound using repeatable read.v SDBS1010 is bound using read stability.v SDBU1010 is bound using uncommitted read.

Use SDBC1010 as the default server plan, and use the other product plans foroperations that require those levels of isolation. To change the default plans,edit the BIND member and replace the default plan names with new names.You must run the BIND job of the hlq.SAVZCNTL data set against each DB2subsystem that you want to access. Use the instructions in the JCL to customizethe job.

2. Install the DSN3@SGN exit in the DB2 master task (normally placed in theSDSNEXIT data set). Installing this exit enables the server to use DB2 authoritythat was granted through secondary DB2 authorization IDs.

24 IBM Data Virtualization Manager for z/OS

Page 39: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

Configuring access to distributed databasesYou can configure access to data on Big SQL, dashDB, DB2 LUW (Linux, UNIX,and Windows), Microsoft SQL Server, Oracle, and QMF DRDA.

Before you begin

If you are connecting to a Big SQL or DB2 LUW database, then you must installand configure the IBM DB2 Federated Server. For additional information, refer tothe documentation on the IBM website.

If you are connecting to an Oracle database, then you must install and configurethe Oracle Database Provider for DRDA. For additional information, refer to thedocumentation on the Oracle website.

If you are connecting to a 2016 Microsoft SQL Server database, then you mustinstall and configure the Host Integration Server for HIS DRDA Service. Foradditional information, refer to the documentation on the Microsoft website. TheSYSIBM Views from Microsoft must be installed.

About this task

Configure access to distributed databases by modifying the configuration member,configuring Data Virtualization Manager Server Event Facility (SEF) rules, andoptionally setting up alternate authentication information.

Procedure1. “Modifying the Data Virtualization Manager configuration member.”2. Configure the Data Virtualization Manager Server Event Facility rules and set

up authentication for the appropriate database.v “Configuring rules and authentication for Big SQL” on page 31.v “Configuring rules and authentication for dashDB” on page 33.v “Configuring rules and authentication for LUW databases” on page 34.v “Configuring rules and authentication for Microsoft SQL Server” on page 35.v “Configuring rules and authentication for Oracle DRDA” on page 36.v “Configuring rules and authentication for QMF DRDA Server” on page 37.

Modifying the Data Virtualization Manager configuration memberEnable the RDBMS access method in the Data Virtualization Managerconfiguration member.

About this task

Configure the server to use Distributed Relational Database Architecture (DRDA)when accessing a RDBMS.

Modify the Data Virtualization Manager configuration member in data sethlq.AVZS.SAVZEXEC(AVZSIN00). The Data Virtualization Manager configurationmember is shipped in data set member hlq.SAVZEXEC(AVZSIN00) and copied tohlq.AVZS.SAVZEXEC(AVZSIN00) by the job in the AVZGNMP1 member for you tomake your local modifications.

Chapter 4. Configuring access to data sources 25

Page 40: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

Procedure1. Verify that the Unicode translation of the Coded Character Set Identifier

(CCSID) used in the DEFINE DATABASE statement and the CCSID used by thetarget RDBMS are defined for your z/OS environment.a. Identify the CCSID of the RDBMS.

For example, Oracle may use ccsid1. In your DEFINE DATABASE statement inthe configuration member for the RDBMS you have ccsid2. For this example,where Oracle is using ccsid1, you need to verify that you have ccsid1-ccsid2and ccsid2-ccsid1 defined in your Unicode translation table on z/OS usingthe command D UNI,ALL.

b. If the entry is not present, add the entry to your Unicode translation tableand refresh.Refer to the IBM z/OS documentation on how to add the entry.

Note: As an alternative, the Unicode table can be appended within theserver by using the following statement examples in the serverconfiguration member:"DEFINE CONV SOURCE(ccsid1) TARGET(ccsid2) TECH(RE)""DEFINE CONV SOURCE(ccsid2) TARGET(ccsid1) TECH(RE)"

2. In the AVZSIN00 member, locate the section that contains the comment “EnableDRDA access to DB2 database subsystems.”

3. Enable the DRDA parameters by changing the syntax if DontDoThis to ifDoThis and then set the DRDASKIPZSERVICES parameter to YES. The followingexample shows the section in the configuration member to enable:if DoThis then

do“MODIFY PARM NAME(TRACEOEDRDARW) VALUE(YES)”“MODIFY PARM NAME(CLIENTMUSTELECTDRDA) VALUE(NO)”“MODIFY PARM NAME(DRDASKIPWLMSETUP) VALUE(NO)”“MODIFY PARM NAME(DRDAFORLOGGINGTASK) VALUE(NO)”“MODIFY PARM NAME(DRDASKIPZSERVICES) VALUE(YES)”

The following table lists the parameters for configuring support for DRDA:

Parameter Description Valid values

CLIENTMUSTELECTDRDA If set to YES, the ODBC andJDBC clients must explicitlyopt in for DRDA to be usedby setting the user parameterconnection variable to'DRDA'.Note: ODBC and JDBCclients can always opt out ofDRDA processing by settingthe user parameter to'NODRDA'.

If set to NO, DRDAprocessing is used for accessto all configured RDBMSs.

YES

NO Default value.

26 IBM Data Virtualization Manager for z/OS

Page 41: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

Parameter Description Valid values

DRDAFORLOGGINGTASK If set to YES, DRDAprocessing is used for theDB2 on z/OS loggingsubtask.

If set to NO, SAF or RRSAFconnections are used.Note: Passticket supportmust be enabled for thetarget DDF server. Ifpassticket support is notconfigured, set the parameterto NO.

YES

NO Default value.

DRDASKIPWLMSETUP If set to YES, WLMinformation is not collectedand sent to DRDA duringODBC/JDBC logonprocessing. If captured, theDRDA equivalent toSET_CLIENT_ID calls isissued after logon toestablish these values on theDRDA connection. If notcaptured, the transmissionthat is used to set theseWLM-related values isbypassed.

If set to NO, the client userID, application name,workstation name, andaccounting token that weresent in the initial clientbuffer are collected and sentseparately after logonprocessing to DRDA.

YES

NO Default value.

DRDASKIPZSERVICES Prevents DRDA from beingused for z/Service DB2processing.

If set to YES, z/Servicesclient tasks do not useDRDA processing for DB2requests.

If set to NO, DRDA will beused when configured for aparticular DB2 connection.Note: Passticket supportmust be enabled for alltarget DDF servers.

YES

NO Default value.

TRACEOEDRDARW If set to YES (recommended),TCP/IP communications viaDRDA are traced.

If set to NO, DRDA receiveand send operations are nottraced.

YES

NO Default value.

Chapter 4. Configuring access to data sources 27

Page 42: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

4. Define DRDA RDBMSs by entering a definition statement. Provide your localenvironment values for all the parameters. The following example shows thesection in the configuration member to enable:"DEFINE DATABASE TYPE(type_selection)" ,

"NAME(name)" ,"LOCATION(location)" ,"DDFSTATUS(ENABLE)" ,"DOMAIN(your.domain.name)" ,"PORT(port)" ,"IPADDR(1.1.1.1)" ,"CCSID(37)" ,"APPLNAME(DSN1LU)" ,"IDLETIME(110)" ,

Where type_selection is either BIGSQL, DASHDB, LUW, MSSQL, ORACLE, or QMFDRDA.This is an example for dashDB:"DEFINE DATABASE TYPE(DASHDB)" ,

"NAME(name)" ,"LOCATION(location)" ,"AUTHTYPE(AES)" ,"SECMEC(EUSRIDPWD)" ,"DDFSTATUS(ENABLE)" ,"DOMAIN(your.domain.name)" ,"PORT(port)" ,"CCSID(37)" ,

The following table lists the parameters for defining DDF endpoints:

Parameter Description Valid values

APPLNAME Application name. TheAPPLNAME used by thetarget endpoint for passticketgenerations. (Optional)

A valid value is 1 - 8characters. If APPLNAME isnot specified in thedefinition statement, nodefault value is providedand passticket access isdisabled.Note: APPLNAME is notrequired when connectingfrom the ODBC/JDBCdriver.

AUTHTYPE Authentication type. This canbe either DES for DiffieHellman EncryptionStandard or AES forAdvanced EncryptionStandard.

When AUTHTYPE is notsupplied, the default is DES.To force AES, the optionmust be added to theDEFINE DATABASEstatement. Each server can bedifferent in what issupported as to AES/DES.

DES Diffie HellmanEncryptionStandard (defaultvalue)

AES AdvancedEncryptionStandard.

28 IBM Data Virtualization Manager for z/OS

Page 43: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

Parameter Description Valid values

CCSID Specify the EBCDICsingle-byte applicationCCSID (Coded Character SetIdentifier) configured for thisRDBMS subsystem on theRDBMS installation panelDSNTIPF, option 7. (Optional)

Refer to the RDBMS vendordocumentation for a list ofvalid CCSIDs.

DDFSTATUS The DDF activation statuscan be altered online byusing the ISPF 4-DB2 dialogpanels. (Required)

ENABLE Make this DDFdefinition active.

DISABLE DDF endpoint isnot used.

DOMAIN The part of a networkaddress that identifies it asbelonging to a particulardomain.

No default value.

IDLETIME If DB2 ZPARM parameterIDTHTOIN is set to anon-zero value setIDLETIME to a value slightlyless (10 secs.) thanIDTHTOIN. This will alsoallow product DRDA threadsto become inactive. (DB2 forz/OS only)

0-9999 seconds.

IPADDR Specify the dot-notation IPV4address of the DDFendpoint. (Optional)

If this parameter is notspecified, the value 127.0.0.1(local host) is the default.For group directordefinitions, use the DVIPA IPaddress of the groupdirector.

LOCATION For DB2: The DB2 locationname.

For dashDB: This is thedatabase name of thedashDB database or aliasname for the database.

For LUW: The LUWdatabase.

For Oracle: The Oracle SSIDas defined to the OracleDatabase Provider(Gateway). (Required)

A valid value is a string 1 -16 characters.

NAME The database name as knownto the server. (Required)

A valid value consists of 1 -4 characters. Clients use thisID when they request accessto a specific DB2 subsystem.

PORT The TCP/IP port at whichthe server is listening.(Required)

A valid 1-5 numeric string.

Chapter 4. Configuring access to data sources 29

Page 44: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

Parameter Description Valid values

SECMEC The DRDA securitymechanism in force forstandard dashDB servicesrequires an authenticationmethod setting. Define aseither USRENCPWD, whichinforms the server to encryptthe PASSWORD orEUSRIDPWD, which informsthe server to encrypt theUSERID and PASSWORDduring the initial connectionto dashDB. (ExceptQMFDRDA)

USRENCPWD Encrypt passwordonly.

EUSRIDPWD Encrypt userid andpassword.

30 IBM Data Virtualization Manager for z/OS

Page 45: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

Parameter Description Valid values

TYPE For distributed databases:

BIGSQLIf this DDFendpoint is a BigSQL engine, specifyBIGSQL.

DASHDBIf this DDFendpoint is adashDB database,specify DASHDB.

LUW If this DDFendpoint is a DB2instance or groupmember for Linux,UNIX, or Windows,specify LUW.

MSSQLIf this DDFendpoint is a DB2instance or groupmember forMicrosoft SQLServer, specifyMSSQL.

ORACLEIf this DDFendpoint is anOracle instance, useORACLE. Theparameter informsDRDA AR andsupportive toolingthat the remoteserver is an OracleDatabase Providerwhich supportsDRDA AS. TheOracle DRDA ASmust be in z/OSsimulation mode.

QMFDRDAIf this DDFendpoint is a QMFDRDA AS ObjectServer instance,specify QMFDRDA.

For distributed databases:

BIGSQL

DASHDB

LUW

MSSQL

ORACLE

QMFDRDA

Configuring rules and authentication for Big SQLConfigure Data Virtualization Manager Server Event Facility (SEF) rules and set upauthentication to provide access to Big SQL databases.

Chapter 4. Configuring access to data sources 31

Page 46: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

About this task

To complete configuration for access to Big SQL databases, you must activate SEFrules and optionally set up authentication.

It is common for data centers to assign different user IDs for access to z/OS andfor access to Big SQL. By default, the server will attempt to log on to Big SQL withthe same user ID that was presented for logon to z/OS. A facility is provided inthe server to optionally change the logon credentials for a user when accessing BigSQL.

This task uses the following tools:

AVZSBIGCAn SQL rule that allows Meta discovery on Big SQL databases.

AVZDRATHA utility that sets encrypted passwords in GLOBALU variables. You canalso use this utility to list existing credential information.

AVZEBIGGAn ATH rule that switches credentials when connecting to a Big SQLdatabase using DRDA. This rule uses AES encrypted passwords out ofGLOBALU.

Procedure1. Auto-enable the SQL rule SAVZXSQL(AVZSBIGC) to allow Data Virtualization

Manager studio Meta discovery on Big SQL databases.a. On the Data Virtualization Manager server - Primary Option Menu, select

option E for Rules Mgmt.b. Select option 2 for SEF Rule Management.c. Enter * to display all rules, or SQL to display only SQL rules.d. Set Auto-Enable for the AVZSBIGC rule member by entering A and pressing

Enter.2. Optional: To define alternate authentication information, use the sample job

AVZDRATH to add a global default user definition or authenticationinformation for specific mainframe users as follows:a. Locate the AVZDRATH member in the hlq.SAVZCNTL data set.b. Modify the JCL according to the instructions provided in the AVZDRATH

member.When adding the SYSIN statements that define the alternate credentials forlogging in to your Big SQL database, as instructed in the JCL, make sure tospecify the correct DBTYPE. For Big SQL, specify DBTYPE=BIGSQL.

c. Submit the job.d. Optional: To verify the information stored in the GLOBALU variables and

list existing authentication, use the REPORT=SUMMARY statement in theAVZDRATH member and submit the job.

3. Optional: If using alternate authentication information, auto-enable the SEFATH rule SAVZXATH(AVZEBIGG) to provide the logon credentials to each BigSQL instance. Global variables are used to define alternate authenticationcredential mapping for the SEF ATH rule.a. On the Data Virtualization Manager server - Primary Option Menu, select

option E for Rules Mgmt.b. Select option 2 for SEF Rule Management.

32 IBM Data Virtualization Manager for z/OS

Page 47: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

c. Enter * to display all rules, or ATH to display only authentication rules.d. Set Auto-Enable for the AVZEBIGG rule member by entering A and pressing

Enter.

Configuring rules and authentication for dashDBConfigure Data Virtualization Manager Server Event Facility (SEF) rules and set upauthentication to provide access to IBM dashDB databases.

About this task

To complete configuration for access to dashDB databases, you must activate SEFrules and optionally set up authentication.

It is common for data centers to assign different user IDs for access to z/OS andfor access to dashDB. By default, the server will attempt to log on to dashDB withthe same user ID that was presented for logon to z/OS. A facility is provided inthe server to optionally change the logon credentials for a user when accessingdashDB.

This task uses the following tools:

AVZSDDBCAn SQL rule that allows Meta discovery on dashDB databases.

AVZDRATHA utility that sets encrypted passwords in GLOBALU variables. You canalso use this utility to list existing credential information.

AVZEDDBGAn ATH rule that switches credentials when connecting to a dashDBdatabase using DRDA. This rule uses AES encrypted passwords out ofGLOBALU.

Procedure1. Auto-enable the SQL rule SAVZXSQL(AVZSDDBC) to allow Data Virtualization

Manager studio Meta discovery on dashDB databases.a. On the Data Virtualization Manager server - Primary Option Menu, select

option E for Rules Mgmt.b. Select option 2 for SEF Rule Management.c. Enter * to display all rules, or SQL to display only SQL rules.d. Set Auto-Enable for the AVZSDDBC rule member by entering A and

pressing Enter.2. Optional: To define alternate authentication information, use the sample job

AVZDRATH to add a global default user definition or authenticationinformation for specific mainframe users as follows:a. Locate the AVZDRATH member in the hlq.SAVZCNTL data set.b. Modify the JCL according to the instructions provided in the AVZDRATH

member.When adding the SYSIN statements that define the alternate credentials forlogging in to your dashDB database, as instructed in the JCL, make sure tospecify the correct DBTYPE. For dashDB, specify DBTYPE=DASHDB.

c. Submit the job.d. Optional: To verify the information stored in the GLOBALU variables and

list existing authentication, use the REPORT=SUMMARY statement in theAVZDRATH member and submit the job.

Chapter 4. Configuring access to data sources 33

Page 48: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

3. Optional: If using alternate authentication information, auto-enable the SEFATH rule SAVZXATH(AVZEDDBG) to provide the logon credentials to eachdashDB instance. Global variables are used to define alternate authenticationcredential mapping for the SEF ATH rule.a. On the Data Virtualization Manager server - Primary Option Menu, select

option E for Rules Mgmt.b. Select option 2 for SEF Rule Management.c. Enter * to display all rules, or ATH to display only authentication rules.d. Set Auto-Enable for the AVZEDDBG rule member by entering A and

pressing Enter.

Configuring rules and authentication for LUW databasesConfigure Data Virtualization Manager Server Event Facility (SEF) rules and set upauthentication to provide access to LUW (Linux, UNIX, and Windows) databases,including databases connected via IBM Federated Server.

About this task

To complete configuration for access to LUW databases, you must activate SEFrules and optionally set up authentication.

It is common for data centers to assign different user IDs for access to z/OS andfor access to LUW databases. By default, the server will attempt to log on to theLUW database with the same user ID that was presented for logon to z/OS. Afacility is provided in the server to optionally change the logon credentials for auser when accessing an LUW database.

This task uses the following tools:

AVZSLUWCAn SQL rule that allows Meta discovery on LUW databases.

AVZDRATHA utility that sets encrypted passwords in GLOBALU variables. You canalso use this utility to list existing credential information.

AVZELUWGAn ATH rule that switches credentials when connecting to an LUWdatabase using DRDA. This rule uses AES encrypted passwords out ofGLOBALU.

Procedure1. Auto-enable the SQL rule SAVZXSQL(AVZSLUWC) to allow Data Virtualization

Manager studio Meta discovery on LUW databases.a. On the Data Virtualization Manager server - Primary Option Menu, select

option E for Rules Mgmt.b. Select option 2 for SEF Rule Management.c. Enter * to display all rules, or SQL to display only SQL rules.d. Set Auto-Enable for the AVZALUWC rule member by entering A and

pressing Enter.2. Optional: To define alternate authentication information, use the sample job

AVZDRATH to add a global default user definition or authenticationinformation for specific mainframe users as follows:a. Locate the AVZDRATH member in the hlq.SAVZCNTL data set.

34 IBM Data Virtualization Manager for z/OS

Page 49: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

b. Modify the JCL according to the instructions provided in the AVZDRATHmember.When adding the SYSIN statements that define the alternate credentials forlogging in to your LUW database, as instructed in the JCL, make sure tospecify the correct DBTYPE. For LUW databases, specify DBTYPE=LUW.

c. Submit the job.d. Optional: To verify the information stored in the GLOBALU variables and

list existing authentication, use the REPORT=SUMMARY statement in theAVZDRATH member and submit the job.

3. Optional: If using alternate authentication information, auto-enable the SEFATH rule SAVZXATH(AVZELUWG) to provide the logon credentials to eachLUW instance. Global variables are used to define alternate authenticationcredential mapping for the SEF ATH rule.a. On the Data Virtualization Manager server - Primary Option Menu, select

option E for Rules Mgmt.b. Select option 2 for SEF Rule Management.c. Enter * to display all rules, or ATH to display only authentication rules.d. Set Auto-Enable for the AVZELUWG rule member by entering A and

pressing Enter.

Configuring rules and authentication for Microsoft SQL ServerConfigure Data Virtualization Manager Server Event Facility (SEF) rules and set upauthentication to provide access to Microsoft SQL Server via the 2016 HostIntegration Server for HIS DRDA Service.

About this task

To complete configuration for access to Microsoft SQL Server, you must activateSEF rules and optionally set up authentication.

It is common for data centers to assign different user IDs for access to z/OS andfor access to SQL Server. By default, the Data Virtualization Manager server willattempt to log on to SQL Server with the same user ID that was presented forlogon to z/OS. A facility is provided in the Data Virtualization Manager server tooptionally change the logon credentials for a user when accessing SQL Server.

This task uses the following tools:

AVZSMSSCAn SQL rule that allows Meta discovery on SQL Server databases.

AVZDRATHA utility that sets encrypted passwords in GLOBALU variables. You canalso use this utility to list existing credential information.

AVZEMSSGAn ATH rule that switches credentials when connecting to a SQL Serverdatabase using DRDA. This rule uses AES encrypted passwords out ofGLOBALU.

Procedure1. Auto-enable the SQL rule SAVZXSQL(AVZSMSSC) to allow Data Virtualization

Manager studio Meta discovery on SQL Server databases.a. On the Data Virtualization Manager server - Primary Option Menu, select

option E for Rules Mgmt.

Chapter 4. Configuring access to data sources 35

Page 50: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

b. Select option 2 for SEF Rule Management.c. Enter * to display all rules, or SQL to display only SQL rules.d. Set Auto-Enable for the AVZSMSSC rule member by entering A and pressing

Enter.2. Optional: To define alternate authentication information, use the sample job

AVZDRATH to add a global default user definition or authenticationinformation for specific mainframe users as follows:a. Locate the AVZDRATH member in the hlq.SAVZCNTL data set.b. Modify the JCL according to the instructions provided in the AVZDRATH

member.When adding the SYSIN statements that define the alternate credentials forlogging in to your Microsoft SQL Server database, as instructed in the JCL,make sure to specify the correct DBTYPE. For SQL Server databases, specifyDBTYPE=MSSQL.

c. Submit the job.d. Optional: To verify the information stored in the GLOBALU variables and

list existing authentication, use the REPORT=SUMMARY statement in theAVZDRATH member and submit the job.

3. Optional: If using alternate authentication information, auto-enable the SEFATH rule SAVZXATH(AVZEMSSG) to provide the logon credentials to eachSQL Server instance. Global variables are used to define alternateauthentication credential mapping for the SEF ATH rule.a. On the Data Virtualization Manager server - Primary Option Menu, select

option E for Rules Mgmt.b. Select option 2 for SEF Rule Management.c. Enter * to display all rules, or ATH to display only authentication rules.d. Set Auto-Enable for the AVZEMSSG rule member by entering A and

pressing Enter.

Configuring rules and authentication for Oracle DRDAConfigure Data Virtualization Manager Server Event Facility (SEF) rules and set upauthentication to provide access to Oracle databases via the Oracle DatabaseProvider for DRDA.

About this task

To complete the configuration for access to Oracle databases via the OracleDatabase Provider for DRDA, you must activate SEF rules and optionally set upauthentication.

It is common for data centers to assign different user IDs for access to z/OS andfor access to Oracle AS. By default, the Data Virtualization Manager server willattempt to log on to Oracle with the same user ID that was presented for logon toz/OS. A facility is provided in the server to optionally change the logon credentialsfor a user when accessing Oracle.

This task uses the following tools:

AVZSORACAn SQL rule that allows Meta discovery on Oracle databases.

AVZDRATHA utility that sets encrypted passwords in GLOBALU variables. You canalso use this utility to list existing credential information.

36 IBM Data Virtualization Manager for z/OS

Page 51: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

AVZEORAGAn ATH rule that switches credentials when connecting to an Oracledatabase using DRDA. This rule uses AES encrypted passwords out ofGLOBALU.

Procedure1. Auto-enable the SQL rule SAVZXSQL(AVZSORAC) to allow Data Virtualization

Manager studio Meta discovery on Oracle databases.a. On the Data Virtualization Manager server - Primary Option Menu, select

option E for Rules Mgmt.b. Select option 2 for SEF Rule Management.c. Enter * to display all rules, or SQL to display only SQL rules.d. Set Auto-Enable for the AVZSORAC rule member by entering A and

pressing Enter.2. Optional: To define alternate authentication information, use the sample job

AVZDRATH to add a global default user definition or authenticationinformation for specific mainframe users as follows:a. Locate the AVZDRATH member in the hlq.SAVZCNTL data set.b. Modify the JCL according to the instructions provided in the AVZDRATH

member.When adding the SYSIN statements that define the alternate credentials forlogging in to your Oracle database, as instructed in the JCL, make sure tospecify the correct DBTYPE. For Oracle, specify DBTYPE=ORACLE.

c. Submit the job.d. Optional: To verify the information stored in the GLOBALU variables and

list existing authentication, use the REPORT=SUMMARY statement in theAVZDRATH member and submit the job.

3. Optional: If using alternate authentication information, auto-enable the SEFATH rule SAVZXATH(AVZEORAG) to provide the logon credentials to eachOracle instance. Global variables are used to define alternate authenticationcredential mapping for the SEF ATH rule.a. On the Data Virtualization Manager server - Primary Option Menu, select

option E for Rules Mgmt.b. Select option 2 for SEF Rule Management.c. Enter * to display all rules, or ATH to display only authentication rules.d. Set Auto-Enable for the AVZEORAG rule member by entering A and

pressing Enter.

Configuring rules and authentication for QMF DRDA ServerConfigure Data Virtualization Manager Server Event Facility (SEF) rules and set upauthentication to provide access to QMF DRDA Server databases.

About this task

To complete the configuration for access to QMF DRDA Server databases, youmust activate SEF rules and optionally set up authentication.

It is common for data centers to assign different user IDs for access to z/OS andfor access to QMF DRDA Server. By default, the Data Virtualization Managerserver will attempt to log on to QMF DRDA Server with the same user ID that waspresented for logon to z/OS. A facility is provided in the server to optionallychange the logon credentials for a user when accessing QMF DRDA Server.

Chapter 4. Configuring access to data sources 37

Page 52: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

This task uses the following tools:

AVZSQMFCAn SQL rule that allows Meta discovery on Oracle databases.

AVZDRATHA utility that sets encrypted passwords in GLOBALU variables. You canalso use this utility to list existing credential information.

AVZEQMFGAn ATH rule that switches credentials when connecting to a QMF DRDAServer database using DRDA. This rule uses AES encrypted passwords outof GLOBALU.

Procedure1. Auto-enable the SQL rule SAVZXSQL(AVZSQMFC) to allow Data Virtualization

Manager studio Meta discovery on QMF DRDA Server databases.a. On the Data Virtualization Manager server - Primary Option Menu, select

option E for Rules Mgmt.b. Select option 2 for SEF Rule Management.c. Enter * to display all rules, or SQL to display only SQL rules.d. Set Auto-Enable for the AVZSQMFC rule member by entering A and

pressing Enter.2. Optional: To define alternate authentication information, use the sample job

AVZDRATH to add a global default user definition or authenticationinformation for specific mainframe users as follows:a. Locate the AVZDRATH member in the hlq.SAVZCNTL data set.b. Modify the JCL according to the instructions provided in the AVZDRATH

member.When adding the SYSIN statements that define the alternate credentials forlogging in to your QMF DRDA Server database, as instructed in the JCL,make sure to specify the correct DBTYPE. For QMF DRDA Server databases,specify DBTYPE=QMFDRDA.

c. Submit the job.d. Optional: To verify the information stored in the GLOBALU variables and

list existing authentication, use the REPORT=SUMMARY statement in theAVZDRATH member and submit the job.

3. Optional: If using alternate authentication information, auto-enable the SEFATH rule SAVZXATH(AVZEQMFG) to provide the logon credentials to eachQMF DRDA Server database. Global variables are used to define alternateauthentication credential mapping for the SEF ATH Rule.a. On the Data Virtualization Manager server - Primary Option Menu, select

option E for Rules Mgmt.b. Select option 2 for SEF Rule Management.c. Enter * to display all rules, or ATH to display only authentication rules.d. Set Auto-Enable for the AVZEQMFG rule member by entering A and

pressing Enter.

Configuring access to data in IBM IMS databasesTo access an IMS database, you need to configure the server started task JCL andthe Data Virtualization Manager configuration member.

38 IBM Data Virtualization Manager for z/OS

Page 53: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

Before you begin

The server must already be installed.

About this task

The SQL interface for IMS Database Manager (DB) provides seamless, real-timecontrolled access to IMS database data. It allows ODBC, JDBC, Data VirtualizationManager client, and web clients to access IMS database data in a relational modelby using simple SQL-based queries. This interface can be used with traditionalclient/server applications, desktop productivity tools that use ODBC, JDBC, andtwo-tier and three-tier web implementations. Using the interface, applications canuse standard ODBC or JDBC facilities to make SQL requests directly to an IMSdatabase. The result is a relational result set with no host programming required.

Procedure

To configure and verify access to data in an IMS database, complete the followingtasks.

Configuring the server started task JCLAdd IMS.SDFSRESL to the server started task JCL.

About this task

You can omit this task if the IMS resident library (SDFSRESL) module is in the z/OSlinklist.

Procedure

Modify the server started task JCL. If the IMS SDFSRESL is not already in the linkpack area or linklist, add it to the STEPLIB.

Note: All data sets that you add to the server started task JCL STEPLIB must beAPF-authorized.

Modifying the Data Virtualization Manager configurationmember for DBCTL

Enable the IMS database control (DBCTL) parameters in the Data VirtualizationManager configuration member.

About this task

In order to exploit MapReduce for DBCTL, the server must have informationregarding the IMS database to be used by the SQL engine optimizer. This is doneby the following command query:SELECT IMSRange(’IMS database name’)

Note: This command should be periodically run if the size of the database changessignificantly or the index on the database changes. When this command is issued,data is gathered for each segment in the database for which a virtual table existsand is stored within the server metadata repository.

Chapter 4. Configuring access to data sources 39

Page 54: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

You can use a batch job to schedule this command to refresh the statistics on aspecified schedule. For example://DSCLIENT EXEC PGM=xxxXMAPD,PARM=’SSID=VDBS’//STEPLIB DD DISP=SHR,DSN=loadlibrary//OUT DD SYSOUT=*//IN DD *SELECT IMSRANGE('<IMS DBD Name>');

The Data Virtualization Manager configuration member is shipped in data setmember hlq.SAVZEXEC(AVZSIN00) and copied tohlq.AVZS.SAVZEXEC(AVZSIN00) by the job in the AVZGNMP1 member for you tomake your local modifications.

Procedure1. In the AVZSIN00 member, locate the comment “Enable IMS CCTL/DBCTL

support.”2. Enable the IMS DB parameters by changing the syntax if DontDoThis to if

DoThis, and then set the parameter DBCTL to YES. The following exampleshows the section in the configuration member to enable:if DoThis then

do"MODIFY PARM NAME(DBCTL) VALUE(YES)""MODIFY PARM NAME(IMSID) VALUE(IVP1)""MODIFY PARM NAME(IMSDSNAME) VALUE(IMSX10.SFDSRESL)""MODIFY PARM NAME(IMSMINTHREADS) VALUE(5)""MODIFY PARM NAME(IMSMAXTHREADS) VALUE(10)""MODIFY PARM NAME(IMSNBABUFFERS) VALUE(0)""MODIFY PARM NAME(IMSFPBUFFERS) VALUE(0)"MODIFY PARM NAME(IMSFPOVERFLOW) VALUE(0)""MODIFY PARM NAME(TRACEIMSDLIEVENTS) VALUE(NO)"

The following table lists the parameters for configuring support for IMS DBdata stores:

Parameter Description Valid values

DBCTL Initialize DBCTL support.YES

NO (default value)

IMSID IMS SSID of the DBCTLregion.

Four-character name

IMSDSNAME The name of the data set forthe IMS residence library.

Data set name

IMSMINTHREADS Minimum number ofthreads.

Numeric value. Default is 5.

IMSMAXTHREADS Maximum number ofthreads.

Numeric value. Default is 10.

IMSNBABUFFERS Total number of NBAbuffers.

Numeric value. Default is 0.

IMSFPBUFFERS Fast path buffers per thread. Numeric value. Default is 0.

IMSFPOVERFLOW Fast path overflow buffers. Numeric value. Default is 0.

TRACEIMSDLIEVENTS Trace IMS DLI events.YES

NO (default value)

40 IBM Data Virtualization Manager for z/OS

Page 55: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

Modifying the Data Virtualization Manager configurationmember for IMS Direct

Enable the IMS Direct parameters in the Data Virtualization Manager configurationmember.

About this task

The IMS Direct feature provides map reduce and parallelism support for accessingnative IMS files. This support bypasses the requirement of having to use nativeIMS API calls by reading the IMS database files directly, similar to how an unloadutility may work. This provides a significant improvement in performance andreduced elapsed time in processing analytical type queries.

When an IMS SQL query is run, the SQL engine for the server will determine if therequest is best to be run using IMS Direct (native file support) or if IMS APIs arerequired. The determination is based on database and file types supported as wellas the size of the database. Virtual tables of the IMS segments are required.

The following types of IMS databases are currently supported:v HIDAM/VSAMv HDAM/VSAMv PHDAM/VSAMv PHIDAM/VSAM

Compressed IMS databases are not currently supported.

The Data Virtualization Manager configuration member is shipped in data setmember hlq.SAVZEXEC(AVZSIN00) and copied tohlq.AVZS.SAVZEXEC(AVZSIN00) by the job in the AVZGNMP1 member for you tomake your local modifications.

Procedure1. In the AVZSIN00 member, locate the comment “Enable IMS Direct Map

Reduce.”2. Enable the IMS Direct parameters by changing the syntax if DontDoThis to if

DoThis, and then set the parameter IMSDIRECTENABLED to YES. Thefollowing example shows the section in the configuration member to enable:if DoThis then

do"MODIFY PARM NAME(IMSDIRECTENABLED) VALUE(YES)""MODIFY PARM NAME(IMSDIRECTBUFFERSIZE) VALUE(1024)""MODIFY PARM NAME(ACIINTSEGMP256) VALUE(200)""MODIFY PARM NAME(TRACEIMSDBREFRESH) VALUE(YES)""MODIFY PARM NAME(TRACEIMSDIRSTATS) VALUE(YES)"

"DEFINE IMSDBINFO","IMSID(xxxx)","MODBLKS(your.MODBLKS)","ACBLIB(your.ACBLIB)","DFSRESLB(your.SDFSRESL)","IMSDALIB(your.dynamic.allocation.lib)","RECON1(your.RECON1)","RECON2(your.RECON2)","RECON3(your.RECON3)"

end

Chapter 4. Configuring access to data sources 41

Page 56: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

The following table lists the parameters for configuring support for IMS Directdata stores:

Parameter Description Valid values

ACIINTSEGMP256 The 256K ACI buffer pool.Required for IMS Direct.

Numeric value. Default is200.

IMSDIRECTBUFFERSIZE Specified in KB, and shouldbe greater than the size ofthe largest complete IMSdatabase record (root + alldependent segments).

Numeric value.

IMSDIRECTENABLED Enable IMS Direct support.YES

NO (default value)

TRACEIMSDBREFRESH Generate trace message whenIMS Direct map reducediscovery processing isperformed.

YES

NO (default value)

TRACEIMSDIRSTATS Produce runtime statistics atthe end of IMS Directprocessing of a data set.

YES

NO (default value)

The following table lists the parameters used to define the IMS data set names:

Parameter Description Valid values

ACBLIB ACBLIB data sets contain theapplication control blocks(ACBs), which describe IMSapplications, and datamanagement blocks (DMBs),which describe databasesand the applications that canaccess them.

your.ACBLIB

DFSRESLB Load library that containsthe major IMS modules.

your.SDFSRESL

IMSID The IMS subsystemidentification.

Up to 4 character ID.

IMSDALIB Dynamic Allocation Libraryfor IMSDBs and RECONs.

your.dynamic.allocation.lib

MODBLKS Used to support dynamicresource definition. Containsthe APPLCTN, DATABASE,RTCODE, and TRANSACTmacros.

your.MODBLKS

RECON1 Primary RECONciliationdataset, which holds all ofthe resource information andevent tracking informationthat is used by IMS.

your.RECON1

RECON2 An active copy of RECON1. your.RECON2

RECON3 Spare RECON to be usedwhen RECON1 or RECON2are not useable.

your.RECON3

42 IBM Data Virtualization Manager for z/OS

Page 57: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

Configuring an IMS databaseNo modifications are required.

Configuring access to native VSAMNo modifications are required to configure the SQL interface for native VSAM.However, you should verify that the server has access to native VSAM.

Before you begin

The server must already be installed.

About this task

The SQL interface for native VSAM provides seamless, real-time controlled accessto native VSAM data. It allows ODBC, JDBC, and web clients to access nativeVSAM data in a relational model using simple SQL-based queries. This interfacecan be used with traditional client/server applications, desktop productivity toolsthat use ODBC, JDBC, and two-tier and three-tier web implementations. Using theinterface, applications can use standard ODBC or JDBC facilities to make SQLrequests directly to native VSAM. The result is a relational result set, with no hostprogramming required.

To configure access to native VSAM, complete the following tasks:

Configuring the server started task JCLNo modifications are required.

Modifying the Data Virtualization Manager configurationmember

No modifications are required.

Configuring native VSAMNo modifications are required.

Verifying access to native VSAMVerify native VSAM data access by creating a sample VSAM file and acorresponding virtual table and running a query that accesses the VSAM data.

Procedure1. Create the sample VSAM file on the mainframe that hosts the Data

Virtualization Manager server. Run the AVZGNSTF member in the hlq.SAVZCNTLdata set to allocate and load the sample VSAM file. The job should completewith a condition code of 0.

2. Create the staffvs virtual table, and run a query that returns a result set. Runthe AVZIVVS1 member in the hlq.SAVZCNTL data set to perform a batch extractof the sample VSAM file listing and create a virtual table that is used to formatthe result set that is returned from the VSAM file. The job should completewith a condition code of 0.

3. Verify that the SQL results contained in the AVZIVVS1 member are valid.

Chapter 4. Configuring access to data sources 43

Page 58: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

Configuring access to sequential filesNo modifications are needed to configure the SQL interface to access sequentialfiles. However, you should verify access to sequential files.

Before you begin

The server must already be installed.

About this task

The SQL interface for sequential files provides seamless, real-time controlled accessto sequential files. It allows ODBC, JDBC, Data Virtualization Manager client, andweb clients to access sequential files in a relational model by using simpleSQL-based queries. This interface can be used with traditional client/serverapplications, desktop productivity tools that use ODBC, JDBC, and two-tier andthree-tier web implementations. Using the interface, applications can use standardODBC or JDBC facilities to make SQL requests directly to native VSAM. The resultis a relational result set, with no host programming required.

Configuring the server started task JCLNo modifications are required.

Modifying the server memberNo modifications are required.

Configuring sequential filesNo modifications are required.

Configuring access to IBM CICSFor VSAM data access via the CICS Transaction Server (TS), you need to configurethe Data Virtualization Manager configuration member and CICS TS.

Before you begin

The server must already be installed.

About this task

The server connects to CICS TS, via the IBM EXCI (External CICS Interface).

CICS provides logging and recovery facilities that are required if VSAM updatesare being applied. When accessing VSAM files that are owned by CICS TS,recovery is provided by CICS TS.

To configure and verify access to VSAM data via CICS TS, perform the followingtasks.

Configuring the server started task JCLNo modifications are required.

44 IBM Data Virtualization Manager for z/OS

Page 59: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

Modifying the Data Virtualization Manager configurationmember

Enable the VSAM data access via CICS TM parameters in the Data VirtualizationManager configuration member.

About this task

The Data Virtualization Manager configuration member is shipped in data setmember hlq.SAVZEXEC(AVZSIN00) and copied tohlq.AVZS.SAVZEXEC(AVZSIN00) by the job in the AVZGNMP1 member for you tomake your local modifications.

Procedure1. In the AVZSIN00 member, locate the comment “ENABLE CICS

TRANSACTION SERVER SUPPORT.”2. Enable the CICS TS parameters by changing if DontDoThis to if DoThis.

if DoThis thendo"MODIFY PARM NAME(EXCI) VALUE(YES)""MODIFY PARM NAME(EXCICONNECTIONNAME) VALUE(CICA)""MODIFY PARM NAME(TRACEEXCIDPLEVENTS) VALUE(YES)""MODIFY PARM NAME(CICSSENDABCODE) VALUE(YES)""MODIFY PARM NAME(RRSCICS) VALUE(YES)"

The following table lists the parameters for configuring support for a CICS TS:

Parameter Description Valid values

EXCI Initialize EXCI support.NO

YES Default value.

EXCICONNECTIONNAME EXCI Default ConnectionName.

Specifies the default CICSConnection Name for EXCIsupport.

EXCW

TRACEEXCIDPLEVENTS Trace EXCI DPL EventsNO

Default value.

YES

CICSSENDABCODE Send ABEND Code toClients.

Controls the sending of theCICS ABEND code to theclient. If set to YES, theABEND code is returned tothe client as part of the errormessage.

NO Default value.

YES

RRSCICS Specifies whether RRS CICSsupport is active. NO Default value.

YES

3. Create a DEFINE CONNECTION statement for each CICS region. Include thefollowing parameters in the statement:

Chapter 4. Configuring access to data sources 45

Page 60: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

"DEFINE CONNECTION NAME(CICA)","GROUP(CICA)","ACCESSMETHOD(IRC)","NETNAME(CICADBVS)","INSERVICE(YES)","PROTOCOL(EXCI)","APPLID(XXXXXXXX)","LOADBALGROUP(LBG1)","SECURITYNAME( )",

end

Parameter Description Valid values

NAME Specify a four-charactername for the connection tothe CICS region.

Four-character name

GROUP Specify the same name as theconnection name.

Eight-character name

ACCESSMETHOD Specify IRC. IRC

NETNAME Specify the network name ofthe remote system. Toidentify these connections inCICS, use a name that is acombination of theconnection name and theserver subsystem name.

Eight-character name

INSERVICE Specify YES to open theconnection at server startup.Specify NO to open theconnection manually.

NO Default value.

YES

PROTOCOL Specify EXCI. EXCI

APPLID Specify the VTAM APPLIDof the target CICS.

No restriction on the APPLIDname

LOADBALGROUP Specify the name of thegroup that is used to balancethe CICS workload acrossmultiple CICS regions.Specify the same group namein each DEFINECONNECTION statementthat you create. (Optional)

Eight-character name

SECURITYNAME Specify a valid security namefrom the remote system.

Eight-character name

4. Create a DEFINE SESSION statement for each CICS region. Include thefollowing parameters in each statement:"DEFINE SESSION NAME(CICA)",

"GROUP(CICA)","CONNECTION(CICA)","PROTOCOL(EXCI)","RECEIVERFX(XD)","RECEIVERCOUNT(0)","SENDPFX(SD)","SENDCOUNT(20)","IOAREALEN(4096)",

end

46 IBM Data Virtualization Manager for z/OS

Page 61: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

Parameter Description Valid values

NAME Specify the same name thatyou specified for the NAMEwhen you defined theconnection for this CICSregion.

Four-character name

GROUP Specify the same name thatyou specified for the NAMEwhen you defined theconnection for this CICSregion.

Eight-character name

CONNECTION NAME Specify the same name thatyou specified for the NAMEwhen you defined theconnection for this CICSregion.

Four-character name

PROTOCOL Specify EXCI. EXCI

RECEIVEPFX Not applicable. This field should be blank itsincluded to provide completelist of connection parameters.

RECEIVECOUNT Not applicable. This field should be blank itsincluded to provide completelist of connection parameters.

SENDPFX Specify a one- ortwo-character prefix for thesession name. The sessionname, which is limited tofour characters, is composedof the prefix and the sessionnumber. Therefore, if youdefine more than 99 sessions,specify a one-characterprefix.

A one- or two-characterprefix

SENDCOUNT Specify the maximumnumber of concurrenttransactions. This valueshould match theRECEIVECOUNT valueminus one set in the DEFINESESSIONS definition in theAVZCICSD job.

Any number up to 255

IOAREALEN Specify the length, in bytes,of the terminal input/outputarea to use to processtransmitted messages.

Any value up to 4096K

Configuring CICSConfigure CICS by modifying the CICS started tasks JCL, the System InitializationTable (SIT), and the DFHCSD file.

Procedure1. Add the hlq.SAVZCLOD library to the DFHRPL concatenation in each CICS

region that you want to connect to server.

Chapter 4. Configuring access to data sources 47

Page 62: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

2. Use the CEMT INQUIRE IRC command to verify that the CICS interregioncommunication (IRC) facility is open. To start IRC at CICS system startup,ensure that the IRCSTRT=YES parameter is in the SITPARM for the CICS region.

3. Update the DFHCSD file.a. For each CICS region, modify and submit the AVZCICSD job that is in

hlq.SAVZCNTL data set:v Update the DEFINE CONNECTION and DEFINE SESSION values to

match the definitions that you specified in the Data VirtualizationManager configuration member. The GROUP value is the CICSGROUPNAME and does not need to match the GROUP name that isdefined for the server. By default, 21 sessions are defined. Set this valueto the maximum number of concurrent transactions for a single instanceof server. The maximum value is 250.

v Change the name of the hlq.FILEA data set to the FILEA VSAM data setname. This VSAM file is used when you verify access to CICS data.

The member contains additional information about modifying the job.b. Update LIST(YOURLIST) to match the startup group list for the CICS

region.c. Review more comments in the JCL notes section for additional

considerations. Define all of the definitions in thehlq.SAVZCNTL(AVZCICSD) member.

Configuring securityConfigure security to provide user access to CICS TS.

About this task

See "CICS security" in the Administrator's Guide.

Configuring access to zFS filesNo modifications are needed to configure the SQL interface to access zFS files.However, you should verify access to zFS files.

Before you begin

The server must already be installed.

About this task

Configuring the server started task JCLNo modifications are required.

Modifying the server memberNo modifications are required.

Configuring zFS filesNo modifications are required.

48 IBM Data Virtualization Manager for z/OS

Page 63: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

Configuring access to SMF data for IT Operational AnalyticsIT Operational Analytics (ITOA) allows you to retrieve, analyze, and report datafor IT operations. System information can be logged using the IBM SystemManagement Facility (SMF) and the native Data Virtualization Manager serverlogging feature. Logging allows you to collect various system andoperations-related information.

Before you begin

IBM APAR OA49263 provides real-time SMF support and is a requirement for theconfiguration of real-time SMF data access. APAR OA48933 is required to addressaccessing log streams. SMF log stream configuration is required for in-memoryresource support.

About this task

Virtual tables for SMF are provided in the hlq.SAVZMAP data set.

There are three options to access the SMF data:v Reading data from SMF data sets - SMF information is recorded in MANx data

sets. When a data set gets full, the data is processed via IFASMFDP. Whendefining global variables for accessing SMF data in data sets, the output ofIFASMFDP is used.

v Reading data from log streams - SMF information is recorded in multiple logstreams and data can be read directly from the log streams. Log streamrecording is determined by the data set name beginning with IFASMF that is usedin the VTB rule for SMF.

v Reading SMF data from in-memory (real-time) - SMF information is read directlyfrom the system buffer. SMF information is read in real time.

When defining the global variables for SMF, the data set can be either a log streamor a SMF dump data set from IFASMFDP. The log stream data set is recommendedfor access to near real-time data.

To configure IT Operational Analytics, complete the tasks that follow.

Configuring access to System Management Facility (SMF) filesTo configure access to System Management Facility (SMF) files, you need toconfigure the server started task JCL, the server configuration member, and theserver virtual table member. By default, access to System Management Facility(SMF) files is enabled in the Data Virtualization Manager server started task JCLand the server configuration member. To enable reading SMF data real-time usinglog streams, you must have the SMFPRMxx member in the system PARMLIB data setconfigured to use both log streams and in-memory resources. Follow the steps inthis section to use SMF GDG data set names, or to use dynamic data set names.

About this task

SMF data set names are dynamic in local environments and require SEF rulesenablement and optionally Global Variables set to specific values to provide dataset names to the virtual tables and views when using SMF data set or log streamconfigurations.

Chapter 4. Configuring access to data sources 49

Page 64: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

You can choose either GDG data set name support or dynamic data set namesupport, or both, to quickly access your SMF data. These two options are providedfor your convenience to help you start accessing your SMF data. Custom rules mayneed to be developed to use your local naming convention to access your SMFfiles.

Procedure1. Configure the server started task JCL by concatenating the hlq.SAVZSMAP data

set to the AVZMAPP DD statement to add all maps for SMF.2. Customize the server configuration member. To enable virtual table rule events,

configure the SEFVTBEVENTS parameter in the AVZSIN00 member, as follows:"MODIFY PARM NAME(SEFVTBEVENTS) VALUE(YES)"

Verify the VTB ruleset name:"DEFINE RULESET NAME(VTB)"

"RULETYPE(VTB)""DSNAME(’"||SHLQ2||".SAVZXVTB’)"

If there were any changes to AVZSIN00, recycle the server started task.3. To enable real-time access to SMF data, add the following statements to the

AVZSIN00 member after the GLOBAL PRODUCT OPTIONS statement.IF DoThis

THEN DO"DEFINE SMF NAME(IFASMF.INMEM)","BUFSIZE(500)","TIME(0)"

END

Note: You must have the SMFPRMxx parmlib member configured to use logstreams and in-memory resources.

Parameter Description Valid values

BUFSIZE Indicates how much SMFdata (megabytes) will beretained in memory forqueries. If the buffer fillsup, the oldest data will bediscarded. In parallel, SMFis recording these records toa logstream.

1-10,000

TIME Indicates how long (inminutes) to keep SMF datain memory. Older data willbe discarded. Specifying 0indicates no time limit anddata will be retained untilthe buffer fills up.

0-999

4. Enable reading SMF data from GDG data sets and access to SMF data usingdynamic data set names by enabling Data Virtualization Manager Server EventFacility rule AVZSMFT1 in the VTB ruleset. You can select from a GDG dataset, any SMF dump data set, a log stream data set, or the in-memory stream.You can choose to activate all three options by customizing the rule.a. Use the following steps to enable rule AVZSMFT1 in the VTB ruleset:

1) In the Data Virtualization Manager server - Primary Option Menu,specify option E, Rules Mgmt.

2) Specify option 2, SEF Rule Management.

50 IBM Data Virtualization Manager for z/OS

Page 65: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

3) Enter VTB for Display Only the Ruleset Named.4) Enable the rule by specifying E and pressing Enter.5) Set the rule to Auto-enable by specifying A and pressing Enter.

Setting the rule to Auto-enable activates the rule automatically when theserver is re-started.

b. Configure the access method using one or more of the following methods:v Review the information in the rule for the instructions on setting Global

Variables that will be used by the rule. Navigate one screen back on theISPF panel, or start over by going to option E, Rules Mgmt., and thenoption 1, Global Variables. In the Global Variables display, perform thefollowing steps:1) Change Global Prefix to GLOBAL2.2) Select SMFTBL2 by entering S next to the SMFTBL2 data set.3) Configure the SMF data access option. DEFAULT should have

corresponding SMF dump data set names if used. This option can beused to specify the source SMF, such as GDGBASE, INMEM, andLOGSTREAM.

Note:

VTB rules and global variables may be used to reference a GDG data set,any SMF dump data set, a log stream data set, or the in-memory stream.For example:GLOBAL2.SMFGBL2.YESTERDAY = "YOUR.DATASET.SMFDUMP(-1)"GLOBAL2.SMFGBL2.M2 = "YOUR.DATASET.SMFDUMP(-2)"GLOBAL2.SMFGBL2.M3 = "YOUR.DATASET.SMFDUMP(-3)"GLOBAL2.SMFGBL2.M4 = "YOUR.DATASET.SMFDUMP(-4)"GLOBAL2.SMFGBL2.M5 = "YOUR.DATASET.SMFDUMP(-5)"GLOBAL2.SMFGBL2.IM = "IFASMF.INMEM"GLOBAL2.SMFGBL2.IM2 = "IFASMF.INMEM2"GLOBAL2.SMFGBL2.LOG = "LOGSTREAM.dataset.name"

v Pass a dynamic data set name for SMF tables using the following formatfor the table name in the SQL statement:TableMapName__DataSetName

Where DataSetName is prefixed by two underscores (__) and the periodsin the data set name are replaced with single underscores (_).For example, SELECT * FROM SMF_01400__DATA_SET_NAME would translateinto an SQL query of SELECT * FROM SMF_14000 and access the data setDATA.SET.NAME.

v Pass a dynamic data set name for SMF virtual views using the followingformat for the virtual view name in the SQL statement:ViewMapName__DataSetName

Where DataSetName is prefixed by two underscores (__) and the periodsin the data set name are replaced with single underscores (_).For example, SELECT * FROM SMFV_01400_IFGSMF__DATA_SET_NAME wouldtranslate into an SQL query of SELECT * FROM SMFV_01400 and access thedata set DATA.SET.NAME.

Configuring access to SYSLOG filesTo configure access to SYSLOG files, you need to configure the Data VirtualizationManager configuration member and the server virtual table member.

Chapter 4. Configuring access to data sources 51

Page 66: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

Procedure1. Customize the Data Virtualization Manager configuration member. To enable

virtual table rule events, configure the SEFVTBEVENTS parameter in theAVZSIN00 member, as follows:"MODIFY PARM NAME(SEFVTBEVENTS) VALUE(YES)"

2. Customize the virtual table rule AVZAYSLG with the System Logging data setname.

3. Configure the SQL rule AVZAYSLG so that the rule is immediately enabled andautomatically enabled on server restarts.a. On the Data Virtualization Manager server - Primary Option Menu, select

option E for Rules Mgmt.b. Select option 2 for SEF Rule Management.c. Enter AVZAYSLG for Display Only the Ruleset Named.d. Enable the rule by entering E and pressing Enter.e. Set the rule to Auto-enable by using A and pressing Enter.

Setting the rule to Auto-enable activates the rule automatically when theserver is re-started.

Configuring access to CA IDMS dataTo access CA IDMS data, you must configure the Data Virtualization Managerserver started task JCL. You can then optionally verify access to the data.

Data Virtualization Manager server started task JCL changes are required to accessCA IDMS software and define default CA IDMS settings.

Restrictions

The following restrictions and considerations apply when accessing CA IDMS data:v CA IDMS releases v18.0 and newer are supported.v Virtual table mapping is only supported through the Data Virtualization

Manager studio. No batch utilities or ISPF interfaces are provided to map tables.v Access is limited to a single CA IDMS central version from each Data

Virtualization Manager server.v All database access is in central version mode. Single user (local mode) is not

supported.v All access is read only. SQL update is not supported.v CA IDMS Logical Record Facility (LRF) is not supported.v Data access uses CA IDMS network DML only. Access to databases defined

using the CA IDMS SQL product is not supported.v IDMS VSAM Transparency is not supported.v Map reduce client support is limited to database areas using 24-bit page IDs.v SQL queries run under the z/OS user credentials associated with the client

connection. Users must have authority to bind CA IDMS run units and accesssubschema information per site security standards.

Note:

Server configuration parameters control the following behaviors and can bemodified if necessary:

52 IBM Data Virtualization Manager for z/OS

Page 67: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

v CA IDMS run-unit management, specifically maximum run-units and a timeoutvalue for inactive run-units

v CA IDMS access tracing

Configuring the server started task JCLModify the server started task JCL to access CA IDMS and define default CA IDMSsettings.

Before you begin

All data sets that you add to the server started task JCL STEPLIB must beAPF-authorized.

About this task

Modify the server started task JCL to access CA IDMS and define default IDMSsettings.

Procedure1. Add the CA IDMS load libraries to the STEPLIB, which are required for CA

IDMS central version access.2. Add the SYSCTL DD statement identifying the CA IDMS central version to

access.3. Add the SYSIDMS statement with additional environment parameters.

Minimally, this data set should include a CVRETRY=OFF statement to preventan WTOR message when the CA IDMS central version is not active.

4. Add the CA IDMS system message data set to DCMSG.

Verifying access to CA IDMS dataTo verify access to CA IDMS data, you can optionally install a set of maps to thesample database EMPDEMO and run queries using the installed maps.

Before you begin

The CA IDMS sample database EMPDEMO must be installed in the central versionyou plan to access.

About this task

You can customize and run the provided IVP job AVZISIV1 to install maps to theEMPDEMO database and network schema maps to the SYSTEM database.

The following maps are installed for verification testing using the sampleEMPDEMO database:

Table 3. CA IDMS EMPDEMO database maps

Map Description

EMPSS01_EMPLOYEE Enables SQL access to EMPLOYEE record.

EMPSS01_OFFICE Enables SQL access to the OFFICE record.

EMPSS01_DEPARTMENT Enables SQL access to the DEPARTMENTrecord.

Chapter 4. Configuring access to data sources 53

Page 68: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

Table 3. CA IDMS EMPDEMO database maps (continued)

Map Description

EMPSS01_OFFICE_EMPLOYEE Enables SQL access to theOFFICE-EMPLOYEE set for joining theEMPSS01_OFFICE andEMPSS01_EMPLOYEE tables.

EMPSS01_DEPT_EMPLOYEE Enables SQL access to the DEPT-EMPLOYEEset for joining the EMPSS01_DEPARTMENTand EMPSS01_EMPLOYEE tables.

The network schema maps can be used for verification purposes if the EMPDEMOdatabase is not installed in your central version. These maps access records andsets in the CA IDMS network schema IDMSNTWK, providing SQL access toapplication metadata. The following table provides a subset of the installednetwork schema maps that can be used for verification purposes:

Table 4. CA IDMS network schema IDMSNTWK maps

Map Description

IDMSNWKA_S_010 Enables SQL access to the S-010 networkschema record. S-010 records describeapplication schemas defined to your IDMScentral version.

IDMSNWKA_SS_026 Enables SQL access to the SS-026 networkschema record. SS-026 records describeapplication subschemas defined to yourIDMS central version.

IDMSNWKA_SSR_032 Enables SQL access to the SSR-032 networkschema record. SSR-32 records describeapplication subschema records defined toyour IDMS central version.

IDMSNWKA_S_SS Enables SQL access to the S-SS set forjoining the IDMSNWKA_S_010 andIDMSNWKA_SS_026 tables.

IDMSNWKA_SS_SSR Enables SQL access to the SS-SSR set forjoining the IDMSNWKA_SS_026 andIDMSNWKA_SSR_032 tables.

Procedure1. Locate the AVZISIV1 member in the hlq.SAVZCNTL data set.2. Modify the JCL according to the instructions provided in the AVZISIV1

member.3. Submit the job.4. If the server is active, use the following instructions to refresh maps and make

the maps available for use:a. From the Primary Option Menu, specify option D, Data Mapping, and press

Enter.b. From the Data Mapping Facility menu, specify option 3, Map Refresh, and

press Enter.

54 IBM Data Virtualization Manager for z/OS

Page 69: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

Results

AVZISIV1 installs CA IDMS EMPDEMO and network schema maps into the servermap data set.

Configuring access to ADDITo use IBM Application Discovery and Delivery Intelligence (ADDI) informationfor creating virtual maps that access VSAM and sequential data, you mustconfigure the server for ADDI access.

System requirements

The following system requirements apply:v IBM Application Discovery Suite Version 5.0 or newerv Microsoft Host Integration Server (HIS) 2016 or higher. The SYSIBM views that

are part of the Microsoft HIS Software Development Kit must be installed aspart of the HIS installation.

v Microsoft SQL Server 2012 Enterprise or Express or higher

Restrictions

The following restrictions and considerations apply when using ADDI to accessVSAM and sequential data sets:v Virtual table creation is restricted to data sets in the ADDI project that are

processed by COBOL programs using JCL. Data sets accessed using CICS as wellas other databases (such as IMS, CA IDMS, or Adabas) are not supported.

v Virtual table mapping is only supported through the Data VirtualizationManager studio. No batch utilities or ISPF interfaces are provided to map tables.

Configuration steps

The following configuration steps are required to use ADDI to access VSAM andsequential data:1. Install virtual tables. See “Installing virtual tables and virtual target maps for

ADDI access.”2. Define ADDI project in the server configuration member. See “Modifying the

configuration member for ADDI access” on page 56.3. Activate virtual table rules. See “Configuring virtual table rules for ADDI” on

page 60.4. Define credentials for target database(s). See “Configuring authentication for

ADDI” on page 61.

Installing virtual tables and virtual target maps for ADDIaccess

Install virtual tables and virtual target maps for IBM Application Discovery andDelivery Intelligence (ADDI) access.

About this task

The Data Virtualization Manager studio reads the ADDI project using virtual tablesand views installed as part of server set up. The following maps are distributed inXMIT format in the SAVZSAMP member AVZIAMPD:

Chapter 4. Configuring access to data sources 55

Page 70: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

ZIADTSPRVirtual target system TSIAD_PROJECT1 for external subsystem namedIAD1.

ZIADT001-ZIADT021Virtual tables mapping tables in the ADDI project. All tables use the samename as the corresponding ADDI project table with a prefix of IAD_ (forexample, “dbo”.”Variables” in SQL Server has a virtual table name ofIAD_VARIABLES).

ZIADV001-ZIADV002Virtual views on the IAD_ virtual tables used by the Data VirtualizationManager studio to read ADDI data. These views are all prefixed withIADV_ (for example, IADV_DATASETS). All data access from the studio isperformed using virtual views.

These maps are not installed by default. Use the following procedure to installthese maps.

Procedure1. Locate the AVZIAMPS member in the hlq.SAVZCNTL data set.2. Modify the JCL according to the instructions provided in the AVZIAMPS

member.3. Submit the job. The virtual tables and virtual target maps are installed.

Modifying the configuration member for ADDI accessEnable and configure the parameters for IBM Application Discovery and DeliveryIntelligence (ADDI) in the Data Virtualization Manager configuration member.

About this task

The Data Virtualization Manager configuration member contains a sampleDATABASE definition that defines the first ADDI project. The initial definition isnamed IAD1 and is disabled.

When enabling the database definition for the first ADDI project, the LOCATIONand IPADDR parameters must be set to the correct project name and IP address ofthe Microsoft HIS DRDA Provider Service for SQL Server. The LOCATIONprovides the name of the SQL Server project, and IPADDR(...) PORT(...) providethe TCP/IP information for the HIS DRDA Service. DOMAIN(...) can be usedinstead of IPADDR to provide the DNS of the HIS DRDA Service. The subsystemNAME(IAD1) should not be changed because a target subsystem map isconfigured to use this name for the virtual tables accessing the ADDI project.

For multiple ADDI projects, see “Adding an ADDI project” on page 59.

The Data Virtualization Manager configuration member is shipped in data setmember hlq.SAVZEXEC(AVZSIN00) and copied tohlq.AVZS.SAVZEXEC(AVZSIN00) by the job in the AVZGNMP1 member for you tomake your local modifications.

Procedure1. In the AVZSIN00 member, locate the comment “Sample IBM Application

Discovery configuration".

56 IBM Data Virtualization Manager for z/OS

Page 71: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

2. Enable the ADDI parameters by changing the syntax if DontDoThis to ifDoThis. The following example shows the section in the configuration memberto enable:/*---------------------------------------------------------------*//* Sample IBM Application Discovery configuration using DRDA to *//* communicate with a Microsoft SQLServer database. *//*---------------------------------------------------------------*/if DoThis then do"DEFINE DATABASE TYPE(MSSQL)" ,

"NAME(IAD1)" ,"LOCATION(EZ_Project1)" ,"DDFSTATUS(ENABLE)" ,"SECMEC(USRIDPWD)" ,"IPADDR(::FFFF:0.0.0.0)" ,"PORT(446)" ,"CCSID(37)" ,"IDLETIME(0)"

end

The following table lists the parameters for configuring support for ADDI:

Parameter Description Valid values

TYPE Database type. BecauseADDI stores information inMicrosoft SQL Server, thisvalue must be MSSQL.

MSSQL

NAME The database name as knownto the server.

The first definition must beIAD1 because the targetsystem map names this asthe subsystem to access forADDI.

For additional ADDI projects,subsystems can have anyname since you must alsocreate a virtual target systemto point to it; however, itrecommended that the namestart with IAD.

(Required)

A valid value consists of 1 -4 characters. For example,IAD1.

LOCATION Name of the database for theADDI project.

The LOCATION parametermust be set to the correctdatabase name of the targetMSSQL server.

(Required)

A valid value is a string 1 -16 characters.

Chapter 4. Configuring access to data sources 57

Page 72: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

Parameter Description Valid values

DDFSTATUS The DDF activation status

(Required)

ENABLE Make this DDFdefinition activewithin DataVirtualizationManager server.DDFSTATUS shouldalways be ENABLEfor TYPE(MSSQL).

DISABLE DDF endpoint isnot used. This valuedisables the MSSQLdatabase. This valueshould only be usedif the database isoff-line or otherwisenot available foraccess.

SECMEC Security mechanism. TheDRDA security mechanismfor authentication with theHIS DRDA Service for SQLServer.

The SECMEC setting forTYPE(MSSQL) must matchthe HIS DRDA Serviceconfiguration.

USRIDPWDUser ID andpassword

USRIDONLUser ID only

USRENCPWD Encrypt thepassword only

EUSRIDPWD Encrypt the user IDand password

IPADDR Specify the IPV4 or IVP6address of the target MSSQLserver.

Use DOMAIN instead ofIPADDR to supply the DNSof the target HIS DRDAServer for SQL Server. UseDOMAIN if the IPADDR orthe HIS DRDA ServiceProvider can change.

Either DOMAIN or IPADDRis required, but not both.

A valid IPV4 or IVP6address set to the correctremote IP address for thesystem running MicrosoftSQL Server.

58 IBM Data Virtualization Manager for z/OS

Page 73: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

Parameter Description Valid values

DOMAIN The part of a networkaddress that identifies it asbelonging to a particulardomain.

Use DOMAIN instead ofIPADDR to supply the DNSof the target HIS DRDAServer for SQL Server. UseDOMAIN if the IPADDR orthe HIS DRDA ServiceProvider can change.

Either DOMAIN or IPADDRis required, but not both.

No default value.

PORT The TCP/IP port defined forMicrosoft HIS DRDA ServiceProvider. For TYPE(MSSQL),the standard HIS default is446.

(Required)

A valid 1-5 numeric string.

CCSID Specify the EBCDICsingle-byte applicationCCSID (Coded Character SetIdentifier). (Required)

Refer to the Microsoft SQLServer documentation for alist of valid CCSIDs.

Refer to the ISVdocumentation on HISDRDA Service to SQL Server.For USA, this value is 037.

IDLETIME This setting is not used forTYPE(MSSQL).

0

Adding an ADDI projectPerform required configuration steps to add an ADDI project.

About this task

For multiple ADDI projects, you must perform configuration steps to define eachadditional ADDI project. The following requirements apply when maintainingmultiple ADDI projects:v For the first instance of an ADDI project:

– The database name in the must be IAD1.– The target system for the name IAD1 is automatically installed with the ADDI

maps, as described in “Installing virtual tables and virtual target maps forADDI access” on page 55.

v For subsequent ADDI projects:– It is recommended that the database name start with IAD.– The target system must start with TSIAD.

Perform the following procedure for each additional ADDI project.

Chapter 4. Configuring access to data sources 59

Page 74: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

Procedure1. Repeat the database definition in the configuration member and make the

following changes:a. Change the NAME value to a unique name (for example, IAD2).b. Change the LOCATION value to match the Microsoft SQL Server project

name containing the ADDI project you need to access.

For information about the database definition parameters, see “Modifying theconfiguration member for ADDI access” on page 56.

2. Define a new virtual target system using the studio. The name of the virtualtarget system must start with TSIAD. This can be done in the DataVirtualization Manager studio by selecting the Create Virtual Target System inthe Server tab under the SQL > Target Systems > DBMS node of the tree. Theconnection value in each definition must match the NAME value defined in theDATABASE definition in the configuration member.

3. If required, create authentication information using the AVZDRATH batchutility.

Configuring virtual table rules for ADDIConfigure Data Virtualization Manager Server Event Facility (SEF) rules to supportmultiple projects using common virtual table and view definitions.

About this task

To support multiple projects using common virtual table and view definitions, VTBrules AVZIADTB and AVZIADVW provide support to process tables starting withIAD_* and views starting with IADV_.

AVZIADTBThis table rule looks at the base view of a query for double underscores“__” and uses the data after the underscores to update the targetsubsystem for the query.

AVZIADVWThis view rule looks for the double underscores and removes them fromthe view name to process.

With the rules activated, the Data Virtualization Manager studio can suffix theview names with __SSID for all calls and process multiple ADDI projects using asingle set of maps.

These rules must be activated regardless of the number of ADDI projects to beenabled.

Use the following procedure to set up these rules.

Procedure

Use the following steps to enable rules AVZIADTB and AVZIADVW in the VTBruleset:1. In the Data Virtualization Manager server - Primary Option Menu, specify

option E, Rules Mgmt.2. Specify option 2, SEF Rule Management.3. Enter VTB for Display Only the Ruleset Named.4. Enable the rules by specifying E and pressing Enter.

60 IBM Data Virtualization Manager for z/OS

Page 75: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

5. Set the rules to Auto-enable by specifying A and pressing Enter.Setting a rule to Auto-enable activates the rule automatically when the server isre-started.

Configuring authentication for ADDIConfigure authentication for communicating with the IBM Application Discoveryand Delivery Intelligence (ADDI) project.

About this task

It is common for data centers to assign different user IDs for access to z/OS andfor access to SQL Server. By default, the server will attempt to log on to SQLServer with the same user ID that was presented for logon to z/OS. A facility isprovided in the server to optionally change the logon credentials for a user whenaccessing SQL Server.

When communicating between the Data Virtualization Manager server and theADDI project, you must define what credentials to use in MSSQL connections ifz/OS users are not defined as users to SQL Server. To accomplish this, thefollowing tools are provided:

AVZDRATHA utility that sets encrypted passwords in GLOBALU variables. Use thisutility to define alternate logon information for the Data VirtualizationManager server started task and z/OS users. This utility places SQL Serverauthentication information in GLOBALU system variables for connecting toADDI projects. You can also use this utility to list existing credentialinformation.

AVZEMSSGAn ATH rule that swaps z/OS user information with SQL Serverauthentication information defined using the AVZDRATH utility. This ruleuses AES encrypted passwords out of GLOBALU.

You can use any of the following options for authentication:v Use z/OS IDs for authenticationv Add a global default user definition using sample job AVZDRATH and enable

ATH rule AVZEMSSGv Add authentication information for specific mainframe users using sample job

AVZDRATH and enable ATH rule AVZEMSSG

Network administrators may need to open ports for DRDA communicationbetween the z/OS host and the Microsoft SQL Server machine(s) hosting ADDIprojects. The default port for Microsoft SQL Server access is 446.

If z/OS user IDs are not defined to Microsoft SQL Server, use the followingprocedure to define alternate authentication information for the started task andz/OS users requiring access to this feature:

Procedure1. Use the sample job AVZDRATH to add a global default user definition or

authentication information for specific mainframe users as follows:a. Locate the AVZDRATH member in the hlq.SAVZCNTL data set.b. Modify the JCL according to the instructions provided in the AVZDRATH

member.

Chapter 4. Configuring access to data sources 61

Page 76: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

When adding the SYSIN statements that define the alternate credentials forlogging in to your ADDI project, as instructed in the JCL, make sure tospecify the correct DBTYPE. For ADDI projects, specify DBTYPE=MSSQL.

c. Submit the job.d. Optional: To verify the information stored in the GLOBALU variables and

list existing authentication, use the REPORT=SUMMARY statement in theAVZDRATH member and submit the job.

2. Auto-enable the SEF ATH rule SAVZXATH(AVZEMSSG) to switch credentialswhen connecting to ADDI using DRDA. Global variables are used to definealternate authentication credential mapping for the SEF ATH rule.a. On the Data Virtualization Manager server - Primary Option Menu, select

option E for Rules Mgmt.b. Select option 2 for SEF Rule Management.c. Enter * to display all rules, or ATH to display only authentication rules.d. Set Auto-Enable for the AVZEMSSG rule member by entering A and

pressing Enter.

Configuring access to RAATo use IBM Rational Asset Analyzer (RAA) information for creating virtual mapsthat access VSAM and sequential data, you must configure the server for RAAaccess.

System requirements

The following system requirement applies:v IBM Rational Asset Analyzer for System z 6.1 PID5655-W57

Restrictions

The following restrictions and considerations apply when using RAA to accessVSAM and sequential data sets:v Virtual table creation is restricted to data sets in the RAA database that are

processed by COBOL programs using JCL. Data sets accessed using CICS as wellas other databases (such as IMS, CA IDMS, or Adabas) are not supported.

v Virtual table mapping is only supported through the Data VirtualizationManager studio. No batch utilities or ISPF interfaces are provided to map tables.

Configuration steps

The following configuration steps are required to use RAA to access VSAM andsequential data:1. Install virtual tables. See “Installing virtual tables and virtual target maps for

RAA access” on page 63.2. Define RAA database in the server configuration member. “Modifying the

configuration member for RAA access” on page 63.3. Activate virtual table rules. See “Configuring virtual table rules for RAA” on

page 66.4. Define credentials for target database(s). See “Configuring authentication for

RAA” on page 67.

62 IBM Data Virtualization Manager for z/OS

Page 77: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

Installing virtual tables and virtual target maps for RAAaccess

Install virtual tables and virtual target maps for IBM Rational Asset Analyzer(RAA) access.

About this task

The Data Virtualization Manager studio reads the RAA database using virtualtables and views installed as part of server set up. The following maps aredistributed in XMIT format in the SAVZSAMP member AVZRAMPD.

ZRAATSPRVirtual target system TSRAA_PROJECT1 for external subsystem namedRAA1.

ZRAAT001-ZRAAT010Virtual tables mapping tables in the RAA database. All tables use the samename as the corresponding RAA database table with a prefix of RAA_ (forexample, “DMH”.”DMH_DATA_RECORD” in DB2 has a virtual tablename of RAA_DATA_RECORD).

ZRAAV001-ZRAAV003Virtual views on the RAA_ virtual tables used by the Data VirtualizationManager studio to read RAA data. These views are all prefixed withRAAV_ (for example, RAAV_DATASETS). All data access from the studiois performed using virtual views.

These maps are not installed by default. Use the following procedure to installthese maps.

Procedure1. Locate the AVZRAMPS member in the hlq.SAVZCNTL data set.2. Modify the JCL according to the instructions provided in the AVZRAMPS

member.3. Submit the job. The virtual tables and virtual target maps are installed.

Modifying the configuration member for RAA accessEnable and configure the parameters for IBM Rational Asset Analyzer (RAA) in theData Virtualization Manager configuration member.

About this task

The Data Virtualization Manager configuration member contains a sampleDATABASE definition that defines the first RAA database.

When enabling the database definition for the first RAA instance, the LOCATIONand IPADDR parameters must be set to the database information for the DB2 onz/OS subsystem hosting the RAA database. The subsystem NAME(RAA1) shouldnot be changed because a target subsystem map is configured to use this name forthe virtual tables accessing the RAA database.

For multiple RAA databases, see “Adding an RAA database” on page 65.

Chapter 4. Configuring access to data sources 63

Page 78: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

The server member is shipped in data set member hlq.SAVZEXEC(AVZSIN00) andcopied to hlq.AVZS.SAVZEXEC(AVZSIN00) by the job in the AVZGNMP1 memberfor you to make your local modifications.

Procedure

In the AVZSIN00 member, locate the comment “IBM Rational Asset Analyzerlocation". The following example shows the section in the configuration member tolocate:/*---------------------------------------------------------------*//* DRDA definition for IBM Rational Asset Analyzer location. RAA *//* database definitions must have a NAME() starting with RAA *//*---------------------------------------------------------------*/"DEFINE DATABASE TYPE(ZOSDRDA)" ,

"NAME(RAA1)" ,"LOCATION(DRDAZOS)" ,"DDFSTATUS(ENABLE)" ,"PORT(443)" ,"IPADDR(127.0.0.1)" ,"CCSID(37)" ,"APPLNAME(DSN1LU)" ,"IDLETIME(100)"

end

The following table lists the parameters for configuring support for RAA:

Parameter Description Valid values

TYPE Database type. Because RAAstores information in DB2 forz/OS, this value must beZOSDRDA.

ZOSDRDA

NAME The database name as knownto the server.

The first definition must beRAA1 because the targetsystem map names this asthe subsystem to access forRAA.

For additional RAAdatabases, subsystems canhave any name since youmust also create a virtualtarget system to point to it;however, it recommendedthat the name start with RAA.

(Required)

A valid value consists of 1 -4 characters, starting withRAA. For example, RAA1.

LOCATION Name of the database.

The LOCATION parametermust be set to the databaseinformation for the DB2 onz/OS subsystem hosting theRAA database.

(Required)

A valid value is a string 1 -16 characters.

64 IBM Data Virtualization Manager for z/OS

Page 79: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

Parameter Description Valid values

DDFSTATUS The DDF activation status,which can be altered onlineby using the ISPF 4-DB2dialog panels. (Required)

ENABLE Make this DDFdefinition activewithin DataVirtualizationManager server.

DISABLE DDF endpoint isnot used.

PORT The TCP/IP port at whichthe server is listening.(Required)

A valid 1-5 numeric string.

IPADDR Specify the dot-notation IPV4address of the DDFendpoint.

For the first RAA instance,the IPADDR parameter mustbe set to the databaseinformation for the DB2 onz/OS subsystem hosting theRAA database.

(Optional)

If this parameter is notspecified, the value 127.0.0.1(local host) is the default.For group directordefinitions, use the DVIPA IPaddress of the groupdirector.

CCSID Specify the EBCDICsingle-byte applicationCCSID (Coded Character SetIdentifier) configured for thisRDBMS subsystem on theRDBMS installation panelDSNTIPF, option 7. (Optional)

Refer to the RDBMS vendordocumentation for a list ofvalid CCSIDs.

APPLNAME Application name. TheAPPLNAME used by thetarget endpoint for passticketgenerations. (Optional)

A valid value is 1 - 8characters. If APPLNAME isnot specified in thedefinition statement, nodefault value is providedand passticket access isdisabled.Note: APPLNAME is notrequired when connectingfrom the ODBC/JDBCdriver.

IDLETIME If DB2 ZPARM parameterIDTHTOIN is set to anon-zero value setIDLETIME to a value slightlyless (10 secs.) thanIDTHTOIN. This will alsoallow product DRDA threadsto become inactive. (DB2 forz/OS only)

0-9999 seconds.

Adding an RAA databasePerform required configuration steps to add an RAA database.

Chapter 4. Configuring access to data sources 65

Page 80: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

About this task

For multiple RAA databases, you must perform configuration steps to define eachadditional RAA database. The following requirements apply when maintainingmultiple RAA databases:v For the first instance of an RAA database:

– The database name in the must be RAA1.– The target system for the name RAA1 is automatically installed with the RAA

maps, as described in “Installing virtual tables and virtual target maps forRAA access” on page 63.

v For subsequent RAA databases:– It is recommended that the database name start with RAA.– The target system must start with TSRAA.

Perform the following procedure for each additional RAA database.

Procedure1. Repeat the database definition in the configuration member and make the

following changes:a. Change the NAME value to a unique name (for example, RAA2).b. Change the LOCATION value to reference the DB2 subsystem hosting the

RAA database.

For information about the database definition parameters, see “Modifying theconfiguration member for RAA access” on page 63.

2. If the schema (table owner) used by RAA is not ‘DMH’, update the systemglobal variable GLOBAL2.RAA.database-name.SCHEMA to the correct schemaname for the RAA database tables.

3. Define a new virtual target system using the studio. The name of the virtualtarget system must start with TSRAA. This can be done in the DataVirtualization Manager studio by selecting the Create Virtual Target System inthe Server tab under the SQL > Target Systems > DBMS node of the tree. Theconnection value in each definition must match the NAME value defined in theDATABASE definition in the configuration member.

4. If required, create authentication information using the AVZDRATH batchutility.

Configuring virtual table rules for RAAConfigure Data Virtualization Manager Server Event Facility (SEF) rules to supportmultiple instances of the IBM Rational Asset Analyzer (RAA) schema usingcommon virtual table and view definitions.

About this task

To support multiple instances of the RAA schema using common virtual table andview definitions, VTB rules AVZRAATB and AVZRAAVW provide support toprocess tables starting with RAA_* and views starting with RAAV_.

AVZRAATBThis table rule looks at the base view of a query for double underscores“__” and uses the data after the underscores to update the targetsubsystem for the query. This rule will also change the schema (or table

66 IBM Data Virtualization Manager for z/OS

Page 81: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

owner) name of RAA tables from DMH to another value if the globalsystem variable GLOBAL2.RAA.database-name.SCHEMA is set with analternate schema name.

AVZRAAVWThis view rule looks for the double underscores and removes them fromthe view name to process.

With the rules activated, the Data Virtualization Manager studio can suffix theview names with __SSID for all calls and process multiple instances of the RAAschema using a single set of maps.

These rules must be activated regardless of the number of RAA databases to beenabled.

Use the following procedure to set up these rules.

Procedure

Use the following steps to enable rules AVZRAATB and AVZRAAVW in the VTBruleset:1. In the Data Virtualization Manager server - Primary Option Menu, specify

option E, Rules Mgmt.2. Specify option 2, SEF Rule Management.3. Enter VTB for Display Only the Ruleset Named.4. Enable the ruler by specifying E and pressing Enter.5. Set the rules to Auto-enable by specifying A and pressing Enter.

Setting a rule to Auto-enable activates the rule automatically when the server isre-started.

Configuring authentication for RAAConfigure authentication for communicating with the IBM Rational Asset Analyzer(RAA) database.

About this task

Since RAA is hosted on a z/OS DB2 database, the z/OS credentials that are usedto connect to Data Virtualization Manager should also be usable for the z/OSsystem where DB2 resides. By default, the Data Virtualization Manager server willattempt to use the same user ID that was presented for logon to z/OS for access tothe RAA database. To use these credentials, the user ID must have SELECT accesson the RAA tables in DB2.

If you choose to specify alternate credentials when communicating between theData Virtualization Manager server and the RAA database, you must define whatcredentials to use. A facility is provided in the server to optionally change thelogon credentials for a user when accessing the RAA database. To accomplish this,the following tools are provided:

AVZDRATHA utility that sets encrypted passwords in GLOBALU variables. You canalso use this utility to list existing credential information.

Chapter 4. Configuring access to data sources 67

Page 82: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

AVZEDB2GAn ATH rule that switches credentials when connecting to an RAAdatabase using DRDA. This rule uses AES encrypted passwords out ofGLOBALU.

You can use any of the following options for authentication:v Use z/OS IDs for authenticationv Add a global default user definition using sample job AVZDRATH and enable

ATH rule AVZEDB2Gv Add authentication information for specific mainframe users using sample job

AVZDRATH and enable ATH rule AVZEDB2G

When z/OS user IDs and passwords are not defined on the DRDA target database,you must define the credentials to use. Use the following procedure.

Procedure1. Use the sample job AVZDRATH to add a global default user definition or

authentication information for specific mainframe users as follows:a. Locate the AVZDRATH member in the hlq.SAVZCNTL data set.b. Modify the JCL according to the instructions provided in the AVZDRATH

member.When adding the SYSIN statements that define the alternate credentials forlogging in to your RAA database, as instructed in the JCL, make sure tospecify the correct DBTYPE. For RAA databases, specify DBTYPE=ZOSDRDA.

c. Submit the job.d. Optional: To verify the information stored in the GLOBALU variables and

list existing authentication, use the REPORT=SUMMARY statement in theAVZDRATH member and submit the job.

2. Auto-enable the SEF ATH rule SAVZXATH(AVZEDB2G) to switch credentialswhen connecting to RAA using DRDA. Global variables are used to definealternate authentication credential mapping for the SEF ATH rule.a. On the Data Virtualization Manager server - Primary Option Menu, select

option E for Rules Mgmt.b. Select option 2 for SEF Rule Management.c. Enter * to display all rules, or ATH to display only authentication rules.d. Set Auto-Enable for the AVZEDB2G rule member by entering A and

pressing Enter.

68 IBM Data Virtualization Manager for z/OS

Page 83: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

Chapter 5. Installing the Data Virtualization Manager clientdrivers

Install the drivers on your development workstation that are required to accessdata made available through Data Virtualization Manager.

IBM Data Virtualization Manager for z/OS supports the following drivers:v JDBCv ODBC

Note: For details about the JDBC and ODBC drivers, see the IBM DataVirtualization Manager Developer's Guide.

Installing the JDBC driverJava-based applications and tools use the JDBC driver to access data that is madeavailable through Data Virtualization Manager.

About this task

The JDBC driver is a Type 4 driver that is written in Java and implements thenetwork protocol for the Data Virtualization Manager.

Procedure1. From the mainframe, transfer the driver installation member

hlq.SAVZBIN(AVZBIN2) to your development workstation using the FileTransfer Protocol (FTP) in binary mode.

2. Rename the file to JDBCdriver.zip.3. On your development workstation, create a directory, and then extract the

contents of the JDBCdriver.zip archive into that directory.

Installing the ODBC driverFor non-Java based applications and tools, use the ODBC driver to access data thatis made available through Data Virtualization Manager.

About this task

The installation process installs the driver, utilities, and sample programs as shownin the following table. Installation requires approximately 15 MB disk space.

Install set Components installed

Default ODBC driver and samples.

Minimal ODBC driver only, installed onto localcomputer.

Custom Allows customization of installed features

© Copyright IBM Corp. 2017 69

Page 84: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

Install set Components installed

Network Admins Only installs driver definitions on localmachine. No physical drivers are installedlocally. Drivers must already be installed onanother network machine using the NetworkInstall option.

As part of the installation procedure, you are able to specify the destination folderand whether environment variables required by the driver are available to all usersof the computer or only to the user who performs the installation.

Procedure1. From the mainframe, transfer the driver installation member

hlq.SAVZBIN(AVZBIN3) to your development workstation using the FileTransfer Protocol (FTP) in binary mode.

2. Rename the file to ODBCdriver.zip.3. On your development workstation, create a directory, and then extract the

contents of the ODBCdriver.zip archive into that directory.4. Run either the 32-bit or 64-bit version of the installer as appropriate for your

target ODBC applications, and follow the installation wizard.5. Optional: To uninstall the ODBC driver, go to Control Panel > Programs and

Features, select the Data Virtualization Manager ODBC Driver item, and clickUninstall/Change.

70 IBM Data Virtualization Manager for z/OS

Page 85: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

Chapter 6. Installing the Data Virtualization Manager studio

The Data Virtualization Manager studio is an Eclipse-based user interface thatallows you to create and manage metadata on the Data Virtualization Managerserver that is required to provide access to your mainframe and non-mainframedata.

Before you begin

Before installing the Data Virtualization Manager studio, verify that all installationprerequisites are met:

System component Requirement

Permissions You have appropriate user logon credentials and user privilegeson your client system to install the Data Virtualization Managerstudio. For example, to install the studio on Windows, you needadministrator authority; ensure that your user profile has theappropriate privileges to write to the target system location.

Supported operatingsystems

Windows 7, 8, 10

Linux – Red Hat Enterprise Linux 6.7 or higher; Ubuntu 16 orhigher

macOS (Sierra)

System memory A minimum of 4 GB is recommended.

Hard disk space A minimum of 1 GB is recommended.

Software Installing the Data Virtualization Manager studio as a plug-in toyour existing Eclipse environment requires Eclipse Kepler 4.3 (orhigher) and Java 1.7 or Java 1.8.

About this task

You can choose to install the Data Virtualization Manager studio software in a newEclipse environment (a full install) or as a plug-in within an existing Eclipseenvironment (a plug-in install):

Full installA full install installs the Data Virtualization Manager studio software in anew Eclipse environment on Windows. This method includes theinstallation of Windows Eclipse (64-bit), JRE 1.7, and the DataVirtualization Manager plug-in. This installation method is recommendedfor Windows 64-bit users who are installing the studio for the first time.

Plug-in installA plug-in install installs only the Data Virtualization Manager plug-in. Thisinstallation method is recommended for the following users:v Users on all supported platforms other than Windows 64-bitv Existing Eclipse users that want to reuse their own Java runtime and

Eclipse installationv Users wanting to upgrade their existing Data Virtualization Manager

studio installation with a newer version of the Data VirtualizationManager plug-in

© Copyright IBM Corp. 2017 71

Page 86: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

Procedure1. From the z/OS mainframe, transfer the installation member

hlq.SAVZBIN(AVZBIN1) to a folder on your workstation using the File TransferProtocol (FTP) in binary mode.

2. Rename the file to avz-studio-1.1.0.x.zip.3. Create a new installation folder for the Data Virtualization Manager studio.4. Double-click the avz-studio-1.1.0.x.zip, and then extract the contents to the

installation folder.5. In the installation folder, navigate to the studio\install folder that was

created, and then select one of the following installation methods:v To perform a full install, installing the Data Virtualization Manager studio

software in a new Eclipse environment, complete the following steps:a. In the studio\install folder, run the setup.bat script.b. After the installation completes, launch the Data Virtualization Manager

studio using the shortcut created on the desktop or in the Start menu.v To perform a plug-in install, installing the Data Virtualization Manager studio

software as a plug-in to an existing Eclipse environment, complete thefollowing steps:a. From your Eclipse application, click Help > Install New Software, and

then click Add.b. On the Add Repository dialog box, click Archive.c. Locate the dvm.zip file in the studio\install folder, and then click Open.d. Enter the software file name, a name for the repository, and then click

OK.e. Select the check box next to the software item, Data Virtualization

Manager for z/OS, and then click Next.f. Complete the remaining installation wizard steps, and then restart Eclipse

when prompted.6. To begin using Data Virtualization Manager studio, open the DV Data

perspective using the menu option Window > Open Perspective.

Verifying the studio installationVerify that you can connect from the studio to the server and browse metadata onthe server.

Procedure1. On the Server tab, click Set Server.2. Provide information for the following fields and click OK:

Field Description

Host The z/OS LPAR name on which the DataVirtualization Manager server is running.

Port The JDBC port number that the server isusing. During customization, the portnumber is specified in the serverconfiguration file; the parameter name isOEPORTNUMBER. To locate this number,use SDSF on the mainframe to browse theserver JOB output and search forOEPORTNUMBER.

72 IBM Data Virtualization Manager for z/OS

Page 87: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

Field Description

Userid The user ID that the server will use toauthenticate the connection.

User Password The password that corresponds to the userID being used to connect to the server.

The Server tab displays the new server connection. You can now browse theserver metadata and configure the interfaces for the solutions that you want touse.

Chapter 6. Installing the Data Virtualization Manager studio 73

Page 88: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

74 IBM Data Virtualization Manager for z/OS

Page 89: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

Appendix. Data sets

The following table lists the data sets that installation member INSTPAC creates.

The installation data sets have the format hlq.data_set_name_suffix, where hlq is thehigh level qualifier and data_set_name_suffix is as listed in the table.

Any data set prefixed with the subsystem ID (SSID) is a data set created duringpost-installation to allow user modification. These post-installation data sets havethe format hlq.SSID.data_set_name_suffix.

Table 5. Data sets created by INSTPAC

Data set namesuffix SMP/E data type

SMP/E datadefinition

Data setorgani-zation

Recordformat

Logicalrecordlength

Blocksize tracks

AAVZCNTL USER2 ASDBCNTL PO-E FB 80 32720 180

AAVZDBRM USER1 ASDBDBRM PO-E FB 80 32720 300

AAVZEXEC EXEC ASDBEXEC PO-E FB 80 32720 450

AAVZHTML TEXT ASDBHTML PO-E VB 32765 32760 15

AAVZHTX PRODXML ASDBHTX PO-E VB 19036 19040 15

AAVZJLOD PROGRAM ASDBJLOD PO-E U 0 6000 15

AAVZLIST UTOUT ASDBLIST PO-E FBA 133 32718 45

AAVZMAP DATA ASDBMAP PO-E FB 1024 31744 15

AAVZMLIB MSG ASDBMLIB PO-E FB 80 32720 15

AAVZMOD MOD ASDBMOD PO-E U 0 6144 1800

AAVZOBJ USER3 ASDBOBJ PO-E FB 80 32720 1275

AAVZPLIB PNL ASDBPLIB PO-E FB 80 32720 105

AAVZRPC PROGRAM ASDBRPC PO-E U 0 6000 750

AAVZSAMP SAMP ASDBSAMP PO-E FB 80 32720 270

AAVZSLIB SKL ASDBSLIB PO-E FB 80 32720 15

AAVZSWI DATA ASDBSWI PO-E FB 80 32720 30

AAVZTLIB TBL ASDBTLIB PO-E FB 80 32720 15

AAVZXATH EXEC ASDBXATH PO-E FB 80 32720 15

AAVZXCMD EXEC ASDBXCMD PO-E FB 80 32720 15

AAVZXEXC EXEC ASDBXEXC PO-E FB 80 32720 15

AAVZXGLV EXEC ASDBXGLV PO-E FB 80 32720 15

AAVZXPUB EXEC ASDBXPUB PO-E FB 80 32720 15

AAVZXRPC EXEC ASDBXRPC PO-E FB 80 32720 15

AAVZXSQL EXEC ASDBXSQL PO-E FB 80 32720 15

AAVZXTOD EXEC ASDBXTOD PO-E FB 80 32720 15

AAVZXVTB EXEC ADVSXVTB PO-E FB 80 32720 15

SAVZXATH EXEC SSDBXATH PO-E FB 80 32720 15

SAVZCLOD MOD SSDBCLOD PO-E U 0 6000 270

© Copyright IBM Corp. 2017 75

Page 90: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

Table 5. Data sets created by INSTPAC (continued)

Data set namesuffix SMP/E data type

SMP/E datadefinition

Data setorgani-zation

Recordformat

Logicalrecordlength

Blocksize tracks

SAVZXCMD EXEC SSDBXCMD PO-E FB 80 32720 15

SAVZCNTL USER2 SDBCNTL PO-E FB 80 32720 180

SAVZDBRM USER1 SSDBDBRMX PO-E FB 80 32720 15

SAVZEXEC EXEC SSDBXEXC PO-E FB 80 32720 15

SAVZEXEC EXEC SSDBEXEC PO-E FB 80 32720 450

SAVZXGLV EXEC SSDBXGLV PO-E FB 80 3 2720 15

SAVZHTML TEXT SSDBHTML PO-E VB 32756 32760 15

SAVZHTX PRODXML SSDBHTX PO-E VB 19036 19040 15

SAVZINST SMP/E does notmaintain thisdata set.

PO-E FB 80 32720 18

SAVZJLOD PROGRAM SSDBJLOD PO-E U 0 6000 15

SAVZLIST UTOUT SSDBLIST PO-E FBA 133 32718 45

SAVZLOAD MOD SSDBLOAD PO U 0 6000 4500

SAVZMAP DATA SSDBMAP PO-E FB 1024 31744 15

SAVZOBJ USER3 SSDBOBJ PO-E FB 80 32720 1125

SAVZXPUB EXEC SSDBXPUB PO-E FB 80 32720 15

SAVZXRPC EXEC SSDBXRPC PO-E FB 80 32720 15

SAVZRPC PROGRAM SSDBRPC PO-E U 0 6000 375

SAVZSAMP SAMP SSDBSAMP PO-E FB 80 32720 300

SAVZMDL1 SMP/E does notmaintain thisdata set.

SDBLMOD PO-E U 0 6000 18

SAVZMDL2 SMP/E does notmaintain thisdata set.

SDBLMOD2 PO-E U 0 6000 18

SAVZMENU MSG SHDWMLIB PO-E FB 80 32720 15

SAVZPENU PNL SHDWPLIB PO-E FB 80 32720 210

SAVZSLIB SKL SHDWSLIB PO-E FB 80 32720 15

SAVZTENU TBL SHDWTLIB PO-E FB 80 32720 15

SAVZXSQL EXEC SSDBXSQL PO-E FB 80 32720 15

SAVZXWWW DATA SSDBSWI PO-E FB 80 32720 30

SWI.OBJ1 SMP/E does notmaintain thisdata set.

PO-E VB 4092 12288 30

SAVZXTOD EXEC SSDBXTOD PO-E FB 80 32720 15

Note: SMP/E does not maintain this data set.

76 IBM Data Virtualization Manager for z/OS

Page 91: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

Accessibility features

Accessibility features help a user who has a physical disability, such as restrictedmobility or limited vision, to use a software product successfully.

The major accessibility features in this product enable users to perform thefollowing activities:v Use assistive technologies such as screen readers and screen magnifier software.

Consult the assistive technology documentation for specific information whenusing it to access z/OS® interfaces.

v Customize display attributes such as color, contrast, and font size.v Operate specific or equivalent features by using only the keyboard. Refer to the

following publications for information about accessing ISPF interfaces:– z/OS ISPF User's Guide, Volume 1

– z/OS TSO/E Primer

– z/OS TSO/E User's Guide

These guides describe how to use the ISPF interface, including the use ofkeyboard shortcuts or function keys (PF keys), include the default settings forthe PF keys, and explain how to modify their functions.

© Copyright IBM Corp. 2017 77

Page 92: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

78 IBM Data Virtualization Manager for z/OS

Page 93: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

Notices

This information was developed for products and services offered in the US. Thismaterial might be available from IBM in other languages. However, you may berequired to own a copy of the product or product version in that language in orderto access it.

IBM may not offer the products, services, or features discussed in this document inother countries. Consult your local IBM representative for information on theproducts and services currently available in your area. Any reference to an IBMproduct, program, or service is not intended to state or imply that only that IBMproduct, program, or service may be used. Any functionally equivalent product,program, or service that does not infringe any IBM intellectual property right maybe used instead. However, it is the user's responsibility to evaluate and verify theoperation of any non-IBM product, program, or service.

IBM may have patents or pending patent applications covering subject matterdescribed in this document. The furnishing of this document does not give youany license to these patents. You can send license inquiries, in writing, to:

IBM Director of LicensingIBM CorporationNorth Castle Drive, MD-NC119Armonk, NY 10504-1785US

INTERNATIONAL BUSINESS MACHINES CORPORATION PROVIDES THISPUBLICATION "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHEREXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIEDWARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY OR FITNESSFOR A PARTICULAR PURPOSE. Some jurisdictions do not allow disclaimer ofexpress or implied warranties in certain transactions, therefore, this statement maynot apply to you.

This information could include technical inaccuracies or typographical errors.Changes are periodically made to the information herein; these changes will beincorporated in new editions of the publication. IBM may make improvementsand/or changes in the product(s) and/or the program(s) described in thispublication at any time without notice.

Any references in this information to non-IBM websites are provided forconvenience only and do not in any manner serve as an endorsement of thosewebsites. The materials at those websites are not part of the materials for this IBMproduct and use of those websites is at your own risk.

IBM may use or distribute any of the information you supply in any way itbelieves appropriate without incurring any obligation to you.

Licensees of this program who wish to have information about it for the purposeof enabling: (i) the exchange of information between independently createdprograms and other programs (including this one) and (ii) the mutual use of theinformation which has been exchanged, should contact:

© Copyright IBM Corp. 2017 79

Page 94: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

IBM Director of LicensingIBM CorporationNorth Castle Drive, MD-NC119Armonk, NY 10504-1785US

Such information may be available, subject to appropriate terms and conditions,including in some cases, payment of a fee.

The licensed program described in this information and all licensed materialavailable for it are provided by IBM under terms of the IBM Customer Agreement,IBM International Program License Agreement, or any equivalent agreementbetween us.

Information concerning non-IBM products was obtained from the suppliers ofthose products, their published announcements or other publicly available sources.IBM has not tested those products and cannot confirm the accuracy ofperformance, compatibility or any other claims related to non-IBM products.Questions on the capabilities of non-IBM products should be addressed to thesuppliers of those products.

This information contains examples of data and reports used in daily businessoperations. To illustrate them as completely as possible, the examples include thenames of individuals, companies, brands, and products. All of these names arefictitious and any similarity to the names and addresses used by an actual businessenterprise is entirely coincidental.

COPYRIGHT LICENSE:

This information contains sample application programs in source language, whichillustrate programming techniques on various operating platforms. You may copy,modify, and distribute these sample programs in any form without payment toIBM, for the purposes of developing, using, marketing or distributing applicationprograms conforming to the application programming interface for the operatingplatform for which the sample programs are written. These examples have notbeen thoroughly tested under all conditions. IBM, therefore, cannot guarantee orimply reliability, serviceability, or function of these programs. The sampleprograms are provided "AS IS", without warranty of any kind. IBM shall not beliable for any damages arising out of your use of the sample programs.

TrademarksIBM, the IBM logo, and ibm.com® are trademarks or registered trademarks ofInternational Business Machines Corp., registered in many jurisdictions worldwide.Other product and service names might be trademarks of IBM or other companies.A current list of IBM trademarks is available on the Web at "Copyright andtrademark information""Copyright and trademark information"(www.ibm.com/legal/copytrade.shtmlwww.ibm.com/legal/copytrade.shtml).

Rocket is a registered trademark of Rocket Software, Inc.

Other company, product, or service names may be trademarks or service marks ofothers.

80 IBM Data Virtualization Manager for z/OS

Page 95: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

Index

Aaccessibility

overview 77ACF2 8Adabas

configuring 13Data Virtualization Manager configuration 14

analyticsconfigure 49

APF (Authorized Program Facility)LOAD library 9

AVZDFDIV member 7AVZSIN00 member 10AVZSMUTC member 7

BBig SQL

configure 32

CCA IDMS

configuring 52verify access 53

checklist, customization 3CICS

configure 47code page 9configuring

Adabas 13ADDI 55APF-authorizing 9CA IDMS 52data sources 13Data Virtualization Manager server file 10ISPF client 12RAA 62relational database management systems (RDBMS) 15security authorizations 8server component 7started task JCL 11Workload Manager (WLM) 8

ConfiguringDB2 for Distributed Relational Database Architecture

(DRDA) 22DB2 for Resource Recovery Services attachment facility

(RRSAF) 24Resource Recovery Services attachment facility

(RRSAF) 23server started task JCL 17

configuring IMSmodifying server configuration member 41server started task JCL 39

configuring sequential 44configuring System Management Facility (SMF) files 49configuring VSAM 43

modifying server configuration member 43cookie policy 79

copyingtarget libraries 9

creatingSWIOBJ data set 7system data sets 7

customization checklist 3

DdashDB

configure 33data sets

created by installation 75data sources

CA IDMS 52configuring 13configuring Adabas 13configuring relational database management systems

(RDBMS) 15sequential (using ADDI) 55sequential (using RAA) 62VSAM (using ADDI) 55VSAM (using RAA) 62

Data Studioverifying installation 72

Data Virtualization Manager server 7configuring 7installing 5naming conventions 7starting 11stopping 11

Data Virtualization Manager server file 10Data Virtualization Manager studio

download 71installing 71

DB2configure the started task 17

DBCS 9DBCTL 39

configure server configuration 39default subsystem name 10distributed databases

configure 25Distributed Relational Database Architecture (DRDA)

configuring access 17, 25double-byte character set 9downloading

components 5Downloading

studio component 71

IIBM Application Discovery and Delivery Intelligence

authentication 61configuration 55, 56, 59, 60configuring 55rules 60

IBM DB2 for z/OSconfigure access to data 16

© Copyright IBM Corp. 2017 81

Page 96: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

IBM Rational Asset Analyzerauthentication 67configuration 63, 66configuring 62rules 66

IMSconfiguring server started task JCL 39

IMS databaseconfigure access to data 39

IMS databaseconfiguring 43IMS Direct

modifying server configuration member 41installation

data sets 75system requirements 2

installingserver component 5studio component 71

ISPF client 12

JJCL

configure started task 43configuring 13, 53started task 13, 53

Llegal notices

cookie policy 79notices 79programming interface information 79trademarks 79

Linux, UNIX, and Windows databasesconfigure 34

LOAD library 9

Mmaintaining

Data Virtualization Manager server 7Microsoft SQL Server

configure 35

Nnaming conventions

Data Virtualization Manager server 7notices 79

OOracle Database Provider for DRDA

configure 36overview

Data Virtualization Manager server 1Data Virtualization Manager studio 1installation 1

Pprogramming interface information 79

QQMF DRDA Server

configure 37

RRACF 8relational database management systems (RDBMS)

configuring 15

Sscreen readers and magnifiers 77security

configure 48Security

configure 16security authorizations

ACF2 8RACF 8Top Secret Security 8

sending comments to IBM xiiisequential files

configuring 44configuring access 44

server configuration memberconfiguring for IMS Direct 41configuring for VSAM 43

server event facility (SEF)configure ADDI 60configure Big SQL 32configure dashDB 33configure Linux, UNIX, and Windows databases 34configure Microsoft SQL Server 35configure Oracle Database Provider for DRDA 36configure QMF DRDA Server 37configure RAA 66

server started task JCLconfiguring for IMS 39

SMP/E 9maintaining Data Virtualization Manager server 7

started task JCL 11SYSLOG

configuring 52system data sets

creating 7System Management Facility (SMF) files

configuring 49system requirements 2

Ttarget libraries 9Top Secret Security 8trademarks 79

Vverifying 12verifying installation

Data Studio 72VSAM

access to data 44access to VSAM data 43configure 45

82 IBM Data Virtualization Manager for z/OS

Page 97: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

VSAM (continued)configure access 43configure CICS 47configure security 48configure started task JCL 45configuring 43modifying server configuration member 43

WWorkload Manager (WLM)

configuring 8

ZzFS files

configuring 49configuring access 48configuring server started task JCL 44, 48modifying the server member 44, 48

Index 83

Page 98: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

84 IBM Data Virtualization Manager for z/OS

Page 99: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data
Page 100: IBM Data Virtualization Manager for z/OS · Configuring access to CA IDMS data ..... . 52 Configuring the server started task JCL ... . 53 V erifying access to CA IDMS data

IBM®

Printed in USA

GC27-8874-00