How to read the last 100 records from a COBOL file. The file
contains N number of records.
Answer Posted / m.rajasekaran
Hi Mobi and Remya,
logic is correct
But in PARA2 u have coded that COMPUTE C = C + 1, How it
will work?
You should have moved B to C after calculating the value
of B in PARA1.Then only this code will work.
Let me know if any mistake in my answer.
| Is This Answer Correct ? | 6 Yes | 2 No |
Post New Answer View All Answers
How to remove 2 duplicate records and copy only one using job control language?
In COBOL, what is the different between index and subscript?
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
Write some characteristics of cobol as means of business language.
Write a program to explain size error.
How do you reference the following file formats from cobol programs?
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
Define cobol?
How do get the result of your program directly on your pc?
Are you comfortable in cobol or jcl?
Can we redefine the field of x(200) to less than 200?
What is the difference between goback, stop run and exit program in cobol?
) How do u handle errors in BMS macro?