× 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 23-Aug-2016 11:27 -0700, Walt Bennett wrote:
I am an RPG neophyte and I need to implement FieldProc field-level
encryption. So far I have found sample programs and compiled them
cleanly; and created a table and assigned a FieldProc program to it.
Where I get stuck is when I modify or add data to that field, which
is when the FieldProc pgm should perform a basic encryption. It seems
to not be called at all; no lower level msgs and it never reaches the
first executable stmt in debug. I would appreciate some guidance,


If the program is never called, then doubtful the issue has anything to do with RPG. No mention is made of the OS VRM, TR, nor cumulative\group maintenance levels.

Also no mention of what type of debug, nor where\how breakpoints were set. But be sure to try SEP debug [SBREAK]. If no progress in debug, then perhaps:

Offer a script of the DDL and other actions that establish a test-case [effectively, starting off with exactly what scripted code effected "created a tabl and assigned a FieldProc program"], to include at least one row of data [thus adding the scripted code that effected the "add data to that field"], and a minimum of how the code is compiled [the CRTxxxRPG showing all non-default parameter values explicitly specified] and the prototype [from the program source]. While such a test-case script would ideally be complete with the code, that might be more than is required to identify an issue; the code and compile instructions [and even the other scripted activity] could be pasted at code.midrange.com however.


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.