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



On 2019-08-21 10:53 AM, Mitch Gallman wrote:
Thanks Barbara, That could be the issue.

Unfortunately, we are on 7.2 here.

I've removed the on-exit for now.


Hi Mitch,

7.2 PTF SI70906, which fixes this problem with the ON-EXIT return value, has just been approved. It should be available for download in a couple of days.

There is still no PTF available for 7.3 TGTRLS(V7R2M0).

Sorry, I didn't pay attention before that you said you were removing your ON-EXIT for now. There's a circumvention: Ensure that there is a RETURN operation no matter how the ON-EXIT ends.

For your procedure:

dcl-proc getMyVal;

dcl-pi *n zoned(5);
end-pi;
dcl-s inError ind inz;
dcl-s outVal zoned(5) inz(-1);

return outVal;

on-exit inError;

if inError;
return c_rtnErrVal;
endif;

return outVal; // Add this line
end-proc;



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.