473,387 Members | 1,575 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

STORED PROCEDURE SETUP???

ok getting a little miffed here. What in specific do I need to be able
to compile and run stored procedures in version 8.1/WIN2k? I have a
developer using Stored procedure builder who when he has created a
stored procedure and compiles it gets a -7032n with it saying it can
not find the command nmake. So I looked through some links and am as
confused as ever. Here is some of the information I have gathered but
none of it together all makes sense:

1. I must installed the app dev client on the server ????
2. I must install a compiler??? Where? on the server or on the
developers workstation?
b. If so, where am I supposed to get this compiler and of what type?
Yes I have VA for C++ but why should I have to load that whole product
to get a compiler for stored procedures to work on db2?
3. There are mention of variables that need to be set. On the server
or on the developers workstation?

I must be missing something real easy here because I am not used to
IBM putting out something this muddled. Why in the world would these
items not be part of the db install or the dev client? Why would you
have to load a dev client on a DB SERVER??? If this is the case, (and
I am a die hard DB2 fan) Sql server has db2 beat in this area hands
down as far as simplicity goes. This almost seems to be more trouble
than it is worth. Was hoping to do some simple stored procedure tests
to see if a particular program would have a performance impact using a
SP. Please help clear this up for me. Thanks in advance!!
Nov 12 '05 #1
5 1736
"Mike" <mi*********@thomson.net> wrote in message
news:a3**************************@posting.google.c om...
ok getting a little miffed here. What in specific do I need to be able
to compile and run stored procedures in version 8.1/WIN2k? I have a
developer using Stored procedure builder who when he has created a
stored procedure and compiles it gets a -7032n with it saying it can
not find the command nmake. So I looked through some links and am as
confused as ever. Here is some of the information I have gathered but
none of it together all makes sense:

1. I must installed the app dev client on the server ????
2. I must install a compiler??? Where? on the server or on the
developers workstation?
b. If so, where am I supposed to get this compiler and of what type?
Yes I have VA for C++ but why should I have to load that whole product
to get a compiler for stored procedures to work on db2?
3. There are mention of variables that need to be set. On the server
or on the developers workstation?

I must be missing something real easy here because I am not used to
IBM putting out something this muddled. Why in the world would these
items not be part of the db install or the dev client? Why would you
have to load a dev client on a DB SERVER??? If this is the case, (and
I am a die hard DB2 fan) Sql server has db2 beat in this area hands
down as far as simplicity goes. This almost seems to be more trouble
than it is worth. Was hoping to do some simple stored procedure tests
to see if a particular program would have a performance impact using a
SP. Please help clear this up for me. Thanks in advance!!


You need a C or C++ compiler on the server for stored procedures. This
restriction will be lifted in the DB2 release code named "Stinger" which is
expected to be version 8.2 (or maybe 9.1). I believe it will ship early next
year.
Nov 12 '05 #2
Just to follow up on Mark's response...

1) "Stinger" will likely be out before next year.
2) See the samples in \sqllib\samples\sqlproc.

--
Larry Menard
IBM Workstation Database (DB2) Information Development, Samples Coordinator
Defender of Geese and of All Things Natural
"Mark A" <no****@nowhere.com> wrote in message
news:fX****************@news.uswest.net...
"Mike" <mi*********@thomson.net> wrote in message
news:a3**************************@posting.google.c om...
ok getting a little miffed here. What in specific do I need to be able
to compile and run stored procedures in version 8.1/WIN2k? I have a
developer using Stored procedure builder who when he has created a
stored procedure and compiles it gets a -7032n with it saying it can
not find the command nmake. So I looked through some links and am as
confused as ever. Here is some of the information I have gathered but
none of it together all makes sense:

1. I must installed the app dev client on the server ????
2. I must install a compiler??? Where? on the server or on the
developers workstation?
b. If so, where am I supposed to get this compiler and of what type?
Yes I have VA for C++ but why should I have to load that whole product
to get a compiler for stored procedures to work on db2?
3. There are mention of variables that need to be set. On the server
or on the developers workstation?

I must be missing something real easy here because I am not used to
IBM putting out something this muddled. Why in the world would these
items not be part of the db install or the dev client? Why would you
have to load a dev client on a DB SERVER??? If this is the case, (and
I am a die hard DB2 fan) Sql server has db2 beat in this area hands
down as far as simplicity goes. This almost seems to be more trouble
than it is worth. Was hoping to do some simple stored procedure tests
to see if a particular program would have a performance impact using a
SP. Please help clear this up for me. Thanks in advance!!
You need a C or C++ compiler on the server for stored procedures. This
restriction will be lifted in the DB2 release code named "Stinger" which

is expected to be version 8.2 (or maybe 9.1). I believe it will ship early next year.

Nov 12 '05 #3
So is the answer to 1 yes? Do I need to install the dev client and a
compiler both on the server for sp's to work? If so please recommend a
compiler that is being used out there that is free and does not
require licensing.
Thanks,
Mike

"Larry Menard" <lm*****@GoSpamYourself.com> wrote in message news:<cc**********@hanover.torolab.ibm.com>...
Just to follow up on Mark's response...

1) "Stinger" will likely be out before next year.
2) See the samples in \sqllib\samples\sqlproc.

--
Larry Menard
IBM Workstation Database (DB2) Information Development, Samples Coordinator
Defender of Geese and of All Things Natural
"Mark A" <no****@nowhere.com> wrote in message
news:fX****************@news.uswest.net...
"Mike" <mi*********@thomson.net> wrote in message
news:a3**************************@posting.google.c om...
ok getting a little miffed here. What in specific do I need to be able
to compile and run stored procedures in version 8.1/WIN2k? I have a
developer using Stored procedure builder who when he has created a
stored procedure and compiles it gets a -7032n with it saying it can
not find the command nmake. So I looked through some links and am as
confused as ever. Here is some of the information I have gathered but
none of it together all makes sense:

1. I must installed the app dev client on the server ????
2. I must install a compiler??? Where? on the server or on the
developers workstation?
b. If so, where am I supposed to get this compiler and of what type?
Yes I have VA for C++ but why should I have to load that whole product
to get a compiler for stored procedures to work on db2?
3. There are mention of variables that need to be set. On the server
or on the developers workstation?

I must be missing something real easy here because I am not used to
IBM putting out something this muddled. Why in the world would these
items not be part of the db install or the dev client? Why would you
have to load a dev client on a DB SERVER??? If this is the case, (and
I am a die hard DB2 fan) Sql server has db2 beat in this area hands
down as far as simplicity goes. This almost seems to be more trouble
than it is worth. Was hoping to do some simple stored procedure tests
to see if a particular program would have a performance impact using a
SP. Please help clear this up for me. Thanks in advance!!


You need a C or C++ compiler on the server for stored procedures. This
restriction will be lifted in the DB2 release code named "Stinger" which

is
expected to be version 8.2 (or maybe 9.1). I believe it will ship early

next
year.

Nov 12 '05 #4
Mike wrote:
So is the answer to 1 yes? Do I need to install the dev client and a
compiler both on the server for sp's to work?


No, you don't have to. You need the compiler on your development box. The
compiled procedures can then be moved to the production system (where no
compiler is needed) using the GET ROUTINE and PUT ROUTINE commands.

--
Knut Stolze
Information Integration
IBM Germany / University of Jena
Nov 12 '05 #5
Thanks for the info guys. I finally did find detailed instructions on
how to set this up and using a free compiler. Followed the
instructions in the link below to the tee and everything is working
properly now.

http://database.ittoolbox.com/browse...6haungs%2Ehtml
Nov 12 '05 #6

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

Similar topics

4
by: Jeremy | last post by:
Hi, I am having a problem running an sql stored procedure with ADO/ASP. If I hard code a select statement, the code works, but when I try to use a stored procedure it bombs. Here is my code: ...
4
by: Michael Trosen | last post by:
Hi Everyone, I hope someone can help, I'm pretty new to pro*c programming. I have the following application setup: a pro*c program calls a stored procedure and recieves a cursor back: the...
8
by: C Kirby | last post by:
In SQL Server 2000, I've got a rather lengthy stored procedure, which creates a lot of temporary tables as it processes down through a few sets of data. When testing it through Query Analyzer, it...
7
by: Alex | last post by:
Hi all, I am trying to install a java stored procedure via the windows development centre. The linux box is running 8.1 FP4 as is the windoze platform. If I am on the linux box i can install...
5
by: microsoft.private.windows.netserver.setup | last post by:
I have a very strange thing occurring in the program. I have a dataset retrieved from a stored procedure that just select * from a table. I then try to use the SQlCommandBuilder on the dataset,...
0
by: scott | last post by:
xp pro vs 2003 enterprise arch 2003 server with sql 2000 From xp pro and when using the to "step into stored procedure" option upon connection to a database in VS 2003 im getting the message: ...
9
by: fniles | last post by:
I am using VB.NET 2003 and SQL2000 database. I have a stored procedure called "INSERT_INTO_MYTABLE" that accepts 1 parameter (varchar(10)) and returns the identity column value from that table....
5
by: Pedro Vera | last post by:
I am helping somebody setup one of the asp.net starter kits. I converted it from sql express to sql server with no real issues, and I got it running local perfectly. On my first attempt to run...
4
by: barmatt80 | last post by:
I am stumped on the error reporting with sql server. I was told i need to return @SQLCode(code showing if successful or not) and @ErrMsg(and the message returned). I am clueless on this. I...
2
by: acw | last post by:
On a SQL Server 2000 db I would like to setup a stored procedure that accesses couple tables and runs the extended stored procedure xp..cmdshell. The goal is to grant users with limited privileges...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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...

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.