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 / aneesh kaniyath
Answer is a
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is a report item?
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
How do you define a variable of comp-1 and comp-2?
Write some characteristics of cobol as means of business language.
how do you reference the esds vsam file formats from cobol programs
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
what is amode(24), amode(31), rmode(24) and rmode(any)?
Difference between cobol and cobol-ii?
What are the various section in data division and briefly explain them.
Why would you use find and get rather than to obtain?
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
Which is not true about evaluate statement
what happens if parmparameter passes zero bytes to the program
If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly
What is the difference between PIC 9.99 and PIC9v99?