%RFA

Return a record’s address

WSupported on Windows
USupported on Unix
VSupported on OpenVMS
NSupported in Synergy .NET
address = %RFA(channel[, krf])

Return value

address

A value that uniquely identifies a record within a file of any organization. The return value is a six-byte binary address. (a6)

Argument

channel

The channel of an open data file. (n)

krf

(optional) The variable that will be loaded with the key of reference of the last READ or FIND on an ISAM file. (n)

Discussion

%RFA is an alternative to the deprecated GETRFA subroutine and a partial alternative to the GETFA subroutine.

Tip

We suggest you use the GETRFA qualifier on I/O statements like READ, FIND, and so forth, instead of using the %RFA function.