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



----- Original Message -----
From: "Jon Paris" <Jon.Paris@Partner400.com>
To: <rpg400-l@midrange.com>
Sent: Thursday, January 02, 2003 12:30 PM
Subject: Why do procedures require DFTACTGRP(*NO)?


| As to performance of subprocedures vs. subroutines, in
practice it can be a
| wash.  Because subprocs take parms, you don't have to move
large blobs of
| data into the fields expected by the subroutine.  That can
more than
| compensate for the small overhead.  Even if the overhead
was huge I'd still
| want my programmers to justify why they _didn't_  use a
subprocedure rather
| than the other way round.


Didn't I read in the ILE manual that it has something to do
with protecting the default action group and OPM from some
of the performance enhancements that come from using the
action groups?

If I remember correctly, procedures used in a named (or
*NEW) action group are kept more "at the ready" for another
call, for faster execution of subprocedures, but that at the
last exit of the last program call to that action group, it
all goes away. Yes? Or?

- Alan




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.