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


  • Subject: Re: ILE service program questions
  • From: bmorris@xxxxxxxxxx
  • Date: Fri, 14 Jul 2000 15:37:32 -0400




On Thu, 13 Jul 2000, Stone, Joel wrote:
> ...
> When I change the SRVPGM, the mainpgm still runs the old subprocedure.
> ...
> Here is part of the compile listing of MAINPGM.  It appears that the
binding
> is static, not dynamic.
>
>                  E x t e r n a l   R e f e r e n c e s
>  Statically bound procedures:
>     Procedure                            References
>     LOADFIELD1                                3       8
>
> Why is the subprocedure LOADFIELD1 statically bound, and not dynamic??
(Why
> doesnt it change when I modify the subprocedure and re-create the service
> pgm)?
> ...

Joel, a service program is only loaded into an activation group once.  If
you change the service program, the old version will be used (even if you
actually delete the old service program, I think) until you reclaim the
activation group.  If the service program is running in the default
activation group you have to sign off to end the activation group.

Regarding "Statically bound procedures" in the listing, the compiler
doesn't know where it's going to find the imported procedures.  I don't
know why it uses the word "statically", but it doesn't have any implication
regarding static vs dynamic binding.  I guess it should just say "Bound
procedures".

Barbara Morris


+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@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.