Reading last record in VSAM file

Reading last record in VSAM file

Is it possible to read the last record of a VSAM file directly? I have faced this question in an interview.

The vsam file can be accessed sequentially as well as randomly using a key. But how to make sure that we read the last record of the VSAM file at one go?

“; ; ; ;