What is Binder Language meant for?

425 pts.
Tags:
AS/400 Binding Directory
AS/400 programming
Databinding
IBM iSeries
What Binder language meant for? I think to export Procedures outside the service program... Is it correct? I got a doubt that, if in a module, a procedure is defined as EXPORT then any way we can access it from any other module. In that case what the need of Binder language?

Software/Hardware used:
Iseries

Answer Wiki

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

Check out these articles.

http://search400.techtarget.com/tip/1,289483,sid3_gci1141217,00.html

http://search400.techtarget.com/tip/1,289483,sid3_gci1146796,00.html

http://search400.techtarget.com/tip/0,289483,sid3_gci1150118,00.html#

As well as a plethora of other hits at:

http://www.google.com/search?hl=en&ei=skzvSp_vNoTclAfN5pEr&sa=X&oi=spell&resnum=0&ct=result&cd=1&ved=0CBAQBSgA&q=binder+language&spell=1

=====================================================

A primary purpose of binder language is to allow multiple generations of a service program to remain linked to programs. It provides a kind of ‘level check’ to the programs that use its procedures.

As new procedures are added to a service program, binder language lets you add additional signatures. As long as previous signatures are maintained and the interfaces for the procedures associated with those signatures are kept stable, any program that was previously bound to the service program can trust that everything will continue working as always.

If you add three new procedures, you would add a new list of procedures to the binder language and specify one new signature. If the previous signatures are kept in the binder language, all of the old programs can keep running without having to be recreated. The existing binding will continue to work.

Without using binder language, every time you recreated a service program to add a new procedure, every program that used the service program would need to be recreated.

Tom

Discuss This Question: 2  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
  • WoodEngineer
    I highly recommend an article on the subject by Scott Klement. Lots of good info that gets right to the point.
      http://systeminetwork.com/print/64029
    6,875 pointsBadges:
    report
  • RamvishakRamesh
    When a service program is created, system assigns a 16byte signature. It is created by encoding the service programs export list. When the export list changes, the signature also will change. when a program executes, it checks the current signature of the service program object against the signature found at creation time. If the two don't match, you'll get a runtime error: "signature violation occurred." We have to recreate the program to avoid this. If there are hundred program bounded to that service program, then we need to have hundred updates. There comes the use of Binder language. In Binder source we will specify the list of procedures to be exported by the service program. These procedures must exist in the module referenced in the module list while creating a service program in CRTSRVPGM command. Default source member for binder source is QSRVSRC with type BND STRPGMEXP PGMLVL(*CURRENT) EXPORT SYMBOL(PROC1) EXPORT SYMBOL(PROC2) EXPORT SYMBOL(PROC3) ENDPGMEXP
    2,505 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