how to see the last records in vsam dataset??



how to see the last records in vsam dataset??..

Answer / dave

Depends.

If you're talking CICS, set the key of the VSAM file to
high-values, do a STARTBR to position the pointer, and
execute a READPREV to get the last record.

In batch, set the key to high-values, and execute a READ
Key < Key.

Is This Answer Correct ?    9 Yes 5 No

Post New Answer

More VSAM Interview Questions

differentiate between sequential files and esds files in vsam?

0 Answers   IBM,


can any one tell "in esds in what structure records will stored?"

1 Answers  


if you wish to use the rewrite command how must the vsam file be opened?

0 Answers   IBM,


Why is master catalog used in vsam?

0 Answers  


What is SHAREOPTS ?

2 Answers  






how can you copy to a vsam cluster?

0 Answers   IBM,


Is it slower if you access a record through alt index as compared to primary index?

0 Answers  


What does a file status of 02 on a VSAM indicate?

1 Answers   IBM,


What are the optional parameters to the input dataset While loading the empty cluster with the data records?

1 Answers   IBM,


what do you mean by a upgrade set in vsam?

0 Answers   IBM,


What happens when you open an empty VSAM file in a COBOL program for input?

5 Answers   IBM,


How can you create a VSAM dataset? Can you write a JCL for it?

4 Answers   IBM, TCS,


Categories