how to see the last records in vsam dataset??

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the index set?

611


what will happen when you try to open an empty vsam file in a cobol program for input?

619


What is the function of linear dataset in vsam?

634


What is the purpose of relative record data set used in vsam?

684


What are the steps involved in access method services?

539






what will happen if there is no secondary allocation made for datasets?

620


explain how many ways you can load data in a vsam cluster?

579


What are the different dataset organizations used in vsam?

563


Explain what are the optional parameters to the input dataset while loading the empty cluster with the data records?

608


What is speed parameters in define cluster command?

500


what do you mean by recovery and speed parameters in define cluster command?

582


Describe the uses of ams?

540


we can define the ksds cluster by two ways by using the file-aid or by using the idcams utility. Explain them.

726


What is the main function of key-sequenced data set?

568


how do you create an alternate index ?

581