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 > Compilation problem on AIX 5.0

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-24-04, 23:32
jsp2999 jsp2999 is offline
Registered User
 
Join Date: Jul 2004
Posts: 76
Compilation problem on AIX 5.0

Hi All,

System Info:
OS: AIX 5.0
DB: DB2 UDB 7.2

I am trying to compile the SP, but getting following errro into log file.

=========
*** BIND /home/dbadminp/sqllib/function/routine/sqlproc/DWP/BATCHMGR/tmp/P5707080.sqc ***

LINE MESSAGES FOR P5707080.sqc
------ --------------------------------------------------------------------
SQL0060W The "C" precompiler is in progress.
SQL0091W Precompilation or binding was ended with "0"
errors and "0" warnings.

*** COMPILE /home/dbadminp/sqllib/function/routine/sqlproc/DWP/BATCHMGR/tmp/P5707080.c ***

#!/bin/sh
PATH=$PATH:/usr/vacpp/bin
PATH=$PATH:/usr/ibmcxx/bin
PATH=$PATH:/usr/lpp/xlC/bin
export PATH

SQLROUTINE_FILENAME=P5707080
export SQLROUTINE_FILENAME
export SQLROUTINE_ENTRY=pgsjmp

xlC -I/home/dbadminp/sqllib/include P5707080.c -bE:P5707080.exp -e pgsjmp -o P5707080 -L/home/dbadminp/sqllib/lib -lc -ldb2

*** /home/dbadminp/sqllib/function/routine/sqlproc/DWP/BATCHMGR/tmp/P5707080.exp ***
pgsjmp

sh: xlC: not found.

----------------------------------------------------------------------------

SQL7032N SQL procedure "" not created. Diagnostic file is "". SQLSTATE=00000

========

Can you please guide me where is the problem and what needs to be done? I am very new to AIX.

Thanks in advance,
Jai
Reply With Quote
  #2 (permalink)  
Old 08-25-04, 11:44
n_i n_i is online now
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
It looks like the compiler you're trying to use, "xlC" is not installed or not in the path.
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