Reading last record in VSAM file

1 post / 0 new
Anonymous
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?

"; ; ; ;
Sponsored Listing