how can we fetch 3 records in cobol pgm any coding pls ?
Answer Posted / ravi
While reading a record from the input file keep ws- count variable for the count of records you read. When ws- count reaches count =3 put condition to terminate program
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
how do you reference the esds vsam file formats from cobol programs
What is the utilization of copybook in cobol?
Whats the difference between search & search ALL?
How to remove 2 duplicate records and copy only one using job control language?
What are different data types in cobol?
What is the problem of ordered sequential files access?
Can a Search can be done on a table with or without Index?
what is the difference between COBOL2 AND COBOL390?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
How do you differentiate between cobol and cobol-ii?
What is the difference between PIC 9.99 and 9v99 in COBOL?
Which division and paragraphs are mandatory for a COBOL program?
State the various causes of s0c1, s0c5 and s0c7.
What is the difference between comp and comp-3 usage?