|
Only one thought: Why do you say "ridiculously large"? Why not just make it 32,767 long in the first place and then leave it alone forever? The bits don't cost much, especially if you use the recycled ones. The List Owner (David Gibbs) sometimes has a special on them as a matter of fact. _______________________ Booth Martin Booth@MartinVT.com http://www.MartinVT.com _______________________ "William Washington III" <w.washington@iols.net> Sent by: owner-midrange-l@midrange.com 08/09/2000 12:25 AM Please respond to MIDRANGE-L To: <MIDRANGE-L@midrange.com> cc: Subject: Database Trigger Programs Hi All! When creating a trigger program (in RPG/ILE) there is a variable length section that contains the before and after image of the record that is changed. I know how to access them with the offsets. My question is: How is the length of the data structure (for the first parameter of the trigger program) calculated? I always have to make the data area ridiculously large, then go into debug mode to see where it ends. Is there a way to do this programmatically? Any thoughts are appreciated. ============================== William Washington III w.washington3@njiasystems.com www.njiasystems.com ============================== +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +--- +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.