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



Here is a response that I got from Paul that compliments what I sent out for
code.

Aaron Bartell


-----Original Message-----
From: paul.nicolay@pandora.be [mailto:paul.nicolay@pandora.be]
Sent: Thursday, June 06, 2002 4:33 AM
To: ALBartell@taylorcorp.com
Subject: RE: DB2 Trigger Problems at V5R1


Hi,

Since my mail account at Merck is removed... please find my comments below.
Also feel free to send this to the list for the benefit of everybody.

Aaron, while your approach works fine as well, it has a small drawback.  The
problem is that you need to define your WPPARM1 datastructure big enough
(and this can even go beyond the limits of RPG when you have really big file
images) to hold the required fileimages, or otherwise your %SUBST might fail
for out-of-range issues.

If you however define your FileImage as a based on field, then you can set
the pointer to the %Addr(WPPARM1) + the required offset field.  This way you
don't need to specify the length for the WPPARM1 DS, and in addition it is
much faster as it doesn't have to copy file images.

Kind regards,
Paul


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.