how can we fetch 3 records in cobol pgm any coding pls ?
Answer Posted / santhosh
Read the file and validate the things, once the all the
things are done for the record keep the count of it in an
working storage variable. Everytime when u try to read the
next record check for the count of WS variable, when it
reaches the count of 3 then terminate ur program.
Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
Write a cobol program making use of the redefine clause.
what is s000 u4087 error? please give the all error codes in cobol,jcl.
What is a report item?
What are the different rules to perform a Search?
In COBOL, what is the different between index and subscript?
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.
What is the LINKAGE SECTION used in COBOL?
For rewrite, why is it mandatory that file needs to be opened?
What is redefines clause in COBOL?
How do we get current date from system with century in COBOL?
Write a program to enter and display the names of students in a class using the occurs clause.
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
how can i see junk values in dclgen or in hostvariable of comp ?
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
What is the difference between external and global variables in COBOL?