To read the r-code CRC from an r-code file, first set the FILE-NAME attribute of the RCODE-INFO handle to the pathname of your r-code file. Then read the value of the CRC-VALUE attribute, as shown:

DEFINE VARIABLE rCRC AS INTEGER NO-UNDO.
ASSIGN
  RCODE-INFO:FILE-NAME = "sports2020/crcust.r"
  rCRC                 = RCODE-INFO:CRC-VALUE.
Note: The RCODE-INFO handle cannot read the r-code CRC from a session compile. For source (.p) procedures, the CRC-VALUE attribute returns the Unknown value (?).