|
|
Parameter Name
Default value
Description
Used in member:
GLOBCAT
VSESP.USER.CATALOG
The default VSAM catalog
ARIS75CD, ARISSTDL
where SQLGLOB resides
BINDFILE
DB2.BIND.MASTER
This is the name of the
ARIS75CD, ARISSTDL,
dataset which will hold the
ARIS757D, ARISIQBD
global variables
BINDWKF
DB2.BIND.WORKF
This is the name of the
ARIS75CD, ARISSTDL,
dataset which will hold the
ARIS759D
preprocessor bind pack-
ages.
MASTERFILE
DB2.SQLGLOB.MASTER
This is the name of the
ARIS75CD, ARISSTDL,
dataset which will hold the
ARIS758D, ARISGDEF
global variables
ATYPE
CYL
The type of allocation unit
ARIS75CD, ARIS757D,
for database IDCHMC
ARIS759D
DEFINE.
The default allocation unit is
Cylinders. Use BLK for FBA
devices, or CYL for (E) CKD
devices
Figure 18. Description of global parameters
2.1
Preparation Step 1: Setup the VSE Environment
This step is mandatory
If your are migrating from a previous release of DB2 for VSE, you may have to increase the partition size.
Refer to DB2 Server for VSE System Administration manual for more information.
Ensure that your VSE system is prepared as follows:
¹
Equip the system with a tape drive for the type of distribution tape ordered.
¹
Be sure that the system files are assigned correctly. During the installation process, input is read from
SYSIPT and source members from the DB2 Server for VSE sublibrary. Output is written to the printer
file, SYSLST, and the SYS001 workfile.
¹
Ensure that the SYS001 workfile size is at least equal to 1 cylinder on an IBM 3380 DASD (960 blocks
on FBA devices).
See the DB2 Server for VSE System Administration manual for detailed information about capacity plan-
ning for storage requirements.
The partition sizes given below are the minimum required to successfully install or migrate a database. For
a detailed discussion of how to calculate partition sizes based on real operating conditions see the DB2
Server for VSE System Administration manual. Also, refer to the IBM z/VSE Planning for information about
partition configuration that could be used during the installation of optional program product such as DB2
Server for VSE.
¹
Compiling and running application programs - 2.0 megabytes;
¹
CICS system to support ISQL - 8.0 megabytes;
16
DB2 for VSE Program Directory
- to support DRDA Requester, approximately 1 additional megabyte is required for the resident
online resource adapter
¹
DB2 Server for VSE partition:
- without DRDA - 5.0 megabytes;
- with DRDA - 6.5 megabytes;
Note! When the application server is started in single user mode, both the application server and the
installation application program are executed in the DB2 Server for VSE partition.
When the application server is started in multiple user mode:
- Batch installation application programs can be started in any partition with enough storage. The
library search assignment must include the DB2 Server for VSE 7.5 sublibraries for installation
programs executed in the partition.
- ISQL must be executed in the CICS partition.
- If the ISQL facility will be used in the CICS partition, the available CICS dynamic transaction
storage size must be at least 900 kilobytes to support ISQL. See "Installation Step 2: Link-Edit the
DB2 Server for VSE 7.5 Online Support Components".
VSE/REXX Version 6 Release 1 must be enabled.
2.1.1
DB2 Server for VSE Key Enablement
Users on z/VSE Version 3 Release 1 and later, who want to run DB2 Server for VSE, are required to
install a DB2 permanent product activation key, or a DB2 "90-day trial mode" product key.
z/VSE Version 3 Release 1 and later is shipped with a DB2 "90-day trial mode" product key. After the
90-day trial period is over, it is necessary to supply a DB2 permanent product key. This DB2 permanent
product key is supplied automatically from IBM whenever an order is placed for DB2 Server for VSE &
VM.
DB2 product enabling is driven by a phase which can be generated by the following EXEC IVALPKEY.
The statement to execute IVALPKEY is supplied by z/VSE Version 3 Release 1, and later, in the member
SKUSERBG in ICCF library 59.
// EXEC IVALPKEY,PARM='PRODUCT=DB2 KEY=0000-1111-2222-3333-4444 CUSTINFC
O=C111-111-1111'
The key that appears in this EXEC statement is the DB2 "90-day trial mode" product key. Please note that
the 90-day trial period starts when IVALPKEY is run (and not when DB2 Server for VSE is installed). Each
time DB2 Server for VSE is accessed, message ARI4027W is displayed informing you of the number of
days left within the 90-day trial period.
Once you have completed a license agreement for DB2 Server for VSE, you will replace the string shown
in the sample EXEC statement with the DB2 permanent product activation key.
IVALPKEY must be run whenever the z/VSE operating system is IPLed. Therefore, it is recommended that
you place the job to execute IVALPKEY on the POWER RDR queue so that it is released automatically at
each IPL of the z/VSE system during background processing.
Chapter 2. Preparing to Install DB2 Server for VSE 7.5
17
If IVALPKEY is not run when the z/VSE operating system is IPLed, DB2 Server for VSE cannot be
installed, migrated or started.
2.2
Preparation Step 2: Allocate DASD for the Distribution Library
This step is mandatory
APPROXIMATE SPACE REQUIREMENT: 30,000 LIBRARY 1K BLOCKS.
DASD Storage Requirements for DB2 Server for VSE Library
APPROXIMATE SPACE REQUIREMENT: 30,000 LIBRARY BLOCKS
Approximate Library Space
MSHP History File Space
DASD Device Type
Required
Required
3375
120 cylinders
15 tracks
3380
74 cylinders
15 tracks
3390
70 cylinders
15 tracks
9345
84 cylinders
15 tracks
Figure 19. DASD Storage Requirements for DB2 Server for VSE Library
Notes:
1. These allocations include free space to allow for maintenance.
2. If you are installing versions of the DB2 Server for VSE HELP text or messages in languages other
than English, then you may consider an extra 400 library blocks for each supported language.
3. The sizes for the Maintain System History Program (MSHP) auxiliary history files are based on sug-
gested values in the IBM z/VSE System Control Statements manual for your VSE operating system.
2.3
Preparation Step 3: Allocate DASD for the Starter Database
This step is mandatory for the installation process, but optional for the migration process.
Allocate VSAM space for the Starter Database.
Figure 20 shows the approximate size of the Starter Database on various devices.
Figure 20 (Page 1 of 2). Recommended Starter Database DASD Sizes
Starter Database Data Set
3375 Cyls
3380 Cyls
3390 Cyls
9345 Cyls
Allocations
Directory
53
34
29
38
Log
13
8
7
9
Data Extend
Minimum
38
24
21
27
Recommended
121
77
65
85
Total Allocations
Minimum
104
66
57
74
18
DB2 for VSE Program Directory
Figure 20 (Page 2 of 2). Recommended Starter Database DASD Sizes
Recommended
187
119
101
132
Notes for Figure 20 on page 18:
¹
A complete explanation of the Starter Database is in the DB2 Server for VSE System Administration
manual.
¹
Fixed block (FB) storage devices store data in blocks of fixed size. These blocks are addressed by
block number relative to the beginning of the particular file.
In the installation process, you have to supply your own volume identifier when defining VSAM data sets.
Note that the Starter Database is designed to be installed on a single volume of a given device type.
Refer to the DB2 Server for VSE System Administration manual for more information on adding dbextents.
You can use any DASD currently supported by VSE/VSAM in your VSE system. If you are defining your
own database instead of using the Starter Database, refer to the DB2 Server for VSE System Adminis-
tration manual to estimate the space you require for a particular device to support a database of a given
size.
You can easily add dbextents or enlarge the directory after the database is generated. A utility program,
ARIMEXBD, is available to increase the size of the directory to support a larger VSAM dataset.
(See the
DB2 Server for VSE System Administration manual for information on ARIMEXBD.) Given the dbspace
definitions for the Starter Database, the actual space supported for public and private dbspaces is about
4.6 gigabytes.
2.4
Preparation Step 4: Restore the Distribution Library
This step is mandatory.
You can restore the DB2 Server for VSE Distribution Library in two ways. We recommend using the
VSE/Interactive Interface, Product Installation Dialog in z/VSE. If you use this method, you need to know
that DB2 Server for VSE is shipped on a NON-STACKED V2 FORMAT tape. For directions on using this
method, refer to the IBM z/VSE Installation for your VSE operating system.
If you have received your DB2 Server for VSE as part of your z/VSE order, see the z/VSE Installation
Manual 'Installing a Program from the z/VSE Extended Base Tape'
Alternatively, you may create the job control member shown in Figure 21 on page 20 to restore the Dis-
tribution Library. Mount the distribution tape and run your modified job.
Chapter 2. Preparing to Install DB2 Server for VSE 7.5
19
// JOB ARIS75AD
INSTALL DB2 Server
// MTC REW,cuu
*-- REWIND TAPE
// ASSGN SYS002,cuu1
*-- AUXILIARY HISTORY FILE
// ASSGN SYS005,UA
*-- NO RESTORE TO XXXXXX
// ASSGN SYS006,cuu
*-- DISTRIBUTION TAPE
// OPTION CATAL
// EXEC MSHP
INSTALL PRODUCT FROMTAPE ID='DB2/VSE
7.5.0' - *--ACTUAL TAPE ID (1)
PROD IN=PRD2.DB2750
*-- IDENTIFICATION OF LIBRARIES
(2)
DEFINE HISTORY AUX EXTENT=xxx:yyy
/*
// MTC RUN,cuu
/&
Figure 21. Job ARIS75AD (Using MSHP to Install DB2 Server for VSE)
Notes for Figure 21:
¹
Before execution, modify the above statements as follows:
cuu
Replace with the address of the tape drive.
cuu1
Replace with the address of the disk drive on which the auxiliary history file resides.
xxx
Replace with the starting address of the auxiliary history file (in tracks or blocks).
yyy
Replace with the size of the auxiliary history file (in tracks or blocks).
¹
You receive various messages from MSHP. These messages are normal and can be ignored. If you
want more details about the MSHP control statements, refer to the DB2 Server for VSE Messages and
Codes.
¹
Later installation steps do not require the distribution tape.
(1)
DB2/VSE
7.5.0' is the actual ID of the tape.
(2)
If necessary, replace PRD2.DB2750 with the library and sublibrary names you used in
Figure 21.
2.5
Preparation Step 5: Prepare the CICS Environment
If you will not be using DB2 Server for VSE in an CICS interactive environment, or if you will not be using
ISQL, skip this step.
This step is optional for the installation process, but mandatory for the users who are migrating from a
previous release and are using ISQL.
To prepare the CICS system for DB2 Server for VSE, update the CICS control tables and modify the CICS
startup job control. The modifications to the tables take effect the next time the CICS system is stopped
for maintenance and then restarted. The changes to the startup job control ensure that the CICS system
can find the DB2 Server for VSE 7.5 sublibrary, and that the CICS subpool is properly defined. You may
also define a printer for ISQL.
You need to update the CICS control tables and startup job control to include journaling and the restart
resynchronization facility, to ensure the coordinated rollback of a CICS activity when a DB2 Server for
20
DB2 for VSE Program Directory
VSE activity is being rolled back. This is a requirement for CICS Database Switching support. Refer to the
DB2 Server for VSE System Administration manual for detailed information about this support.
Note: You have to allocate and format the journal files before restarting CICS.
Modifying the CICS Start-Up JCL
Figure 22 shows an example of CICS startup job control for the application server. Make sure that you
add the DB2 Server for VSE sublibrary in your library concatenation chain for your startup job.
// JOB CICS START
// LIBDEF PHASE,SEARCH=(PRD2.DB2750,...)
// UPSI 1
(1)
// DLBL SQLBIND,'DB2.BIND.MASTER',,VSAM=catalog,DISP=(OLD,KEEP) (5)
// DLBL SQLGLOB,'DB2.SQLGLOB.MASTER',,VSAM=catalog,DISP=(OLD,KEEP)
// DLBL ARITRAC,'TRACE.FILE1',
// EXTENT ,VOLXXX,1,0,nnn,120
(5)(6)
// ASSGN SYS007,cnn
// ASSGN SYS098,cuu
(2)
// EXEC DFHSIP,SIZE=nnnnK *-- DETERMINATION OF THE CICS SUBPOOL SIZE (3)
// EXEC DFHSIP,SIZE=DFHSIP,PARM='DSALIMIT=6M...' *-- FOR CICS/TS(3)
| Optional CICS System
|
| Initialization Parameter |
(4)
| Override Statements
|
/*
/&
Figure 22. Starting the CICS System for Use with ISQL
Notes for Figure 22:
(1)
In a VSE/ICCF environment, place the UPSI statement after the EXEC statement (see
note 3 below). The UPSI setting shown in the example allows reconfiguration at initializa-
tion time and console responses from SYSIPT. You may need to use different UPSI set-
tings for your environment.
(2)
The logical unit SYS098 is used for ISQL report output. For multiple-copy support, assign
SYS098 to a VSE/POWER-intercepted printer (cuu). ISQL uses the 8-position resource
name "PRINT98" to control use of the printer.
The logical unit SYS098 is also used for the Online Resource Adapter FFDC Dump output.
(3)
For CICS/VSE, EXEC statement parameter SIZE=nnnnK controls the CICS subpool size,
which is the amount of dynamic storage remaining after the CICS system assigns storage
for management and resident program purposes, and is shared by all CICS transactions.
(nnnn) specified depends on the CICS configuration.
Chapter 2. Preparing to Install DB2 Server for VSE 7.5
21
FOR CICS/TS, the dynamic subpool size is specified with the DSALIMIT startup param-
eter.
You need at least 3 megabytes of virtual storage below the 16MB line for the CICS/TS
partition to run DB2 in ICCF. Refer to the IBM z/VSE Planning manual for more inf
ormation on how to allocate storage for a CICS system.
(4)
DB2 Server for VSE 7.5 requires the CICS system to support journaling. Set bit 1 of the
UPSI to 1 to force the CICS system to read the optional CICS system initialization param-
eter override statements from SYSIPT. You can then include the journaling parameter in
the override statements.
(5)
These are the job control statements for the BIND file, the SQLGLOB file, and the trace
output DASD SAM file to the CICS startup JCL. The file IDs specified for SQLBIND and
SQLGLOB must be identical to the name of the file that was specified in the respective
DEFINE command of IDCAMS and listed in the VSE/VSAM catalog. See "Preparation Step
8: Setup the SQLGLOB and BIND files" for more information on the IDCAMS DEFINE
CLUSTER jobs for the SQLGLOB and SQLBIND files. SQLBIND is an optional dataset, it
is only required for DRDA application requester functions.
It is recommended that SQLGLOB and SQLBIND DLBL statements be placed in Standard
Labels (see Figure 32 on page 34).
(6)
If the output of the application requester trace is directed to tape, a TLBL statement for the
trace output file must be included in the CICS start-up job instead. An example of a TLBL
statement for a trace output file is as follows:
// TLBL ARITRAC,'TRACE.FILE2'
2.5.1
CICS Table Entries Required by DB2 Server for VSE 7.5
The following CICS resources must be updated to define the DB2 Server for VSE online support and ISQL
to the CICS system. DB2 Server for VSE programs and transactions in the CICS System Definition (CSD)
file:
DFHSIT
System Initialization Table
DFHTCT
Terminal Control Tables.
DFHFCT
File Control Table
The entries required for each table are described later in this step.
This manual describes only the CICS resources required for DB2 Server for VSE. For complete
descriptions of the CICS tables and parameters, refer to the CICS manuals.
To update the CICS tables, you must make the changes and recompile them. However, you have to wait
until the CICS system is stopped and restarted for the changes to take effect. You can change programs
and transactions with a batch job, or online using the Resource Definition Online (RDO) tool. For more
information on RDO and CEDA, see the CICS/VSE Resource Definition (Online).
Beside the minimum entries required to use DB2 Server for VSE online support and ISQL, the CICS Jour-
naling Support and the CICS Restart Resynchronization Support must be enabled. These are discussed in
22
DB2 for VSE Program Directory
"CICS Journaling Support" and in "CICS Restart Resynchronization Support" in this chapter. In addition,
you may make optional entries that allow you to use:
¹
CICS Monitoring Facility
¹
DB2 Server for VSE Accounting.
For a description of the entries required for each optional feature for CICS/ESA, refer to Appendix F,
"Additional CICS and VSE Updates for the DB2 Server System".
2.5.2
Entries Required in DFHSIT
The DFHSIT macro must always include:
AMXT=nn
Limit on the number of active tasks within the CICS system.
If you are adding DB2 Server for VSE work to an existing CICS environment, consider
increasing the AMXT value. Each active ISQL user requires two active tasks within the
CICS system. (If the AMXT limit is reached, response time may be adversely affected.)
DBP=YES|xx Dynamic transaction backout support.
Specifying DBP=YES requests use of the default dynamic transaction backout module. The
DBP parameter can be specified as DBP=xx, where "xx" is the 2-character suffix of the
module to be used.
EXEC=YES Command-level support.
EXITS=YES User exits will be used.
TST=NO|xx Identifies the auxiliary temporary storage program support.
Temporary storage queues defined to ISQL must be non-recoverable, because recoverable
storage queues are incompatible with ISQL. Temporary storage queues with names like
CISQXXXX and XXXXCISQ (where XXXX is the terminal ID) are reserved for use by
ISQL, and should not be used by other CICS applications.
For DB2 for VSE with CICS TS, the following System Initialization (DFHSIT) parameters are obsolete.
Refer to the CICS Release Guide below for a complete list of obsolete DFHSIT parameters.
AMXT=
EXEC=
(command level is mandatory)
EXITS= (the user-exit interface is always enabled)
MONITOR= (replaced by new monitoring parameters)
For information about the optional DFHSIT entries to control access to ISQL, see the DB2 Server for VSE
System Administration manual.
The DB2 Server for VSE installation process assumes that the application name identified by the DFHSIT
APPLID parameter is DBDCCICS. If the application name is not DBDCCICS, take special action (see
"Installation Step 7: Grant SCHEDULE Authority").
2.5.2.1
Entries in DFHTCT Required by ISQL:
The DFHTCT TYPE=TERMINAL macro must include:
Chapter 2. Preparing to Install DB2 Server for VSE 7.5
23
ALTSCRN=(lines,columns) Alternate screen size
This parameter is optional. Specify it if you want to use ISQL large-screen support for IBM
3270 terminals with screens larger than 24 rows by 80 columns.
DEFSCRN=(24,80) Default screen size
TRMSTAT=TRANSCEIVE Terminal status.
2.5.2.2
Entries in DFHTCT for CICS Local Terminal Printers:
The DFHTCT TYPE=TERMINAL macro should include the ALTPAGE and PGESIZE parameters.
If you specify FORMFEED=YES, the value you use for these two parameters should match the page size
of the CICS local terminal printer since the ISQL SET command will no longer have full control over the
page size.
If you specify FORMFEED=NO, assign the value (1,132) to the ALTPAGE and PGESIZE parameters. This
will allow the ISQL SET command to have full control over the page size.
To use the ISQL terminal printer support, define a DFHTCT entry for each terminal printer.
2.5.2.3
Entries in DFHFCT for DB2 Server for VSE: The entries in sample ARIS75FC, a
PROC-type member, should be placed in the
Terminal definitions can also be made in the CICS System definition facility. File Control Table (FCT) for
the CICS system in which online support is required. You can use a COPY statement to include the
entries. If you change the suffix on the FCT INITIAL statement, code an FCT=xx override on CICS Initial-
ization JCL.
24
DB2 for VSE Program Directory
***********************************************************
**********
DB2 FOR VSE AND VM 7.5
FCT ENTRIES
*********************************************************************
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
GLOBAL Variables
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
SQLGLOB DFHFCT TYPE=FILE,
X
ACCMETH=(VSAM),
X
FILE=SQLGLOB,
X
FILSTAT=(ENABLED,OPENED),
X
SERVREQ=(ADD,BROWSE,DELETE,UPDATE),
X
RSL=PUBLIC,
X
STRNO=2
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Preprocessor BIND file
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
SQLBIND DFHFCT TYPE=FILE,
X
ACCMETH=(VSAM),
X
FILE=SQLBIND,
X
FILSTAT=(ENABLED,OPENED),
X
SERVREQ=BROWSE,
X
RSL=PUBLIC,
X
STRNO=2
Figure 23. DFHFCT Sample entries
For CICS/TS, the file definitions can be made in the CICS System Definition facility.
2.5.3
CICS Journaling Support
If the CICS Journaling Support wasn't enabled when the CICS system was installed, you have to update
the following CICS tables to provide the Journaling Support required by DB2 Server for VSE.
DFHJCT
Journal Control Table
DFHSIT
System Initialization Table.
DFHJCT Entries:
A journal used for the CICS system log must be defined in DFHJCT by specifying JFILEID=SYSTEM in a
DFHJCT TYPE=ENTRY macro.
Figure 24 on page 26 shows an example of how to code DFHJCT for a CICS system log allocated to a
3380 DASD device.
Chapter 2. Preparing to Install DB2 Server for VSE 7.5
25
DFHJCT TYPE=INITIAL,SUFFIX=jj
(1)
DFHJCT TYPE=ENTRY,
X
JFILEID=SYSTEM,
X
BUFSIZE=1024,
X
BUFSUV=1024,
X
JOUROPT=(CRUCIAL,INPUT),
X
JTYPE=DISK1,
X
OPEN=INITIAL,
X
DEVADDR=sysxxx,
(2)
X
JDEVICE=3380
DFHJCT TYPE=FINAL
END DFHJCTBA
Figure 24. DFHJCT Examples for CICS Journaling
Notes for Figure 24:
¹
CICS journal files must be formatted before use. See the CICS manuals for information on CICS
journal files.
(1)
The SUFFIX value jj must be supplied in the DFHSIT JCT=jj parameter.
(2)
sysxxx is the logical unit address for the CICS system log journal (JFILEID=SYSTEM)
assigned to a 3380 DASD file.
DFHSIT Entries:
The DFHSIT macro must include the JCT parameter. Specify JCT=YES or JCT=(jj<,
>) where jj is the
SUFFIX parameter value specified in the DFHJCT TYPE=INITIAL macro defining the CICS system log
journal data set.
2.5.4
CICS Restart Resynchronization Support
If the CICS Restart Resynchronization Support was not enabled when the CICS system was installed, you
have to update the following CICS tables to enable the CICS Restart Resynchronization capability.
DFHJCT
Journal Control Table
DFHSIT
System Initialization Table.
DFHJCT Entries:
A journal used for the CICS system log must be defined in the DFHJCT by specifying JFILEID=SYSTEM
in a DFHJCT TYPE=ENTRY macro.
Figure 24 is an example of how you could code your DFHJCT for a CICS system log allocated to a 3380
DASD device.
Programs and Transactions: Use the CICS RDO tool to add the resources required for CICS Restart
Resynchronization.
CEDA ADD GROUP(DFHRMI) LIST(VSELIST)
Use the list that is coded in the value for GRPLIST in your DFHSIT or CICS startup.
26
DB2 for VSE Program Directory
DFHSIT Entries:
The DFHSIT macro must include the JCT parameter. Specify JCT=YES or JCT=(jj<,
>) where jj is the
SUFFIX parameter value specified in the DFHJCT TYPE=INITIAL macro defining the CICS system log
journal data set.
2.5.5
CICS Transaction Server (TS) considerations
CICS internal security and therefore the CICS Sign-On table (DFHSNT) has been withdrawn in CICS TS
for z/VSE 3.1. Instead, any external securit y manager (ESM) may be used that conforms to the z/VSE
RACROUTE interface. Alternatively, the basic form of external security manager z/VSE 3.1 may be used.
The BSM provides sign-on and transaction attach security only.
When using an ESM, refer to the relevant documentation supplied with the ESM on defining DB2 for VSE
user id(s), operator data and transaction security. If the BSM is used, DB2 for VSE userids in the
DFHSNT and DB2 for VSE transactions must be defined using the VSE Interactive Interface
As the CICS TS System Definition (CSD) file is not compatible with earlier versions of CICS (e.g. CICS
2.3), a separate CSD file mustbe defined and all DB2 for VSE entries added using the DFHCSDUP utility
provided with CICS TS. All transaction Ids defined in the CSD file should be added to the VSE Trans-
action SECure Table(DTSECTXS.A) also.
For DB2 for VSE with CICS TS, the following System Initialization (DFHSIT) parameters are obsolete.
Refer to the CICS Release Guide below for a complete list of obsolete DFHSIT parameters.
AMXT=
EXEC=
(command level is mandatory)
EXITS= (the user-exit interface is always enabled)
MONITOR= (replaced by new monitoring parameters)
For more information on installing DB2 for VSE V7.5 with CICS TS, refer to the following publications:
CICS Release Guide
GC33-1645
CICS Migration Guide
GC33-1646
CICS Resource Definition Guide
SC33-1653
2.6
Preparation Step 6: Define DB2 Server Programs and Transactions
to CICS
Job name is ARIS75JD.
This step is mandatory if you will be using ISQL or online CICS transactions.
Job ARIS75JD is used to define resources to the CICS System Definition file, specifically Programs and
Transactions.
Start Job Manager - see Figure 82 on page 85.
Chapter 2. Preparing to Install DB2 Server for VSE 7.5
27
Parameter Name
Default value
Description
LIST
VSELIST
Name of the CICS definition List to
which the DB2 group has been added.
The List is referenced during CICS
startup.
GROUP
DB2750
Name of the group that contains the
run time routines and is in the group
list used during CICS startup.
CICSFILE
CICS.CSD
The VSAM catalog where CICSFILE
resides
CSDCAT
VSESP.USER.CATALOG
The VSAM catalog where CICSFILE
resides
TRANSEC
2
ISQL
Y
Definitions will be made for ISQL.
Specify N to indicate that ISQL is not
used.
CICSTS
Y
Specify N to use the CICS/VSE system
definitions. The default Y, will make
CICS Transaction Server entries.
Figure 25. The parameters for ARIS75JD
Expected return code is 4.
2.7
Preparation Step 7: Setup the SQLGLOB and BIND files
This step is mandatory if you will be using ISQL or online/batch applications or online/batch binding and
using DRDA.
This step is optional for Migration.
If you have used the default name for your existing DB2 system, then you should use a different dataset
name, if you are performing the installation process, and will be running both DB2 for VSE releases.
The SQLGLOB file is used to contain DB2 Server for VSE Global variables. Refer to the DB2 Server for
VSE System Administration Manual for more information.
When referencing the SQLGLOB file, after it has been defined, it is required to code the
DISP=(OLD,KEEP) parameter on the DLBL.
2.7.1
Defining the Global Variable File (SQLGLOB)
Job ARIS758D will be submitted to the VSE environment, followed by the jobs ARISGDEF, ARIS757D,
and ARIS759D.
28
DB2 for VSE Program Directory
Parameter Name
Default value
Description
VOLUME
XXXXXX
The volume in the VSAM catalog,
where the dataset will be defined
ATYPE1
TRACKS
The default allocation unit is Tracks.
Use BLK for FBA devices.
ALLOC1
15
This is the primary space allocation for
the VSAM dataset. The size of the
dataset is based on the number of
CICS users of DB2 for VSE. There will
be one record for each user who does
not use the system global defaults, and
will use his/her own. The default allo-
cation is sufficient for about 6000
users.
ALLOC2
5
This is the secondary space allocation
for the VSAM dataset. The allocation
unit is in tracks.
Figure 26. The parameters for ARIS758D
See global parameters.
The expected return code is 0. Return code 12 means that MASTERFILE already exists.
2.7.2
Updating the SQLGLOB file with IBM-Supplied Global Defaults
Submit ARISGDEF to update the SQLGLOB file with the IBM-supplied global SQLGLOB default values.
See global parameters.
Expected return code is 0.
2.7.3
Defining the Preprocessor Bind File
Job ARIS757D is required for batch or online binding only. This dataset is a repository for preprocessor
bind files(bind-records), which will be bound to application servers.
Chapter 2. Preparing to Install DB2 Server for VSE 7.5
29
Parameter Name
Default value
Description
BINDCAT
VSESP.USER.CATALOG
The VSAM catalog where BINDFILE
resides
VOLUME
XXXXXX
The volume in the VSAM catalog,
where the BINDFILE will be defined
ALLOC1
10
This is the primary space allocation for
the VSAM dataset. The size of the
dataset is based on the number of bind
files contained in it, and on the size of
the packages.
The allocation unit is ATYPE param-
eter.
ALLOC2
5
This is the secondary space allocation
for the VSAM dataset. The size of the
dataset is based on the number of bind
files contained in it, and on the size of
the packages.
The allocation unit is ATYPE param-
eter.
Figure 27. The parameters for ARIS757D
Expected return code is 0. Return code 12 means that BINDFILE already exists.
2.7.4
Defining the Preprocessor Bind Work File (BINDWKF)
Job ARIS759D is required for batch and online binding. This dataset is a repository for preprocessor bind
files(bind-records) which will be bound to application servers.
Parameter Name
Default value
Description
BINDWCAT
VSESP.USER.CATALOG
The VSAM catalog where BINDFILE
resides
VOLUME
XXXXXX
The volume in the VSAM catalog,
where the BINDFILE will be defined
ALLOC1
1
This is the primary space allocation for
the VSAM dataset. The size of the
dataset is based on the size of the
packages.
The allocation unit is Cylinders
ALLOC2
1
This is the secondary space allocation
for the VSAM dataset. The size of the
dataset is based on the size of the
packages.
The allocation unit is Cylinders
Figure 28. The parameters for ARIS759D
Expected return code is 0. Return code of 12 means that BINDWKF already exists.
30
DB2 for VSE Program Directory
2.7.5
Loading the ISQL bindfile ARISIQBD.A to a VSAM bindfile File
Job ARISIQBD is required by batch or online to create ISQL package. The ISQL package is required by
ISQL, to be available at the target server. Job ARISIQBD will load the supplied A-type member ARISIQBD
in the VSAM Bind file.
Parameter Name
Default value
Description
BINDCAT
VSESP.USER.CATALOG
The VSAM catalog where BINDFILE
resides
READ MEMBER
ARISIQBD.A
Bindfile that need to be loaded
Figure 29. The parameters for ARISIQBD
Expected return code is 0.
If the ISQL bind file cannot be stored on the VSAM dataset, the following message is displayed on the
VSE console:
ISQL BIND FILE CANNOT BE BUILT DUE TO ERROR
Otherwise, the following message will be displayed:
ISQL BIND FILE BUILT SUCCESSFULLY
2.7.6
Loading the other bindfiles (A-member) to a VSAM bindfile
IBM does not provide you VSAM bindfile that contains ISQL, DBSU and Stored Procedure bindfiles(bind-
records) that are created as result of prep with "BIND" option. Instead,Bindfile (bind-records) of
ISQL,DBSU and Stored Procedures are sent as A-member.You need to create your own VSAM bindfile
and load bindfiles provided you as A-member. One job to load each of the bindfile has been provided.
Jobs are ARIXU01B ARIXU02B ARIXU03B ARIXU04B ARIXU05B ARIXU06B ARIXU07B ARIXU08B
ARIXU09B ARIXU10B ARIXU11B ARIXU12B ARIXUPTB ARIDSQLB Each job will load the corresponding
A-member into VSAM bindfile as one record for each member.
By default, ARISIQBD.Z loads supplied A-type member ARISIQBD in the VSAM Bind file. ARISIQBD can
be used to load DBSU and Stored Procedure bindfiles (A-members) by replacing the name of ARISIQB.A
to any other bindfile (like ARIXU01B.A).
Chapter 2. Preparing to Install DB2 Server for VSE 7.5
31
Parameter Name
Default value
Description
BINDCAT
VSESP.USER.CATALOG
The VSAM catalog where BINDFILE
resides
READ MEMBER
ARIXU01B.A
Bindfile that needs to be loaded
READ MEMBER
ARIXU02B.A
Bindfile that needs to be loaded
READ MEMBER
ARIXU03B.A
Bindfile that needs to be loaded
READ MEMBER
ARIXU04B.A
Bindfile that needs to be loaded
READ MEMBER
ARIXU05B.A
Bindfile that needs to be loaded
READ MEMBER
ARIXU06B.A
Bindfile that needs to be loaded
READ MEMBER
ARIXU07B.A
Bindfile that needs to be loaded
READ MEMBER
ARIXU08B.A
Bindfile that needs to be loaded
READ MEMBER
ARIXU09B.A
Bindfile that needs to be loaded
READ MEMBER
ARIXU10B.A
Bindfile that needs to be loaded
READ MEMBER
ARIXU11B.A
Bindfile that needs to be loaded
READ MEMBER
ARIXU12B.A
Bindfile that needs to be loaded
READ MEMBER
ARIXUPTB.A
Bindfile that needs to be loaded
READ MEMBER
ARIDSQLB.A
Bindfile that needs to be loaded
Figure 30. The parameters for ARISIQBD
Expected return code is 0.
If the ISQL bind file cannot be stored on the VSAM dataset, the following message is displayed on the
VSE console:
ISQL BIND FILE CANNOT BE BUILT DUE TO ERROR
Otherwise, the following message will be displayed:
ISQL BIND FILE BUILT SUCCESSFULLY
2.8
Preparation Step 8: Define VSAM Data Sets for the Starter
Database
Job name is ARIS75CD.
This step is mandatory for installation and optional for Migration.
ARIS75CD is only required if you will be building the starter database. This job contains two steps: create
a VSAM user catalog and create the datasets required for the starter database. If you will be creating the
database in an existing catalog, then set the NEWUSERCAT parameter to NO and you may omit the (*)
entries. Refer to the DB2 Server for VSE Administration Manual.
You should initially install the Starter Database, because it helps you to ensure that DB2 Server for VSE is
installed correctly. If you are migrating from a previous release of DB2(or SQL/DS), allocate a new area
for the Starter Database. When you are ready to generate your own database, refer to the DB2 Server for
VSE System Administration Manual.
32
DB2 for VSE Program Directory
Figure 31. The parameters for ARIS75CD
Parameter Name
Default value
Description
DBCAT
SQLCAT
This is the name of the user catalog which will hold
the starter database
NEWUSERCAT
YES
Submit job control to create the new user catalog
SPACE
(*)
1
This is the minimum DASD space required for the
new user catalog. Space unit allocation defined
using parameter ATYPE - see Figure 18 on
page 16
VOLUME1 (*)
XXXXXX
The volume in the new VSAM catalog.
SPACE1 (*)
117
This is the minimum DASD space required for the
starter database. Space unit allocation defined
using parameter ATYPE - see Figure 18 on
page 16
DIRFILE
SQL.BDISK.STARTER.DB
Directory extent
SPACE2
34
Size for the database directory extent. Space unit
allocation defined using parameter ATYPE - see
Figure 18 on page 16
VOLUME2
XXXXXX
The volume on which directory extent resides
LOGFILE
SQL.LOGDSK1.STARTER.DB
Log extent
SPACE3
08
Size for the log extent. Space unit allocation defined
using parameter ATYPE - see Figure 18 on
page 16
VOLUME3
XXXXXX
The volume on which log extent resides
EXTFILE
SQL.DDSK1.STARTER.DB
Data extent
SPACE4
72
Size for the data extent. Space unit allocation
defined using parameter ATYPE - see Figure 18 on
page 16
VOLUME4
XXXXXX
The volume on which data extent resides
Expected return code is 0.
Note:
¹
We recommend that you use a VSAM user catalog for the Starter Database.
¹
The allocations used in this job are defined for 3390 DASD. If you use other DASD, refer to
Figure 20 on page 18.
¹
Read "Appendix A: What should you keep in mind".
2.9
Preparation Step 9: Updating Labels for the new datasets
Job name is ARISSTDL.
This step is Mandatory.
The job will add the labels for the new datasets to the standard label area.
It is recommended that the labels for the new datasets (SQLGLOB, SQLBIND, and BINDWKF) be added
to the system standard labels at system initialization. Please refer to the "z/VSE System Control State-
ments" and the "VSE Guide to System Functions" for more information.
Chapter 2. Preparing to Install DB2 Server for VSE 7.5
33
Parameter Name
Default value
Description
BINDCAT
VSESP.USER.CATALOG
The VSAM catalog where BINDFILE
resides
BINDWCAT
VSESP.USER.CATALOG
The VSAM catalog where BINDWKF
resides
Figure 32. The parameters for ARISSTDL
Also see global parameters.
Note: The DLBL for BINDWKF must not have the DISP parameter coded.
Expected return code is 0.
34
DB2 for VSE Program Directory
3.0
Chapter 3. Installing DB2 Server for VSE
To install this product:
1. Read "Appendix A: How to Use the Job Manager".
2. Refer to Appendix B, "Techniques Used for Installation" for a description of how to adapt the
IBM-supplied materials to your local needs.
3. Complete the steps in Chapter 2, "Preparing to Install DB2 Server for VSE 7.5"
4. Perform all the mandatory steps in this chapter, and any of the optional ones that apply to your instal-
lation (See Figure 33).
Note: If you are migrating from a previous release of DB2 Server for VSE, you may only need to perform
"Installation Step 2". The other steps in this chapter are optional.
Attention: If any procedure within any of the steps in this chapter fails to execute successfully, fix the
problem and rerun the step again before continuing.
Step
Optional/ Manda-
Automated/
Description
tory
Manual
1
Mandatory
Manual/ Auto-
Set up DBNAME Directory
mated
2
Optional
Automated
Link-Edit the DB2 Server for VSE online Support Components
3
Mandatory
Automated
Generate the Starter Database
4
Optional
Automated
Install Optional Database Components
5
Mandatory
Automated
Reload CCSID-Related Phases Package
6
Optional
Automated
Selecting National Language Support
7
Optional
Automated
Grant Schedule Authority
8
Mandatory
Automated
Start the Application Server in Multiple User Mode
9
Mandatory
Automated
Create CCSID-Related Phases
10
Optional
Automated
Run the Sample Programs to verify Installation
11
Optional
Manual
Run ISQL to Verify Installation
12
Optional
Manual
Stop the Application Server
13
Optional
Manual
Add New Users to the Database
14
Optional
Manual
Change the Database Administrator Password
15
Optional
Manual
System Customization Activities
Figure 33. Steps to Install DB2 Server for VSE Version 7 Release 5
Copyright IBM Corp. 1981, 2007
35
Parameter Name
Default value
Description
Used in member:
PROC1
ARIS75DB
DB2 Server DATABASE ID
ARIS75WD
Proc
COMPILELIB
PRD2.DB2750
Library for cataloging
ARISCNVD, ARIS6ASD,
PHASE type members
ARIS6C2, ARIS6CD,
ARIS6PLD, ARIS6FTD
WDISK
SYSWK1
Sequential workdisk volume
ARISCNVD, ARIS6ASD,
ARIS6C2, ARIS6CD,
ARIS6PLD, ARIS6FTD
START
xxxx
Start track or block allocated
ARISCNVD, ARIS6ASD,
for SYSPUNCH and
ARIS6C2, ARIS6CD,
SYSIPT.
ARIS6PLD, ARIS6FTD
FOR
xxxx
Extent size in tracks or
ARISCNVD, ARIS6ASD,
blocks allocated for
ARIS6C2, ARIS6CD,
SYSPUNCH and SYSIPT.
ARIS6PLD, ARIS6FTD
GLOBFILE
DB2.SQLGLOB.MASTER
This is the name of the
ARIS6ASD, ARIS6CD,
dataset which will hold the
ARIS6PLD, ARIS6FTD
global variables
CATALOG
VSESP.USER.CATALOG
The VSAM catalog where
ARIS6ASD, ARIS6CD,
SQLGLOB resides
ARIS6PLD, ARIS6FTD
LELIB
PRD2.SCEEBASE
Language Environment
ARIS6C2D, ARIS6CD,
library
ARIS6PLD
Figure 34. Description of global parameters
3.1
Installation Step 1: Setup the DBNAME Directory
Job name is ARISBDID.
This step is mandatory.
1. Punch the A-type source member ARISDIRD.
2. Update the DBNAME and other parameters. See "DB2 Server for VSE System Administration"
manual "Chapter 2: Setting Up the DBNAME Directory" for information about the input file format and
syntax.
3. Re-catalog the A-type source member ARISDIRD.
Start Job Manager - see Figure 82 on page 85.
Job ARISBDID (see Figure 35 on page 37) converts A-type source member ARISDIRD into an assembler
source file, which will be assembled and link-edited into two PHASEs, namely, ARICDIRD.PHASE for
online and ARICDBND.PHASE for batch.
36
DB2 for VSE Program Directory
// SETPARM ISMIGR=%%MIGRATION%%
// IF ISMIGR='NO' THEN
// GOTO GENERATE
// EXEC REXX=ARICCDID, PARM='%%PLIB%%.%%INPUT%% %%LIB1%%.%%OUTPUTA%%'
/. GENERATE
// LIBDEF *,SEARCH=%%LIB1%%
// LIBDEF PHASE,CATALOG=%%COMPILELIB%%
*-- UPDATE LIBRARY
// EXEC REXX=ARICBDID,PARM='%%LIB1%%.%%OUTPUTB%%'
(1)
// IF $RC <
4 THEN
// GOTO EXITOK
/. ERREXIT
* SQL/DS DBNAME DIRECTORY CANNOT BE BUILT DUE TO ERROR
// GOTO SQLDONE
/. EXITOK
* SQL/DS DBNAME DIRECTORY BUILT SUCCESSFULLY
/. SQLDONE
Figure 35. Job ARISBDID (Setup DBNAME directory)
Notes for Figure 35:
(1)
%%LIB1%%.%%OUTPUTB%% is the input Dbname Directory source member. The
default parameter is: 'PRD2.DB2750.ARISDIRD.A' - see Figure 36.
Parameter Name
Default value
Description
MIGRATION
NO
Should be 'NO' for Installation process
OUTPUTB
ARISDIRD.A
Member containing defaults for
DBNAME
LIB1
PRD2.DB2750
Installation Library
Figure 36. The parameters for ARISBDID
A return code of 2 is acceptable for this job. ARICDIRD.PHASE and ARICDBND.PHASE are created.
3.2
Installation Step 2: Link-Edit the DB2 Server for VSE Online
Support Components
Job name is ARIS75BD.
This step is optional.
If you will not be using DB2 Server for VSE online support in a CICS interactive environment, skip this
step.
Job control member ARIS75BD is used to link-edit the online support components. The link-edit will
include the CICS interface modules DFHEAI and DFHEAI0, found in the CICS PRD1.BASE sublibrary.
The output is cataloged to the installation library by default. If you want to use your own libraries, change
the parameter value.
If you do not want ISQL support, and only want support for your own CICS online applications, then set
the ARIS140D, ARIS150D, and ARIS160D parameters to *.
Chapter 3. Installing DB2 Server for VSE
37
Parameter Name
Default value
Description
CICSLIB
PRD1.BASE
This is the name of the sublibrary
where CICS components are installed.1
ARIS140D
//
Default parameter to include ISQL
support. Enter * to omit this job.
ARIS150D
//
Default parameter to include ISQL
support. Enter * to omit this job.
ARIS160D
//
Default parameter to include ISQL
support. Enter * to omit this job.
Figure 37. The parameters for ARIS75BD
Note:
(1) The library search path is:
// LIBDEF *,SEARCH=(%%LIBNAME%%,%%CICSLIB%%,PRD2.CONFIG)
where LIBNAME is the installation library name. See Figure 83 on page 86.
Expected return code is 0.
3.3
Installation Step 3: Generate the Starter Database
Job name is ARIS75DD.
This step is mandatory for the installation process, but optional for the migration process.
Member ARIS75DD, shown in Figure 38 on page 39, is used to to generate the Starter Database. The
job ends with an SQL return code of 0 if it was successful. A return code of 6 is also acceptable from the
ARISDBSD procedure executed by procedures ARIS050D and ARIS055D. The return code for the job is
displayed in the SYSLST output. Verify that the job is completed successfully before continuing.
Job ARIS75DD does the following:
1. Starts the application server from the “cold start” (STARTUP=C) condition. It then generates the
Starter Database.
2. Uses the assembler preprocessor to create the DBS utility package.
3. Uses the DBS utility to finish generating the database.
4. Uses the DBS utility to load sample tables and routines.
When the application server is cold-started, it reads the statements that specify how the database is to be
generated from SYSIPT. Details of the syntax and sequence required for these statements are in the DB2
Server for VSE System Administration
There are no non-global parameters for ARIS75DD.
38
DB2 for VSE Program Directory
// JOB ARIS75DD
DATABASE DBGEN AND SET UP
// LIBDEF PROC,SEARCH=(%%LIBNAME%%)
// DLBL VSEUCAT,'%%CATALOG%%',,VSAM
// DLBL SQLGLOB,'%%GLOBFILE%%',0,VSAM,CAT=VSEUCAT,DISP=(OLD,KEEP)
// EXEC PROC=ARIS75SL
*-- DB2 SERVICE/PRODUCTION LIBRARY ID PROC
// EXEC PROC=ARIS75DB
*-- DB2 DATABASE ID PROC
(1)
// EXEC PROC=ARIS030D
*-- GENERATE THE STARTER DATABASE
(2)
// EXEC PROC=ARIS040D
*-- PREPARE THE DBS UTILITY
(3)
// IF $RC>4 THEN
// GOTO EXITERR
// EXEC PROC=ARIS050D
*-- FINISH DATABASE SET UP
(4)
// EXEC PROC=ARIS055D
*-- LOAD SAMPLE TABLES AND ROUTINES (5)
// GOTO EXITOK
/. EXITERR
* UNACCEPTABLE ERROR OCCURED.
* PLEASE INVESTIGATE.
CANCEL
/. EXITOK
/&
Figure 38. Job ARIS75DD (Generating a Database)
Expected return code is 6.
Notes:
1. Procedure ARIS75DB contains the job control statements that identify the database files, log, direc-
tory, and database extents. For more information about ARIS75DB, refer to "Embedding Database
Identification Statements". on page 87 Section 7.5.
2. Procedure ARIS030D generates the Starter Database by reading A-type source member ARISDBG for
the database in Figure 39 on page 40. These statements determine the configuration and maximum
size of the database being generated. By changing this source member, you can generate a custom
database. Respond with "DBGEN" to DB2 Server for VSE message ARI0919D.
3. Procedure ARIS040D uses the DB2 Server for VSE Assembler preprocessor (program ARIPRPA) to
create the DB2 Server for VSE DBS utility package. Program ARIPRPA is completed successfully with
a return code of 4. This program requires the SYS001 workfile referred to in "Preparation Step 2: Set
Up the VSE Environment". Do not change procedure ARIS040D or the A-type source member it reads
(ARIDSQLP).
4. Procedure ARIS050D uses the DBS utility to execute SQL commands that finish generating the data-
base. A return code of 6 from this procedure is acceptable and may be ignored. Do not change proce-
dure ARIS050D or the A-type source member it reads (ARISDBU). ARISDBU performs the following:
¹
Grants RUN authority to PUBLIC for the DBS utility package SQLDBA.ARIDSQL.
¹
Loads tables for CCSID support.
¹
Acquires three public dbspaces: HELPTEXT, ISQL, and SAMPLE.
¹
Creates the SQLDBA.SYSLANGUAGE table in the dbspace named PUBLIC.SYS0001. The
command also creates indexes SQLDBA.SYSLANGINDEX and SQLDBA.SYSLANGIDINDEX.
¹
Creates HELP Text tables SQLDBA.SYSTEXT1 and SQLDBA.SYSTEXT2 in the dbspace named
PUBLIC."HELPTEXT". SQLDBA.SYSTEXT2INDEX.
Chapter 3. Installing DB2 Server for VSE
39
¹
Creates the ISQL sample routine table EXAMPLE.ROUTINE, and an index for it named
EXAMPLE.RINDEX.
¹
Creates view SQLDBA.SYSUSERLIST in catalog SYSTEM.SYSUSERAUTH, and grants SELECT
authority to PUBLIC on the view.
¹
Grants SELECT authority to PUBLIC for all DB2 Server for VSE catalog tables except the
SYSTEM.SYSUSERAUTH catalog, and database CONNECT authority to all users (ALLUSERS).
¹
Reloads the preprocessor package for DBCS support.
5. Procedure ARIS055D reads A-type source members ARISAMDB and ARISAMPI, which contain com-
mands that creates sample tables SQLDBA.DEPARTMENT, SQLDBA.EMPLOYEE,
SQLDBA.ACTIVITY, SQLDBA.PROJECT, SQLDBA.EMP_ACT, and SQLDBA.PROJ_ACT.
A return code of 6 from this procedure is acceptable and may be ignored.
CUREXTNT=1
MAXPOOLS=256
MAXEXTNT=256
MAXDBSPC=10240
END
1 1
END
PUBLIC 12800 1
PUBLIC 2048 1
PUBLIC 8192 1
PUBLIC 1024 1
PUBLIC 512 1
PUBLIC 1024 1
PUBLIC 1024 1
PUBLIC 1024 1
PUBLIC 5120 1
PUBLIC 256 1
PUBLIC 256 1
PUBLIC 128 1
PUBLIC 128 1
PUBLIC 128 1
PUBLIC 128 1
PUBLIC 128 1
PUBLIC 128 1
PRIVATE 128 1
PRIVATE 128 1
PRIVATE 128 1
PRIVATE 128 1
PRIVATE 128 1
INTERNAL 80 1024 1
END
Figure 39. A-type source member ARISDBG
Note: It is important to understand the VALUES specified in ARISDBG.
These can have an impact in a
production Database. For details about the syntax of these control statements, refer to the DB2
Server for VSE System Administration manual.
40
DB2 for VSE Program Directory
3.4
Installation Step 4: Install Optional Database Components
Job name is ARIS75ED.
This step is optional.
We recommend that you install all these optional database components, even if you do not plan to use
them now. Job ARIS75ED contains the job control statements to load the optional components of a data-
base into a Starter Database. You may omit specific optional components by removing the procedures in
job ARIS75ED that create that component.
If you do not want ISQL support, then set the ARIS110D, ARIS120D, ARIS130D parameters to *.
Parameter Name
Default value
Description
ARIS110D
//
Install ISQL
ARIS120D
//
Install ISQL
ARIS130D
//
Install ISQL
Figure 40. The parameters for ARIS75ED
Expected return code is 0.
Note:
¹
The ARIS75ED job runs the application server in single user mode. Ensure that it runs in the
DB2 Server for VSE partition as described in "Preparation Step 3: Set Up the VSE Environ-
ment".
¹
Procedure ARIS080D installs the DB2 Server for VSE online support, which you need to run
ISQL or any of your own interactive applications.
¹
"Installation Step 3: Generate the Starter Database" procedure ARIS050D granted CONNECT
authority to ALLUSERS. This allows the DB2 Server for VSE online support to implicitly
connect users. See the DB2 Server for VSE Database Administration for more information on
implicit CONNECT.
¹
Procedure ARIS360D loads the FIPS flagger into the database. For more information on the
FIPS flagger, see the DB2 Server for VSE & VM Application Programming.
3.5
Installation Step 5: Reload CCSID-Related Phases Package
Job name is ARIS75WD.
This step is mandatory.
Job control member ARIS75WD, contains the job control statements to load the CCSID-related phases
package into the database. Procedure ARIS175D reloads the CCSID-related phases package in the data-
base by running the application server in single user mode or multiple user mode against that
database(defined in DBNAME Directory).
Chapter 3. Installing DB2 Server for VSE
41
Parameter Name
Default value
Description
SUM
Y
Load CCSID-Related Package in
Single User Mode. Code N to use Mul-
tiple User Mode.
DBNAME
SQLDS
Database to load the CCSID-Related
Package to in Multiple User Mode.
Figure 41. The parameters for ARIS75WD
Expected return code is 4.
3.6
Installation Step 6: Selecting National Language Support
Job name is ARIS75HZ.
This step is optional.
This step will install a national language for DB2 Server for VSE, and optionally load the ISQL Help Text
for that language. The following steps will be performed:
¹
Enlarge Help Text Dbspace.
¹
"Install" Language.
¹
Verify Installation.
Parameter Name
Default value
Description
PAGES
8192
Number of pages acquired for the
HELPTEXT DBSpace. Default value
8192 is enough to define 3 languages.
Figure 42. The parameters for ARIS75HZ
Expected return code is 0.
3.6.1
Install Language and ISQL Help Text
The ARIS75JZ Z-type member calls the ARIS380D PROC-type member that was modified according to
the parameters specified in ARISIVAR file when you started the Installation Step (Chapter 3). If you have
modified the parameters used in ARIS380D (Figure 44 on page 43) in ARISIVAR file after executing
Installation Step 1, you might need to update ARIS380D file manually before submitting ARIS75JZ.
This is only necessary if the Help Text Dbspace is not large enough to hold the addition of this language.
As supplied, DB2 Server for VSE has 8192 pages assigned for the PUBLIC.HELPTEXT dbspace. This is
sufficient for the Help Text for 3 languages.
Language List:
42
DB2 for VSE Program Directory
Language
Short Name
Mixed English
AME
Uppercase English
UCE
French
FRE
German
GER
Japanese
KAN
Parameter Name
Default value
Description
LANGUAGE
AME
Short form of the language name, taken from the language
list.
HELP
NO
If you want only the ISQL help text to be loaded, change
value to HELP=ONLY. To install a National language in addi-
tion to the Help Text, set HELP=YES. If you do not want Help
Text to be loaded keep current value.
CUU
181
Tape drive address.
DEFAULTL
NO
If you want this language to be the default language, set
DEFAULTL parameter to YES. Otherwise, set the value to
NO.
Figure 43. The parameters for ARIS75JZ
Parameter Name
Default value
Description
NLSLIB
PRD2.DB275 (For AME)
Language Library.
Note: There is no '0' at the
Note: The name of NLSLIB must not exceed 5 characters,
end of PRD2.DB273.
since NLS suffix is 3 characters - making library name
8 characters.
The NLS suffix will be added during the execution of
the program. The suffix is generated by procedure
ARIS385D.
For LANG=AME library will be PRD2.DB2750
For LANG=FRE library will be PRD2.DB275S03,etc.
CLIB
PRD2.DB2750
The Installation Library
Figure 44. The parameters for ARIS380D
Note: Read "Appendix A: What should you keep in mind."
ARIS75JZ job will perform the following functions:
¹
Define a sublibrary for the language components
¹
Linkedit the message repository
¹
Update SQLDBA.SYSLANGUAGE with language key and language id
¹
Linkedit language specific parts
¹
Change the default language if requested
¹
Load Help text if requested.
Expected return code is 0, however, return code 6 is acceptable.
Chapter 3. Installing DB2 Server for VSE
43
3.7
Installation Step 7: Grant SCHEDULE Authority
Job name is ARIS75FD.
This step is optional.
If the CICS application name specified in the SIT table is DBDCCICS (APPLID=DBDCCICS) and you are
using the default password (SQLDBAPW), skip this step.
In "Installation Step 4: Install Optional Database Components", procedure ARIS080D granted SCHEDULE
authority to user ID DBDCCICS and assigned it the password SQLDBAPW. DBDCCICS is the default
CICS application name (APPLID).
However, if in "Entries Required in DFHSIT", you specified a different CICS application name in the SIT
(APPLID=name), this name should be granted SCHEDULE authority instead. To do this, run job control
member ARIS75FD, shown in Figure 45. From the following example,
// EXEC PGM=DFHSIP,SIZE=DFHSIP,PARM='APPLID=OMYGW001 ...
you would GRANT SCHEDULE to OMYGW001
The password (namepw) specified in the GRANT SCHEDULE command must also be specified in the
CIRB and CIRT transactions used to start and stop the DB2 Server for VSE online support.
See "Starting the DB2 Server for VSE Online Support" on page 43 and "Stopping the DB2 Server for VSE
Online Support" on page 46. For details on the CICS APPLID, refer to the CICS manuals.
Parameter Name
Default value
Description
NAME
DBDCCICS
CICS application name
(APPLID=name)
NAMEPW
SQLDBAPW
Password
SUM
Y
Load CCSID-Related Package in
Single User Mode. Code N to use Mul-
tiple User Mode.
DBNAME
SQLDS
Database to load the CCSID-Related
Package to in Multiple User Mode.
Figure 45. The parameters for ARIS75FD
Expected return code is 0.
3.8
Installation Step 8: Start the Application Server in Multiple User
Mode
Job name is ARIS75GD.
This step is mandatory for the installation process, but optional for the migration process.
44
DB2 for VSE Program Directory
Parameter Name
Default value
Description
DBNAME
SQLDS
SQLDS is the RESID of the database
to connect to the DBNAME parameter
of the database server.
Figure 46. The parameters for ARIS75GD and ARIS75GZ
You should verify the installation by performing this step through "Installation Step 12: Stop the Application
Server".
To use the application server in multiple user mode, start it in a partition like a batch job. You can then run
applications in other partitions that use DB2 Server for VSE, or you can start CICS transactions that
access DB2 Server for VSE.
Note: DB2 Server for VSE has many initialization parameters that it uses to initialize and configure its
partition. These parameters are described in detail in the DB2 Server for VSE System Adminis-
tration manual, along with examples of how you can create lists of such parameters and reference
them. Ways of using and overriding cataloged procedures for starting the application server are
also described in that manual.
IBM-supplied job control member ARIS75GD starts the application server in multiple user mode. Further
information on day-to-day operation of DB2 Server for VSE is in the DB2 Server for VSE & VM Operation
manual. The VSE partition configuration required for DB2 Server for VSE multiple user mode operation is
described in "Preparation Step 2: Set Up the VSE Environment".
Note: When DB2 Server started successfully, you will see the following message on the console:
ENTER A PARTITION NUMBER TO START THE OTHER JOBS :
Please, enter any available partition class with sufficient resource.
3.9
Installation Step 9: Create CCSID-Related Phases
Job name is ARISCNVD.
This step is mandatory and must be executed while the database
server is active.
Parameter Name
Default value
Description
PARMS
SQLDBA/SQLDBAPW/SQLDS
SQLDBA is user id with DBA authority,
SQLDBAPW is the connect password,
SQLDS is the RESID of the database
to connect to the DBNAME parameter
of the database server.
Figure 47. The parameters for ARISCNVD
Note: See global parameters for installation.
Chapter 3. Installing DB2 Server for VSE
45
Expected return code is 0.
3.10
Installation Step 10: Run the Sample Programs to Verify
Installation
This step is optional.
You should run the sample application programs to verify that you correctly installed the DB2 Server for
VSE system and the Starter Database.
For each language supported by an DB2 Server for VSE preprocessor program application program is
supplied that shows how SQL commands can be coded in the preprocessor programs. These sample
programs all access and manipulate the DB2 Server for VSE sample tables in a similar manner. Refer to
the manual for listings of the sample programs.
IBM also supplies the following DB2 Server for VSE Z-type source members with the job control state-
ments to run the sample programs.
ARIS6ASD preprocesses, assembles, link-edits, and runs the assembler.
See global parameters.
Expected return code is 0.
ARIS6C2D preprocesses, assembles, link-edits, and runs COBOL.
Parameter Name
Default value
Description
COBLIB
CMPLR22.COBVSE
Default library for Cobol compiler
Figure 48. The parameters for ARIS6C2D
See global parameters.
Expected return code is 0.
ARIS6CD preprocesses, assembles, link-edits, and runs C (DO NOT run this job if C is not installed on
your system)
Parameter Name
Default value
Description
C-LIB
CMPLR22.CVSE
Default library for C compiler
Figure 49. The parameters for ARIS6CD
See global parameters.
Expected return code is 2.
ARIS6FTD preprocesses, assembles, link-edits, and runs FORTRAN (DO NOT run this job if FORTRAN is
not installed on your system)
46
DB2 for VSE Program Directory
Parameter Name
Default value
Description
FRTLIB
COMPILE.COMPILE
Default library for Fortran Compiler
Figure 50. The parameters for ARIS6FTD
See global parameters.
Expected return code is 4.
ARIS6PLD preprocesses, assembles, link-edits, and runs PL/I (DO NOT run this job if PL/I is not installed
on your system)
Parameter Name
Default value
Description
PLDLIB
COMPILE.COMPILE
Default library for PL/I Compiler
Figure 51. The parameters for ARIS6PLD
See global parameters.
Expected return code is 4.
3.11
Installation Step 11: Run ISQL to Verify Installation
3.11.1
Starting the CICS System
The CICS system needs to be running before you can start DB2 Server for VSE online support. While you
do not have to restart the CICS system exclusively for DB2 Server for VSE, you must update both the
CICS startup job control and the CICS control tables before you can use DB2 Server for VSE with the
CICS system. See "Preparation Step 6" and "Preparation Step 7".
3.11.1.1
Starting the DB2 Server for VSE Online Support:
You can use the CICS CIRB transaction with all its internal default parameters, to start the DB2 Server for
VSE online support. The CIRB transaction accepts six positional parameters having the following default
values:
password
Defaults to SQLDBAPW. This is the password for the CICS APPLID discussed under
"Installation Step 7: Grant SCHEDULE Authority ".
number of links (NOLINKS) defaults to 3.
default user ID (DEFUID) defaults to CICSUSER.
resource adapter ID (RMID) defaults to 0.
language ID
(LANGID) specifies the language that is link-edited and the search order. The default is
American English (AMENG).
SERVER-NAME (SERVER-NAME) defaults to SQLDS (or to the system default application server if you
have performed "Installation Step 1: Set Up the DBNAME Directory".
Chapter 3. Installing DB2 Server for VSE
47
Entering CIRB is thus the same as entering:
CIRB SQLDBAPW,3,CICSUSER,0,AMENG,SQLDS
Refer to the DB2 Server for VSE System Administration manual for details about the parameters that can
be passed in a CIRB transaction. (That discussion includes a description of how the user IDs DBDCCICS
and CICSUSER relate to the DB2 Server for VSE online support.)
If the CIRB transaction fails to run successfully, ensure that:
¹
The required CICS table updates have been made.
¹
The CICS system has been restarted after the required table updates were made, or RDO was used
to update the required tables
¹
The DFHSIT application name (APPLID) has been granted SCHEDULE authority in the database.
(See "Installation Step 7: Grant SCHEDULE Authority".)
¹
The DB2 Server for VSE sublibrary has been concatenated to the appropriate search chains in the
partition in which the CICS system or ICCF runs.
¹
The application server has been started in multiple user mode.
¹
All prerequisite service required by DB2 Server for VSE has been applied.
¹
The CICS restart resynchronization support has been enabled.
3.11.2
Starting ISQL
ISQL runs as a CICS transaction, and is invoked just like any other transaction. Details of the sign-on and
exit procedures are in the DB2 Server for VSE & VM Interactive SQL Guide and Reference.
After the CICS terminal has been activated and the DB2 Server for VSE online support has been started,
start ISQL by typing:
ISQL
The system responds with the ISQL sign-on screen, and prompts you to enter your user ID, password and
optionally a target database name.
All further actions are handled conversationally between the CICS user and ISQL.
If you cannot log on to ISQL, ensure that:
¹
The CICS resources were successfully updated during "Preparation Step 6" and Preparation Step 7".
¹
There is enough CICS dynamic storage for ISQL (900 kilobytes).
¹
ISQL was installed successfully during "Installation Step 4: Install Optional Database Components".
- DB2 Server for VSE online support has been started with links to the specified (or default) data-
base.
- All links managed by DB2 Server for VSE online support have not been used up.
- All prerequisite service required by DB2 Server for VSE has been applied.
48
DB2 for VSE Program Directory
3.11.3
Verify the Installation
If you are signed on to ISQL, you can use it to verify that DB2 Server for VSE is correctly installed and
that the Starter Database is successfully installed
To test the Starter Database, execute the following example SQL SELECT command through ISQL:
SELECT CREATOR,TNAME FROM SYSTEM.SYSACCESS WHERE CREATOR='SQLDBA'
The information displayed is selected from the DB2 Server for VSE catalog table SYSTEM.SYSACCESS.
options that were installed.
Figure 52 shows the possible rows that may be displayed.
CREATOR TNAME
--------------------
SQLDBA SYSUSERLIST
--- SYSTEM.SYSUSERAUTH view
SQLDBA ARIDSQL
--- The DBS utility package
SQLDBA ARIISQL
--- The ISQL package
SQLDBA VPHONE
--- View for sample tables
SQLDBA VEMPLP
--- View for sample tables
SQLDBA ARIFCRD
--- FIPS Flagger package
SQLDBA ARIPDBS
--- DBCS support package
Figure 52. Installation Verification Display
To print the display results, enter the ISQL display command:
PRINT
The successful execution of the PRINT command verifies that SYS098 has been assigned to a
VSE/POWER-intercepted printer, or to a real printer. (Refer to "Modifying the CICS Start-Up JCL".)
3.11.4
Stopping ISQL
To end the display and terminate the ISQL session:
Type the ISQL display command:
END
Type the ISQL session termination command:
EXIT
3.12
Installation Step 12: Stop the Application Server
Chapter 3. Installing DB2 Server for VSE
49
3.12.1
Stopping the DB2 Server for VSE Online Support
You can use the CICS CIRT transaction with all its internal default parameters, to stop the DB2 Server for
VSE online support. The CIRT transaction accepts three positional parameters, which have the following
default values:
password
Defaults to SQLDBAPW. This must be the same password as the one specified (or the
default) in the CIRB transaction.
mode
Defaults to NORMAL. Options are NORMAL or QUICK.
interval
Defaults to 30 (seconds). This is a decimal value between 0 and 3600 (seconds).
Entering CIRT is thus the same as entering:
CIRT SQLDBAPW,NORMAL,30
Refer to the DB2 Server for VSE System Administration manual for details about the parameters that can
be passed in a CIRT transaction.
3.12.2
Stopping the CICS System
The CICS system need not be stopped when the application server is being shut down; it can continue to
process transactions that do not access DB2 Server for VSE. If the CICS system must be stopped, that
action can be taken in its normal way; DB2 Server for VSE does not restrict CICS shutdown.
3.12.3
Stopping the Application Server
To stop the application server:
1. Signal the DB2 Server for VSE operator communications routine using the VSE Attention Routine
command MSG Fx (where x is the partition in which the application server is running).
2. In response to message ARI0062A, enter the SQL command y SQLEND (where y is the reply-id of
the partition in which the application server is running).
MSG F4
AR 015 1I40I READY
*F4-004 ARI0062A SQLDS :
ENTER AN SQL OPERATOR COMMAND
4 SQLEND
F4 004 ARI0028I DB2 Server IS TERMINATING
F4 004 ARI0065I DB2 Server OPERATOR COMMAND PROCESSING COMPLETE
F4 004 ARI0032I DB2 Server HAS TERMINATED
F4 004 ARI0043I DB2 Server RETURN CODE IS 0
F4 004 EOJ STARTSQL MAX.RETURN CODE=0000
Figure 53. Stopping the Application Server
Operator entries are in BOLD type.
For more information on the SQLEND command, see the DB2 Server for VSE System Administration
manual.
50
DB2 for VSE Program Directory
3.13
Post-Installation Activities
3.14
Installation Step 13: Add New Users to the Database
This step is optional.
User IDs are usually added to the database after it is installed by executing SQL GRANT commands
through ISQL or the DBS utility. The job shown in
Figure 54 uses the DBS utility to add a new user ID with DBA authority to the database.
// JOB ADD USERIDS
// LIBDEF PROC,SEARCH=(PRD2.DB2750)
// EXEC PROC=ARIS75PL
*-- DB2 Server PRODUCTION LIBRARY ID PROC
// EXEC PGM=ARIDBS,SIZE=AUTO
*-- USE THE DBS UTILITY
CONNECT SQLDBA IDENTIFIED BY SQLDBAPW;
GRANT DBA TO newdba IDENTIFIED BY newdbapw; (1)
/*
/&
Figure 54. Adding New User IDs to the Database
Notes for Figure 54:
¹
You can supply more than one GRANT statement in the DBS utility SYSIPT input.
¹
Refer to the DB2 Server for VSE & VM SQL Reference for a complete description of the GRANT
command.
¹
The application server must be running in multiple user mode in another partition when you run this
job. Refer to "Installation Step 9: Start the Application Server in Multiple User Mode" for instructions on
how to do this.
(1)
At this time in the installation process, you may want to add a new user ID with DBA
authority to the database (as shown above). This new user ID would be responsible for
database administration. Replace newdba with a new DBA ID and replace newdbapw
with a new password.
3.15
Installation Step 14: Change the Database Administrator
Password
This step is optional for the installation and migration process, but highly recommended.
The user ID SQLDBA is the default user ID under which all DB2 Server for VSE installation jobs are run. It
has the default password SQLDBAPW assigned to it. Since it has DBA authority, its use must be carefully
controlled. After finishing the DB2 Server for VSE installation and running the sample programs, change
this password to one of your own choosing, by entering a GRANT command through either ISQL or the
DBS utility.
Chapter 3. Installing DB2 Server for VSE
51
Figure 55 on page 52 shows a DBS utility job to change the password. The user SQLDBA still has DBA
authority, but its password is changed to newpw.
// JOB ARIS75VD
CHANGE SQLDBA PASSWORD
// LIBDEF PROC,SEARCH=(PRD2.DB2750)
// EXEC PROC=ARIS75PL
*-- DB2 Server PRODUCTION LIBRARY ID PROC
// EXEC PGM=ARIDBS,SIZE=AUTO
*-- USE THE DBS UTILITY
CONNECT SQLDBA IDENTIFIED BY SQLDBAPW;
GRANT CONNECT TO SQLDBA IDENTIFIED BY newpw;
(1)
/*
/&
Figure 55. Job ARIS75VD (Example of Changing the SQLDBA Password in the Database)
Notes for Figure 55:
¹
Do not delete user ID SQLDBA from the system. It was used for the creation of the packages
(through PREP) for important programs (such as the DBS utility, the online resource adapter, and
ISQL); and if service is applied to any of these programs, the IBM-supplied procedures assume that
this user ID with password SQLDBAPW is in the database. Before any of these program packages
can be recreated, the password must be changed back to SQLDBAPW.
¹
The application server must be running in multiple user mode in another partition when you run this
job. Refer to "Installation Step 9: Start the Application Server in Multiple User Mode".
(1)
Replace newpw with a new password.
3.16
Installation Step 15: System Customization Activities
This step lists further administration and customization activities you should consider at this time. These
are:
¹
Install and activate the DRDA Application Server code, and customize the database for distributed
processing. See DB2 Server for VSE System Administration manual
¹
Install and activate the DRDA Application Requestor code.
¹
Prepare to Use TCP/IP. See the chapter "Using TCP/IP with DB2 Server for VSE" inDB2 Server for
VSE System Administration manual.
¹
Define a dual log data set and alternate log data set.
¹
Change the setting of the CHARNAME parameter for the database and initialize the user partition
since the default after installation is INTERNATIONAL. The CCSID defaults for the application server
are determined when a CHARNAME is chosen.
¹
Set database options, such as double-byte character set (DBCS) support and character subtype.
¹
Install additional application servers.
¹
Set up Stored Procedures.
Note. The JCL used to start up the database with Stored Procedure Support must contain a state-
ment that defines the logical device 097 to enable POWER to find and execute the JCL that starts the
stored procedure handler. An example is illustrated below:
52
DB2 for VSE Program Directory
// ASSGN SYS097,SYSPCH
¹
Set up the schema stored procedures and load the packages for the schema stored procedures if you
plan to use DB2 Server for VM database as a server that can be accessed by JDBC /CLI clients using
DB2 UDB v8 or later See Appendix F, "Preparing the Schema Stored Procedures for JDBC/CLI
Clients " in the DB2 Server for VSE & VM Database Administration manual for details.
Refer to the DB2 Server for VSE System Administration manual for information to help you define proce-
dures for operating DB2 Server for VSE and for the information you need to perform the activities listed
above.
3.16.1
VSE Guest Sharing
This section discusses how to complete the installation of DB2 Server for VSE to enable VSE Guest
Sharing. It does not attempt to explain Guest Sharing in detail. For more information on Guest Sharing,
refer to the DB2 Server for VSE System Administration manual. You can also refer to the IBM z/VSE
Planning manual.
The term "Guest Sharing" is used because the VSE system is a "guest" of the z/VM system and it
"shares" the data with the host's application server.
The VSE Guest Sharing installation process requires you to install the complete DB2 Server for VSE
product as a guest of a z/VM system.
3.16.2
VSE Guest Machine Parameters
The number of links between the VSE guest machine and the VM database is limited by the MAXCONN
parameter in the VSE guest machine directory entry. If this parameter is not specified, the default is 16.
Each VSE guest machine partition that uses the VSE guest sharing facility must have an ALLOC R allo-
cation. This allocation must be 40 kilobytes for each DB2 Server for VSE communication link.
SETPFIX LIMIT=40K must also be coded in the JCL.
Online users can access another application server on the z/VM systems by supplying a different data-
base name on the SERVER-NAME parameter of the CIRB transaction.
3.16.3
VSE Guest Sharing Installation Checklist
Here is the checklist for setting up guest sharing support for DB2/VSE
¹
Preparation Step 1: Setup VSE Environment
¹
Preparation Step 2: Allocate Dasd for the Distribution Library
¹
Preparation Step 4: Restore the Distribution Library
¹
Preparation Step 5: Prepare the CICS Environment
¹
Preparation Step 6: Define DB2 Server Programs and Transactions
¹
Preparation Step 7: Setup the SQLGLOB and SQLBIND Files
¹
Preparation Step 9: Update Standard Labels
Chapter 3. Installing DB2 Server for VSE
53
¹
Installation Step 1: Setup the DBNAME Directory
¹
Installation Step 2: link Edit Online Support Components
¹
Installation Step 4: Install Optional Database Components
¹
Installation Step 5: Reload CCSID-Related Phases Package
¹
Installation Step 6: Select National Language Support
¹
Installation Step 7: Grant Schedule Authority
¹
Installation Step 9: Create CCSID-Related Phases
¹
Installation Step 9: Run Sample Programs to Verify Installation
¹
Installation Step 9: Run ISQL to Verify Installation
To set up the DBNAME directory for DB2/VSE, you must first determine the RESID and DBNAME of the
DB2/VM database server. Often they are the same name, but they can be different. The DBNAME is the
same as the DBNAME parameter used on the DB2/VM SQLSTART command The RESID was deter-
mined when SQLDBGEN was done. It corresponds to the filename of some of the DB2/VM database
definition files, resid SQLFDEF Q and resid SQLDBGEN Q. If the DB2/VM server is running, the SHOW
INITPARM operator command can be issued. The DBNAME and RESID can taken from that output.
Set up a TYPE=HOSTVM entry in the ARISDIRD.A file, specifying the RESID as the APPLID and the
DBNAME as the DBNAME. Set up system default and/or partition defaults if desired. The TPN, SYSID
and REMTPN fields should be blank. DB2/VSE determines that guest sharing is to be used if the APPLID
field does not begin with SYSARI0.
After the ARISDIRD.A file has been cataloged into the DB2/VSE library, ARISBDID job must be run to
generate the DBNAME directory phase. For example:
TYPE=HOSTVM
DBNAME=VMDB1
RESID=DB2VM1
SYSDEF=Y
Figure 56. DBNAME directory
In an application use
CONNECT uid IDENTIFIED BY upass TO VM_DB
In CICS, to activate the online resource adapter for the VM database, use
CIRB ,,,,, VM_DB
For information on how VSE batch/ICCF applications access different application servers, refer to the DB2
Server for VSE System Administration manual.
54
DB2 for VSE Program Directory
4.0
Chapter 4. Migrating an Existing Database
DB2 Server for VSE 7.5.0 supports migration from SQL/DS 3.1.0 and later.
To migrate an existing database to Version 7 Release 5:
1. Read "Appendix A: How to Use the Job Manager".
2. If an earlier release was loaded into the shared virtual area (SVA), remove those earlier phases from
the SVA before running the migration Refer to "DB2 Server for VSE Link Books" for a list of the
phases that are eligible for the SVA.
3. Complete steps in:
¹
Chapter 2, Preparing to Install DB2 Server for VSE 7.5:
- "Preparation Step 2: Set up the VSE Environment"
- "Preparation Step 3: Allocate DASD for the Distribution Library"
- "Preparation Step 5: Restore the DB2 Server for VSE Distribution library.
- "Preparation Step 8: Setup the SQLGLOB and BIND files"
¹
Chapter 3, Installing DB2 Server for VSE:
- "Installation Step 2: Link-Edit the DB2 Server for VSE 7.5 Online Support Components"
Note: Review Chapter 1 before you proceed to perform the steps in these two chapters.
4. For each pre-Version 7 Release 5 database, perform all the mandatory steps in this chapter, and all
the optional steps that apply to your database. See Figure 57
Note: All of the steps in this chapter run in single user mode.
Attention: If any procedure within any of the steps in this chapter fails to execute successfully, fix the
problem and rerun the entire step again before continuing.
Figure 57 (Page 1 of 2). Steps to Migrate an Existing Database to Version 7 Release 5
Step
Optional
Vs 3.5 & up
Vs 3.4
Description
1
Optional
Manual
Manual
Space Verification and DATE/TIME Option Verification
2
Mandatory
Manual
Manual
Archiving a Database
3
Mandatory
Automated
Manual
Prepare the Database for Migration
4
Mandatory
Automated
Manual
Migrate the DBNAME Directory
5
Mandatory
Automated
Automated
Format the DB2 Server for VSE logs
6
Mandatory
Automated
Automated
Update the DB2 Server for VSE Catalog to the 7.5
7
Mandatory
Automated
Automated
Reload the DBS Utility Package
8
Mandatory
Automated
Automated
Update the DB2 Server for VSE Database
9
Mandatory
Automated
Automated
Migrate the HELP Text Tables
10
Optional
Automated
Automated
Reload English Help Text into a Database
11
Optional
Automated
Automated
Reload ISQL into a Database
12
Mandatory
Automated
Automated
Reload CCSID-Related Phases Package
13
Optional
Automated
Automated
Load FIPS Flagger into a Database
14
Optional 1
Automated
Automated
Determine the Primary Keys to be Recreated
15
Optional
Automated
Automated
Revoke connect Authority from ALLUSERS
16
Mandatory
Automated
Automated
Reset the Password for User SQLDBA
17
Mandatory
Automated
Automated
Start Application Server in multiple user mode
Copyright IBM Corp. 1981, 2007
55
|
||
|
|
|