how would find total records in files using seqientional



how would find total records in files using seqientional..

Answer / guest

We can increment the count for each reading of record in a file.
Read file
count = count + 1
At end
display count

Is This Answer Correct ?    13 Yes 2 No

Post New Answer

More COBOL Interview Questions

i have a sequencial file contains multiple records, i want to extract one row which contains various fields like order number,date,warehouse,.ect.. in to the another file by accepting the order number from jcl. how can i do it. pls help me..

4 Answers   CGI,


I have 2 dimensional array with having 100 elements. So how to find the 11th item in an array?

6 Answers   IBM,


which generation language is cobol

4 Answers   Kanbay,


If my file contains 100,000 records and job abended at 55,000th records processing then how can i restart job from that record onward by ignoring that record. I can not edit the file as file size is big and it is getting browse substituted?

5 Answers   TCS,


I have a table with 3 dimensions like this : 01 ws-table 04 ws-page occurs 3 08 ws-column occurs 2. 12 ws-record occurs 20 pic x(40). How to code with PERFORM varying with 3 dimension...I forgot..

2 Answers   EDS,


What is normalisation?

2 Answers   IBM,


Can we use goto statement in inline_perform ?

5 Answers   IBM,


wht do u mean by (*,intrdr) wht is * used for ?

2 Answers  


Why we are using comp and comp-3 in real time projects?

4 Answers   IBM,


How does IDMS insure data integrity?

1 Answers  


i have mainprogram and subgram...if i compile mainprogram without stop run..what will u get in compilation time?

1 Answers   HCL,


CAN ANY ONE HELP WHAT IS QTP? why it is nessery AND WEN IT IS USED?

1 Answers  


Categories