how would find total records in files using seqientional

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is static and dynamic call in cobol?

601


What is perform what is varying?

713


Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning

689


What is the local-storage section?

687


What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?

683






How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that

2736


Can we change the password using ALTER? anyone tried and changed?

1554


Why occurs cannot be used in 01 level in COBOL?

723


How do you differentiate between cobol and cobol-ii?

662


How to print 10 to 1 if the input have only 10 digit number?

817


Explain the configuration section of a cobol program with examples of syntax.

663


how do you reference the variable unblock file formats from cobol programs

757


How do define dynamic array in cobol.

677


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

8674


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?

1812