Thank you so much;

I have never thought about the static class in C++ - and of course it will
do the trick.

Thank you Brian, Mark, Patrik and Bob again for the input and leading me in
that direction.


On Sat, Oct 1, 2022 at 2:48 AM Mark Waterbury <
mark.s.waterbury@xxxxxxxxxxxxx> wrote:

Hi, Niels,

(corrected URL)

Yes, it is possible. :-)

There is a way to use the C++ constructor and destructor to create a
"wrapper" for use with any *SRVPGM ... developed by Bob Cozzi in 2007.

See: https://code.midrange.com/4bf5933df8.html


All the best,


Mark S. Waterbury

On Friday, September 30, 2022 at 04:17:15 PM EDT, Niels Liisberg <
nli@xxxxxxxxxxxxxxxxx> wrote:

Hello,

Is it possible to have a specific procedure called in a service program
when it is loaded? Similar to a *INZSR in a good old RPG program.

I need to initialize some CCSID specific tables when the service program
is loaded - Is that possible?
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.