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
How do u write test cases?
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?
2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic
what is the use of outrecord?
What is the Purpose of Pointer in the string?
What is amode(31)
what is search and searchall?what is the diffrence between them?give an best example?
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
How to remove 2 duplicate records and copy only one using job control language?
What is inspect in cobol ?
Which is not true about evaluate statement
How do get the result of your program directly on your pc?
How arrays can be defined in COBOL?
Difference between cobol and cobol-ii?
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?