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 / nilesh
we cant put a check on 88 level record, as it reopresents a
value and not a variable. So option II is ceratainly not
right. I the answer should be a.
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
how do you define single dimensional array and multidimensional array in your cobol?
What is amode(24)?
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
What are 77 levels used for?
) How do u handle errors in BMS macro
What is the difference between comp and comp-3?
How do get the result of your program directly on your pc?
Give some examples of command terminators?
what is difference between cobol and cobol/400
Explain the configuration section of a cobol program with examples of syntax.
IF I mention stop run in CICS what happens?
What is the difference between Call and a Link?
What is length is cobol?