Study the DATA DIVISION entries and the three PROCEDURE
DIVISION entries
given below:
01 END-OF-FILE-SWITCH PIC XXX.
88 NO-MORE-RECS VALUE "YES".
88 MORE-RECS VALUE "NO".
(i) READ SAMPLE-FILE AT END MOVE "YES" TO NO-MORE-RECS.
(ii) IF NO-MORE-RECS = "YES" GO TO LAST-PARA.
(iii) IF NO-MORE-RECS GO TO LAST-PARA.
Which are wrong?
(a) (i) and (ii)
(b) (ii) and (iii)
(c) (i) and (iii)
(d) all
Answer Posted / aneesh kaniyath
Answer is a
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What are declaratives and what are their uses in cobol?
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
Write down the divisions of cobol program?
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
Write a cobol program making use of the redefine clause.
In COBOL programming, what is PERFORM? What is VARYING?
what is the use of outrecord?
I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue
Write a program to explain size error.
What are various search techniques in cobol? Explain.
What is difference between static and dynamic call in cobol?
How you can characterize tables in cobol?
What the difference is between continue and next sentence?
Define cobol?
i want a program using by if, evaluate , string, unstring, perform, occurs?