If the "called" programs are created with "DFTACTGRP(*NO)
ACTGRP(*CALLER)" then any errors they receive will be passed to your
service program.

If the service program is created in a named activation group and it
doesn't handle the errors then there is a chance the activation group
will become unusable after a "called" program receives an escape message
and propagates it up the call stack to the Service Program.

i.e. MCH3402 - Tried to refer to all or part of an object that no longer
exists.

Chris Hiebert

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of James Horn
Sent: Tuesday, April 17, 2012 8:46 AM
To: rpg400-l@xxxxxxxxxxxx
Subject: RE: Prompt Service Program.

Possibly getting off track a bit but - I sometimes use the service
program as a "container" to call the actual program I want to use
especially if that program is large. Seems to keep the service program
small and let me recompile the the "called" programs individually. Are
there gotcha's, other than possible performance, in this I should know
about?

This thread ...

Replies:

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

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