How to read the last 100 records from a COBOL file. The file
contains N number of records.

Answers were Sorted based on User's Feedback



How to read the last 100 records from a COBOL file. The file contains N number of records...

Answer / guest1

Using FILE-AID, copy lost 100 records only in to a seperate
file and read the records.

Is This Answer Correct ?    1 Yes 5 No

Post New Answer

More COBOL Interview Questions

what is the basic concept of mainframe? what knowledge is needed for learn this mainframe?

4 Answers   CSE, TCS, Wipro,


what is the difference between PA & PF keys?

1 Answers   IBM,


Can we put move statement in COBOL copybook

3 Answers   Global Logic,


what is the difference between occurs and occurs depending on? i dont think so there is the difference in storage..then why we should use occurs depending on?

9 Answers   TCS, Tech Mahindra,


How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?

0 Answers  






What is comp-1 and comp-2?

0 Answers  


select TURE Statement(s) aboUt eject statemenet in cobol? a)The eject statememnt must be the only statement on the line b.It causes the program to edit abnormally c. eject statement can be written in either area A or area B d. specifies that the next source statement is to be printed at Top of the next page e.The EJECTstatement has no effect on the compilation of the source program itself

2 Answers  


Define REDEFINE clause and Is it possible to have the redefine clause anywhere in the working storage section for a data name?

3 Answers  


What is 88 level used for ?

2 Answers  


01 A pic 9(100) find record length of it

6 Answers   TCS,


01 x pic s9(8) comp. How will the following value be internally allocated '18787'

4 Answers   Steria,


is it possible to declare index in cobol program? if it is not why its tell me pls

3 Answers  


Categories