IFX_REPLACE_MODULE is a built-in function that replaces the shared-object file specification of a C language UDR with a new file specification. The built-in EXTEND role must be granted to you and set before you can call this function.
The pathnames to the old and to the new shared-object files can be the same or different, but the filenames must be different. The following example replaces the shared-object file calledfoo.o of a C UDR with a new file called fog.o:
EXECUTE FUNCTION IFX_REPLACE_MODULE (/usr/local/foo.o, /usr/local/fog.o, "C");
For additional details of the IFX_REPLACE_MODULE function, see the section IFX_REPLACE_MODULE Function (IDS, C).
Related statements: CALL, CREATE FUNCTION, CREATE FUNCTION FROM , DROP FUNCTION , DROP ROUTINE , EXECUTE PROCEDURE, and FOREACH