If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Sp Build Problems

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-13-04, 00:10
actions123 actions123 is offline
Registered User
 
Join Date: Aug 2004
Posts: 11
Sp Build Problems

I am trying to set up SP ON AIX 5.1/ DB2 8.1.4

I created a stored procedure using the development center.We had recently installed C++ compiler on our server.I changed the profile.env file to include the following :

DB2_SQLROUTINE_COMPILER_PATH='/usr/vacpp/bin/xlC_r'
DB2_SQLROUTINE_COMPILE_COMMAND='xlC_r -+ -H512 -T512 -g -I/db2home/db2inst1/sqllib/include SQLROUTINE_FILENAME.c -bEQLROUTI
NE_FILENAME.exp -e SQLROUTINE_ENTRY -o SQLROUTINE_FILENAME -L/db2home/db2inst1/sqllib/lib -lc -ldb2 -q64'
DB2_HASH_JOIN='no'
DB2COMM='TCPIP'
DB2AUTOSTART='YES'

when i click build from the dev center the SP gave the following result

DB2INST1.Draft - Build started.

Create stored procedure returns -7032.

[IBM][CLI Driver][DB2/AIX64] SQL7032N SQL procedure "DIV_2" not created. Diagnostic file is "P0270599.log". SQLSTATE=42904

DB2INST1.Draft - Build failed.

DB2INST1.Draft - Roll back failed.



In addition the build process sucked out all the memory on the system(8gig) and forced db2 instance to crash.Can you guys please help?
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On