473,397 Members | 2,068 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,397 software developers and data experts.

Rebind of Stored Procedures in response to a Table Drop/Create

Overview
There are occasions when UDB Tables will have to be Dropped and
Re-Created.
For unaltered Stored Procedures, this should not necessitate a
Recompile (i.e. Re-Registration) of the SP as the SQL has not been
changed. All SPs are SQL/PL and have been developed using SPB.

Query
For DB2 on OS/390, a 'Script" of Rebind commands can be executed
against impacted Packages via a Job. (i.e. the programs do not have to
be recompiled)

Do you know if an analogus Bind mechanism exists for Re-Binding SPs
within UDB for LUW (e.g. Script via Command Window).
It seems unnecessary to have to Re-Build all SPs via SPB in response to
a Table Drop/Create.

Thanks

Alex

Nov 12 '05 #1
2 2400
al**********@btinternet.com wrote:
Overview
There are occasions when UDB Tables will have to be Dropped and
Re-Created.
For unaltered Stored Procedures, this should not necessitate a
Recompile (i.e. Re-Registration) of the SP as the SQL has not been
changed. All SPs are SQL/PL and have been developed using SPB.

Query
For DB2 on OS/390, a 'Script" of Rebind commands can be executed
against impacted Packages via a Job. (i.e. the programs do not have to
be recompiled)

Do you know if an analogus Bind mechanism exists for Re-Binding SPs
within UDB for LUW (e.g. Script via Command Window).
It seems unnecessary to have to Re-Build all SPs via SPB in response to
a Table Drop/Create.

Thanks

Alex


Search online documentation available at:

http://publib.boulder.ibm.com/infoce...help/index.jsp

for rebind command.

Jan M. Nelken
Nov 12 '05 #2
If you want to rebind procedure package:

CALL SYSPROC.REBIND_ROUTINE_PACKAGE
('P', 'MYSCHEMA.MYPROC', 'CONSERVATIVE')

-- Artur Wronski

Nov 12 '05 #3

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

Similar topics

3
by: Barry Young | last post by:
SQL Server 2000: Question 1 If you drop / rename a table and then recreate the table with the SAME NAME, what impact does it have on stored procedures that use these tables? From a system...
7
by: pkruti | last post by:
Below is a stored procedure i am working with and i am trying to drop the yesno_holding table if it exists but how do i add it back? Meaning i want it to drop if it exists but i want to add it back...
2
by: xAvailx | last post by:
I have a requirement that requires detection of rows deleted/updated by other processes. My business objects call stored procedures to create, read, update, delete data in a SQL Server 2000 data...
4
by: Rhino | last post by:
Is it possible for a Java Stored Procedure in DB2 V7.2 (Windows) to pass a Throwable back to the calling program as an OUT parameter? If yes, what datatype should I use when registering the...
0
by: billmiami2 | last post by:
Perhaps many of you MS Access fanatics already know this, but it seems that stored procedures and views are possible in Jet. I thought I would leave this message just in case it would help anyone....
5
by: Rob Wire | last post by:
For the code below, how could I add an item in the drop down lists for both company and location to be an "All" selection that would send to the stored proc. spRptAttachments a value of "%" so...
28
by: mooreit | last post by:
The purpose for my questions is accessing these technologies from applications. I develop both applications and databases. Working with Microsoft C#.NET and Microsoft SQL Server 2000 Production and...
0
by: rattas | last post by:
Hi all I'm using DB2 V9.1.0 on SUSE Linux with kernel version 2.6.5. In the system I'm working on, there are 2 stored procedures which perform simple selects through different views. Those...
2
by: Ben.Combrink | last post by:
Hi I'm using DB2 V9.1.0 on SUSE Linux with kernel version 2.6.5. In the system I'm working on, there are several stored procedures which perform simple selects through different views. ...
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
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,...

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.