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 the compute verb? How is it used?

653


What are the different rules for performing sort operation?

756


What is the default value(s) for an initialize and what keyword allows for an override of the default?

691


input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.

1775


What is the difference between goback, stop run and exit program in cobol?

918






How do you differentiate between cobol and cobol-ii?

649


Difference between array and sub-script ?

1157


How to remove 2 duplicate records and copy only one using job control language?

735


Explain how to differentiate call by context by comparing it to other calls?

683


How many sections are there in data division in COBOL?

676


) what is the difference between AID and HANDLE AID?

1629


What is the difference between PIC 9.99 and 9v99 in COBOL?

729


How do get the result of your program directly on your pc?

1875


What are INPUT PROCEDURE and OUTPUT PROCEDURE?

679


How many bytes S(8) comp field occupy and its maximum value?

1626