How To get the last record in VSAM file in cluster?
and How can u get the ksds file records into ur cobol
program ? Pls tell me about these two questions.
Answer / shivani
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
| Is This Answer Correct ? | 3 Yes | 0 No |
Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?
using cursor how can you fetch more than one record into a variable
Name the parameters which can be used to limit the number of records written to a sysout dataset?
Can a PS file be read in reverse order?If so,how
what does mvs stand for?
How do you submit a job for execution?
what r the types of job control statements?
If job is submitted with typerun = hold then how can we submit the same job?
Explain how can a jobs execution priority be modified?
In my JCL 10 Steps Will Be there Now i want to execute step05 And step06. How to Give the Cond?
How does the jcl specify the job to os?
If a job has 3 steps and step 1 and step 3 should get executed and step 2 should not get executed irrespective of the return code from the previous steps. How can it be done?