Havica 10
Havica 10
1.1
Installation Guide
IBM
GC27-8874-02
Note
Before using this information and the product it supports, read the information in “Product legal
notices” on page 45.
This edition applies to Version 1 Release 1 of IBM Data Virtualization Manager for z/OS and to all subsequent releases
and modifications until otherwise indicated in new editions.
Last updated: 2024-11-14
© Copyright International Business Machines Corporation 2017, 2022.
US Government Users Restricted Rights – Use, duplication or disclosure restricted by GSA ADP Schedule Contract with
IBM Corp.
© Rocket Software, Inc. 2017, 2022.
Contents
Tables................................................................................................................... v
Accessibility features.......................................................................................... 43
iii
Product legal notices........................................................................................... 45
Index.................................................................................................................. 49
iv
Tables
v
vi
About this information
This information supports IBM Data Virtualization Manager for z/OS (5698-DVM) and contains information
about the various parameters supported in Data Virtualization Manager.
System requirements
You need to consider the system requirements before you install Data Virtualization Manager server.
Load library
The load library for Data Virtualization Manager server is allocated as a partitioned 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, see the IBM z/OS
documentation.
Prerequisites
This section cover the prerequisites for installing IBM Data Virtualization Manager for z/OS.
Before you begin to install and configure IBM Data Virtualization Manager for z/OS for z/OS, familiarize
yourself with the tasks that enable you to successfully install and configure the data virtualization solution
that satisfies your requirements. The following table describes each significant perquisite task.
Procedure
1. Customize the AVZDFDIV member in hlq.SAVZCNTL to meet your requirements. The AVZDFDIV
member contains comments that describe how to customize the variables.
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 the variables.
4. Submit the AVZGNMP1 member.
Note: The map data set created in this step should be the first concatenated data set in the DD
statement AVZMAPP located in the server started task. See hlq.SAVZCNTL(AVZ1PROC). The user
and server should have read and write permissions to this data set. The system-provided data set
(hlq.SAVZSMAP) should be the last data set in the AVZMAPP concatenation. The user and server
should only have read access to the data set. The administrator will need read and write permissions.
Note:
AVZGNMP1 creates a copy of the RULES outside of SMP/E. Do not edit the SMP/E copy of these rules.
Should a new maintenance touches these rules, see HOLD ACTION for next step about updating the
rules created from running AVZGNMP1job.
5. Customize the AVZEXSWI member in hlq.SAVZCNTL to meet your requirements. The AVZEXSWI
member contains comments that describe how to customize the variables.
Note: The data set named on the RECEIVE command in the AVZEXSWI member is later used in the
server initialization member AVZSIN00 for the SWICNTLDSN parameter definition, as follows:
swiobj = SHLQ2||".SAVZXOBJ"
"MODIFY PARM NAME(SWICNTLDSN) VALUE("||swiobj||")"
2 IBM Data Virtualization Manager for z/OS: Data Virtualization Manager Installation Guide
6. Submit the AVZEXSWI member.
Procedure
To define the server and other required permissions for your security product, customize the appropriate
security option located in the hlq.SAVZCNTL library, and submit the job:
• AVZRAVDB is for IBM Resource Access Control Facility (RACF) security.
• AVZA2VDB is for CA ACF2 (Access Control Facility) security.
• AVZTSVDB is for CA Top Secret Security (TSS).
Results
The following table summarizes the access requirements by data definition name:
Make sure that your z/OS Security Administrator reviews the security definitions. You might need to
change definitions to meet requirements at your site.
Procedure
1. Create a WLM Classification rule.
a) Go to the WLM ISPF application, and select option 6 (Classification Rules).
b) Select option 1 to Create.
Procedure
The APF authorize should be done dynamically using the SETPROG APF command, and then made
permanent for the next IPL (initial program load) by updating the appropriate system PARMLIB member.
4 IBM Data Virtualization Manager for z/OS: Data Virtualization Manager Installation Guide
AVZ installation using z/OSMF workflow (Automated manner)
The automated way of AVZ installation uses a series of z/OS Management Facility (z/OSMF) workflow files
and templates to invoke z/OSMF for configuring the AVZ server and its components.
Workflows simplify and streamline the configuration of the Data Virtualization Manager by taking inputs
from the user and populate the panel fields with the values. The templates can also be submitted as
batch jobs on z/OS.
Follow the instructions mentioned in the document to install Data Virtualization Manager using automated
z/OSMF automated workflow.
Procedure
1. Go to the ISPF panel, enter option 3.4 or 3.17 and then enter the path where you want to save the
files. For example, - /user/name/.
2. On the command line enter a forward slash “/”.
The command entry panel appears.
3. Issue /bin/tar -xvf "//'hlq.sSAVZcntl(SAVZzosmf)'" .
Note: The quotes should be “double” ‘single’ ‘single’ “double”.
Results
This command will untar the zOSMF files to your current path within a sub directory/zosmf. The untar
files should be copied from /zosmf directory to the path which will be referred to while proceeding with
further steps.
Configuring workflows
This section contains detailed information about creating and configuring workflow to install AVZ.
Procedure
1. Click Workflows and select Actions->Create Workflow....
2. Provide the path to the configuration file and the variable file in the fields Workflow definition file:
and Workflow variable input file: respectively.
a) For the Workflow definition file field: enter the full qualified path to the wfAVZconfig.xml file.
b) For the Workflow variable input file field: enter the full qualified path to the AVZvarfile.txt file.
This field is optional, and specifying the AVZvarfile.txt file will automatically populate values for the
required variables in the configuration process. If you do not specify the AVZvarfile.txt file, you must
complete all mandatory fields manually. It is recommended that you specify the AVZvarfile.txt file.
3. Click Next.
4. In the continued Create Workflow page, provide the following details.
• Workflow name: Enter a name to the created workflow.
• Owner user ID: Verify the user ID shown and modify if required.
• Check Assign all steps to owner user ID.
5. Click Finish.
Creating server
This section contains the information required to declare variables and trigger the JCL jobs.
Procedure
After the workflow is created, perform the following tasks to create a server.
1. Click Declare parameters and then Perform. Provide the following values:
• High level qualifier: - Data Virtualization Manager product library: Name of the product library
e.g. CSD.QA.AVZ.
• High level qualifier for IN00: - Data Virtualization Manager server initilialization library: Name of
the IN00 file e.g. HLQ.SAVZEXEC.
• High level qualifier for INEF: - Data Virtualization Manager server initilialization library: Name of
the INEF file e.g. HLQ.SAVZEXEC.
• High level qualifier for PROC: - Data Virtualization Manager server procedure library: Name of
the procedure library e.g. HLQ.PROCLIB.
• APF Authorization DSN LIB 1: - Data Virtualization Manager Server APF for 1st DSN LIB name:
APF authorization library name e.g. HLQ.SAVZLOAD.
• APF Authorization DSN LIB 2: - Data Virtualization Manager Server APF for 2nd DSN LIB name:
APF authorization library name e.g. HLQ.SAVZRPC.
• Server started task identifier: - Started task ID: Name of the created server e.g. AVZA
• UNIT: - DASD unit for work data set: The type of unit to use for allocating temporary data sets. The
valid values are SYSDA, SYSALLDA, VIO, and the default value is SYSDA.
• UNIT: - DASD unit for CREATE data set: The type of unit to use for allocating temporary data sets.
The valid values are SYSDA, SYSALLDA, VIO, and the default value is SYSALLDA.
6 IBM Data Virtualization Manager for z/OS: Data Virtualization Manager Installation Guide
• Region size: - Region size the server will use: The region size of the server. The default value is 0M.
• Virtual storage: - Virtual storage above the bar: The virtual storage in megabytes, for the server.
The default value is 200M.
Click Next, and provide the following values.
• Trace file primary quantity: - Trace file primary space allocation: Trace file primary quantity in
cylinders.
• Trace file secondary quantity: - Trace file secondary space allocation: Trace file secondary
quantity in cylinders.
• Global variable checkpoint file primary quantity: - Global variable checkpoint file primary space
allocation: Global variable checkpoint file primary quantity in cylinders.
• Global variable checkpoint file secondary quantity: - Global variable checkpoint file secondary
space allocation: Global variable checkpoint file secondary quantity in cylinders.
• Maximum number of messages: - Maximum messages: Trace file message size.
• IN00 configuration member: - Started task IN00: Product initialization REXX program. The default
value is AVZSIN00.
• Server started task identifier: - Started task INEF: Sample SEF initialization REXX program. The
default value is AVZ1INEF.
• Proc configuration member: - Started task PROC: Creates a member to generate proc for the user.
• Server proc name: - Server started task proc name: Server task proc name. This value is
mandatory, and the default value is AVZ1PROC.
• TCP/IP OE Port: - OE Port Number: Listening TCP/IP port number for the server. This value is
required.
• Web Services Port: - Web Services Port: Web Service port number that the studio client uses to
communicate with the server. This value is required. The default value is 1201.
• SMF record number: - SMF Record Number: Indicates the SMF record type to be created. This
value is optional, and the default value is 249.
• Enable IAM support: - Enable support for IAM VSAM files: This parameter specifies whether to
call the interface module for IAM support to analyze keys and set ranges for MapReduce. Valid
values are Yes and No, and the default value is No.
Click Next, and provide the following values.
• Db2 high level qualifier: - Db2 subsystem library: Library for Db2 subsystem.
• Db2 SSID: - Db2 Subsystem Identifier : Db2 subsystem name. The default value is DSN1.
• Subsystem port number: - Db2 subsystem port number: Port number for DRDA access. This value
is required, and the default value is 443.
• Db2 DDF Status: - Db2 Subsystem Status : DDF status to Db2 database subsystems. The default
value is ENABLE.
• Db2 DDF Location: - Db2 Subsystem Location : Location of the Db2 subsystem, and the default
value is DEV1DSN1.
• Domain name: - Subsystem domain name: Domain name of the Db2 subsystem being configured.
This value is optional, and the default value is DB2DOMAIN.
• CCSID value: - Db2 subsystem CCSID value: CCSID value of the Db2 subsystem being configured.
The CCSID value can be found in the Db2 installation panel DSNTIPF, option 7. The default value is
37.
• LU Name: - Dbe subsystem LU name: LU name of the Db2 subsystem to be used for RACF pass
ticket generation. This value can be found in the master address space of the subsystem configured
or by issuing the command DISPLAY DDF. The default value is DSN1LU.
• Bind owner: - Db2 plan BIND owner: Db2 user ID used as the owner in the BIND job. The default
value is DB2USER.
Results
Once you complete the steps 1-7, the JCL files are submitted and the server with the given settings is
created.
8 IBM Data Virtualization Manager for z/OS: Data Virtualization Manager Installation Guide
• HLQ.AVZID.SYSCHK1.DATA
• HLQ.AVZID.TRACE
• HLQ.AVZID.TRACE.DATA
3. Server Initialization: This step customizes the AVZIN00.template. On submitting this template, it
will generate AVZxIN00 and AVZxINEF files. This template customizes the server parameter file
AVZxIN00, where AVZx is the four-character AVZ ID used in customizing the server. This file contains
parameters that the server uses to access the data sources. The customized batch job is copied to the
hlq.SAVZEXEC product data set, where hlq is the high level qualifier of the product data sets.
4. Data Virtualization Manager APF Authorization: This step performs APF authorization of load and
RPC libraries that are required for the Server. APF Authorization is done dynamically using SETPROG
command. This step also creates a member called APFATH in HLQ.AVZID.SAVZXAPF dataset. The
content of APFATH must be copied to SYSIBM.PARMLIB by system administrator to retain APF
authorization of LOAD and RPC libraries even after an IPL is completed.
5. Data Virtualization Manager server proc: This step customizes the AVZServer.template. This template
customizes the server started task proc AVZIDPROC, where AVZID is the four-character ID used in
customizing the server. This is the server that is started when using the Data Virtualization Manager.
The customized batch job is stored in the hlq.SAVZCNTL product data set, where hlq is the high level
qualifier of the product data sets.
6. Data Virtualization Manager bind job for CAF/RRSAF: This is an optional step. This step customizes
the AVZbindc.template. This template creates and runs a bind job when using Db2 for CAF/RRSAF.
This customized bind job is stored in the hlq.SAVZCNTL product data set, where hlq is the high level
qualifier of the product data sets. It generates the data set hlq.SAVZDBRM.
7. Data Virtualization Manager bind job for DRDA: This is an optional step. This step customizes the
templateAVZbindd.template. This template creates and runs a bind job when using Db2 for DRDA.
This customized bind job is stored in the hlq.SAVZCNTL product data set, where hlq is the high level
qualifier of the product data sets. Note that Db2 Bind and DRDA job expects plan or packages to be
available during plan or package free step, otherwise a return code of 08 is shown for the first time.
10 IBM Data Virtualization Manager for z/OS: Data Virtualization Manager Installation Guide
No Variables Description Template Used
3 AVZTRCP This parameter defines AVZFiles.template
the primary quantity in
cylinders for the trace
file. The trace file must
be large enough to
contain the number of
messages specified in
the parameter Maximum
rows to contain.
4 AVZTRCS This parameter defines AVZFiles.template
the secondary quantity
in cylinders for the trace
file.
5 AVZAPPL This parameter specifies AVZIN00.template
location of the tDb2
subsystem that the
server is to use as a data
source.
6 AVZCHKP This parameter defines AVZFiles.template
the primary quantity in
cylinders for the trace
file. The trace file must
be large enough to
contain the number of
messages specified in
the parameter Maximum
rows to contain.
7 AVZCHKS This parameter defines AVZServer.template,
the secondary quantity AVZFiles.template
in cylinders for
the global variable
checkpoint file.
8 AVZBMAX This parameter specifies AVZIN00.template
the maximum number
of messages to retain
in the trace file. As the
server processes data,
messages are written
to the trace file. Older
messages roll off as
newer messages are
written. This value is
required. The default
value is 300000
12 IBM Data Virtualization Manager for z/OS: Data Virtualization Manager Installation Guide
No Variables Description Template Used
14 AVZSMFR This parameter specifies AVZIN00.template
the SMF number for
the server to use as
it creates SMF records.
This value is optional.
Leaving this value blank
will result in writing
no SMF records by
the server. For more
information in SMF
subtype records, refer to
the user guide. There is
no default value.
15 AVZIAM This parameter specifies AVZIN00.template
whether to call the
interface module for
IAM support to analyze
keys and set ranges for
MapReduce. Valid values
are Yes and No. The
default value is No.
16 AVZDB2SSID This parameter specifies AVZIN00.template
the Db2 subsystem
name that the server is
to use as a data source.
17 AVZDB2PORT This parameter specifies AVZIN00.template
the port number to use
for DRDA access for this
subsystem. This value
is required. The default
value is 443.
18 AVZDB2DDF This parameter specifies AVZIN00.template
whether DDF status
to DB2 database
subsystems is enabled.
19 AVZDB2DN This parameter specifies AVZIN00.template
the fully-qualified name
that identifies the
domain name of the
Db2 subsystem being
configured. The domain
name is used instead
of the IP address. This
value is optional. There
is no default value.
14 IBM Data Virtualization Manager for z/OS: Data Virtualization Manager Installation Guide
No Variables Description Template Used
26 AVZIN00 This variable will create AVZIN00.template
the member to specify
the product initialization
REXX program.
27 AVZINEF This variable will AVZIN00.template
create the member
to specify the sample
SEF initialization REXX
program.
28 AVZSERV This parameter will AVZServer.template
create a member to
generate the proc for the
user.
29 AVZDB2CONNID This parameter specifies AVZbindd.template
the Db2 connection ID.
30 AVZDSNTEP2 This parameter specifies AVZbindd.template
the Db2 plan name.
31 DSNSYS This parameter specifies AVZbindd.template,
the Db2 subsystem AVZbindc.template
name.
32 UNIT1 This parameter specifies AVZFiles.template
the type of unit to
use for allocating create
data sets. This value
is required. The default
value is SYSALLDA.
33 APFLIB1 LOAD file for APF AVZfiles.template
Authorization
AVZAPFAUTH.template
Procedure
1. Locate the Data Virtualization Manager configuration member. The server initialization member is
shipped in data set member hlq.SAVZEXEC(AVZSIN00) and may have been copied to a new data set
for customization in the step “Copying target libraries” on page 4.
2. In the member, locate the DEFINE DATABASE statement for your subsystem, and verify that the
CCSID value is set correctly for the subsystem.
3. Locate the comment Set CCSID for non-DB2 data, as shown in the following example:
/*-------------------------------------*/
/* Set CCSID for non-DB2 data */
/*-------------------------------------*/
if DoThis then
do
"MODIFY PARM NAME(SQLENGDFLTCCSID) VALUE(1047)"
16 IBM Data Virtualization Manager for z/OS: Data Virtualization Manager Installation Guide
Procedure
1. Find the line that contains “SHLQ” and provide your own high-level qualifier to define the ISPF data
sets. For example: “SHLQ=AVZ”
2. If you created copies of your target libraries to preserve customizations, find the line that contains
“SHLQ2” and provide your own high-level qualifier to define the Event Facility (SEF) data sets. Ensure
that the HLQ results in proper data set references for these features.
For example: “SHLQ2=AVZ.AVZS”. If you did not create copies of the target libraries, then "SHLQ2"
should contain the same value as "SHLQ1".
3. Review the following default values for the TCP/IP parameters and change the values as necessary.
The following example shows the section of the initialization member in which to make the changes:
Procedure
1. 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. Include a job step that invokes BPXTCAFF. BPXTCAFF is invoked as a job step in front of an existing
program in a started procedure or submitted job stream. For example:
Note: This step is required only if you are running multiple TCP/IP stacks.
The desired transport is specified with the PARM= keyword and must be 1 to 8 uppercase characters.
If PARM= is not supplied, or is blank, then the address space's transport affinity will be reset to no
transport selected. This can also be specified as PARM=&VAR, where VAR is a PROC keyword that is
passed in from the Start command or is a static system symbol.
BPXTCAFF sets transport affinity for an address space for the duration of that address space or
job. This affinity persists over job steps within the job, persists over UNIX process termination and
redubbing, and applies to all UNIX processes running within that address space.
3. Confirm that the SYSEXEC DD statement allocates the correct data set name that contains
the customized server initialization member AVZSIN00. This data set was created in job
AVZGNMP1 previously in the step “Creating server data sets” on page 2. The default name is
hlq.SAVZEXEC(AVZSIN00).
Note:
AVZGNMP1 creates a copy of the SEF RULESET (ATH, CMD,EXC, RPC, SQL, TOD, VTB) dataset
outside of SMP/E for entry into the configuration of the server IN00 under the DEFINE RULESET
section. Do not edit the SMP/E copy for these rules. If a new maintenance affects these rules, see
HOLD ACTION for next step about updating the rules created from running AVZGNMP1job.
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.
Procedure
1. 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 the hlq.SAVZLOAD library:
llib='hlq.SAVZLOAD'
2. Copy the hlq.SAVZEXEC(AVZ) member to a data set that is allocated to the SYSPROC 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 17
3. To invoke the ISPF application, go to the ISPF command shell and enter the following command:
EX ‘hlq.SAVZEXEC(AVZ)’ ‘SUB(AVZS)’
Where:
• hlq is the high level qualifier.
• AVZS is the subsystem name of the server instance you defined.
All ISPF clients will communicate with the specified subsystem.
18 IBM Data Virtualization Manager for z/OS: Data Virtualization Manager Installation Guide
Configuring generation data set retrieval
You can configure the server to read only a subset of generation data sets (GDSs) by activating a VTB rule.
GDG__NumGens_RelGen_MapName
Where:
• GDG__ is a constant indicating a generation data set request.
• NumGens is a required number 0 through 999 indicating the number of generations to read.
• RelGen is an optional number 0 through 999 indicating the relative generation at which to start reading.
A value of 0 is equivalent to a suffix of (0) in a JCL allocation; a value of 1 is equivalent to (-1), and so on.
• MapName is the table defined in the map data set.
For example, the following request will result in generations HLQ.GDG.STAFF(-3) through
HLQ.GDG.STAFF(-6) being retrieved:
Where the STAFF table specifies a base data set name of HLQ.GDG.STAFF. In other words, with this
request, four generations will be read in descending generation order beginning with relative generation 3
(that is, generations 3, 4, 5, and 6).
Use the procedure in this task to enable sample rule AVZGDGS1.
Additional details:
When a request is made to allocate a data set, it will first be determined if the data set name represents
a GDG base name. If so, a CSI lookup call will be made to return the associated GDS data set names.
If a VTB rule does not specify the number of generations to read and MapReduce is disabled, or if
there is a single generation, the GDG will be allocated using its base data set name, and normal system
concatenation of generation data sets will occur. If MapReduce is enabled and there are multiple active
generation data sets, a number of I/O processing tasks will be created. The number of I/O tasks is
determined as follows:
1. If VPD is in use, the number of VPD I/O threads specified.
2. If MRC is in use, the number of active Client threads defined in the MRC request.
3. If neither VPD nor MRC is in use, the number of I/O threads will be equal to the lesser of the following:
• The number of active generation data sets in the GDG
• The number of generations requested by a VTB rule
• The number of MapReduce tasks specified in the ACIMAPREDUCETASKS configuration
When the number of I/O tasks is equal to or less than the number of generation data sets, each task will
read one or more complete data sets. When the number of I/O tasks exceeds the number of generation
data sets, some tasks will be idle.
Procedure
1. Customize the Data Virtualization Manager configuration member (AVZSIN00) to enable virtual table
rule events by configuring the SEFVTBEVENTS parameter in the member, as follows:
Procedure
1. Customize the Data Virtualization Manager configuration member (AVZSIN00) to enable virtual table
rule events by configuring the SEFVTBEVENTS parameter in the member, as follows:
20 IBM Data Virtualization Manager for z/OS: Data Virtualization Manager Installation Guide
VTB variable Description
vtb.optbdlch Set the character field or string delimiter. The default value is the
quotation mark character ("). For example, if you use the hash
character (#) as the string delimiter, specify vtb.optbdlch =
'#'.
vtb.optbdlhr Set to 1 to identify and remove the header record containing
column names. If specified without a header prefix, the system
compares the first token in each line to the first column name in
the table to recognize and discard the header. The default is no
header checking.
vtb.optbdlhp Define prefix data that identifies the beginning of a header line
to be discarded. The specified value can contain a maximum
of 32 bytes. This value is compared to the beginning of each
delimited line of data before any tokenization is performed. For
example, vtb.optbdlhp = '"NAME","ADDRESS"'.
Note: If an optbdlhp value is defined, it supersedes any
optbdlhr setting and the optbdlhr value is ignored.
Procedure
1. Add the following line to the IN00 file.
Results
Verify the configuration of the parameter ALTSTARTEDTASKID in the server trace. To open the server
trace, select option B Server Trace from the ISPF primary menu.
Procedure
1. 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 the sample VSAM file.
The job should complete with a condition code of 0.
2. Create the staffvs virtual table. Run the AVZIVVS1 member in the hlq.SAVZCNTL data set to
perform a batch extract of the sample VSAM file listing and create a virtual table that formats the
result set that is returned from the VSAM file.
This step runs a query against the sample VSAM file. The job should complete with a condition code of
0.
Procedure
1. From the ISPF Primary Option Menu, enter the option 6 and press ENTER.
2. Enter the following command in the ISPF Command Shell:
• If you are only using the Data Virtualization Manager server:
'hlq.SAVZEXEC(AVZ)' 'SUB(AVZS)'
where hlq is your high-level qualifier, SUB (AVZS) specifies the subsystem name for the
Data Virtualization Manager server, and TBSSID(AVZS) specifies the subsystem name for the
Instrumentation Server.
Results
The Primary Option Menu panel is displayed. This panel specifies the ID of the subsystem to which
you are connected and information about the product version. From this panel, you access all of the
functionality in the product.
22 IBM Data Virtualization Manager for z/OS: Data Virtualization Manager Installation Guide
. . . . . . . . . . . . . . . . . . . . . . . . . . .
IBM Data Virtualization Manager for z/OS
Option ===>
F1=HELP F2=SPLIT F3=END F4=RETURN F5=RFIND F6=RCHANGE
F7=UP F8=DOWN F9=SWAP F10=LEFT F11=RIGHT F12=RETRIEVE
As part of the installation procedure, you are able to specify the destination folder and whether
environment variables required by the driver are available to all users of the computer or only to the
user who performs the installation.
Procedure
1. Go to IBM Fix Central page - https://www.ibm.com/support/fixcentral/.
2. Under Find Product section, in the Product Selector list, select IBM Data Virtualization Manager for
z/OS, and then press Enter.
3. In the Installed Version list, select a required version number.
4. In the Platform list, select All and then click Continue.
The Identify fixes page is displayed.
5. Click Browse for Fixes option and then click Continue.
6. Select ODBC and then click dvm-odbc-linux-windows-<version>.zip file to download.
7. On your development workstation, create a directory.
8. Double-click the dvm-odbc-linux-windows-<version>.zip file, and then extract the contents
to the directory.
ODBC installers for the following platforms are extracted to the directory:
• Red Hat Enterprise Linux (RHEL)
What to do next
For details the ODBC driver, see the IBM Data Virtualization Manager Developer Guide.
Related tasks
Installing OBDC docker file for zCX
The ODBC driver is built on Ubuntu 18.04 version and delivered as a docker file. You should have atleast
Ubuntu 18.04 version or above to use this feature.
Installing the JDBC driver
Java-based applications and tools use the JDBC driver to access data that is made available through IBM
Data Virtualization Manager for z/OS.
cat /etc/os-release
NAME="Ubuntu"
VERSION="18.04.4 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.4 LTS"
VERSION_ID="18.04"
Linux abcd 4.15.0-99-generic #100-Ubuntu SMP Wed Apr 22 20:31:47 UTC 2020 s390x s390x s390x
GNU/Linux
Procedure
1. Download and install the Docker desktop application from https://www.docker.com/products/docker-
desktop.
2. Place the provided ODBC Dockerfile file and the ODBC driver file (AVZ_ODBC-3.x.x-zLinux-x64.tar.gz
file) in a folder and run the following docker build command to build the ODBC driver docker image:
3. After the docker build command execution is completed, execute the following command to view the
available docker images:
docker images
4. Execute the following docker run command to run the created docker image:
26 IBM Data Virtualization Manager for z/OS: Data Virtualization Manager Installation Guide
docker run -it odbcdriver bash
[ABCD_DEBUG]
Driver=Data Virtualization Manager 64-bit Debug Driver 3.2
HOST=
PORT=
LINK=TCPIP
DBTY=DVS
SUBSYS=NONE
UID=
PWD=
TRACEFLAG=DEBUG SQL DATA BUFFER NETWORK LOCK SYS
TRACEPATH=/root/errlog.txt
[ABCD]
Driver=Data Virtualization Manager 64-bit Debug Driver 3.2
HOST=
PORT=
LINK=TCPIP
DBTY=DRDAorDB2
SUBSYS=DSN1
UID=
PWD=
TRACEFLAG=DEBUG SQL DATA BUFFER NETWORK LOCK SYS
TRACEPATH=/root/errlog.txt
import pyodbc
conn = pyodbc.connect('DSN=ABCD_DEBUG')
conn.setencoding(unicode,encoding='utf-8', ctype=pyodbc.SQL_CHAR)
conn.setdecoding(pyodbc.SQL_CHAR,encoding='utf-8', ctype=pyodbc.SQL_CHAR)
cursor = conn.cursor()
cursor.execute("select ZIP,CITY,STATE from us_zipcodes limit 10")
Note: Python 2.7.17 has issues handling in decimal values other than 0-9. For handling decimal values,
use Python 3.6.9.
import pyodbc
conn = pyodbc.connect('DSN=ABCD_DEBUG')
conn.setencoding(encoding='utf-8', ctype=pyodbc.SQL_CHAR)
conn.setdecoding(pyodbc.SQL_CHAR,encoding='utf-8', ctype=pyodbc.SQL_CHAR)
cursor = conn.cursor()
cursor.execute("select * from us_zipcodes limit 10")
Procedure
1. Provide the SQL query in the input.txt file.
2. Execute the query using the following command.
Where ABCD_DEBUG is the DSN name, input.txt is the input file that contains the query, and the
output.txt is the file where the output must be stored.
Example
For the following example, the query given in the input file is select * from us_zipcodes limit
10.
vi output.txt
01001 AGAWAM MA 15338 72.622739 42.070206
01002 CUSHMAN MA 36963 72.515650 42.377017
01005 BARRE MA 4546 72.108354 42.409698
01007 BELCHERTOWN MA 10579 72.410953 42.275103
01008 BLANDFORD MA 1240 72.936114 42.182949
01010 BRIMFIELD MA 3706 72.188455 42.116543
01011 CHESTER MA 1688 72.988761 42.279421
01012 CHESTERFIELD MA 177 72.833309 42.381670
01013 CHICOPEE MA 23396 72.607962 42.162046
01020 CHICOPEE MA 31495 72.576142 42.176443
Procedure
1. Go to IBM Fix Central page - https://www.ibm.com/support/fixcentral/.
2. Under Find Product section, in the Product Selector list, select IBM Data Virtualization Manager for
z/OS, and then press Enter.
28 IBM Data Virtualization Manager for z/OS: Data Virtualization Manager Installation Guide
3. In the Installed Version list, select a required version number.
4. In the Platform list, select All and then click Continue.
The Identify fixes page is displayed.
5. Click Browse for Fixes option and then click Continue.
6. Select JDBC and then click dvm-jdbc-<version>.zip file to download.
7. On your development workstation, create a directory.
8. Double-click the dvm-jdbc-<version>.zip file, and then extract the contents to the directory.
What to do next
For details about the JDBC driver, see the Developer Guide.
Related tasks
Installing the ODBC driver
For non-Java based applications and tools, use the ODBC driver to access data that is made available
through IBM Data Virtualization Manager for z/OS.
Installing OBDC docker file for zCX
The ODBC driver is built on Ubuntu 18.04 version and delivered as a docker file. You should have atleast
Ubuntu 18.04 version or above to use this feature.
Software Installing the IBM Data Virtualization Manager studio as a plug-in to your
existing Eclipse environment requires Eclipse Kepler 4.3 (or higher) and Java
1.7 or Java 1.8.
Procedure
1. Go to IBM Fix Central page - https://www.ibm.com/support/fixcentral/.
Procedure
On installing, if you enter N when prompted, a default workspace will appear, but you can change the
workspace anytime. Perform the following steps to change the workspace.
1. In the File menu, select Switch Workspace > Other. The Select a Workspace as Directory dialog box
appears.
2. In the Workspace list, select the workspace or Browse the required workspace.
3. Click Launch.
32 IBM Data Virtualization Manager for z/OS: Data Virtualization Manager Installation Guide
Related tasks
Verifying the studio installation
Verify that you can connect from the studio to the server and browse metadata on the server.
Changing the language used in studio
You can change the language used in the user interface of the IBM Data Virtualization Manager studio
from English to Japanese. This topic covers the steps to change the language used in IBM Data
Virtualization Manager studio.
Procedure
1. 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 Data Virtualization Manager server is running.
Port The JDBC port number that the server is using. During customization, the port
number is specified in the server configuration file; the parameter name is
OEPORTNUMBER. To locate this number, use SDSF on the mainframe to browse
the server JOB output and search for OEPORTNUMBER.
Userid The user ID that the server will use to authenticate the connection.
User Password The password that corresponds to the user ID being used to connect to the server.
The Server tab displays the new server connection. You can now browse the server metadata and
configure the interfaces for the solutions that you want to use.
Related tasks
Changing the workspace in studio
You can change the workspace in the IBM Data Virtualization Manager studio from default workspace to
any workspace. This topic outline the steps to change the workspace.
Changing the language used in studio
You can change the language used in the user interface of the IBM Data Virtualization Manager studio
from English to Japanese. This topic covers the steps to change the language used in IBM Data
Virtualization Manager studio.
Procedure
By default, English language is used in IBM Data Virtualization Manager studio. Perform the following
steps to change the language to Japanese:
1. Edit the <studio_install_directory>\eclipse\eclipse.ini configuration file to add the
following parameters:
• Set the -Duser.language parameter as ja.
• Set the -Duser.country parameter as JP.
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20140116-2212
-product
org.eclipse.epp.package.java.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms40m
-Xmx512m
-Duser.language=ja
-Duser.country=JP
...
...
-Xms40m
-Xmx512m
#-Duser.language=ja
#-Duser.country=JP
Related tasks
Changing the workspace in studio
You can change the workspace in the IBM Data Virtualization Manager studio from default workspace to
any workspace. This topic outline the steps to change the workspace.
Verifying the studio installation
Verify that you can connect from the studio to the server and browse metadata on the server.
34 IBM Data Virtualization Manager for z/OS: Data Virtualization Manager Installation Guide
Chapter 4. Installing JDBC Gateway
The JDBC Gateway is a IBM Data Virtualization Manager for z/OS distributed application server that allows
direct connectivity to JDBC data sources. Install the JDBC Gateway to connect directly to JDBC data
sources.
export IBM_JAVA_OPTIONS="-Dfile.encoding=ISO8859-1"
export _BPXK_AUTOCVT=ON
When the installer generates start and stop scripts, the following actions occur depending on these
variables:
• If you have not set the recommended environment variables, the scripts will be generated in EBCDIC.
You can run the gateway as normal for Unix using the following command: sh startServer.sh
• If you set the IBM_JAVA_OPTIONS variable, the scripts will be generated in ASCII, and you will need
to use the following command: chtag -tc ISO8859-1 <file>. (Tagging in USS basically means
_BPXK_AUTOCVT must be ON if you want to edit or execute the script in the shell.)
Files generated by the JDBC Gateway, such as log files and the jgate.properties file, will
be generated in ASCII regardless of the aforementioned environment variable settings (except for
jetty.out, which is in EBCDIC). In order to browse these files natively in USS, you must use the chtag
command and set _BPXK_AUTOCVT=ON.
Procedure
1. Go to IBM Fix Central page - https://www.ibm.com/support/fixcentral/.
2. Under Find Product section, in the Product Selector list, select IBM Data Virtualization Manager for
z/OS, and then press Enter.
3. In the Installed Version list, select a required version number.
4. In the Platform list, select All and then click Continue.
The Identify fixes page is displayed.
5. Click Browse for Fixes option, enter the value for the selected option and then click Continue.
6. Select JDBC Gateway and then click dvm-jdbc-gateway-<version>.zip file to download.
7. On your host machine, create a directory to host the JDBC Gateway, and then extract the contents of
the installation file into that directory.
The extracted contents will include the JDBCGatewaySetup11.jar file.
Note: If your host machine does not have an unzip utility, extract the contents of the installation file on
a Windows workstation and copy the JDBCGatewaySetup11.jar file to the host machine.
8. At a command prompt in the directory, run the following command:
36 IBM Data Virtualization Manager for z/OS: Data Virtualization Manager Installation Guide
Prompt Description
You are about to install JDBC Enter Y to continue with the installation, or enter
Gateway. Do you want to proceed? n to cancel the installation.
(Y/n)
Specify the application data Enter the path of the directory for Application
directory: Data, or press Enter to use the default value as
indicated. The default value-
for windows: C:\Users\abcuser
for USS: /u/abcuser
Specify the installation directory Enter the path of the directory where to install
(local directory\JDBCGateway): the application, or press Enter to use the default
value as indicated.
Set login for JDBC Gateway admin Web Enter the user ID to be used for the JDBC
page (admin): Gateway administrative console, or press Enter
to use the default value admin.
Set password for JDBC Gateway admin Enter the password for the administrative console
Web page: user ID. The password must be at least five
characters in length.
Confirm your password: Re-enter the password for the administrative
console user ID.
Set port for the Web UI (8080): Enter the number of an available TCP/IP port
for the application, or press Enter to use the
default value 8080. This port number will be used
when launching the JDBC Gateway administrative
console.
Installation completed. Do you want Enter Y to start the server, or enter n to exit the
to start the JDBC Gateway now? (Y/n) installation.
Note: If you enter Y, the server starts within the
same shell.
Results
The JDBC Gateway has been installed and is ready for use. Information about the activity of the JDBC
Gateway is available in the Java Console and in the log files.
If you specified to start the server, information about the startup process is displayed.
What to do next
See Using JDBC Gateway.
Procedure
1. Install the AVZ server. See “Installing and configuring the server” on page 4.
2. Modify the AVZ initialization EXEC.
Use the MODIFY PARM command to set following parameters located in the AVZ initialization EXEC,
xVZyIN00:
//AVZLIB DD DSN=HLQ.SAVZCLOD,DISP=SHR
.
.
CHANGE BROKER(AVZACI) <--CHANGING THE DEFAULT NAME
INCLUDE AVZLIB(AVZCICIS) FOR AVZ ACI STUB
INCLUDE NATLIB(NATLAST) FINAL INCLUDE
You must add AVZACI as a CSTATIC parameter, as shown in the following example:
CSTATIC=(CMMSG,AVZACI)
b) Link the AVZRBIS stub into your Natural Batch nucleus, using the following example:
//AVZLIB DD DSN=HLQ.SAVZLOAD,DISP=SHR
.
.
CHANGE BROKER(AVZACI) <--CHANGING THE DEFAULT NAME
INCLUDE AVZLIB(AVZRBIS) FOR AVZ ACI STUB
INCLUDE NATLIB(NATLAST) FINAL INCLUDE
You must add AVZACI as a CSTATIC parameter, as shown in the following example:
CSTATIC=(CMMSG,AVZACI)
This entry should follow the first of the following statements to ensure that the AVZCTRUI will be
executed in phase 2 of the CICS PLTI process:
40 IBM Data Virtualization Manager for z/OS: Data Virtualization Manager Installation Guide
PLTPI=xx
For license inquiries regarding double-byte (DBCS) information, contact the IBM Intellectual Property
Department in your country or send inquiries, in writing, to:
The following paragraph does not apply to the United Kingdom or any other country where such
provisions are inconsistent with local law: INTERNATIONAL BUSINESS MACHINES CORPORATION
PROVIDES THIS PUBLICATION "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR
IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF NON-INFRINGEMENT,
MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Some states do not allow disclaimer of
express or implied warranties in certain transactions, therefore, this statement may not apply to you.
This information could include technical inaccuracies or typographical errors. Changes are periodically
made to the information herein; these changes will be incorporated in new editions of the publication.
IBM may make improvements and/or changes in the product(s) and/or the program(s) described in this
publication at any time without notice.
Any references in this information to non-IBM Web sites are provided for convenience only and do not in
any manner serve as an endorsement of those Web sites. The materials at those Web sites are not part of
the materials for this IBM product and use of those Web sites is at your own risk.
IBM may use or distribute any of the information you supply in any way it believes appropriate without
incurring any obligation to you.
Licensees of this program who wish to have information about it for the purpose of enabling: (i) the
exchange of information between independently created programs and other programs (including this
one) and (ii) the mutual use of the information which has been exchanged, should contact:
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 material available for it are provided
by IBM under terms of the IBM Customer Agreement, IBM International Program License Agreement, or
any equivalent agreement between us.
Information concerning non-IBM products was obtained from the suppliers of those products, their
published announcements or other publicly available sources. IBM has not tested those products and
cannot confirm the accuracy of performance, compatibility or any other claims related to non-IBM
products. Questions on the capabilities of non-IBM products should be addressed to the suppliers of
those products.
This information contains examples of data and reports used in daily business operations. To illustrate
them as completely as possible, the examples include the names of individuals, companies, brands, and
products. All of these names are fictitious and any similarity to the names and addresses used by an
actual business enterprise is entirely coincidental.
COPYRIGHT LICENSE:
This information contains sample application programs in source language, which illustrate programming
techniques on various operating platforms. You may copy, modify, and distribute these sample programs
in any form without payment to IBM, for the purposes of developing, using, marketing or distributing
application programs conforming to the application programming interface for the operating platform
for which the sample programs are written. These examples have not been thoroughly tested under
all conditions. IBM, therefore, cannot guarantee or imply reliability, serviceability, or function of these
programs. The sample programs are provided "AS IS", without warranty of any kind. IBM shall not be
liable for any damages arising out of your use of the sample programs.
Trademarks
IBM, the IBM logo, and ibm.com® are trademarks or registered trademarks of International 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 and trademark information" at http://www.ibm.com/legal/copytrade.html.
Adobe and the Adobe logo are either registered trademarks or trademarks of Adobe Systems
Incorporated in the United States, and/or other countries.
Java™ and all Java-based trademarks and logos are trademarks or registered trademarks of Oracle and/or
its affiliates.
Linux® is a registered trademark of Linus Torvalds in the United States, other countries, or both.
Microsoft, Windows, and the Windows logo are trademarks of Microsoft Corporation in the Unites States,
other countries, or both.
UNIX is a registered trademark of The Open Group in the United States and other countries.
Other company, product, and service names may be trademarks or service marks of others.
Permissions for the use of these publications are granted subject to the following terms and conditions:
Applicability: These terms and conditions are in addition to any terms of use for the IBM website.
46 IBM Data Virtualization Manager for z/OS: Data Virtualization Manager Installation Guide
Personal use: You may reproduce these publications for your personal, noncommercial use provided that
all proprietary notices are preserved. You may not distribute, display or make derivative work of these
publications, or any portion thereof, without the express consent of IBM.
Commercial use: You may reproduce, distribute and display these publications solely within your
enterprise provided that all proprietary notices are preserved. You may not make derivative works of
these publications, or reproduce, distribute or display these publications or any portion thereof outside
your enterprise, without the express consent of IBM.
Rights: Except as expressly granted in this permission, no other permissions, licenses or rights are
granted, either express or implied, to the publications or any information, data, software or other
intellectual property contained therein.
IBM reserves the right to withdraw the permissions granted herein whenever, in its discretion, the use
of the publications is detrimental to its interest or, as determined by IBM, the above instructions are not
being properly followed.
You may not download, export or re-export this information except in full compliance with all applicable
laws and regulations, including all United States export laws and regulations.
IBM MAKES NO GUARANTEE ABOUT THE CONTENT OF THESE PUBLICATIONS. THE PUBLICATIONS
ARE PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED,
INCLUDING BUT NOT LIMITED TO IMPLIED WARRANTIES OF MERCHANTABILITY, NON-INFRINGEMENT,
AND FITNESS FOR A PARTICULAR PURPOSE.
IBM Software products, including software as a service solutions, ("Software Offerings") may use cookies
or other technologies to collect product usage information, to help improve the end user experience,
to tailor interactions with the end user or for other purposes. In many cases no personally identifiable
information is collected by the Software Offerings. Some of our Software Offerings can help enable you
to collect personally identifiable information. If this Software Offering uses cookies to collect personally
identifiable information, specific information about this offering’s use of cookies is set forth below.
This Software Offering does not use cookies or other technologies to collect personally identifiable
information.
If the configurations deployed for this Software Offering provide you as customer the ability to collect
personally identifiable information from end users via cookies and other technologies, you should seek
your own legal advice about any laws applicable to such data collection, including any requirements for
notice and consent.
For more information about the use of various technologies, including cookies, for these purposes,
see IBM’s Privacy Policy at http://www.ibm.com/privacy and the section titled "Cookies, Web Beacons,
and Other Technologies" in IBM’s Online Privacy Statement at http://www.ibm.com/privacy/details. Also,
see the "IBM Software Products and Software-as-a-Service Privacy Statement" at http://www.ibm.com/
software/info/product-privacy.
A I
accessibility IBM Data Virtualization Manager studio
overview 43 download 31
ACF2 3 installing 31
APF (Authorized Program Facility) installation
LOAD library 4 AVZ interface for ACI 39
AVZ interface for ACI 39 system requirements 1
AVZDFDIV member 2 installing
AVZSIN00 member 16 JDBC Gateway 35
AVZSMUTC member 15 server component 4
studio component 31
ISPF application 22
C ISPF client 18
code page 16
configuring J
APF-authorizing 4
Data Virtualization Manager server file 16 JDBC Gateway
ISPF client 18 installing 35
security authorizations 3
server component 15
started task JCL 17
L
Workload Manager (WLM) 3 legal notices
cookie policy 45, 47 cookie policy 45, 47
copying notices 45
target libraries 4 programming interface information 45
creating trademarks 45, 46
SWIOBJ data set 2 LOAD library 4
system data sets 2
M
D
maintaining
Data Studio Data Virtualization Manager server 15
verifying installation 33
Data Virtualization Manager server
configuring 15 N
installing 4
naming conventions
naming conventions 2
Data Virtualization Manager server 2
starting 17
notices 45
stopping 17
Data Virtualization Manager server file 16
DBCS 16 P
default subsystem name 16
delimited data, configuring 20 programming interface information 45
double-byte character set 16
downloading R
components 4
Downloading RACF 3
studio component 31
S
G
screen readers and magnifiers 43
generation data set, configuring access 19 security authorizations
ACF2 3
RACF 3
Top Secret Security 3
Index 49
sending comments to IBM ix
server event facility (SEF)
configure delimited data 20
configure GDG access 19
SMP/E
maintaining Data Virtualization Manager server 15
started task JCL 17
Starting
Instrumentation Server 22
server 22
system data sets
creating 2
system requirements 1
T
target libraries 4
Top Secret Security 3
trademarks 45, 46
V
verifying 22
verifying installation
Data Studio 33
W
Workload Manager (WLM)
configuring 3
50 IBM Data Virtualization Manager for z/OS: Data Virtualization Manager Installation Guide
IBM®
GC27-8874-02