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



On Tue, Mar 17, 2009 at 7:00 PM, Eftimios Pantzopoulos
<Mike.Pantzopoulos@xxxxxxxxxx> wrote:
*       Create a before trigger to encrypt the data before insert (I'm not an SQL/PL expert. I copied and hacked this code:

create trigger insert_mxp02
before insert on mxp02
referencing new row as n

for each row
begin
set n.fld01= encrypt_rc2(n.fld01,'eftimios');
end

Also I think it should be:
FOR EACH ROW MODE DB2ROW

Lastly, use DSPFD to make sure that ALWREPCHG(*YES) is set and CHGPF
to change it if not.

HTH,
Charles

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.