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


Please Help Members By Posting Answers For Below Questions

What happens when we move a comp-3 field to an edited (say z (9). Zz-)?

780


how do you reference the printer file formats from cobol programs

667


What are the different types of condition in cobol and write their forms.

660


What is a scope terminator give example?

658


What is cobol?

748






Explain about different table spaces.

650


What is rmode(any) ?

686


i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com

1773


I have a File that has duplicate records. I need only those records that occur more than thrice.?

8658


Which mode is used to operate the sequential file?

670


What is the difference between PIC 9.99 and PIC9v99?

783


What are the pertinent COBOL

2045


For rewrite, why is it mandatory that file needs to be opened?

623


Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc

825


what is the use of outrecord?

1772