And if I were mapping to a DB2 table and needed to do read next type operations that would matter to me - but I'm having trouble seeing why it matters when I'm changing the UPDATE in the RPG to and SQL update on another system. Normally doing that I'd be using some kind of handle/cursor/whatever to keep track of the connection anyway and if that is stored in the state info then I'm golden.

Jon Paris

On Jan 15, 2019, at 2:07 PM, D*B <dieter.bender@xxxxxxxxxxxx> wrote:

Why can't you use Service Programs Dieter? All my OA handlers are re-entrant (unless I code them not to be) and I can't see why it would be any different having them bound.

Two programms in the same ACTGRP share one activation of a SRVPGM,
regardless if you let it run in *CALLER or in a named ACTGRP, but they might
have two open data pathes to the same file. Binding modules by copy, they
would have two actiavtions of the same module.


This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives

Please contact support@xxxxxxxxxxxx for any subscription related questions.

Help support by shopping at with our affiliate link:

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by 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].