473,471 Members | 1,995 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

How to check Application Client installed or not in Solaris?

Hi All,

I'm new to DB2, I have installed DB2 UDB V8 on Solaris machine. And i
tried to create a stored proc.But, gives the following error..

-- LOG FILE P2093405.log FOR PROCEDURE DB2INST1.PROC1

-- DB2_SQLROUTINE_PREPOPTS=

-- PREP/BIND MESSAGES FOR
/export/home/db2inst1/sqllib/function/routine/sqlproc/SAMPLE/DB2INST1/tm
p/P2093405.sqc

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

-- DB2_SQLROUTINE_COMPILER_PATH=/export/home/db2inst1/sqllib/function/routine/sr_cpath

-- DB2_SQLROUTINE_COMPILE_COMMAND=gcc
-I/export/home/db2inst1/sqllib/include SQLROUTINE_FILENAME.c
-shared -o SQLROUTINE_FILENAME -L/export/home/db2inst1/sqllib/lib
-ldb2

-- CONTENTS OF /export/home/db2inst1/sqllib/function/routine/sr_cpath

#!/bin/sh
PATH=$PATH:/opt/SUNWspro/bin:/usr/local/bin
export PATH

db2set DB2_SQLROUTINE_COMPILE_COMMAND="gcc
-I/export/home/db2inst1/sqllib/include SQLROUTINE_FILEN
AME.c -shared -o SQLROUTINE_FILENAME
-L/export/home/db2inst1/sqllib/lib -ldb2"
-- CONTENTS OF /export/home/db2inst1/sqllib/function/routine/sqlproc/SAMPLE/DB2INST1/tmp/P2093405.
sh

SQLROUTINE_FILENAME=P2093405
export SQLROUTINE_FILENAME

-- COMPILATION COMMAND:

gcc -I/export/home/db2inst1/sqllib/include P2093405.c -shared -o
P2093405 -L/export/home/db2inst
1/sqllib/lib -ldb2

-- CONTENTS OF /export/home/db2inst1/sqllib/function/routine/sqlproc/SAMPLE/DB2INST1/tmp/P2093405.
exp

pgsjmp
-- COMPILATION MESSAGES FOR
/export/home/db2inst1/sqllib/function/routine/sqlproc/SAMPLE/DB2INST1/
tmp/P2093405.c
DB2SET processing complete, rc = -4400, SQLCODE = 0
P2093405.c:14:21: sqladef.h: No such file or directory
P2093405.c:16: error: variable `sqla_rtinfo' has initializer but
incomplete type
P2093405.c:17: error: extra brace group at end of initializer
P2093405.c:17: error: (near initialization for `sqla_rtinfo')
P2093405.c:17: warning: excess elements in struct initializer
P2093405.c:17: warning: (near initialization for `sqla_rtinfo')
P2093405.c:17: error: `wchar_t' undeclared here (not in a function)
P2093405.c:17: warning: excess elements in struct initializer
P2093405.c:17: warning: (near initialization for `sqla_rtinfo')
P2093405.c:17: warning: excess elements in struct initializer
P2093405.c:17: warning: (near initialization for `sqla_rtinfo')
P2093405.c:17: error: extra brace group at end of initializer

When i searched in the forums, Someone told to check whether the
Application Development Client is installed or not. I have only one .h
file in my /export/home/db2inst1/sqllib/include directory. can anyone
please tell how to check whether it is installed or not in solaris
machine?

Thanks in advance,
Praveen
Nov 12 '05 #1
1 4330
Praveen wrote:
Hi All,

I'm new to DB2, I have installed DB2 UDB V8 on Solaris machine. And i
tried to create a stored proc.But, gives the following error..
[snip]
When i searched in the forums, Someone told to check whether the
Application Development Client is installed or not. I have only one .h
file in my /export/home/db2inst1/sqllib/include directory. can anyone
please tell how to check whether it is installed or not in solaris
machine?


In DB2 v8, you no longer need the Application Development client
installed to the get the Application Development tools. You can bring
up db2setup again and select a custom install, and select the
Application Development Tools. You may need to reinstall your fixpak
after this, if you've installed any fixpak.

Hope this helps,

Nov 12 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Paul | last post by:
Hi: I am totally new in Sun Solaris. I am not sure someone would like to tell me how to rellocate Sun Solaris disk space where oracle installed? I installed Oracle 8i in Sun Solaris and set...
0
by: Robert Mazur | last post by:
Solaris 9 - sparc 64bit MySQL 5.0 alpha (installed using binary from MySQL) --------------------------------- Has anyone expereinced this? The client will launch locally and process SQL...
1
by: Praveen | last post by:
Hi All, I have installed DB2 UDB 8.1 on solaris machine. And my system is win2k system. Is there any DB2 GUI Client software which i can install in my system and connect to the DB2 UDB in...
0
by: Laura | last post by:
Hi: We have installed the runtime db2 client in a Solaris machine and executing shell script processes that connects to a DB2 database in a remote machine. Everithing was working fine for...
10
by: eyh5 | last post by:
Hi, My C code (running on Soalris Unix) has some "segmentation fault" that I wish to use purify to do it. I poked around the web, and found some information about adding some lines in a Makefile...
4
by: JIM.H. | last post by:
Hello, I am using this code to display excel in IE. locFilesPath = "D:\Files\myFile.xls" If (System.IO.File.Exists(locFilesPath)) Then Response.Clear() Response.ContentType =...
5
by: | last post by:
I've created a small vb.net application which uses the Data Access Application Block to access a SQL Server 2000 database. The application works fine on the machine with the development...
22
by: Jordan S. | last post by:
SQL Server will be used as the back-end database to a non trivial client application. In question is the choice of client application: I need to be able to speak intelligently about when one...
4
by: pwu | last post by:
Hi, I am doing an automated scan of a large number of UNIX machines which can be Solaris, AIX or HPUX. I want to find out for a machine via a script if: 1) DB2 is installed? 2) If installed...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.