Please reply me with what is Service Program and Binding Directory. And what is the difference between them..
Announcement
Collapse
No announcement yet.
Difference Between Service Program and Binding Directory
Collapse
X
-
I'm not anti-social, I just don't like people -Tommy Holden
-
Re: Difference Between Service Program and Binding Directory
Binding directory is used to bind 1 or more modules or service programs. It reduces the error while including a long list of modules/ service program names in CRTPGM or CRTSRVPGM command. Binding Directory physically copy the modules in pgm at the time of creation.Originally posted by surbhi_babbar View PostPlease reply me with what is Service Program and Binding Directory. And what is the difference between them..
Service program is a collection of runnable procedures and available data items that srves other programs. Service Programs bind the modules by reference.
Comment
-
Re: Difference Between Service Program and Binding Directory
thank you for that! i'm sure that the OP hasn't even gotten anywhere on this topic in the past 2 years..sheeshOriginally posted by Bhartiya View PostBinding directory is used to bind 1 or more modules or service programs. It reduces the error while including a long list of modules/ service program names in CRTPGM or CRTSRVPGM command. Binding Directory physically copy the modules in pgm at the time of creation.
Service program is a collection of runnable procedures and available data items that srves other programs. Service Programs bind the modules by reference.I'm not anti-social, I just don't like people -Tommy Holden
Comment
-
-
Re: Difference Between Service Program and Binding Directory
in for a penny in for a pound:
Nice definition of binding directory from midwareservices
A binding directory is an AS/400 object of type *BNDDIR that contains an ordered list of service programs and/or modules. You can use the command CRTBNDDIR to create a new binding directory, and the commands WRKBNDDIR (with with binding directories) and WRKBNDDIRE (with with binding directory entries) to change the binding directories.
In a sense, a binding directory is very similar to a library list. However instead of containing a list of libraries, it contains a list of service programs and/or modules.
When a program or service program is created, instead of specifying the module(s) and/or service program(s) that contain the necessary procedures, you can indicate a binding directory.
When the compile process needs to resolve a procedure call, it will look for the procedure in the first object specified in the binding directory. If it finds it there, it will use that one. If not, it will look in the second entry, and so on.
The binding directory is used only during the compile process. If a binding directory is changed, you do not need to recompile your programs.
How you use binding directories are entirely up to you. One possible use is to create one binding directory that contains all the service programs in your system. You can then change the CRTPGM command default to automatically include the binding directory when creating programs. If no procedures are needed, no harm will be done.All my answers were extracted from the "Big Dummy's Guide to the As400"
and I take no responsibility for any of them.
www.code400.com
Comment
-
Re: Difference Between Service Program and Binding Directory
I think your overestimating the skilz of the OPOriginally posted by tomholden View Postthank you for that! i'm sure that the OP hasn't even gotten anywhere on this topic in the past 2 years..sheesh
Michael Catalani
IS Director, eCommerce & Web Development
Acceptance Insurance Corporation
www.AcceptanceInsurance.com
www.ProvatoSys.com
Comment








Comment