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
Which is not true about evaluate statement
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
) How do u handle errors in BMS macro?
How to know whether the module is dynamical or statistical?
Whats the difference between search & search ALL?
2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic
What is the Purpose of Pointer in the string?
State the various causes of s0c1, s0c5 and s0c7.
Write a program that uses move corresponding.
What is the compute verb? How is it used?
What are the cobol coding sheets?
What is a scope terminator give example?
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
How do you get the data to code the BMS macro?