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



I saw your post about commit boundaries. When I think of external stored procedures, I think of ODBC/JDBC callers. In those cases, I think a named activation group would be fine, since every call would have the same activation group. I guess I could see issues if the caller was ILE and you wanted to share a commit between the calling ILE and the external stored procedure. Although, that sounds incredibly rare to me, and I'm not even sure how that would even work.



-----Original Message-----
From: D*B [mailto:dieter.bender@xxxxxxxxxxxx]
Sent: Monday, February 19, 2018 8:31 AM
To: RPG programming on the IBM i / System i <rpg400-l@xxxxxxxxxxxx>
Subject: RE: RPG programs as external stored procedures...

<Justin>
" Best practice is to let your user programms run in *CALLER (otherwise you would loose transaction safety!)"

Can you explain? That's the first time I've ever heard *CALLER being a best practice for programs. I can see it for service programs, but not programs.
</Justin>

... that's related to the discussion "RPG programms as external stored procedures" only. Maybe it would be more precise to say: Best practice is to let stored procedures run in the Activationgroup of its caller.

D*B





As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.