How to read the last 100 records from a COBOL file. The file
contains N number of records.
Answer Posted / kk
Hi,
u declare two count variable.first count all the
records.then using compute statement count - 100.now move
the count no to second one.now again use read at end.now
give the condition grater than count-2 display rec.
| Is This Answer Correct ? | 4 Yes | 8 No |
Post New Answer View All Answers
How can you get the ksds file records into your cobol program?
In COBOL programming, what is PERFORM? What is VARYING?
Write a program to enter and display the names of students in a class using the occurs clause.
i want a program using by if, evaluate , string, unstring, perform, occurs?
What is the difference between structured cobol programming and object alternativelyiented cobol?
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
What is rmode(any) ?
What the difference is between continue and next sentence?
Differentiate between structured cobol programming and object-oriented cobol programming.
how to convert the recors form vsam file to db2 table tru file aid
what is amode(24), amode(31), rmode(24) and rmode(any)?
What is perform what is varying?
What are the various section in data division and briefly explain them.
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
What is the compute verb? How is it used?