Re: Restoring SQL UDFs
- From: "Saml" <none@xxxxxxxxxxxxxxx>
- Date: Tue, 15 Jan 2008 21:38:34 -0500
Final sentence should read:
If I understand you correctly, you are saying that we should restore the HLL
service programs first, and then restore QSYS2?
Sam
"Saml" <none@xxxxxxxxxxxxxxx> wrote in message
news:OLadncFeR-1V9BDanZ2dnUVZ_o2vnZ2d@xxxxxxxxxxxxxx
On the production box we create the HLL service programs, then do the
Create Procedure to register them. As I recall, the registration
information ends up in QSYS2/SYSFUNCS. However we are managing to do the
restores on the test machines the UDFs don't turn up in QSYS2/SYSFUNCS.
If I understand you correctly, you are saying that we should restore the
HLL service programs first, and then restore QSYS2/SYSFUNCS?
Sam
"CRPence" <crpence@xxxxxxxxxxxx> wrote in message
news:478c2a74@xxxxxxxxxxx
Create the HLL [service] programs *before* creating the UDF. Then save
the UDF to be restored. Only in that manner can it be automatically
registered; else they must be registered by a new CREATE FUNCTION ..
EXTERNAL
This information should be well known by IBM support, so it seems
surprising, any alluding to "IBM doesn't seem to be able to help." Also
at CREATE time, there will be [¿an SQLWARN and/or?] a message logged in
the joblog that indicates the UDF will not transport due to the
referenced program not already existing. The registration information is
stored in the object itself, and is visible with PRTSQLINF if it exists.
Regards, Chuck
--
All comments provided "as is" with no warranties of any kind whatsoever
and may not represent positions, strategies, nor views of my employer
Saml wrote:
We've built test machines by restoring the backup tapes from
production machines. In all cases, our SQL UDFs registration got
lost and I've had to register them, and then they work fine.
These are external UDFs, running RPG and C code.
I'm not quite sure how the system programmers lay down the basic OS,
but they can't seem to figure out how to the get the UDFs right, and
IBM doesn't seem to be able to help. I don't know whether it is an
issue with the save or the restore, or it's too much work, or there
is a disconnect with IBM, or whether this genuinely just isn't
possible and you always have to register UDFs again.
.
- Follow-Ups:
- Re: Restoring SQL UDFs
- From: CRPence
- Re: Restoring SQL UDFs
- References:
- Restoring SQL UDFs
- From: Saml
- Re: Restoring SQL UDFs
- From: CRPence
- Re: Restoring SQL UDFs
- From: Saml
- Restoring SQL UDFs
- Prev by Date: Re: Restoring SQL UDFs
- Next by Date: Re: License key for 5722WDS Websphere Development Studio
- Previous by thread: Re: Restoring SQL UDFs
- Next by thread: Re: Restoring SQL UDFs
- Index(es):
Relevant Pages
|
Loading