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
What is static and dynamic call in cobol?
What is perform what is varying?
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
What is the local-storage section?
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
Can we change the password using ALTER? anyone tried and changed?
Why occurs cannot be used in 01 level in COBOL?
How do you differentiate between cobol and cobol-ii?
How to print 10 to 1 if the input have only 10 digit number?
Explain the configuration section of a cobol program with examples of syntax.
how do you reference the variable unblock file formats from cobol programs
How do define dynamic array in cobol.
I have a File that has duplicate records. I need only those records that occur more than thrice.?
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?