How to read the last 100 records from a COBOL file. The file
contains N number of records.
Answer Posted / venkat
in my view if it is a ksds cluster file use organization as
dynamic and accept the related value start reading the file
and write it..i think this will display the last hundred
records..
correct me..
venkat
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What are various search techniques in cobol? Explain.
What are the various section in data division and briefly explain them.
Why occurs cannot be used in 01 level in COBOL?
How to use the same COBOL program in Batch and CICS on lines? explain with an example
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
What is the difference between comp and comp-3 usage?
i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?
what is difference between cobol and cobol/400
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.
HOw can I get the negative sign while deduct high value from low value
How do u write test cases?