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 PIC 9.99 and PIC9v99?
What is a scope terminator give example?
If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly
For rewrite, why is it mandatory that file needs to be opened?
What is length is cobol?
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
What the difference is between continue and next sentence?
what are decleratives in cobol?
How do you get the data to code the BMS macro?
What is an in line perform? When would you use it? Anything else you wish to say about it.
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
What are the different data types in cobol?
What is a SSRANGE and NOSSRANGE?
Name some of the examples of COBOl 11?