× 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.



Hello
On Wed, 05 Sep 2012 14:28:29 -0700
James Lampert <jamesl@xxxxxxxxxxxxxxxxx> wrote:
A year ago this past April, I was able, in my UDF experiments, to achieve proof-of-concept on a UDF, based on an ILE RPG SRVPGM, to censor rows returned in an SQL view.

And now, I've about forgotten most of what I did.

I was able to find the RPGLE source member for the proof-of-concept censorship function.
That is good. To verify this, you can run DSPSRVPGM <you-srvpgm> DETAIL(*MODULE).
To find your SRVPGM exactly, you can run in SQL
SELECT EXTNAME FROM SYSFUNCS WHERE FUNCSCHEMA='<your-UDF-schema>'
AND FUNCNAME='<your-UDF-name>'

And I've found the docs on how to execute a CREATE FUNCTION statement for an external UDF.

You can restore your UDF options with QSQGNDDL API

But any general advice on the subject would be appreciated.

As would the answer to a couple of specific questions:
(1) If I update the service program, do I then have to DROP the UDF and CREATE it again?
No, if your parameter set remains the same.

Best regards,
Mike

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.