35 pts.
 AS/400 service program updated, do I need to update those programs which use it?
Hi guys, there is one module which included in one service program has been updated. so do I need to update/re-compile all those programs which use the service program? 1, what about if the service program is standing alone? 2, what about if the service program is included in one binding directory? Thanks for helping in advance.

Software/Hardware used:
AS400
ASKED: July 2, 2010  12:40 PM
UPDATED: July 2, 2010  11:41 PM

Answer Wiki:
You won't need to rebind if the procedures that are emported have the same parameters and the procedures are in the same order. The signature should then be the same. Phil
Last Wiki Answer Submitted:  July 2, 2010  10:16 pm  by  philpl1jb   44,070 pts.
All Answer Wiki Contributors:  philpl1jb   44,070 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

The signature of the service program is the most important item for you to watch, as Phil noted.

The signature can be thought of like a ‘format-level identifier’ of a file. When a file’s format-level ID changes, you have to recompile programs that use the file or be prepared for a “format level check” error. The format of the file has changed in a way that makes it incompatible with previous versions.

When a service program signature changes, it’s a signal to your programs that the service program has become incompatible. You need to re-bind your programs in that case. You probably also first need to recompile your programs since a new signature indicates changes to parameter definitions.

If you used binding language to control signatures and you changed the service program in a way that allowed the old signature to remain valid while adding a new signature, then you don’t need to do anything to your old programs. Any new programs that needed the new interface would be created over the new signature. Any old programs that you wanted to use the new signature would probably have coding changes and be recompiled.

In short, if you are only changing the internals of a service program, your external programs should be fine. But if you are changing the interfaces between the programs and the service program, then recompiling needs to be done since the programs have coding changes anyway. The interfaces include the sequence of the procedures that are exported.

Tom

 107,735 pts.