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 |
How to delete generations of gdg without deleting gdg base?
how to split a file
In job processing, what happens in execution stage?
What is Uncatalog dataset? How can we access/use them?
If a jcl has just 1 step and the input file to this does not exist, then what will happen if we submit this job?
Explain how can a stopped job be started again?
What are three parameters you can specify on Job statement as well as on exec stmt ?
I need exexution process for JCL programs
how you will the direct the data to spool using sysout option?
What it does If we specify TYPRUN=P & it is not substituted by SCAN 0r HOLD in VALUE SET.
Which storage devices are grouped under DASD and SYSDA ?
How to release the Output HELD by using HOLD = YES on DD statement ?