IBM Data Virtualization Manager For z/OS
IBM Data Virtualization Manager For z/OS
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 13 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: 2023-05-17
© 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
Chapter 1. System requirements............................................................................ 1
Chapter 2. Prerequisites........................................................................................ 3
Required naming conventions..................................................................................................................... 3
Creating server data sets............................................................................................................................. 3
Defining security authorizations.................................................................................................................. 4
Configuring Workload Manager (WLM)........................................................................................................ 5
APF-authorizing LOAD library data sets...................................................................................................... 5
Copying target libraries................................................................................................................................ 6
iii
Chapter 6. Installing JDBC Gateway.....................................................................35
Accessibility features.......................................................................................... 43
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 installing and configuring Data Virtualization Manager.
Load library
The load library for Data Virtualization Manager server version 1.1 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.
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.
swiobj = SHLQ2||".SAVZXOBJ"
"MODIFY PARM NAME(SWICNTLDSN) VALUE("||swiobj||")"
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:
4 IBM Data Virtualization Manager for z/OS: Data Virtualization Manager Installation Guide
Table 2. Access requirements by data definition name (continued)
Data Access Data set name
definition
name
AVZMAPP READ, WRITE hlq.SAVZMAP. The user id and the server id
should have the access to this dataset.
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.
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 one using option 4 (Service Classes) under the
Primary WLM menu. Press enter and PF3 to save.
2. Define the Data Virtualization Manager started task AVZ1PROC to a WLM service class.
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.
Chapter 2. Prerequisites 5
You must authorize the LOAD library hlq.SAVZLOAD.
• AVZRPCLB
You must authorize the LOAD library hlq.SAVZRPC.
If any data sets allocated to these ddnames are not APF-authorized, the Data Virtualization Manager
server will issue the error message AVZ0051S during startup identifying the ddname and data set name of
each unauthorized library. Startup processing will discontinue and the server will shut down.
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.
6 IBM Data Virtualization Manager for z/OS: Data Virtualization Manager Installation Guide
Chapter 3. Installing and configuring the server
This section contains installation information about the server, studio and drivers.
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.
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.
8 IBM Data Virtualization Manager for z/OS: Data Virtualization Manager Installation Guide
• 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.
• 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.
Results
Once you complete the steps 1-7, the JCL files are submitted and the server with the given settings is
created.
10 IBM Data Virtualization Manager for z/OS: Data Virtualization Manager Installation Guide
data sets that the server uses. The customized batch job is copied to the hlq.SAVZCNTL product data
set, where ‘hlq’ is the high level qualifier of the product data sets. As a user, you need to place the
map at HLQ.AVZID.SAVZMAP. This job will delete if HLQ.AVZID.SAVZ* data set exists and create the
following data sets:
• HLQ.AVZID.SAVZMAP
• HLQ.AVZID.SAVZXATH
• HLQ.AVZID.SAVZXCMD
• HLQ.AVZID.SAVZXEXC
• HLQ.AVZID.SAVZXOBJ
• HLQ.AVZID.SAVZXSQL
• HLQ.AVZID.SAVZXTOD
• HLQ.AVZID.SAVZXVTB
• HLQ.AVZID.SAVZXAPF
• HLQ.AVZID.SYSCHK1
• 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.
12 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
14 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.
16 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
/*-------------------------------------*/
/* Set CCSID for non-DB2 data */
/*-------------------------------------*/
if DoThis then
do
"MODIFY PARM NAME(SQLENGDFLTCCSID) VALUE(1047)"
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".
18 IBM Data Virtualization Manager for z/OS: Data Virtualization Manager Installation Guide
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 3. 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.
4. Ensure that the DD AVZMAPP concatenation points to the hlq. data set created in the previous
installation job AVZGNMP1. This data set should be first in the concatenation and is used for storing
user-defined virtual table maps. The hlq. data set, which contains the default virtual table maps that
are part of the product distribution, should be placed last.
5. The server runs as a z/OS started task. Under normal circumstances, the server starts at system
startup and stops before the system shuts down. To start the server on demand, use the following
console command:
S AVZS
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 19
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.
20 IBM Data Virtualization Manager for z/OS: Data Virtualization Manager Installation Guide
A VTB rule is provided that allows a subset of the GDG to be read. VTB rule AVZGDGS1 is invoked by the
SEF every time a table with the prefix GDG__ is found in the SQL statement.
The table name in the SQL statement must be of the form:
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:
22 IBM Data Virtualization Manager for z/OS: Data Virtualization Manager Installation Guide
VTB variable Description
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.
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.
. . . . . . . . . . . . . . . . . . . . . . . . . . .
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
24 IBM Data Virtualization Manager for z/OS: Data Virtualization Manager Installation Guide
Support for the IBM i series as a DRDA or JDBC data source
Configure the IBM i series on an IBM AS/400 server as a DRDA or a JDBC data source.
AVZ now supports the IBM i series on an IBM AS/400 server as a DRDA or a JDBC data source and
configure the AVZSIN00 file to define a database on the i series.
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's Guide.
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:
[ABCD_DEBUG]
28 IBM Data Virtualization Manager for z/OS: Data Virtualization Manager Installation Guide
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.
Sample program for 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.
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's Guide.
30 IBM Data Virtualization Manager for z/OS: Data Virtualization Manager Installation Guide
Chapter 5. Installing Data Virtualization Manager
studio
Data Virtualization Manager studio is an Eclipse-based user interface that allows you to create and
manage metadata on the Data Virtualization Manager server that is required to provide access to your
mainframe and non-mainframe data.
Software Installing the 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
Verifying the studio installation
Verify that you can connect from the studio to the server and browse metadata on the server.
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.
Procedure
By default, English language is used in 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.
Here's a sample eclipse.ini configuration file for your reference:
-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
...
...
-Xms40m
-Xmx512m
#-Duser.language=ja
#-Duser.country=JP
34 IBM Data Virtualization Manager for z/OS: Data Virtualization Manager Installation Guide
Chapter 6. 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 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.
Set port for accepting DRDA Enter the number of an available TCP/IP port for
connections (1527): the application, or press Enter to use the default
value 1527. This port number will be used to
accept DRDA connections.
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.
Procedure
1. Install the AVZ server. See Chapter 3, “Installing and configuring the server,” on page 7.
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 installation
overview 43 AVZ interface for ACI 39
ACF2 4 system requirements 1
APF (Authorized Program Facility) installing
LOAD library 5 JDBC Gateway 35
AVZ interface for ACI 39 server component 7
AVZDFDIV member 3 studio component 31
AVZSIN00 member 18 ISPF application 24
AVZSMUTC member 17 ISPF client 20
C J
checklist, customization 3 JDBC Gateway
code page 17 installing 35
configuring
APF-authorizing 5
Data Virtualization Manager server file 18
L
ISPF client 20 legal notices
security authorizations 4 cookie policy 45, 47
started task JCL 19 notices 45
Workload Manager (WLM) 5 programming interface information 45
cookie policy 45, 47 trademarks 45, 46
copying LOAD library 5
target libraries 6
creating
SWIOBJ data set 3 M
system data sets 3
maintaining
customization checklist 3
Data Virtualization Manager server 17
D
N
Data Studio
naming conventions
verifying installation 33
Data Virtualization Manager server 3
Data Virtualization Manager server
notices 45
installing 7
naming conventions 3
starting 19 P
stopping 19
Data Virtualization Manager server file 18 programming interface information 45
Data Virtualization Manager studio
download 31 R
installing 31
DBCS 17 RACF 4
default subsystem name 18
delimited data, configuring 22
double-byte character set 17 S
downloading screen readers and magnifiers 43
components 7 security authorizations
Downloading ACF2 4
studio component 31 RACF 4
Top Secret Security 4
G sending comments to IBM ix
server event facility (SEF)
generation data set, configuring access 20 configure delimited data 22
Index 49
server event facility (SEF) (continued)
configure GDG access 20
SMP/E
maintaining Data Virtualization Manager server 17
started task JCL 19
Starting
Instrumentation Server 24
server 24
system data sets
creating 3
system requirements 1
T
target libraries 6
Top Secret Security 4
trademarks 45, 46
V
verifying 23
verifying installation
Data Studio 33
W
Workload Manager (WLM)
configuring 5
50 IBM Data Virtualization Manager for z/OS: Data Virtualization Manager Installation Guide
IBM®
GC27-8874-02