%RFA

Return a record’s address

WTSupported in traditional Synergy on Windows
WNSupported in Synergy .NET on Windows
USupported on UNIX
VSupported on OpenVMS
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.