|
LFord@xxxxxxxxxxxxxxxxxx wrote: > > We have encountered a strange bug. A CLLE runs in the default > activation group. It calls one CLLE which is in activation group *NEW, > then calls another which is in the named activation group. The second > CLLE does a RCLRSC, and then CALLPRC PRC(CEETREC). It is falling over > with error MCH3402 - Tried to refer to all or part of an object that no > longer exists. I cannot figure out why. > Are you passing two parameters to CEETREC? If you don't, CEETREC will try to find two parameters anyway, and if it happens to find what looks like valid parameters, it might cause strange things to happen. If you don't want to pass parameters, pass *OMIT: callprc CEETREC PARM(*OMIT *OMIT) Any time the API documentation says that the parameter is "omissible", it means you still have to pass _something_, but that you can pass *OMIT if you want. It's only for "optional" parameters that you can not pass anything.
As an Amazon Associate we earn from qualifying purchases.
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.