The signature value is a unique key that is stored within a compiled procedure. Changing one character in a procedure file results in a different signature value. The following example demonstrates how you can use the RCODE-INFO system handle with the SIGNATURE-VALUE attribute to help determine which r-code files need to be replaced in your application between versions.

DEFINE VARIABLE signatureVal AS CHARACTER NO-UNDO.

RCODE-INFO:FILE-NAME = "main.r".
signatureVal = RCODE-INFO:SIGNATURE-VALUE.
MESSAGE "Signature value of main.r: " signatureVal.

This code results in the following output:

Signature value of main.r: zaaJAOedxIiFQfhOSZK+lcYbOEia/oF2YUOLQPCOiUM=

You could create a program that runs this code for two versions of the same procedure file and then compare the resulting output. If they are the same, you know the contents of the procedure file has not changed between the two versions.