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


Please Help Members By Posting Answers For Below Questions

)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?

1531


Write the code to count the sum of n natural numbers.

705


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?

1816


What is static and dynamic call in cobol?

601


how do you reference the variable unblock file formats from cobol programs

759






Name some of the examples of COBOl 11?

2691


1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?

5388


What are declaratives and what are their uses in cobol?

717


What are INPUT PROCEDURE and OUTPUT PROCEDURE?

701


how to refer the data field?

1817


What is a report item?

746


What are the different types of condition in cobol and write their forms.

671


i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?

900


What is the problem of ordered sequential files access?

708


How did the release of cobol/370 version 1.3 improve the performance of release 1.1?

654