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 you mean by skeleton JCl?
Explain concatenating datasets?
//ERFDS JOB //STEP1 //STEP2 //STEP3...COND=(4,LT) //STEP4 1.CONDITION IN STEP3 REFERS TO WHICH STEP'S RETURN CODE (STEP1 OR STEP2)? 2.IN ABOVE PROGRAM IF CONDITION SATISFIES IN STEP3 WHICH STEPS WILL EXECUTE?? AND WHY? IF CONDITION IN STEP3 SATISFIES
what is a jcl?
Explain about Internal Sort
How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?
what are the technical terms for // /* in jcl
what is use of disp parameter in dd statement?
wht do u mean by inrec and outrec ?
How to delete AIX ? i) IEBGENER ii) IDCAMS iii) PURGE iv) All of the above
When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?
What are the kinds of job control statements?