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 |
What is the function of the dd avgrec keyword in sms datasets?
How do you submit a job for execution?
How to execute step2,step1,step3 when step1,2&3 are in order
What is the function of a dd statement?
Name what parameter directs the output of the job log dataset?
Explain about ISPFTTRC
Please explain with syntax and an example, the Inrec fields and Outrec build in sort.
i want to avoid the positional parameter how to code it ?
What is meant by S0C7 system abend code?
Suppose I have Five Steps in PROC In this Case I want to Execute third Step in PROC using Main JCL don't use any COND Explain with Coding Thanks & Regards SHREE
what are the options in file-aid to edit vsam dataset and to compare data sets.
What is GDG and what is the maximum limit of versions that can be created?