Thanks Scott

Excellent point. Just a convenient way to group things together, I guess.
Have all the PR's and PI's in 1 place. There are lots of "related"
functions in the srvpgm. If some of them are big or may often require
updates that would not include parameter changes, I just separate them
out. For me it makes maintenance easier.

Certainly open to suggestions.

Jim


------------------------------

message: 5
date: Tue, 17 Apr 2012 13:03:53 -0500
from: Scott Klement <rpg400-l@xxxxxxxxxxxxxxxx>
subject: Re: Prompt Service Program.

Hi Jim,

I'm not sure that I understand your scenario. Your caller calls a
*SRVPGM, and the *SRVPGM doesn't do anything except call a *PGM? (Is
that right?)

Why not call the *PGM directly?

On 4/17/2012 9:46 AM, James Horn wrote:
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 ...


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