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 ? | 2 Yes | 1 No |
Post New Answer View All Answers
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
i need a small 3d program using inline and outline.
if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.
What are the pertinent COBOL commands?
What is the difference between external and global variables in COBOL?
Explain about different table spaces.
State the various causes of s0c1, s0c5 and s0c7.
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
Difference between array and sub-script ?
How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?
what is search and searchall?what is the diffrence between them?give an best example?
What are different data types in cobol?
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
Which division and paragraphs are mandatory for a COBOL program?
how do you reference the rrds file formats from cobol programs