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 / sharmila
HI, please correct me if m wrong..
as we cannot place a condition for 88 level number. Both ii and iii are wrong. hence the correct option should be (b) right?
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
What is the use of intialize verb?
What are declaratives and what are their uses in cobol?
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
What is redefines clause in COBOL?
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.
How do u write test cases?
What is rmode(24)
how do you reference the rrds file formats from cobol programs
What are the cobol coding sheets?
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
What is the difference between perform … with test after and perform … with test before?
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
Explain how you can characterize tables in cobol?