The set last
statement is used, like the locate
function, to find a specific case in a data file. The case pointer is positioned to the last case. Cases are processed in ascending key order, so the "last case" is not necessarily the last case in the file. To load the case into memory, use the the retrieve
function or the loadcase
function without parameters.