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
What guidelines should be followed to write a structured cobol prgm?
IF I mention stop run in CICS what happens?
how to refer the data field?
Why did you choose to work with ibm mainframe cobol programming?
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 difference between comp and comp-3?
Write the code to count the sum of n natural numbers.
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
What rules are followed by the search verb.
) How do u handle errors in BMS macro
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.
For rewrite, why is it mandatory that file needs to be opened?
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
i need a small 3d program using inline and outline.
How do we get current date from system with century in COBOL?