I had 100 records and i want to execute last three records by
using cobol programming?what will be coding?
Answer Posted / farid
In jcl we can do as follows.........
1st skip the 97 recordes and write rest 3 into another file
using sort utilities(with the help of jcl).now cobol program
can use the 2nd file which has only last 3 records
Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.
What are the different open modes available in cobol?
What are the pertinent COBOL
What are the cobol coding sheets?
How many bytes S(8) comp field occupy and its maximum value?
How many sections are there in data division in COBOL?
Have you used comp and comp-3 in your project? And how?
What are the pertinent COBOL commands?
What is the difference between next sentence and continue in cobol programing language?
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
What are various search techniques in cobol? Explain.
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
What is amode(31)
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
What rules are followed by the search verb.