Answers

Question and Answer:

  Home  IBM MainFrame

⟩ How To get the last record in VSAM file in cluster? And How can u get the ksds file records into ur COBOL program? Please tell me about these two questions.?

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. 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.

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

 162 views

More Questions for you: