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
Define static linking and dynamic linking.
What are the different types of condition in cobol and write their forms.
How arrays can be defined in COBOL?
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.
Which Search verb is equivalent to PERFORM…VARYING?
In COBOL, what is the different between index and subscript?
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
What are the different rules to perform a Search?
how do you define single dimensional array and multidimensional array in your cobol?
What rules are to be followed while using the corresponding options?
Define cobol?
What are various search techniques in cobol? Explain.
Name the divisions, which are available in a cobol program?
how do you reference the rrds file formats from cobol programs