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



Don,

You can get this. If you need further support on that sample code, drop
me a line.

Think of it this way. If you had to write the lookup into RCM for
customer names into a subprogram (even RPGIII), and that program was going
to be called from ORD500, would you pass a customer name as a parameter,
or, would your subprogram update a flag in the selected RCM record and
then ORD500 would read all RCM records looking for that flag? You'd use
the parameter. That's just what the trigger is doing for you. Passing a
bunch of parameters so that you do not have to scan every row in the table
looking for the desired record.
Actually you could change one line of that code and have enough to start
debugging. Either datastructure OLD or datastructure NEW needs to be
externally defined off of the file that is triggered. The other
datastructure is LIKEDS of the other.

Rob Berendt

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.