AS/400 service program vs binding directory

Tags:
AS/400 Binding Directory
AS/400 service program
What is the difference in service program and binding directory?

Answer Wiki

Thanks. We'll let you know when a new response is added.

binding directory is a list of stuff to be bound with an ILE program as it is created, Included in the list could be service programs.

Service program is a special type of ILE program with one or more callable modules (you can think of these as procedures or functions if you like) that can be called by any program that it is bound to.

Another difference is that a program that points to a binding directory then contains all the needed modules within the object after compile. A service program contains the modules within itself and is then invoked at the time of execution.

Discuss This Question: 4  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Yorkshireman
    Philpl1jb says it all. The clue is in the name - and in the manuals. Go to somewhere like and read all about them.
    report
  • LBurkett99
    Programs are created by the CRTPGM command from modules and service programs. Binding directories are used to tell the CRTPGM command how to resolve external references in modules. The CRTPGM command has parameters which can be used for this purpose, but the binding directory makes the job easier. Create a binding directory, then add an entry for each module and service program referenced by the initial module. Service programs are created from modules using the CRTSRVPGM command. This is similar to the CRTPGM command, but service programs cannot be execeuted directly as program can. They must be part of a program. Service programs can have multiple entry points, and they are bound to the program at run time instead of creation time.
    830 pointsBadges:
    report
  • Shaikaltaf
    could any body tell me how can we use the binderlanguage in our programs? and what exactly it is ?
    10 pointsBadges:
    report
  • philpl1jb
    check this out - good links http://itknowledgeexchange.techtarget.com/itanswers/binder-language/ phil
    50,165 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following