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

Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc

825


What rules are to be followed while using the corresponding options?

641


Write a program that uses move corresponding.

673


How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?

744


Mention the guidelines to write a structured cobol program?

620






how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)

1931


Write a cobol program making use of the redefine clause.

732


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

811


What is an in line perform? When would you use it? Anything else you wish to say about it.

645


State the various causes of s0c1, s0c5 and s0c7.

664


here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?

6830


what is the difference between COBOL2 AND COBOL390?

2453


What happens when we move a comp-3 field to an edited (say z (9). Zz-)?

780


Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.

2058


How to know whether the module is dynamical or statistical?

656