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 / vel
a
| Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
In which area will you utilize 88 level items in cobol?
What is the difference between PIC 9.99 and 9v99 in COBOL?
What is a report item?
Write a program to explain size error.
What are literals?
Write a program to enter and display the names of students in a class using the occurs clause.
What is static and dynamic call in cobol?
What do you understand by psb and acb?
What is Pic 9v99 Indicates in COBOL?
Define cobol?
i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?
what is the difference between COBOL2 AND COBOL390?
How do get the result of your program directly on your pc?
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.
How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?