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
What is static and dynamic call in cobol?
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
Write some characteristics of cobol as means of business language.
What rules are to be followed while using the corresponding options?
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
What is the Purpose of Pointer in the string?
what is difference between cobol and cobol/400
What are the access modes of START statement?
2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic
Write the code to count the sum of n natural numbers.
i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc
When is inspect verb is used in cobol?
can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech
Which is not true about evaluate statement
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?