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
What is the difference between PIC 9.99 and PIC9v99?
What is the difference between comp and comp-3?
What is rmode(24)
Why did you choose to work with ibm mainframe cobol programming?
How many sections are there in data division in COBOL?
What are the different types of condition in cobol and write their forms.
How do you reference the following file formats from cobol programs?
Discuss about changing dataset name in proc.
Give some examples of command terminators?
Why would you use find and get rather than to obtain?
How you can characterize tables in cobol?
State the various causes of s0c1, s0c5 and s0c7.
Write a program that uses move corresponding.
How do you differentiate between cobol and cobol-ii?
Why is it necessary that file needs to be opened in I-O mode for REWRITE?