In HP COBOL compatibility mode, the keyword RANDOM loses its default ACUCOBOL-GT meaning and means the same as the keyword DYNAMIC. For example, either of these can be used to specify DYNAMIC access to a file.
ACCESS IS RANDOM
ACCESS IS DYNAMIC
See File-Control Paragraph for usage syntax and general rules for DYNAMIC.
When compiling for object versions 8.1 and greater, the compiler accepts the ACTUAL KEY feature for relative files opened in RANDOM access mode. For such files, the relative key numbers is zero-based, rather than one-based as with RELATIVE KEY. For example, if you have a relative file with a fixed record length of 3 bytes and a relative file with the contents AAABBBCCC, the record keys for the different modes are:
RELATIVE ACTUAL AAA: 1 0 BBB: 2 1 CCC: 3 2