Configuring DB2 Database Connectivity in A Parallel Environment in DataStage
Configuring DB2 Database Connectivity in A Parallel Environment in DataStage
datastage4you.blogspot.com
Steps
To configure InfoSphere DataStage to access IBM DB2 servers,
include a node definition for each IBM DB2 server node in the
configuration file. Also, complete the following steps.
db2setup.sh db2db
1 of 4 04-06-2018, 21:29
Configuring DB2 database connectivity in a parallel environment in Dat... about:reader?url=http://datastage4you.blogspot.com/2012/08/configurin...
You must grant privileges to each user who runs jobs that contain
the DB2 Enterprise stage.
Procedure
Run the $APT_ORCHHOME/bin/db2grant.sh script once for each
user. Use the following syntax:
Procedure
Install DB2 and make sure it is working correctly.
Note: Ensure that the touch utility exists in the /usr/bin directory or
create a symbolic link to the touch command.
2 of 4 04-06-2018, 21:29
Configuring DB2 database connectivity in a parallel environment in Dat... about:reader?url=http://datastage4you.blogspot.com/2012/08/configurin...
InfoSphere DataStage runs many processes for each job. This can
require the system administrator to modify DB2 resources,
configuration parameters, and manager configuration parameters.
See the DB2 information center for more information.
CONNECT TO database_name
GRANT DBADM ON DATABASE TO USER user_name
Procedure
Set the DB2INSTANCE environment variable to the user name of
the owner of the DB2 instance. DB2INSTANCE determines the
location of the db2nodes.cfg file, as follows:
~owner_user_name/sqllib/db2nodes.cfg
3 of 4 04-06-2018, 21:29
Configuring DB2 database connectivity in a parallel environment in Dat... about:reader?url=http://datastage4you.blogspot.com/2012/08/configurin...
~Janet/sqllib/db2nodes.cfg.
. ~Mary/sqllib/db2profile
export LIBPATH=~Mary/sqllib/lib:${LIBPATH:-/usr/lib}
source ~Mary/sqllib/db2profile
if (! $?LIBPATH) setenv LIBPATH /usr/lib
setenv LIBPATH ~Mary/sqllib/lib:$LIBPATH
4 of 4 04-06-2018, 21:29