Can anyone help me answer when we use Service programs and when we use Binding directories and when we use Binder languages. What are situations we use them? What is the drack back in each of them? Please let me know as I'm new to ILE
A service program is a special type of program. It contains compiled modules that are exportable as modules into other programs.
When ILE programs are created they go through two stages, compile and binding. The binding rules tell what external modules to use, what versions of the external modules and if the binding is static or dynamic.
Binding directories and binder language are used when binding modules into programs and service programs. Use them when binding.
Service programs are used when programs (or other service programs) call them. Use them when your programs need to use them. (We don't know when that would be. It would depend on what your service programs do.)
I use binding directories to group modules and service programs I want made available to programs & make regular use of the bnddir keyword in the RPGLE header specifications.
Discuss This Question: 3  Replies
A service program is a special type of program. It contains compiled modules that are exportable as modules into other programs.
When ILE programs are created they go through two stages, compile and binding. The binding rules tell what external modules to use, what versions of the external modules and if the binding is static or dynamic.
Service programs are used when programs (or other service programs) call them. Use them when your programs need to use them. (We don't know when that would be. It would depend on what your service programs do.)