Operating system: IBM i (AS/400)
I want to check two ILE *PGM (or *SRVPGM) objects if their executable code is the same. The included source change date can not be used because the timestamp can be changed but the code is the same. This is the case when the source code will be downloaded from a git respository and therefore the source change date can be changed.
Example:
You have a library A with all compiled program objects. Then you will download the complete source code from git to the AS/400 and compile it to another library B.
Now you want to check which program objects did really change between library A and library B. Only the changed program objects should be saved and transferred to the target system.
The objects which will be compared are all compiled on the same system and the same target release.
I didn't found an API to compare the binary code. Can I use MI to get this information?
Has anyone had the same problem?
Best regards,
Matthias
question from:
https://stackoverflow.com/questions/65842230/ibm-i-binary-diff-between-two-pgm-objects 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…