Hi everybody,
My environment is the following:
TSM server 5.1.6.4 on AIX5.1 32bit
DB2 EEE 7.2 on AIX 5.132 bit
TSM client 5.1.5.15 and API on AIX5.1 32bit
I'm configuring the online backup of DB2 towards TSM.
The following variables were added to the .profile of root and the instance owner:
DSMI_CONFIG=/usr/tivoli/tsm/client/api/bin/dsm.opt
DSMI_LOG=/usr/tivoli/tsm/client/api
DSMI_DIR=/usr/tivoli/tsm/client/api/bin
DB2 was stopped and started again to read theses variables and then the program:
/usr/lpp/db2_07_01/adsm/dsmapipw was run to set the new TSM password. This was
successfull
Then I've done the following command to verify the communication between DB2 and TSM
as the instance owner:
$db2adutl query
Retrieving FULL DATABASE BACKUP information.
No FULL DATABASE BACKUP images found for BWP
Retrieving INCREMENTAL DATABASE BACKUP information.
No INCREMENTAL DATABASE BACKUP images found for BWP
which says that no backups are found (correct) and which means that the communication
between TSM and DB2 is correct.
The latests step is that I have to compile the C source code db2uext2.c so that the
backup of the logical logs can be done via the userexit program. I'm using the gcc
compiler 3.0.1.
I use the following options to compile the C source code (to the executable db2uext2
under /usr/lpp/db2_07_01/samples/c):
#/usr/local/bin/gcc -I /usr/tivoli/tsm/client/api/bin/sample
/usr/tivoli/tsm/client/api/bin/libApiDS.a -o /usr/lpp/db2_07_01/samples/c/db2uext2
/usr/lpp/db2_07_01/samples/c/db2uext2.c
The output of the compilation is:
In file included from /usr/local/lib/gcc-lib/powerpc-ibm-aix4.3.2.0/3.0.1/includ
e/sys/signal.h:309,
from /usr/local/lib/gcc-lib/powerpc-ibm-aix4.3.2.0/3.0.1/includ
e/sys/wait.h:62,
from /usr/local/lib/gcc-lib/powerpc-ibm-aix4.3.2.0/3.0.1/includ
e/stdlib.h:235,
from db2uext2.c:159:
/usr/include/sys/context.h:155: parse error before "sigset64_t"
/usr/include/sys/context.h:158: parse error before '}' token
What does this error in the compilation means? How do I solve it. Or does anybody have
a compiled db2uext2 program that I can use on AIX5.1 32 bit?
Thanks a lot for any assistance.
Kurt Beyers