cancel
Showing results for 
Search instead for 
Did you mean: 

tp call to database fails in IBM i-series / DB2

Naveen01
Explorer
0 Kudos

Hi,

While performing "Check Transport Tool " in SPAM  it fails in the phase  "tp Call" 

with the following error,

RFC Link              tp was started successfully

tp Version            380.03.50

DB Connect            Link to database failed

Offline Call          connect failed

This is tp version 380.03.50 (release 720, unicode enabled)

ERROR: Connect to DT1 failed (20120507033832, probably wrong environment).

TRACE-INFO: 1:  [     dev trc,00000]  Mon May  7 03:38:30 2012                                                       112842

0.112842

TRACE-INFO: 2:  [     dev trc,00000]  DlLoadLib() success: dlopen("/usr/sap/<SID>/DVEBMGS<nn>/exe/dbdb4slib.o"), hdl 0       26

0.112868

TRACE-INFO: 3:  [     dev trc,00000]  DB4 SQL Reparse Activated                                                        2215

0.115083

TRACE-INFO: 4:  [     dev trc,00000]  IBM i 7.1 - XDN Default                                                          8510

0.123593

TRACE-INFO: 5:  [     dev trc,00000]  Mon May  7 03:38:31 2012                                                       548421

0.672014

TRACE-INFO: 6:  [     dev trc,00000]  dbsldb4utl:sappfpar(DEFAULT.PFL): dbs/db4/xdn_trace_file=XDNTrace                  26

0.672040

TRACE-INFO: 7:  [     dev trc,00000]  as4IsHostLocal: SAPDBHOST 'SAPR4001' is local                                   56641

0.728681

TRACE-INFO: 8:  [     dev trc,00000]  Mon May  7 03:38:32 2012                                                      1224711

1.953392

TRACE-INFO: 9:  [     dev trc,00000]  DB connection handle = 1.                                                          22

1.953414

TRACE-INFO: 10:  [     dev trc,00000]  R3INLPGM: RmtExeLib from /usr/sap/<SID>/DVEBMGS<nn>/exe/DBSLDB4RMT                   2120

1.955534

TRACE-INFO: 11:  [     dev trc,00000]  R3INLPGM: RmtExeLib is                                                           1278

1.956812

TRACE-INFO: 12:  [     dev trc,00000]  DBSLENCWT: rc=0, msg=CPF9897 CONCURRENT WRITE IS ENABLED.

TRACE-INFO: 13:                                                                                                        76039

2.032851

TRACE-INFO: 14:  [    dbsldb4d,00000]  *** ERROR => CPF0006 occured: Errors occurred in command.                        1133

2.033984

TRACE-INFO: 15:  [    dbsldb4.,00000]  *** ERROR => central_connect: ADDLIBLE LIB(          ) POSITION(*FIRST) failed.

TRACE-INFO: 16:                                                                                                           46

2.034030

tp returncode summary:

TOOLS: Highest return code of single steps was: 0

ERRORS: Highest tp internal error was: 0232

Please help to solve this issue.

Thanks and Regards,

Naveen

Accepted Solutions (0)

Answers (4)

Answers (4)

0 Kudos

Hello Naveen.

Please check AS4_DB_LIBRARY parameter in DBCON.

If it empty or there is no parameter AS4_DB_LIBRARY insert it and type correct library,

like AS4_DB_LIBRARY=Library.

I check connection with empty and without this parameter and i receive the same error message --

CPF006

Sriram2009
Active Contributor
0 Kudos

Hi Naveen

Kindly refer the SAP Note 950725 - Upgrade to SAP NetWeaver PI 7.1: IBM DB2

Thanks

Sriram.

dorothea_stein
Participant
0 Kudos

Hi Naveen,

please check if /usr/sap/<SID>/DVEBMGS<nn>/exe directory contains a file that starts with the following prefix:

     .ilelibSAP<SID>

If not, please try to apply the kernel once more to get that fixed.

Best regards,

Dorothea

0 Kudos

Try applying the ILE kernel libraries.It is recommended that you follow the IBM i specific actions as per

note 1636252 in order to load and apply the kernel stack completely by downloading and applying sapexe, sapexedb, igs and igshelper using apysidkrn in *fully mode.