Hi Nelson, Unfortunately, it's vendor software that I don't change unless specifically requested by the customer. While you're right that changing the initial program to RPGLE that doesn't set on LR would help performance, there are of course other issues -- size of the AS400, number of programs being called, what those programs do, etc. It would be interesting to know just how much of a performance hit that initial CL is adding though... Regards, Peter Dow Dow Software Services, Inc. 909 425-0194 voice 909 425-0196 fax ----- Original Message ----- From: "Smith, Nelson" <NSmith@lincare.com> Sent: Thursday, December 06, 2001 5:36 AM Subject: RE: Triggers Peter, This is exactly the method I use on all my triggers, except you never want to use a CL as the originating trigger "shell" program because it, by default, always ends like an RPG program with LR on. Therefore, incurring the very high overhead of recreating the CL program on every single record. Go ahead and use an RPG program without LR as the "shell" and performance is quite good. I also write all errors encountered, including the "inactive" trigger situation you mentioned, to a log file which I keep an eye on for early indications of any problems going on. If you leave all programs and service programs activated, and stay away from anything that call CL's, performance is not an issue. _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.