Professional Documents
Culture Documents
TAFJ-DB2 Install
TAFJ-DB2 Install
R22
TAFJ-DB 2 I n s t all
Amendment History:
Revisio
Date Amended Name Description
n
1 1st April 2011 TAFJ team Initial version
7st February
2 H. Aubert R12GA review
2012
th
16 January
3 R. Vincent R13GA review
2013
10 11th Feb 2022 M.kumar Add support to NOWAIT in DB2 starting v-11.5.6
H. Sanofar
11 23rd March 2022 R22 AMR Review
Nisha
Page 2
TAFJ-DB 2 I n s t all
Copyri g h t
Copyright © Temenos Headquarters SA 2009-2022. All rights reserved.
This document contains proprietary information that is protected by copyright. No part of this document may
be reproduced, transmitted, or made available directly or indirectly to a third party without the express
written agreement of TEMENOS UK Limited. Receipt of this material directly TEMENOS UK Limited
constitutes its express permission to copy. Permission to use or copy this document expressly excludes
modifying it for any purpose, or using it to create a derivative therefrom.
Temenos Headquarters SA
2 Rue de l’Ecole-de-Chimie,
CH - 1205 Geneva,
Switzerland
Please include your name, company, address, and telephone and fax numbers, and email
address if applicable. TAFJdev@temenos.com
Page 3
TAFJ-DB 2 I n s t all
Table of Contents
Copyright................................................................................................................................................ 3
Errata and Comments............................................................................................................................ 3
Introduction............................................................................................................................................. 5
Install DB2.............................................................................................................................................. 5
Launch the Control Center to Create Your Database.............................................................................7
Create Tablespace and Grant Privileges.............................................................................................. 12
Create Java Functions.......................................................................................................................... 16
Page 4
TAFJ-DB 2 I n s t all
Intro d u c t i o n
This document will show all the steps configure a DB2 database ready to be used by T24
with TAFJ. At this time TAFJ only supports DB2 Version 10 and up.
This procedure is for Windows® platform. For all other OS please refer to the official product
documentation.
Inst a l l DB 2
Most steps are not shown. Please follow the official DB2 document setup.
http://pic.dhe.ibm.com/infocenter/db2luw/v10r5/index.jsp?topic=
%2Fcom.ibm.db2.luw.qb.server.doc%2Fdoc%2Ft0008099.html
Here is an instruction video, which is helpful for DB2 Express-C (keep in mind TAFJ only
supports versions later than 10)
http://www.youtube.com/watch?v=m71-BFizzkE
A note for the installation. Choose the Domain and Username. Keep in mind that DB2 uses
the OS user for authentication so on windows this is the account you most frequently log in
with. You will be able to skip a step later if this user is a member of the DB2 admin group.
Page 5
TAFJ-DB 2 I n s t all
Page 6
TAFJ-DB 2 I n s t all
After DB2 is finished installing, launch the control center and Select Tools Menu Wizards
and then select "Create Database Wizard"
From here on, we will assume your database name is R09TAFJ. You cannot change the
default path as shown above. Choose "Let DB2 manage my storage" and 32k for the page
size then "Next.
Page 7
TAFJ-DB 2 I n s t all
Click « Next »
Page 8
TAFJ-DB 2 I n s t all
Page 9
TAFJ-DB 2 I n s t all
Page 10
TAFJ-DB 2 I n s t all
Page 11
TAFJ-DB 2 I n s t all
- Createtablespace_db2.db2
- grantPrivileges_db2.db2
You will need to edit this script to reflect the correct data. In the createtablespace_db2.db2,
you will need to change 2 values (in blue):
Page 12
TAFJ-DB 2 I n s t all
Page 13
TAFJ-DB 2 I n s t all
DB2 uses the underlying operating system security (or optionally a framework such as
Kerberos) to manage user IDs and passwords.
Therefore, if you want to create a new user on (for example) Linux you would add a new user
using the standard OS tools (either command line or GUI).
Access to DB2 objects, and other database privileges, can then be granted to either
individual user IDs or groups (again OS groups).
The below grant privilege script can be skipped if in the Install you set your user to be the
db2admin.
Page 14
TAFJ-DB 2 I n s t all
Note that if the password contains bizarre characters to put the password in quotes.
GRANT
DBADM,CREATETAB,BINDADD,CONNECT,IMPLICIT_SCHEMA,LOAD,CREATE_EXTERN
AL_ROUTINE,QUIESCE_CONNECT,SECADM ON DATABASE TO USER MYUSER@
CONNECT RESET@
Page 15
TAFJ-DB 2 I n s t all
Page 16
TAFJ-DB 2 I n s t all
Once this is finished you should be able to run a DBImport for DB2. Do not forget to copy
the DB2 drivers from $TAFJ_HOME/dbdrivers to $TAFJ_HOME/ext. The properties that go
in the TAFJ properties file look like this:
temn.tafj.jdbc.url = jdbc:db2://localhost:50001/R09TAFJ
temn.tafj.jdbc.driver = com.ibm.db2.jcc.DB2Driver
temn.tafj.jdbc.username = MYUSER
temn.tafj.jdbc.password = mypassword
!! Important !!
Starting DB2 V-11.5.6 we support NOWAIT for native database locking and the following
parameter is mandatory for it to work.
db2set DB2LOCK_TO_RB=STATEMENT
db2stop
db2start
Page 17