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 / sharmila
HI, please correct me if m wrong..
as we cannot place a condition for 88 level number. Both ii and iii are wrong. hence the correct option should be (b) right?
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
What is the difference between Call and a Link?
Name some of the examples of COBOl 11?
what is difference between cobol and cobol/400
What is length is cobol?
What is the difference between next sentence and continue in cobol programing language?
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
What is the difference between comp and comp-3?
How do u write test cases?
Which mode is used to operate the sequential file?
What is the difference between comp and comp-3 usage?
What is a SSRANGE and NOSSRANGE?
How do get the result of your program directly on your pc?
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
what is the difference between COBOL2 AND COBOL390?