×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
James
If you SAV/RST, many of these things will be handled correctly. For
example, if the objects exist that will handle a stored procedure - if
they exist when you CREATE PROCEDURE, the procedure information gets put
into the program object, so that, when it is restored, the procedure is
created automatically. I still don't completely trust this, since the
program doesn't need to exist when you create the procedure or function,
but it might help.
Lots more information is in the redbook SG24-6503 on Stored Procedures,
Triggers, and User-Defined Functions.
The Object Relational Support redbook SG24-5409 may also have some
information about save/restore.
There've been presentations on this kind of thing at COMMON and at the
RPG/DB2 Summit conferences.
HTH
Vern
On 4/28/2011 11:11 AM, James Lampert wrote:
Given an SQL UDF, created in SQL, with a CREATE FUNCTION call in a
STRSQL session:
Suppose I want to distribute it, as part of a product.
Is it enough to send the *SRVPGM to the customer box? Or do I have to
CREATE FUNCTION there?
And what about an ILE RPG SRVPGM that I've registered as a UDF, using
"LANGUAGE RPGLE" and "EXTERNAL NAME" clauses on a CREATE FUNCTION?
--
JHHL
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact
[javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.