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 the difference between structured cobol programming and object alternativelyiented cobol programming?
I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......
What is static and dynamic call in cobol?
Explain about different table spaces.
How do you reference the fixed block file formats from cobol programs
What is the difference between comp and comp-3 usage?
Can a Search can be done on a table with or without Index?
If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly
What are the different data types in cobol?
How do u write test cases?
What is the difference between next sentence and continue in cobol programing language?
what happens if parmparameter passes zero bytes to the program
What is the utilization of copybook in cobol?
What is the difference between Global and External Variables?
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?