How to read last record in vsam file.,I don't know how many records are there?

Showing Answers 1 - 8 of 8 Answers

sharath

  • Jul 3rd, 2005
 

plz send d ans

  Was this answer useful?  Yes

acin

  • Sep 26th, 2005
 

Move high values in the key field.. then do a READPREV.

manoj pingale

  • Dec 8th, 2005
 

Move High-values to the key field in order to read the last value directly and perform the read statement

  Was this answer useful?  Yes

anuj32003

  • Jan 24th, 2006
 

Move highvalues to the key of the VSAM file and the issue Readnext record command. Then give Readprev command. This will read the last record.

  Was this answer useful?  Yes

subbu

  • Feb 20th, 2006
 

hi,

    In VSAM, there is one command HURBA, Using that we can read the last record, If you want to know more about go to IBM RED BOOKS. You will get the solution.

from

subbu

  Was this answer useful?  Yes

juttuga

  • Mar 11th, 2007
 

by using the HURBA we can get the max records by using the CKD count key data we will get the last record 

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.