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



Neither :-)

Bind by Reference and Bind by Copy are both a form of Static Binding.

Dynamic Binding is where you use a CALL operation (or an EXTPGM on a
prototype). i.e. the compiler has no knowledge of what you are calling and all
binding must be performed at call time.

Static Binding is where you use a CALLB operation (or an EXTPROC on a
prototype). i.e. the compiler must have the procedure/module/whatever you are
calling available when it goes to create the program.

Bind by Reference means the procedure/module you are calling is in a service
program.

Bind by Copy means that a copy of the module you are calling is included in
the generated program.

Clear as Mud?  :-)

HTH

Paul Tuohy

The TrekTeam wrote:

> Just a quick question to clairify a confusion...
>
> Are the following two statements true, or do I have them backwards?
>
> Dynamic Binding =  Bind by reference
> Static Binding      =  Bind by copy
>
> TIA,
> Capt.j
>
> _______________________________________________
> This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
> To post a message email: RPG400-L@midrange.com
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l
> or email: RPG400-L-request@midrange.com
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/rpg400-l.




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.